Package com.pulumi.gcp.logging
Class ProjectBucketConfigArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.gcp.logging.ProjectBucketConfigArgs
-
public final class ProjectBucketConfigArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProjectBucketConfigArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static ProjectBucketConfigArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>
bucketId()
static ProjectBucketConfigArgs.Builder
builder()
static ProjectBucketConfigArgs.Builder
builder(ProjectBucketConfigArgs defaults)
java.util.Optional<com.pulumi.core.Output<ProjectBucketConfigCmekSettingsArgs>>
cmekSettings()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
description()
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
enableAnalytics()
java.util.Optional<com.pulumi.core.Output<java.util.List<ProjectBucketConfigIndexConfigArgs>>>
indexConfigs()
com.pulumi.core.Output<java.lang.String>
location()
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
locked()
com.pulumi.core.Output<java.lang.String>
project()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
retentionDays()
-
-
-
Field Detail
-
Empty
public static final ProjectBucketConfigArgs Empty
-
-
Method Detail
-
bucketId
public 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<ProjectBucketConfigCmekSettingsArgs>> 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. Structure is documented below.
-
description
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
- Returns:
- Describes this bucket.
-
enableAnalytics
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enableAnalytics()
- Returns:
- Whether or not Log Analytics is enabled. Logs for buckets with Log Analytics enabled can be queried in the **Log Analytics** page using SQL queries. Cannot be disabled once enabled.
-
indexConfigs
public java.util.Optional<com.pulumi.core.Output<java.util.List<ProjectBucketConfigIndexConfigArgs>>> indexConfigs()
- Returns:
- A list of indexed fields and related configuration data. Structure is documented below.
-
location
public com.pulumi.core.Output<java.lang.String> location()
- Returns:
- The location of the bucket.
-
locked
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> locked()
- Returns:
- Whether the bucket is locked. The retention period on a locked bucket cannot be changed. Locked buckets may only be deleted if they are empty.
-
project
public com.pulumi.core.Output<java.lang.String> project()
- Returns:
- The parent resource that contains the logging bucket.
-
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.
-
builder
public static ProjectBucketConfigArgs.Builder builder()
-
builder
public static ProjectBucketConfigArgs.Builder builder(ProjectBucketConfigArgs defaults)
-
-