Class ProjectSinkState
Inherited Members
Namespace: Pulumi.Gcp.Logging
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class ProjectSinkState : ResourceArgs
Constructors
View SourceProjectSinkState()
Declaration
public ProjectSinkState()
Properties
View SourceBigqueryOptions
Options that affect sinks exporting data to BigQuery. Structure documented below.
Declaration
public Input<ProjectSinkBigqueryOptionsGetArgs> BigqueryOptions { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ProjectSinkBigqueryOptionsGetArgs> |
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:
using Pulumi;
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> |
Name
The name of the logging sink.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Project
The ID of the project to create the sink in. If omitted, the project associated with the provider is used.
Declaration
public Input<string> Project { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
UniqueWriterIdentity
Whether or not to create a unique identity associated with this sink. If false
(the default), then the writer_identity used is serviceAccount:cloud-logs@system.gserviceaccount.com. If true,
then a unique service account is created and used for this sink. If you wish to publish logs across projects, you
must set unique_writer_identity to true.
Declaration
public Input<bool> UniqueWriterIdentity { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
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> |