Class ProjectBucketConfigState
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.Logging
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class ProjectBucketConfigState : ResourceArgs
Constructors
View SourceProjectBucketConfigState()
Declaration
public ProjectBucketConfigState()
Properties
View SourceBucketId
The name of the logging bucket. Logging automatically creates two log buckets: _Required and _Default.
Declaration
public Input<string> BucketId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Description
Describes this bucket.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
LifecycleState
The bucket's lifecycle such as active or deleted. See LifecycleState.
Declaration
public Input<string> LifecycleState { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Location
The location of the bucket. The supported locations are: "global" "us-central1"
Declaration
public Input<string> Location { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
The resource name of the bucket. For example: "projects/my-project-id/locations/my-location/buckets/my-bucket-id"
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Project
The parent resource that contains the logging bucket.
Declaration
public Input<string> Project { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RetentionDays
Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.
Declaration
public Input<int> RetentionDays { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |