Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
Use this data source to query detailed information of tls trace instances
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const byName = volcengine.tls.getTraceInstances({
projectId: "bdb87e4d-7dad-4b96-ac43-e1b09e9dc8ac",
traceInstanceName: "测试trace",
});
const byStatus = volcengine.tls.getTraceInstances({
projectId: "bdb87e4d-7dad-4b96-ac43-e1b09e9dc8ac",
status: "CREATED",
});
import pulumi
import pulumi_volcengine as volcengine
by_name = volcengine.tls.get_trace_instances(project_id="bdb87e4d-7dad-4b96-ac43-e1b09e9dc8ac",
trace_instance_name="测试trace")
by_status = volcengine.tls.get_trace_instances(project_id="bdb87e4d-7dad-4b96-ac43-e1b09e9dc8ac",
status="CREATED")
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.GetTraceInstances(ctx, &tls.GetTraceInstancesArgs{
ProjectId: pulumi.StringRef("bdb87e4d-7dad-4b96-ac43-e1b09e9dc8ac"),
TraceInstanceName: pulumi.StringRef("测试trace"),
}, nil)
if err != nil {
return err
}
_, err = tls.GetTraceInstances(ctx, &tls.GetTraceInstancesArgs{
ProjectId: pulumi.StringRef("bdb87e4d-7dad-4b96-ac43-e1b09e9dc8ac"),
Status: pulumi.StringRef("CREATED"),
}, 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 byName = Volcengine.Tls.GetTraceInstances.Invoke(new()
{
ProjectId = "bdb87e4d-7dad-4b96-ac43-e1b09e9dc8ac",
TraceInstanceName = "测试trace",
});
var byStatus = Volcengine.Tls.GetTraceInstances.Invoke(new()
{
ProjectId = "bdb87e4d-7dad-4b96-ac43-e1b09e9dc8ac",
Status = "CREATED",
});
});
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.GetTraceInstancesArgs;
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 byName = TlsFunctions.getTraceInstances(GetTraceInstancesArgs.builder()
.projectId("bdb87e4d-7dad-4b96-ac43-e1b09e9dc8ac")
.traceInstanceName("测试trace")
.build());
final var byStatus = TlsFunctions.getTraceInstances(GetTraceInstancesArgs.builder()
.projectId("bdb87e4d-7dad-4b96-ac43-e1b09e9dc8ac")
.status("CREATED")
.build());
}
}
variables:
byName:
fn::invoke:
Function: volcengine:tls:getTraceInstances
Arguments:
projectId: bdb87e4d-7dad-4b96-ac43-e1b09e9dc8ac
traceInstanceName: 测试trace
byStatus:
fn::invoke:
Function: volcengine:tls:getTraceInstances
Arguments:
projectId: bdb87e4d-7dad-4b96-ac43-e1b09e9dc8ac
status: CREATED
Using getTraceInstances
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 getTraceInstances(args: GetTraceInstancesArgs, opts?: InvokeOptions): Promise<GetTraceInstancesResult>
function getTraceInstancesOutput(args: GetTraceInstancesOutputArgs, opts?: InvokeOptions): Output<GetTraceInstancesResult>def get_trace_instances(cs_account_channel: Optional[str] = None,
iam_project_name: Optional[str] = None,
output_file: Optional[str] = None,
project_id: Optional[str] = None,
project_name: Optional[str] = None,
status: Optional[str] = None,
trace_instance_id: Optional[str] = None,
trace_instance_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTraceInstancesResult
def get_trace_instances_output(cs_account_channel: Optional[pulumi.Input[str]] = None,
iam_project_name: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
project_name: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
trace_instance_id: Optional[pulumi.Input[str]] = None,
trace_instance_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTraceInstancesResult]func GetTraceInstances(ctx *Context, args *GetTraceInstancesArgs, opts ...InvokeOption) (*GetTraceInstancesResult, error)
func GetTraceInstancesOutput(ctx *Context, args *GetTraceInstancesOutputArgs, opts ...InvokeOption) GetTraceInstancesResultOutput> Note: This function is named GetTraceInstances in the Go SDK.
public static class GetTraceInstances
{
public static Task<GetTraceInstancesResult> InvokeAsync(GetTraceInstancesArgs args, InvokeOptions? opts = null)
public static Output<GetTraceInstancesResult> Invoke(GetTraceInstancesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTraceInstancesResult> getTraceInstances(GetTraceInstancesArgs args, InvokeOptions options)
public static Output<GetTraceInstancesResult> getTraceInstances(GetTraceInstancesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:tls/getTraceInstances:getTraceInstances
arguments:
# arguments dictionaryThe following arguments are supported:
- Cs
Account stringChannel - CS account channel identifier.
- Iam
Project stringName - The IAM project name.
- Output
File string - File name where to save data source results.
- Project
Id string - The ID of the project.
- Project
Name string - The name of the project.
- Status string
- The status of the trace instance.
- Trace
Instance stringId - The ID of the trace instance.
- Trace
Instance stringName - The name of the trace instance.
- Cs
Account stringChannel - CS account channel identifier.
- Iam
Project stringName - The IAM project name.
- Output
File string - File name where to save data source results.
- Project
Id string - The ID of the project.
- Project
Name string - The name of the project.
- Status string
- The status of the trace instance.
- Trace
Instance stringId - The ID of the trace instance.
- Trace
Instance stringName - The name of the trace instance.
- cs
Account StringChannel - CS account channel identifier.
- iam
Project StringName - The IAM project name.
- output
File String - File name where to save data source results.
- project
Id String - The ID of the project.
- project
Name String - The name of the project.
- status String
- The status of the trace instance.
- trace
Instance StringId - The ID of the trace instance.
- trace
Instance StringName - The name of the trace instance.
- cs
Account stringChannel - CS account channel identifier.
- iam
Project stringName - The IAM project name.
- output
File string - File name where to save data source results.
- project
Id string - The ID of the project.
- project
Name string - The name of the project.
- status string
- The status of the trace instance.
- trace
Instance stringId - The ID of the trace instance.
- trace
Instance stringName - The name of the trace instance.
- cs_
account_ strchannel - CS account channel identifier.
- iam_
project_ strname - The IAM project name.
- output_
file str - File name where to save data source results.
- project_
id str - The ID of the project.
- project_
name str - The name of the project.
- status str
- The status of the trace instance.
- trace_
instance_ strid - The ID of the trace instance.
- trace_
instance_ strname - The name of the trace instance.
- cs
Account StringChannel - CS account channel identifier.
- iam
Project StringName - The IAM project name.
- output
File String - File name where to save data source results.
- project
Id String - The ID of the project.
- project
Name String - The name of the project.
- status String
- The status of the trace instance.
- trace
Instance StringId - The ID of the trace instance.
- trace
Instance StringName - The name of the trace instance.
getTraceInstances 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 trace instances.
- Trace
Instances List<GetTrace Instances Trace Instance> - The list of trace instances.
- Cs
Account stringChannel - CS account channel identifier.
- Iam
Project stringName - Output
File string - Project
Id string - The ID of the project.
- Project
Name string - The name of the project.
- Status string
- Trace
Instance stringId - The ID of the trace instance.
- Trace
Instance stringName - The name of the trace instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of trace instances.
- Trace
Instances []GetTrace Instances Trace Instance - The list of trace instances.
- Cs
Account stringChannel - CS account channel identifier.
- Iam
Project stringName - Output
File string - Project
Id string - The ID of the project.
- Project
Name string - The name of the project.
- Status string
- Trace
Instance stringId - The ID of the trace instance.
- Trace
Instance stringName - The name of the trace instance.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of trace instances.
- trace
Instances List<GetTrace Instances Trace Instance> - The list of trace instances.
- cs
Account StringChannel - CS account channel identifier.
- iam
Project StringName - output
File String - project
Id String - The ID of the project.
- project
Name String - The name of the project.
- status String
- trace
Instance StringId - The ID of the trace instance.
- trace
Instance StringName - The name of the trace instance.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of trace instances.
- trace
Instances GetTrace Instances Trace Instance[] - The list of trace instances.
- cs
Account stringChannel - CS account channel identifier.
- iam
Project stringName - output
File string - project
Id string - The ID of the project.
- project
Name string - The name of the project.
- status string
- trace
Instance stringId - The ID of the trace instance.
- trace
Instance stringName - The name of the trace instance.
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of trace instances.
- trace_
instances Sequence[GetTrace Instances Trace Instance] - The list of trace instances.
- cs_
account_ strchannel - CS account channel identifier.
- iam_
project_ strname - output_
file str - project_
id str - The ID of the project.
- project_
name str - The name of the project.
- status str
- trace_
instance_ strid - The ID of the trace instance.
- trace_
instance_ strname - The name of the trace instance.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of trace instances.
- trace
Instances List<Property Map> - The list of trace instances.
- cs
Account StringChannel - CS account channel identifier.
- iam
Project StringName - output
File String - project
Id String - The ID of the project.
- project
Name String - The name of the project.
- status String
- trace
Instance StringId - The ID of the trace instance.
- trace
Instance StringName - The name of the trace instance.
Supporting Types
GetTraceInstancesTraceInstance
- Backend
Config GetTrace Instances Trace Instance Backend Config - The backend config of the trace instance.
- Create
Time string - The create time of the trace instance.
- Cs
Account stringChannel - CS account channel identifier.
- Dependency
Topic stringId - The ID of the dependency topic.
- Dependency
Topic stringTopic Name - The name of the dependency topic.
- Description string
- The description of the trace instance.
- Modify
Time string - The update time of the trace instance.
- Project
Id string - The ID of the project.
- Project
Name string - The name of the project.
- Trace
Instance stringId - The ID of the trace instance.
- Trace
Instance stringName - The name of the trace instance.
- Trace
Instance stringStatus - The status of the trace instance.
- Trace
Topic stringId - The ID of the trace topic.
- Trace
Topic stringName - The name of the trace topic.
- Backend
Config GetTrace Instances Trace Instance Backend Config - The backend config of the trace instance.
- Create
Time string - The create time of the trace instance.
- Cs
Account stringChannel - CS account channel identifier.
- Dependency
Topic stringId - The ID of the dependency topic.
- Dependency
Topic stringTopic Name - The name of the dependency topic.
- Description string
- The description of the trace instance.
- Modify
Time string - The update time of the trace instance.
- Project
Id string - The ID of the project.
- Project
Name string - The name of the project.
- Trace
Instance stringId - The ID of the trace instance.
- Trace
Instance stringName - The name of the trace instance.
- Trace
Instance stringStatus - The status of the trace instance.
- Trace
Topic stringId - The ID of the trace topic.
- Trace
Topic stringName - The name of the trace topic.
- backend
Config GetTrace Instances Trace Instance Backend Config - The backend config of the trace instance.
- create
Time String - The create time of the trace instance.
- cs
Account StringChannel - CS account channel identifier.
- dependency
Topic StringId - The ID of the dependency topic.
- dependency
Topic StringTopic Name - The name of the dependency topic.
- description String
- The description of the trace instance.
- modify
Time String - The update time of the trace instance.
- project
Id String - The ID of the project.
- project
Name String - The name of the project.
- trace
Instance StringId - The ID of the trace instance.
- trace
Instance StringName - The name of the trace instance.
- trace
Instance StringStatus - The status of the trace instance.
- trace
Topic StringId - The ID of the trace topic.
- trace
Topic StringName - The name of the trace topic.
- backend
Config GetTrace Instances Trace Instance Backend Config - The backend config of the trace instance.
- create
Time string - The create time of the trace instance.
- cs
Account stringChannel - CS account channel identifier.
- dependency
Topic stringId - The ID of the dependency topic.
- dependency
Topic stringTopic Name - The name of the dependency topic.
- description string
- The description of the trace instance.
- modify
Time string - The update time of the trace instance.
- project
Id string - The ID of the project.
- project
Name string - The name of the project.
- trace
Instance stringId - The ID of the trace instance.
- trace
Instance stringName - The name of the trace instance.
- trace
Instance stringStatus - The status of the trace instance.
- trace
Topic stringId - The ID of the trace topic.
- trace
Topic stringName - The name of the trace topic.
- backend_
config GetTrace Instances Trace Instance Backend Config - The backend config of the trace instance.
- create_
time str - The create time of the trace instance.
- cs_
account_ strchannel - CS account channel identifier.
- dependency_
topic_ strid - The ID of the dependency topic.
- dependency_
topic_ strtopic_ name - The name of the dependency topic.
- description str
- The description of the trace instance.
- modify_
time str - The update time of the trace instance.
- project_
id str - The ID of the project.
- project_
name str - The name of the project.
- trace_
instance_ strid - The ID of the trace instance.
- trace_
instance_ strname - The name of the trace instance.
- trace_
instance_ strstatus - The status of the trace instance.
- trace_
topic_ strid - The ID of the trace topic.
- trace_
topic_ strname - The name of the trace topic.
- backend
Config Property Map - The backend config of the trace instance.
- create
Time String - The create time of the trace instance.
- cs
Account StringChannel - CS account channel identifier.
- dependency
Topic StringId - The ID of the dependency topic.
- dependency
Topic StringTopic Name - The name of the dependency topic.
- description String
- The description of the trace instance.
- modify
Time String - The update time of the trace instance.
- project
Id String - The ID of the project.
- project
Name String - The name of the project.
- trace
Instance StringId - The ID of the trace instance.
- trace
Instance StringName - The name of the trace instance.
- trace
Instance StringStatus - The status of the trace instance.
- trace
Topic StringId - The ID of the trace topic.
- trace
Topic StringName - The name of the trace topic.
GetTraceInstancesTraceInstanceBackendConfig
- Archive
Ttl int - Archive storage duration in days.
- Auto
Split bool - Whether to enable auto split.
- Cold
Ttl int - Infrequent storage duration in days.
- Enable
Hot boolTtl - Whether to enable tiered storage.
- Hot
Ttl int - Standard storage duration in days.
- Max
Split intPartitions - Max split partitions.
- Ttl int
- Total log retention time in days.
- Archive
Ttl int - Archive storage duration in days.
- Auto
Split bool - Whether to enable auto split.
- Cold
Ttl int - Infrequent storage duration in days.
- Enable
Hot boolTtl - Whether to enable tiered storage.
- Hot
Ttl int - Standard storage duration in days.
- Max
Split intPartitions - Max split partitions.
- Ttl int
- Total log retention time in days.
- archive
Ttl Integer - Archive storage duration in days.
- auto
Split Boolean - Whether to enable auto split.
- cold
Ttl Integer - Infrequent storage duration in days.
- enable
Hot BooleanTtl - Whether to enable tiered storage.
- hot
Ttl Integer - Standard storage duration in days.
- max
Split IntegerPartitions - Max split partitions.
- ttl Integer
- Total log retention time in days.
- archive
Ttl number - Archive storage duration in days.
- auto
Split boolean - Whether to enable auto split.
- cold
Ttl number - Infrequent storage duration in days.
- enable
Hot booleanTtl - Whether to enable tiered storage.
- hot
Ttl number - Standard storage duration in days.
- max
Split numberPartitions - Max split partitions.
- ttl number
- Total log retention time in days.
- archive_
ttl int - Archive storage duration in days.
- auto_
split bool - Whether to enable auto split.
- cold_
ttl int - Infrequent storage duration in days.
- enable_
hot_ boolttl - Whether to enable tiered storage.
- hot_
ttl int - Standard storage duration in days.
- max_
split_ intpartitions - Max split partitions.
- ttl int
- Total log retention time in days.
- archive
Ttl Number - Archive storage duration in days.
- auto
Split Boolean - Whether to enable auto split.
- cold
Ttl Number - Infrequent storage duration in days.
- enable
Hot BooleanTtl - Whether to enable tiered storage.
- hot
Ttl Number - Standard storage duration in days.
- max
Split NumberPartitions - Max split partitions.
- ttl Number
- Total log retention time in days.
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
