@nebius/js-sdk - v0.1.4
    Preparing search index...

    Interface LifecycleConfiguration

    The lifecycle configuration consists of one or more rules. An Lifecycle configuration can have up to 1,000 rules. Each rule consists of the following:

    • A filter identifying a subset of objects to which the rule applies. The filter can be based on a key name prefix, object size, or any combination of these.
    • A status indicating whether the rule is currently active.
    • One or more lifecycle expiration actions that you want to be performed on the objects identified by the filter. If the state of your bucket is versioning-enabled or versioning-suspended (bucket.spec.versioning_policy equals to ENABLED or SUSPENDED) you can have many versions of the same object (one current version and zero or more noncurrent versions). The system provides predefined actions that you can specify for current and noncurrent object versions.
    interface LifecycleConfiguration {
        "[customJson]"?: () => unknown;
        "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>;
        $type: "nebius.storage.v1.LifecycleConfiguration";
        rules: LifecycleRule[];
        [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined;
    }

    Indexable

    • [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined
    Index

    Properties

    "[customJson]"?: () => unknown
    "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>
    $type: "nebius.storage.v1.LifecycleConfiguration"
    rules: LifecycleRule[]