@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
46 lines • 1.54 kB
JavaScript
;
// *** 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.getShardsOutput = exports.getShards = 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",
* });
* ```
*/
function getShards(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("volcengine:tls/getShards:getShards", {
"outputFile": args.outputFile,
"topicId": args.topicId,
}, opts);
}
exports.getShards = getShards;
/**
* 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",
* });
* ```
*/
function getShardsOutput(args, opts) {
return pulumi.output(args).apply((a) => getShards(a, opts));
}
exports.getShardsOutput = getShardsOutput;
//# sourceMappingURL=getShards.js.map