"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.traceInstancesOutput = exports.traceInstances = 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",
 * });
 * ```
 */
/** @deprecated volcengine.tls.TraceInstances has been deprecated in favor of volcengine.tls.getTraceInstances */
function traceInstances(args, opts) {
    pulumi.log.warn("traceInstances is deprecated: volcengine.tls.TraceInstances has been deprecated in favor of volcengine.tls.getTraceInstances");
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:tls/traceInstances:TraceInstances", {
        "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.traceInstances = traceInstances;
/**
 * 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",
 * });
 * ```
 */
/** @deprecated volcengine.tls.TraceInstances has been deprecated in favor of volcengine.tls.getTraceInstances */
function traceInstancesOutput(args, opts) {
    return pulumi.output(args).apply((a) => traceInstances(a, opts));
}
exports.traceInstancesOutput = traceInstancesOutput;
//# sourceMappingURL=traceInstances.js.map