google-native logo
Google Cloud Native v0.28.0, Feb 2 23

google-native.cloudtrace/v2beta1.TraceSink

Creates a sink that exports trace spans to a destination. The export of newly-ingested traces begins immediately, unless the sink’s writer_identity is not permitted to write to the destination. A sink can export traces only from the resource owning the sink (the ‘parent’).

Create TraceSink Resource

new TraceSink(name: string, args: TraceSinkArgs, opts?: CustomResourceOptions);
@overload
def TraceSink(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              name: Optional[str] = None,
              output_config: Optional[OutputConfigArgs] = None,
              project: Optional[str] = None)
@overload
def TraceSink(resource_name: str,
              args: TraceSinkArgs,
              opts: Optional[ResourceOptions] = None)
func NewTraceSink(ctx *Context, name string, args TraceSinkArgs, opts ...ResourceOption) (*TraceSink, error)
public TraceSink(string name, TraceSinkArgs args, CustomResourceOptions? opts = null)
public TraceSink(String name, TraceSinkArgs args)
public TraceSink(String name, TraceSinkArgs args, CustomResourceOptions options)
type: google-native:cloudtrace/v2beta1:TraceSink
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args TraceSinkArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args TraceSinkArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args TraceSinkArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args TraceSinkArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args TraceSinkArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

TraceSink Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The TraceSink resource accepts the following input properties:

OutputConfig Pulumi.GoogleNative.CloudTrace.V2Beta1.Inputs.OutputConfigArgs

The export destination.

Name string

The canonical sink resource name, unique within the project. Must be of the form: projects/[PROJECT_NUMBER]/traceSinks/[SINK_ID]. E.g.: "projects/12345/traceSinks/my-project-trace-sink". Sink identifiers are limited to 256 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods.

Project string
OutputConfig OutputConfigArgs

The export destination.

Name string

The canonical sink resource name, unique within the project. Must be of the form: projects/[PROJECT_NUMBER]/traceSinks/[SINK_ID]. E.g.: "projects/12345/traceSinks/my-project-trace-sink". Sink identifiers are limited to 256 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods.

Project string
outputConfig OutputConfigArgs

The export destination.

name String

The canonical sink resource name, unique within the project. Must be of the form: projects/[PROJECT_NUMBER]/traceSinks/[SINK_ID]. E.g.: "projects/12345/traceSinks/my-project-trace-sink". Sink identifiers are limited to 256 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods.

project String
outputConfig OutputConfigArgs

The export destination.

name string

The canonical sink resource name, unique within the project. Must be of the form: projects/[PROJECT_NUMBER]/traceSinks/[SINK_ID]. E.g.: "projects/12345/traceSinks/my-project-trace-sink". Sink identifiers are limited to 256 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods.

project string
output_config OutputConfigArgs

The export destination.

name str

The canonical sink resource name, unique within the project. Must be of the form: projects/[PROJECT_NUMBER]/traceSinks/[SINK_ID]. E.g.: "projects/12345/traceSinks/my-project-trace-sink". Sink identifiers are limited to 256 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods.

project str
outputConfig Property Map

The export destination.

name String

The canonical sink resource name, unique within the project. Must be of the form: projects/[PROJECT_NUMBER]/traceSinks/[SINK_ID]. E.g.: "projects/12345/traceSinks/my-project-trace-sink". Sink identifiers are limited to 256 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods.

project String

Outputs

All input properties are implicitly available as output properties. Additionally, the TraceSink resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

WriterIdentity string

A service account name for exporting the data. This field is set by sinks.create and sinks.update. The service account will need to be granted write access to the destination specified in the output configuration, see Granting access for a resource. To create tables and to write data, this account needs the dataEditor role. Read more about roles in the BigQuery documentation. E.g.: "service-00000001@00000002.iam.gserviceaccount.com"

Id string

The provider-assigned unique ID for this managed resource.

WriterIdentity string

A service account name for exporting the data. This field is set by sinks.create and sinks.update. The service account will need to be granted write access to the destination specified in the output configuration, see Granting access for a resource. To create tables and to write data, this account needs the dataEditor role. Read more about roles in the BigQuery documentation. E.g.: "service-00000001@00000002.iam.gserviceaccount.com"

id String

The provider-assigned unique ID for this managed resource.

writerIdentity String

A service account name for exporting the data. This field is set by sinks.create and sinks.update. The service account will need to be granted write access to the destination specified in the output configuration, see Granting access for a resource. To create tables and to write data, this account needs the dataEditor role. Read more about roles in the BigQuery documentation. E.g.: "service-00000001@00000002.iam.gserviceaccount.com"

id string

The provider-assigned unique ID for this managed resource.

writerIdentity string

A service account name for exporting the data. This field is set by sinks.create and sinks.update. The service account will need to be granted write access to the destination specified in the output configuration, see Granting access for a resource. To create tables and to write data, this account needs the dataEditor role. Read more about roles in the BigQuery documentation. E.g.: "service-00000001@00000002.iam.gserviceaccount.com"

id str

The provider-assigned unique ID for this managed resource.

writer_identity str

A service account name for exporting the data. This field is set by sinks.create and sinks.update. The service account will need to be granted write access to the destination specified in the output configuration, see Granting access for a resource. To create tables and to write data, this account needs the dataEditor role. Read more about roles in the BigQuery documentation. E.g.: "service-00000001@00000002.iam.gserviceaccount.com"

id String

The provider-assigned unique ID for this managed resource.

writerIdentity String

A service account name for exporting the data. This field is set by sinks.create and sinks.update. The service account will need to be granted write access to the destination specified in the output configuration, see Granting access for a resource. To create tables and to write data, this account needs the dataEditor role. Read more about roles in the BigQuery documentation. E.g.: "service-00000001@00000002.iam.gserviceaccount.com"

Supporting Types

OutputConfig

Destination string

The destination for writing trace data. Supported formats include: "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"

Destination string

The destination for writing trace data. Supported formats include: "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"

destination String

The destination for writing trace data. Supported formats include: "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"

destination string

The destination for writing trace data. Supported formats include: "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"

destination str

The destination for writing trace data. Supported formats include: "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"

destination String

The destination for writing trace data. Supported formats include: "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"

OutputConfigResponse

Destination string

The destination for writing trace data. Supported formats include: "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"

Destination string

The destination for writing trace data. Supported formats include: "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"

destination String

The destination for writing trace data. Supported formats include: "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"

destination string

The destination for writing trace data. Supported formats include: "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"

destination str

The destination for writing trace data. Supported formats include: "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"

destination String

The destination for writing trace data. Supported formats include: "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0