Class BucketRetentionPolicyArgs
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.Gcp.Storage.Inputs
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class BucketRetentionPolicyArgs : ResourceArgs
Constructors
View SourceBucketRetentionPolicyArgs()
Declaration
public BucketRetentionPolicyArgs()
Properties
View SourceIsLocked
If set to true, the bucket will be locked and permanently restrict edits to the bucket's retention policy. Caution: Locking a bucket is an irreversible action.
Declaration
public Input<bool> IsLocked { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
RetentionPeriod
The period of time, in seconds, that objects in the bucket must be retained and cannot be deleted, overwritten, or archived. The value must be less than 3,155,760,000 seconds.
Declaration
public Input<int> RetentionPeriod { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |