Show / Hide Table of Contents

Class BucketRetentionPolicyArgs

Inheritance
System.Object
InputArgs
ResourceArgs
BucketRetentionPolicyArgs
Inherited Members
ResourceArgs.Empty
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 Source

BucketRetentionPolicyArgs()

Declaration
public BucketRetentionPolicyArgs()

Properties

View Source

IsLocked

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>
View Source

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.