"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.shardsOutput = exports.shards = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of tls shards
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.tls.getShards({
 *     topicId: "b600dc34-503f-42fc-8e32-953af55463d1",
 * });
 * ```
 */
/** @deprecated volcengine.tls.Shards has been deprecated in favor of volcengine.tls.getShards */
function shards(args, opts) {
    pulumi.log.warn("shards is deprecated: volcengine.tls.Shards has been deprecated in favor of volcengine.tls.getShards");
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:tls/shards:Shards", {
        "outputFile": args.outputFile,
        "topicId": args.topicId,
    }, opts);
}
exports.shards = shards;
/**
 * Use this data source to query detailed information of tls shards
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.tls.getShards({
 *     topicId: "b600dc34-503f-42fc-8e32-953af55463d1",
 * });
 * ```
 */
/** @deprecated volcengine.tls.Shards has been deprecated in favor of volcengine.tls.getShards */
function shardsOutput(args, opts) {
    return pulumi.output(args).apply((a) => shards(a, opts));
}
exports.shardsOutput = shardsOutput;
//# sourceMappingURL=shards.js.map