@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
157 lines (156 loc) • 4.25 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of tls trace instances
* ## Example Usage
*
* ```typescript
* 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",
* });
* ```
*/
/** @deprecated volcengine.tls.TraceInstances has been deprecated in favor of volcengine.tls.getTraceInstances */
export declare function traceInstances(args?: TraceInstancesArgs, opts?: pulumi.InvokeOptions): Promise<TraceInstancesResult>;
/**
* A collection of arguments for invoking TraceInstances.
*/
export interface TraceInstancesArgs {
/**
* CS account channel identifier.
*/
csAccountChannel?: string;
/**
* The IAM project name.
*/
iamProjectName?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* The ID of the project.
*/
projectId?: string;
/**
* The name of the project.
*/
projectName?: string;
/**
* The status of the trace instance.
*/
status?: string;
/**
* The ID of the trace instance.
*/
traceInstanceId?: string;
/**
* The name of the trace instance.
*/
traceInstanceName?: string;
}
/**
* A collection of values returned by TraceInstances.
*/
export interface TraceInstancesResult {
/**
* CS account channel identifier.
*/
readonly csAccountChannel?: string;
readonly iamProjectName?: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly outputFile?: string;
/**
* The ID of the project.
*/
readonly projectId?: string;
/**
* The name of the project.
*/
readonly projectName?: string;
readonly status?: string;
/**
* The total count of trace instances.
*/
readonly totalCount: number;
/**
* The ID of the trace instance.
*/
readonly traceInstanceId?: string;
/**
* The name of the trace instance.
*/
readonly traceInstanceName?: string;
/**
* The list of trace instances.
*/
readonly traceInstances: outputs.tls.TraceInstancesTraceInstance[];
}
/**
* Use this data source to query detailed information of tls trace instances
* ## Example Usage
*
* ```typescript
* 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",
* });
* ```
*/
/** @deprecated volcengine.tls.TraceInstances has been deprecated in favor of volcengine.tls.getTraceInstances */
export declare function traceInstancesOutput(args?: TraceInstancesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<TraceInstancesResult>;
/**
* A collection of arguments for invoking TraceInstances.
*/
export interface TraceInstancesOutputArgs {
/**
* CS account channel identifier.
*/
csAccountChannel?: pulumi.Input<string>;
/**
* The IAM project name.
*/
iamProjectName?: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* The ID of the project.
*/
projectId?: pulumi.Input<string>;
/**
* The name of the project.
*/
projectName?: pulumi.Input<string>;
/**
* The status of the trace instance.
*/
status?: pulumi.Input<string>;
/**
* The ID of the trace instance.
*/
traceInstanceId?: pulumi.Input<string>;
/**
* The name of the trace instance.
*/
traceInstanceName?: pulumi.Input<string>;
}