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:
- Output
Config Pulumi.Google Native. Cloud Trace. V2Beta1. Inputs. Output Config Args 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 OutputConfig Args 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 OutputConfig Args 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 OutputConfig Args 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 OutputConfig Args 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
- output
Config 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.
- Writer
Identity 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.
- Writer
Identity 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.
- writer
Identity 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.
- writer
Identity 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.
- writer
Identity 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