IBM COS SDK for JavaScript V2 - v1.0.0
    Preparing search index...

    Interface IbmRetentionConfiguration

    Configuration for IBM Cloud Object Storage Retention features. This allows setting default retention periods or permanent hold status on buckets.

    interface IbmRetentionConfiguration {
        enabled?: boolean;
        defaultRetentionDays?: number;
        permanentHold?: boolean;
    }
    Index

    Properties

    enabled?: boolean

    Whether the retention policy is enabled for this bucket.

    defaultRetentionDays?: number

    The default retention period in days.

    permanentHold?: boolean

    Whether a permanent hold is applied to all objects in the bucket.