Class FolderSinkState
Inherited Members
Namespace: Pulumi.Gcp.Logging
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class FolderSinkState : ResourceArgs
Constructors
View SourceFolderSinkState()
Declaration
public FolderSinkState()
Properties
View SourceBigqueryOptions
Options that affect sinks exporting data to BigQuery. Structure documented below.
Declaration
public Input<FolderSinkBigqueryOptionsGetArgs> BigqueryOptions { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<FolderSinkBigqueryOptionsGetArgs> |
Destination
The destination of the sink (or, in other words, where logs are written to). Can be a Cloud Storage bucket, a PubSub topic, or a BigQuery dataset. Examples: "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" The writer associated with the sink must have access to write to the above resource.
Declaration
public Input<string> Destination { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Filter
The filter to apply when exporting logs. Only log entries that match the filter are exported. See Advanced Log Filters for information on how to write a filter.
Declaration
public Input<string> Filter { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Folder
The folder to be exported to the sink. Note that either [FOLDER_ID] or "folders/[FOLDER_ID]" is accepted.
Declaration
public Input<string> Folder { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
IncludeChildren
Whether or not to include children folders in the sink export. If true, logs associated with child projects are also exported; otherwise only logs relating to the provided folder are included.
Declaration
public Input<bool> IncludeChildren { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Name
The name of the logging sink.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
WriterIdentity
The identity associated with this sink. This identity must be granted write access to the
configured destination.
Declaration
public Input<string> WriterIdentity { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |