Class BucketLifecycleRule
Inheritance
System.Object
BucketLifecycleRule
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Oss.Outputs
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class BucketLifecycleRule
Fields
View SourceEnabled
Specifies lifecycle rule status.
Declaration
public readonly bool Enabled
Field Value
| Type | Description |
|---|---|
| System.Boolean |
Expirations
Specifies a period in the object's expire (documented below).
Declaration
public readonly ImmutableArray<BucketLifecycleRuleExpiration> Expirations
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<BucketLifecycleRuleExpiration> |
Id
Unique identifier for the rule. If omitted, OSS bucket will assign a unique name.
Declaration
public readonly string Id
Field Value
| Type | Description |
|---|---|
| System.String |
Prefix
Object key prefix identifying one or more objects to which the rule applies.
Declaration
public readonly string Prefix
Field Value
| Type | Description |
|---|---|
| System.String |
Transitions
Specifies the time when an object is converted to the IA or archive storage class during a valid life cycle. (documented below).
Declaration
public readonly ImmutableArray<BucketLifecycleRuleTransition> Transitions
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<BucketLifecycleRuleTransition> |