Show / Hide Table of Contents

Class ProjectBucketConfigState

Inheritance
System.Object
InputArgs
ResourceArgs
ProjectBucketConfigState
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.Logging
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class ProjectBucketConfigState : ResourceArgs

Constructors

View Source

ProjectBucketConfigState()

Declaration
public ProjectBucketConfigState()

Properties

View Source

BucketId

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

Description

Describes this bucket.

Declaration
public Input<string> Description { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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

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

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

Project

The parent resource that contains the logging bucket.

Declaration
public Input<string> Project { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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