"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.logHistogramsOutput = exports.logHistograms = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of tls log histograms
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.tls.getLogHistograms({
 *     endTime: 1768450896000,
 *     interval: 60000,
 *     query: "*",
 *     startTime: 1768448896000,
 *     topicId: "3c57a110-399a-43b3-bc3c-5d60e065239a",
 * });
 * ```
 */
/** @deprecated volcengine.tls.LogHistograms has been deprecated in favor of volcengine.tls.getLogHistograms */
function logHistograms(args, opts) {
    pulumi.log.warn("logHistograms is deprecated: volcengine.tls.LogHistograms has been deprecated in favor of volcengine.tls.getLogHistograms");
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:tls/logHistograms:LogHistograms", {
        "endTime": args.endTime,
        "interval": args.interval,
        "query": args.query,
        "startTime": args.startTime,
        "topicId": args.topicId,
    }, opts);
}
exports.logHistograms = logHistograms;
/**
 * Use this data source to query detailed information of tls log histograms
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.tls.getLogHistograms({
 *     endTime: 1768450896000,
 *     interval: 60000,
 *     query: "*",
 *     startTime: 1768448896000,
 *     topicId: "3c57a110-399a-43b3-bc3c-5d60e065239a",
 * });
 * ```
 */
/** @deprecated volcengine.tls.LogHistograms has been deprecated in favor of volcengine.tls.getLogHistograms */
function logHistogramsOutput(args, opts) {
    return pulumi.output(args).apply((a) => logHistograms(a, opts));
}
exports.logHistogramsOutput = logHistogramsOutput;
//# sourceMappingURL=logHistograms.js.map