Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.cloudtrace/v2beta1.getTraceSink
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Get a trace sink by name under the parent resource (GCP project).
Using getTraceSink
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTraceSink(args: GetTraceSinkArgs, opts?: InvokeOptions): Promise<GetTraceSinkResult>
function getTraceSinkOutput(args: GetTraceSinkOutputArgs, opts?: InvokeOptions): Output<GetTraceSinkResult>
def get_trace_sink(project: Optional[str] = None,
trace_sink_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTraceSinkResult
def get_trace_sink_output(project: Optional[pulumi.Input[str]] = None,
trace_sink_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTraceSinkResult]
func LookupTraceSink(ctx *Context, args *LookupTraceSinkArgs, opts ...InvokeOption) (*LookupTraceSinkResult, error)
func LookupTraceSinkOutput(ctx *Context, args *LookupTraceSinkOutputArgs, opts ...InvokeOption) LookupTraceSinkResultOutput
> Note: This function is named LookupTraceSink
in the Go SDK.
public static class GetTraceSink
{
public static Task<GetTraceSinkResult> InvokeAsync(GetTraceSinkArgs args, InvokeOptions? opts = null)
public static Output<GetTraceSinkResult> Invoke(GetTraceSinkInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTraceSinkResult> getTraceSink(GetTraceSinkArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:cloudtrace/v2beta1:getTraceSink
arguments:
# arguments dictionary
The following arguments are supported:
- Trace
Sink stringId - Project string
- Trace
Sink stringId - Project string
- trace
Sink StringId - project String
- trace
Sink stringId - project string
- trace_
sink_ strid - project str
- trace
Sink StringId - project String
getTraceSink Result
The following output properties are available:
- 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. - Output
Config Pulumi.Google Native. Cloud Trace. V2Beta1. Outputs. Output Config Response - The export destination.
- 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"
- 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. - Output
Config OutputConfig Response - The export destination.
- 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"
- 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. - output
Config OutputConfig Response - The export destination.
- 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"
- 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. - output
Config OutputConfig Response - The export destination.
- 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"
- 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. - output_
config OutputConfig Response - The export destination.
- 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"
- 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. - output
Config Property Map - The export destination.
- 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
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
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi