UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

46 lines 1.54 kB
"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.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: "edf051ed-3c46-49ba-9339-bea628fedc15", * }); * ``` */ 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: "edf051ed-3c46-49ba-9339-bea628fedc15", * }); * ``` */ function getShardsOutput(args, opts) { return pulumi.output(args).apply((a) => getShards(a, opts)); } exports.getShardsOutput = getShardsOutput; //# sourceMappingURL=getShards.js.map