"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.searchTracesOutput = exports.searchTraces = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of tls search traces
 * ## Example Usage
 *
 * ```typescript
 * 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",
 * });
 * ```
 */
/** @deprecated volcengine.tls.SearchTraces has been deprecated in favor of volcengine.tls.getSearchTraces */
function searchTraces(args, opts) {
    pulumi.log.warn("searchTraces is deprecated: volcengine.tls.SearchTraces has been deprecated in favor of volcengine.tls.getSearchTraces");
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:tls/searchTraces:SearchTraces", {
        "outputFile": args.outputFile,
        "query": args.query,
        "traceInstanceId": args.traceInstanceId,
    }, opts);
}
exports.searchTraces = searchTraces;
/**
 * Use this data source to query detailed information of tls search traces
 * ## Example Usage
 *
 * ```typescript
 * 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",
 * });
 * ```
 */
/** @deprecated volcengine.tls.SearchTraces has been deprecated in favor of volcengine.tls.getSearchTraces */
function searchTracesOutput(args, opts) {
    return pulumi.output(args).apply((a) => searchTraces(a, opts));
}
exports.searchTracesOutput = searchTracesOutput;
//# sourceMappingURL=searchTraces.js.map