1. Packages
  2. Google Cloud Native
  3. API Docs
  4. cloudtrace
  5. cloudtrace/v2beta1
  6. getTraceSink

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-native logo

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:

    TraceSinkId string
    Project string
    TraceSinkId string
    Project string
    traceSinkId String
    project String
    traceSinkId string
    project string
    traceSinkId String
    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.
    OutputConfig Pulumi.GoogleNative.CloudTrace.V2Beta1.Outputs.OutputConfigResponse
    The export destination.
    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"
    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.
    OutputConfig OutputConfigResponse
    The export destination.
    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"
    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.
    outputConfig OutputConfigResponse
    The export destination.
    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"
    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.
    outputConfig OutputConfigResponse
    The export destination.
    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"
    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 OutputConfigResponse
    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.
    outputConfig Property Map
    The export destination.
    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

    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-native logo

    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