Package com.pulumi.gcp.logging.inputs
Class BillingAccountBucketConfigState
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.gcp.logging.inputs.BillingAccountBucketConfigState
-
public final class BillingAccountBucketConfigState extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BillingAccountBucketConfigState.Builder
-
Field Summary
Fields Modifier and Type Field Description static BillingAccountBucketConfigState
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<java.lang.String>>
billingAccount()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
bucketId()
static BillingAccountBucketConfigState.Builder
builder()
static BillingAccountBucketConfigState.Builder
builder(BillingAccountBucketConfigState defaults)
java.util.Optional<com.pulumi.core.Output<BillingAccountBucketConfigCmekSettingsArgs>>
cmekSettings()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
description()
java.util.Optional<com.pulumi.core.Output<java.util.List<BillingAccountBucketConfigIndexConfigArgs>>>
indexConfigs()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
lifecycleState()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
location()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
name()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
retentionDays()
-
-
-
Field Detail
-
Empty
public static final BillingAccountBucketConfigState Empty
-
-
Method Detail
-
billingAccount
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> billingAccount()
- Returns:
- The parent resource that contains the logging bucket.
-
bucketId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> bucketId()
- Returns:
- The name of the logging bucket. Logging automatically creates two log buckets: `_Required` and `_Default`.
-
cmekSettings
public java.util.Optional<com.pulumi.core.Output<BillingAccountBucketConfigCmekSettingsArgs>> cmekSettings()
- Returns:
- The CMEK settings of the log bucket. If present, new log entries written to this log bucket are encrypted using the CMEK key provided in this configuration. If a log bucket has CMEK settings, the CMEK settings cannot be disabled later by updating the log bucket. Changing the KMS key is allowed.
-
description
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
- Returns:
- Describes this bucket.
-
indexConfigs
public java.util.Optional<com.pulumi.core.Output<java.util.List<BillingAccountBucketConfigIndexConfigArgs>>> indexConfigs()
- Returns:
- A list of indexed fields and related configuration data. Structure is documented below.
-
lifecycleState
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> lifecycleState()
- Returns:
- The bucket's lifecycle such as active or deleted. See [LifecycleState](https://cloud.google.com/logging/docs/reference/v2/rest/v2/billingAccounts.buckets#LogBucket.LifecycleState).
-
location
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> location()
- Returns:
- The location of the bucket.
-
name
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
- Returns:
- The resource name of the bucket. For example: "projects/my-project-id/locations/my-location/buckets/my-bucket-id"
-
retentionDays
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> retentionDays()
- Returns:
- 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. Bucket retention can not be increased on buckets outside of projects.
-
builder
public static BillingAccountBucketConfigState.Builder builder()
-
builder
public static BillingAccountBucketConfigState.Builder builder(BillingAccountBucketConfigState defaults)
-
-