Package com.pulumi.gcp.logging.inputs
Class BillingAccountSinkState
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.gcp.logging.inputs.BillingAccountSinkState
-
public final class BillingAccountSinkState extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BillingAccountSinkState.Builder
-
Field Summary
Fields Modifier and Type Field Description static BillingAccountSinkState
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<BillingAccountSinkBigqueryOptionsArgs>>
bigqueryOptions()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
billingAccount()
static BillingAccountSinkState.Builder
builder()
static BillingAccountSinkState.Builder
builder(BillingAccountSinkState defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
description()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
destination()
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
disabled()
java.util.Optional<com.pulumi.core.Output<java.util.List<BillingAccountSinkExclusionArgs>>>
exclusions()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
filter()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
name()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
writerIdentity()
-
-
-
Field Detail
-
Empty
public static final BillingAccountSinkState Empty
-
-
Method Detail
-
bigqueryOptions
public java.util.Optional<com.pulumi.core.Output<BillingAccountSinkBigqueryOptionsArgs>> bigqueryOptions()
- Returns:
- Options that affect sinks exporting data to BigQuery. Structure documented below.
-
billingAccount
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> billingAccount()
- Returns:
- The billing account exported to the sink.
-
description
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
- Returns:
- A description of this sink. The maximum length of the description is 8000 characters.
-
destination
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> destination()
- Returns:
- The destination of the sink (or, in other words, where logs are written to). Can be a Cloud Storage bucket, a PubSub topic, a BigQuery dataset or a Cloud Logging bucket. Examples: - `storage.googleapis.com/[GCS_BUCKET]` - `bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]` - `pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]` - `logging.googleapis.com/projects/[PROJECT_ID]]/locations/global/buckets/[BUCKET_ID]` The writer associated with the sink must have access to write to the above resource.
-
disabled
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> disabled()
- Returns:
- If set to True, then this sink is disabled and it does not export any log entries.
-
exclusions
public java.util.Optional<com.pulumi.core.Output<java.util.List<BillingAccountSinkExclusionArgs>>> exclusions()
- Returns:
- Log entries that match any of the exclusion filters will not be exported. If a log entry is matched by both `filter` and one of `exclusions.filter`, it will not be exported. Can be repeated multiple times for multiple exclusions. Structure is documented below.
-
filter
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> filter()
- Returns:
- The filter to apply when exporting logs. Only log entries that match the filter are exported. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to write a filter.
-
name
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
- Returns:
- The name of the logging sink.
-
writerIdentity
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> writerIdentity()
- Returns:
- The identity associated with this sink. This identity must be granted write access to the configured `destination`.
-
builder
public static BillingAccountSinkState.Builder builder()
-
builder
public static BillingAccountSinkState.Builder builder(BillingAccountSinkState defaults)
-
-