1. Packages
  2. Volcengine
  3. API Docs
  4. tls
  5. DescribeTraces
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
volcengine logo
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
    Deprecated: volcengine.tls.DescribeTraces has been deprecated in favor of volcengine.tls.getDescribeTraces

    Use this data source to query detailed information of tls describe traces

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const example = volcengine.tls.getDescribeTraces({
        traceId: "b4de47438f9d052ca71106bb9bace34e",
        traceInstanceId: "ac368174-2353-4e5d-859d-84c8bd255590",
    });
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    example = volcengine.tls.get_describe_traces(trace_id="b4de47438f9d052ca71106bb9bace34e",
        trace_instance_id="ac368174-2353-4e5d-859d-84c8bd255590")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/tls"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tls.GetDescribeTraces(ctx, &tls.GetDescribeTracesArgs{
    			TraceId:         "b4de47438f9d052ca71106bb9bace34e",
    			TraceInstanceId: "ac368174-2353-4e5d-859d-84c8bd255590",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Volcengine.Tls.GetDescribeTraces.Invoke(new()
        {
            TraceId = "b4de47438f9d052ca71106bb9bace34e",
            TraceInstanceId = "ac368174-2353-4e5d-859d-84c8bd255590",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.tls.TlsFunctions;
    import com.pulumi.volcengine.tls.inputs.GetDescribeTracesArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = TlsFunctions.getDescribeTraces(GetDescribeTracesArgs.builder()
                .traceId("b4de47438f9d052ca71106bb9bace34e")
                .traceInstanceId("ac368174-2353-4e5d-859d-84c8bd255590")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: volcengine:tls:getDescribeTraces
          Arguments:
            traceId: b4de47438f9d052ca71106bb9bace34e
            traceInstanceId: ac368174-2353-4e5d-859d-84c8bd255590
    

    Using DescribeTraces

    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 describeTraces(args: DescribeTracesArgs, opts?: InvokeOptions): Promise<DescribeTracesResult>
    function describeTracesOutput(args: DescribeTracesOutputArgs, opts?: InvokeOptions): Output<DescribeTracesResult>
    def describe_traces(output_file: Optional[str] = None,
                        trace_id: Optional[str] = None,
                        trace_instance_id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> DescribeTracesResult
    def describe_traces_output(output_file: Optional[pulumi.Input[str]] = None,
                        trace_id: Optional[pulumi.Input[str]] = None,
                        trace_instance_id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[DescribeTracesResult]
    func DescribeTraces(ctx *Context, args *DescribeTracesArgs, opts ...InvokeOption) (*DescribeTracesResult, error)
    func DescribeTracesOutput(ctx *Context, args *DescribeTracesOutputArgs, opts ...InvokeOption) DescribeTracesResultOutput
    public static class DescribeTraces 
    {
        public static Task<DescribeTracesResult> InvokeAsync(DescribeTracesArgs args, InvokeOptions? opts = null)
        public static Output<DescribeTracesResult> Invoke(DescribeTracesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<DescribeTracesResult> describeTraces(DescribeTracesArgs args, InvokeOptions options)
    public static Output<DescribeTracesResult> describeTraces(DescribeTracesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:tls:DescribeTraces
      arguments:
        # arguments dictionary

    The following arguments are supported:

    TraceId string
    Trace ID.
    TraceInstanceId string
    Trace instance ID.
    OutputFile string
    File name where to save data source results.
    TraceId string
    Trace ID.
    TraceInstanceId string
    Trace instance ID.
    OutputFile string
    File name where to save data source results.
    traceId String
    Trace ID.
    traceInstanceId String
    Trace instance ID.
    outputFile String
    File name where to save data source results.
    traceId string
    Trace ID.
    traceInstanceId string
    Trace instance ID.
    outputFile string
    File name where to save data source results.
    trace_id str
    Trace ID.
    trace_instance_id str
    Trace instance ID.
    output_file str
    File name where to save data source results.
    traceId String
    Trace ID.
    traceInstanceId String
    Trace instance ID.
    outputFile String
    File name where to save data source results.

    DescribeTraces Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of tls trace query.
    TraceId string
    Trace ID.
    TraceInstanceId string
    Traces List<DescribeTracesTrace>
    The collection of tls trace query.
    OutputFile string
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of tls trace query.
    TraceId string
    Trace ID.
    TraceInstanceId string
    Traces []DescribeTracesTrace
    The collection of tls trace query.
    OutputFile string
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Integer
    The total count of tls trace query.
    traceId String
    Trace ID.
    traceInstanceId String
    traces List<DescribeTracesTrace>
    The collection of tls trace query.
    outputFile String
    id string
    The provider-assigned unique ID for this managed resource.
    totalCount number
    The total count of tls trace query.
    traceId string
    Trace ID.
    traceInstanceId string
    traces DescribeTracesTrace[]
    The collection of tls trace query.
    outputFile string
    id str
    The provider-assigned unique ID for this managed resource.
    total_count int
    The total count of tls trace query.
    trace_id str
    Trace ID.
    trace_instance_id str
    traces Sequence[DescribeTracesTrace]
    The collection of tls trace query.
    output_file str
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Number
    The total count of tls trace query.
    traceId String
    Trace ID.
    traceInstanceId String
    traces List<Property Map>
    The collection of tls trace query.
    outputFile String

    Supporting Types

    DescribeTracesTrace

    Spans List<DescribeTracesTraceSpan>
    The collection of spans.
    TraceId string
    Trace ID.
    Spans []DescribeTracesTraceSpan
    The collection of spans.
    TraceId string
    Trace ID.
    spans List<DescribeTracesTraceSpan>
    The collection of spans.
    traceId String
    Trace ID.
    spans DescribeTracesTraceSpan[]
    The collection of spans.
    traceId string
    Trace ID.
    spans Sequence[DescribeTracesTraceSpan]
    The collection of spans.
    trace_id str
    Trace ID.
    spans List<Property Map>
    The collection of spans.
    traceId String
    Trace ID.

    DescribeTracesTraceSpan

    Attributes List<DescribeTracesTraceSpanAttribute>
    Resource attributes.
    EndTime int
    Span end time.
    Events List<DescribeTracesTraceSpanEvent>
    Span events.
    InstrumentationLibraries List<DescribeTracesTraceSpanInstrumentationLibrary>
    Instrumentation library information.
    Kind string
    Span type.
    Links List<DescribeTracesTraceSpanLink>
    Span links.
    Name string
    Span name.
    ParentSpanId string
    Parent Span ID.
    Resources List<DescribeTracesTraceSpanResource>
    Resource information.
    SpanId string
    Span ID.
    StartTime int
    Span start time.
    Statuses List<DescribeTracesTraceSpanStatus>
    Span status.
    TraceId string
    Trace ID.
    TraceState string
    Trace state.
    Attributes []DescribeTracesTraceSpanAttribute
    Resource attributes.
    EndTime int
    Span end time.
    Events []DescribeTracesTraceSpanEvent
    Span events.
    InstrumentationLibraries []DescribeTracesTraceSpanInstrumentationLibrary
    Instrumentation library information.
    Kind string
    Span type.
    Links []DescribeTracesTraceSpanLink
    Span links.
    Name string
    Span name.
    ParentSpanId string
    Parent Span ID.
    Resources []DescribeTracesTraceSpanResource
    Resource information.
    SpanId string
    Span ID.
    StartTime int
    Span start time.
    Statuses []DescribeTracesTraceSpanStatus
    Span status.
    TraceId string
    Trace ID.
    TraceState string
    Trace state.
    attributes List<DescribeTracesTraceSpanAttribute>
    Resource attributes.
    endTime Integer
    Span end time.
    events List<DescribeTracesTraceSpanEvent>
    Span events.
    instrumentationLibraries List<DescribeTracesTraceSpanInstrumentationLibrary>
    Instrumentation library information.
    kind String
    Span type.
    links List<DescribeTracesTraceSpanLink>
    Span links.
    name String
    Span name.
    parentSpanId String
    Parent Span ID.
    resources List<DescribeTracesTraceSpanResource>
    Resource information.
    spanId String
    Span ID.
    startTime Integer
    Span start time.
    statuses List<DescribeTracesTraceSpanStatus>
    Span status.
    traceId String
    Trace ID.
    traceState String
    Trace state.
    attributes DescribeTracesTraceSpanAttribute[]
    Resource attributes.
    endTime number
    Span end time.
    events DescribeTracesTraceSpanEvent[]
    Span events.
    instrumentationLibraries DescribeTracesTraceSpanInstrumentationLibrary[]
    Instrumentation library information.
    kind string
    Span type.
    links DescribeTracesTraceSpanLink[]
    Span links.
    name string
    Span name.
    parentSpanId string
    Parent Span ID.
    resources DescribeTracesTraceSpanResource[]
    Resource information.
    spanId string
    Span ID.
    startTime number
    Span start time.
    statuses DescribeTracesTraceSpanStatus[]
    Span status.
    traceId string
    Trace ID.
    traceState string
    Trace state.
    attributes List<Property Map>
    Resource attributes.
    endTime Number
    Span end time.
    events List<Property Map>
    Span events.
    instrumentationLibraries List<Property Map>
    Instrumentation library information.
    kind String
    Span type.
    links List<Property Map>
    Span links.
    name String
    Span name.
    parentSpanId String
    Parent Span ID.
    resources List<Property Map>
    Resource information.
    spanId String
    Span ID.
    startTime Number
    Span start time.
    statuses List<Property Map>
    Span status.
    traceId String
    Trace ID.
    traceState String
    Trace state.

    DescribeTracesTraceSpanAttribute

    Key string
    Attribute key.
    Value string
    Attribute value.
    Key string
    Attribute key.
    Value string
    Attribute value.
    key String
    Attribute key.
    value String
    Attribute value.
    key string
    Attribute key.
    value string
    Attribute value.
    key str
    Attribute key.
    value str
    Attribute value.
    key String
    Attribute key.
    value String
    Attribute value.

    DescribeTracesTraceSpanEvent

    Attributes List<DescribeTracesTraceSpanEventAttribute>
    Resource attributes.
    Name string
    Span name.
    Timestamp int
    Event timestamp.
    Attributes []DescribeTracesTraceSpanEventAttribute
    Resource attributes.
    Name string
    Span name.
    Timestamp int
    Event timestamp.
    attributes List<DescribeTracesTraceSpanEventAttribute>
    Resource attributes.
    name String
    Span name.
    timestamp Integer
    Event timestamp.
    attributes DescribeTracesTraceSpanEventAttribute[]
    Resource attributes.
    name string
    Span name.
    timestamp number
    Event timestamp.
    attributes Sequence[DescribeTracesTraceSpanEventAttribute]
    Resource attributes.
    name str
    Span name.
    timestamp int
    Event timestamp.
    attributes List<Property Map>
    Resource attributes.
    name String
    Span name.
    timestamp Number
    Event timestamp.

    DescribeTracesTraceSpanEventAttribute

    Key string
    Attribute key.
    Value string
    Attribute value.
    Key string
    Attribute key.
    Value string
    Attribute value.
    key String
    Attribute key.
    value String
    Attribute value.
    key string
    Attribute key.
    value string
    Attribute value.
    key str
    Attribute key.
    value str
    Attribute value.
    key String
    Attribute key.
    value String
    Attribute value.

    DescribeTracesTraceSpanInstrumentationLibrary

    Name string
    Span name.
    Version string
    Library version.
    Name string
    Span name.
    Version string
    Library version.
    name String
    Span name.
    version String
    Library version.
    name string
    Span name.
    version string
    Library version.
    name str
    Span name.
    version str
    Library version.
    name String
    Span name.
    version String
    Library version.
    Attributes List<DescribeTracesTraceSpanLinkAttribute>
    Resource attributes.
    SpanId string
    Span ID.
    TraceId string
    Trace ID.
    TraceState string
    Trace state.
    Attributes []DescribeTracesTraceSpanLinkAttribute
    Resource attributes.
    SpanId string
    Span ID.
    TraceId string
    Trace ID.
    TraceState string
    Trace state.
    attributes List<DescribeTracesTraceSpanLinkAttribute>
    Resource attributes.
    spanId String
    Span ID.
    traceId String
    Trace ID.
    traceState String
    Trace state.
    attributes DescribeTracesTraceSpanLinkAttribute[]
    Resource attributes.
    spanId string
    Span ID.
    traceId string
    Trace ID.
    traceState string
    Trace state.
    attributes Sequence[DescribeTracesTraceSpanLinkAttribute]
    Resource attributes.
    span_id str
    Span ID.
    trace_id str
    Trace ID.
    trace_state str
    Trace state.
    attributes List<Property Map>
    Resource attributes.
    spanId String
    Span ID.
    traceId String
    Trace ID.
    traceState String
    Trace state.

    DescribeTracesTraceSpanLinkAttribute

    Key string
    Attribute key.
    Value string
    Attribute value.
    Key string
    Attribute key.
    Value string
    Attribute value.
    key String
    Attribute key.
    value String
    Attribute value.
    key string
    Attribute key.
    value string
    Attribute value.
    key str
    Attribute key.
    value str
    Attribute value.
    key String
    Attribute key.
    value String
    Attribute value.

    DescribeTracesTraceSpanResource

    attributes List<Property Map>
    Resource attributes.

    DescribeTracesTraceSpanResourceAttribute

    Key string
    Attribute key.
    Value string
    Attribute value.
    Key string
    Attribute key.
    Value string
    Attribute value.
    key String
    Attribute key.
    value String
    Attribute value.
    key string
    Attribute key.
    value string
    Attribute value.
    key str
    Attribute key.
    value str
    Attribute value.
    key String
    Attribute key.
    value String
    Attribute value.

    DescribeTracesTraceSpanStatus

    Code string
    Status code.
    Message string
    Error message.
    Code string
    Status code.
    Message string
    Error message.
    code String
    Status code.
    message String
    Error message.
    code string
    Status code.
    message string
    Error message.
    code str
    Status code.
    message str
    Error message.
    code String
    Status code.
    message String
    Error message.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
      Meet Neo: Your AI Platform Teammate