Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
Deprecated: volcengine.tls.SearchTraces has been deprecated in favor of volcengine.tls.getSearchTraces
Use this data source to query detailed information of tls search traces
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.tls.getSearchTraces({
query: {
limit: 10,
},
traceInstanceId: "ac368174-2353-4e5d-859d-84c8bd255590",
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.tls.get_search_traces(query=volcengine.tls.GetSearchTracesQueryArgs(
limit=10,
),
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.GetSearchTraces(ctx, &tls.GetSearchTracesArgs{
Query: tls.GetSearchTracesQuery{
Limit: pulumi.IntRef(10),
},
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 @default = Volcengine.Tls.GetSearchTraces.Invoke(new()
{
Query = new Volcengine.Tls.Inputs.GetSearchTracesQueryInputArgs
{
Limit = 10,
},
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.GetSearchTracesArgs;
import com.pulumi.volcengine.tls.inputs.GetSearchTracesQueryArgs;
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 default = TlsFunctions.getSearchTraces(GetSearchTracesArgs.builder()
.query(GetSearchTracesQueryArgs.builder()
.limit(10)
.build())
.traceInstanceId("ac368174-2353-4e5d-859d-84c8bd255590")
.build());
}
}
variables:
default:
fn::invoke:
Function: volcengine:tls:getSearchTraces
Arguments:
query:
limit: 10
traceInstanceId: ac368174-2353-4e5d-859d-84c8bd255590
Using SearchTraces
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 searchTraces(args: SearchTracesArgs, opts?: InvokeOptions): Promise<SearchTracesResult>
function searchTracesOutput(args: SearchTracesOutputArgs, opts?: InvokeOptions): Output<SearchTracesResult>def search_traces(output_file: Optional[str] = None,
query: Optional[SearchTracesQuery] = None,
trace_instance_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> SearchTracesResult
def search_traces_output(output_file: Optional[pulumi.Input[str]] = None,
query: Optional[pulumi.Input[SearchTracesQueryArgs]] = None,
trace_instance_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[SearchTracesResult]func SearchTraces(ctx *Context, args *SearchTracesArgs, opts ...InvokeOption) (*SearchTracesResult, error)
func SearchTracesOutput(ctx *Context, args *SearchTracesOutputArgs, opts ...InvokeOption) SearchTracesResultOutputpublic static class SearchTraces
{
public static Task<SearchTracesResult> InvokeAsync(SearchTracesArgs args, InvokeOptions? opts = null)
public static Output<SearchTracesResult> Invoke(SearchTracesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<SearchTracesResult> searchTraces(SearchTracesArgs args, InvokeOptions options)
public static Output<SearchTracesResult> searchTraces(SearchTracesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:tls:SearchTraces
arguments:
# arguments dictionaryThe following arguments are supported:
- Trace
Instance stringId - Trace instance ID.
- Output
File string - File name where to save data source results.
- Query
Search
Traces Query - Query conditions.
- Trace
Instance stringId - Trace instance ID.
- Output
File string - File name where to save data source results.
- Query
Search
Traces Query - Query conditions.
- trace
Instance StringId - Trace instance ID.
- output
File String - File name where to save data source results.
- query
Search
Traces Query - Query conditions.
- trace
Instance stringId - Trace instance ID.
- output
File string - File name where to save data source results.
- query
Search
Traces Query - Query conditions.
- trace_
instance_ strid - Trace instance ID.
- output_
file str - File name where to save data source results.
- query
Search
Traces Query - Query conditions.
- trace
Instance StringId - Trace instance ID.
- output
File String - File name where to save data source results.
- query Property Map
- Query conditions.
SearchTraces Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of tls trace query.
- Trace
Instance stringId - Traces
List<Search
Traces Trace> - The collection of tls trace query.
- Output
File string - Query
Search
Traces Query
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of tls trace query.
- Trace
Instance stringId - Traces
[]Search
Traces Trace - The collection of tls trace query.
- Output
File string - Query
Search
Traces Query
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of tls trace query.
- trace
Instance StringId - traces
List<Search
Traces Trace> - The collection of tls trace query.
- output
File String - query
Search
Traces Query
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of tls trace query.
- trace
Instance stringId - traces
Search
Traces Trace[] - The collection of tls trace query.
- output
File string - query
Search
Traces Query
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of tls trace query.
- trace_
instance_ strid - traces
Sequence[Search
Traces Trace] - The collection of tls trace query.
- output_
file str - query
Search
Traces Query
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of tls trace query.
- trace
Instance StringId - traces List<Property Map>
- The collection of tls trace query.
- output
File String - query Property Map
Supporting Types
SearchTracesQuery
- Asc bool
- Whether to sort results in ascending order. true means ascending, false means descending.
- Attributes
List<Search
Traces Query Attribute> - Attributes.
- Duration
Max int - Maximum trace duration in microseconds.
- Duration
Min int - Minimum trace duration in microseconds.
- Kind string
- Type of the trace.
- Limit int
- Maximum number of records to return, used for pagination.
- Offset int
- Offset for paginated query.
- Operation
Name string - Operation name, used to filter traces with specific operation.
- Order string
- Sorting field. Supported fields: Kind, Name, ServiceName, Start, End, Duration, and indexed fields in Attributes.
- Service
Name string - Service name, used to filter traces from specific service.
- Start
Time intMax - Maximum start time for searching traces, in microsecond timestamp format.
- Start
Time intMin - Minimum start time for searching traces, in microsecond timestamp format.
- Status
Code string - Trace status code, used to filter traces with specific status.
- Trace
Id string - Trace ID.
- Asc bool
- Whether to sort results in ascending order. true means ascending, false means descending.
- Attributes
[]Search
Traces Query Attribute - Attributes.
- Duration
Max int - Maximum trace duration in microseconds.
- Duration
Min int - Minimum trace duration in microseconds.
- Kind string
- Type of the trace.
- Limit int
- Maximum number of records to return, used for pagination.
- Offset int
- Offset for paginated query.
- Operation
Name string - Operation name, used to filter traces with specific operation.
- Order string
- Sorting field. Supported fields: Kind, Name, ServiceName, Start, End, Duration, and indexed fields in Attributes.
- Service
Name string - Service name, used to filter traces from specific service.
- Start
Time intMax - Maximum start time for searching traces, in microsecond timestamp format.
- Start
Time intMin - Minimum start time for searching traces, in microsecond timestamp format.
- Status
Code string - Trace status code, used to filter traces with specific status.
- Trace
Id string - Trace ID.
- asc Boolean
- Whether to sort results in ascending order. true means ascending, false means descending.
- attributes
List<Search
Traces Query Attribute> - Attributes.
- duration
Max Integer - Maximum trace duration in microseconds.
- duration
Min Integer - Minimum trace duration in microseconds.
- kind String
- Type of the trace.
- limit Integer
- Maximum number of records to return, used for pagination.
- offset Integer
- Offset for paginated query.
- operation
Name String - Operation name, used to filter traces with specific operation.
- order String
- Sorting field. Supported fields: Kind, Name, ServiceName, Start, End, Duration, and indexed fields in Attributes.
- service
Name String - Service name, used to filter traces from specific service.
- start
Time IntegerMax - Maximum start time for searching traces, in microsecond timestamp format.
- start
Time IntegerMin - Minimum start time for searching traces, in microsecond timestamp format.
- status
Code String - Trace status code, used to filter traces with specific status.
- trace
Id String - Trace ID.
- asc boolean
- Whether to sort results in ascending order. true means ascending, false means descending.
- attributes
Search
Traces Query Attribute[] - Attributes.
- duration
Max number - Maximum trace duration in microseconds.
- duration
Min number - Minimum trace duration in microseconds.
- kind string
- Type of the trace.
- limit number
- Maximum number of records to return, used for pagination.
- offset number
- Offset for paginated query.
- operation
Name string - Operation name, used to filter traces with specific operation.
- order string
- Sorting field. Supported fields: Kind, Name, ServiceName, Start, End, Duration, and indexed fields in Attributes.
- service
Name string - Service name, used to filter traces from specific service.
- start
Time numberMax - Maximum start time for searching traces, in microsecond timestamp format.
- start
Time numberMin - Minimum start time for searching traces, in microsecond timestamp format.
- status
Code string - Trace status code, used to filter traces with specific status.
- trace
Id string - Trace ID.
- asc bool
- Whether to sort results in ascending order. true means ascending, false means descending.
- attributes
Sequence[Search
Traces Query Attribute] - Attributes.
- duration_
max int - Maximum trace duration in microseconds.
- duration_
min int - Minimum trace duration in microseconds.
- kind str
- Type of the trace.
- limit int
- Maximum number of records to return, used for pagination.
- offset int
- Offset for paginated query.
- operation_
name str - Operation name, used to filter traces with specific operation.
- order str
- Sorting field. Supported fields: Kind, Name, ServiceName, Start, End, Duration, and indexed fields in Attributes.
- service_
name str - Service name, used to filter traces from specific service.
- start_
time_ intmax - Maximum start time for searching traces, in microsecond timestamp format.
- start_
time_ intmin - Minimum start time for searching traces, in microsecond timestamp format.
- status_
code str - Trace status code, used to filter traces with specific status.
- trace_
id str - Trace ID.
- asc Boolean
- Whether to sort results in ascending order. true means ascending, false means descending.
- attributes List<Property Map>
- Attributes.
- duration
Max Number - Maximum trace duration in microseconds.
- duration
Min Number - Minimum trace duration in microseconds.
- kind String
- Type of the trace.
- limit Number
- Maximum number of records to return, used for pagination.
- offset Number
- Offset for paginated query.
- operation
Name String - Operation name, used to filter traces with specific operation.
- order String
- Sorting field. Supported fields: Kind, Name, ServiceName, Start, End, Duration, and indexed fields in Attributes.
- service
Name String - Service name, used to filter traces from specific service.
- start
Time NumberMax - Maximum start time for searching traces, in microsecond timestamp format.
- start
Time NumberMin - Minimum start time for searching traces, in microsecond timestamp format.
- status
Code String - Trace status code, used to filter traces with specific status.
- trace
Id String - Trace ID.
SearchTracesQueryAttribute
SearchTracesTrace
- Attributes Dictionary<string, string>
- Trace attributes.
- Duration int
- Trace duration in microseconds.
- End
Time int - Trace end time in microseconds.
- Operation
Name string - Operation name.
- Service
Name string - Service name.
- Start
Time int - Trace start time in microseconds.
- Status
Code string - Trace status code.
- Trace
Id string - Trace ID.
- Attributes map[string]string
- Trace attributes.
- Duration int
- Trace duration in microseconds.
- End
Time int - Trace end time in microseconds.
- Operation
Name string - Operation name.
- Service
Name string - Service name.
- Start
Time int - Trace start time in microseconds.
- Status
Code string - Trace status code.
- Trace
Id string - Trace ID.
- attributes Map<String,String>
- Trace attributes.
- duration Integer
- Trace duration in microseconds.
- end
Time Integer - Trace end time in microseconds.
- operation
Name String - Operation name.
- service
Name String - Service name.
- start
Time Integer - Trace start time in microseconds.
- status
Code String - Trace status code.
- trace
Id String - Trace ID.
- attributes {[key: string]: string}
- Trace attributes.
- duration number
- Trace duration in microseconds.
- end
Time number - Trace end time in microseconds.
- operation
Name string - Operation name.
- service
Name string - Service name.
- start
Time number - Trace start time in microseconds.
- status
Code string - Trace status code.
- trace
Id string - Trace ID.
- attributes Mapping[str, str]
- Trace attributes.
- duration int
- Trace duration in microseconds.
- end_
time int - Trace end time in microseconds.
- operation_
name str - Operation name.
- service_
name str - Service name.
- start_
time int - Trace start time in microseconds.
- status_
code str - Trace status code.
- trace_
id str - Trace ID.
- attributes Map<String>
- Trace attributes.
- duration Number
- Trace duration in microseconds.
- end
Time Number - Trace end time in microseconds.
- operation
Name String - Operation name.
- service
Name String - Service name.
- start
Time Number - Trace start time in microseconds.
- status
Code String - Trace status code.
- trace
Id String - Trace ID.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
