"use strict";
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getTraceInstancesOutput = exports.getTraceInstances = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * 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: "tf-trace-instance-nn",
 * });
 * ```
 */
function getTraceInstances(args, opts) {
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:tls/getTraceInstances:getTraceInstances", {
        "csAccountChannel": args.csAccountChannel,
        "iamProjectName": args.iamProjectName,
        "outputFile": args.outputFile,
        "projectId": args.projectId,
        "projectName": args.projectName,
        "status": args.status,
        "traceInstanceId": args.traceInstanceId,
        "traceInstanceName": args.traceInstanceName,
    }, opts);
}
exports.getTraceInstances = getTraceInstances;
/**
 * 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: "tf-trace-instance-nn",
 * });
 * ```
 */
function getTraceInstancesOutput(args, opts) {
    return pulumi.output(args).apply((a) => getTraceInstances(a, opts));
}
exports.getTraceInstancesOutput = getTraceInstancesOutput;
//# sourceMappingURL=getTraceInstances.js.map