"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.logSearchesOutput = exports.logSearches = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of tls log searches
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.tls.getLogSearches({
 *     endTime: 1773067877000,
 *     limit: 100,
 *     query: "*",
 *     startTime: 1773017877000,
 *     topicId: "3c57a110-399a-43b3-bc3c-5d60e065239a",
 * });
 * ```
 */
/** @deprecated volcengine.tls.LogSearches has been deprecated in favor of volcengine.tls.getLogSearches */
function logSearches(args, opts) {
    pulumi.log.warn("logSearches is deprecated: volcengine.tls.LogSearches has been deprecated in favor of volcengine.tls.getLogSearches");
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:tls/logSearches:LogSearches", {
        "accurateQuery": args.accurateQuery,
        "context": args.context,
        "endTime": args.endTime,
        "highlight": args.highlight,
        "limit": args.limit,
        "outputFile": args.outputFile,
        "query": args.query,
        "sort": args.sort,
        "startTime": args.startTime,
        "topicId": args.topicId,
    }, opts);
}
exports.logSearches = logSearches;
/**
 * Use this data source to query detailed information of tls log searches
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.tls.getLogSearches({
 *     endTime: 1773067877000,
 *     limit: 100,
 *     query: "*",
 *     startTime: 1773017877000,
 *     topicId: "3c57a110-399a-43b3-bc3c-5d60e065239a",
 * });
 * ```
 */
/** @deprecated volcengine.tls.LogSearches has been deprecated in favor of volcengine.tls.getLogSearches */
function logSearchesOutput(args, opts) {
    return pulumi.output(args).apply((a) => logSearches(a, opts));
}
exports.logSearchesOutput = logSearchesOutput;
//# sourceMappingURL=logSearches.js.map