UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

55 lines 2.08 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.topicsOutput = exports.topics = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Use this data source to query detailed information of tls topics * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.tls.getTopics({ * projectId: "bdb87e4d-7dad-4b96-ac43-e1b09e9dc8ac", * topicId: "9b756385-1dfb-4306-a094-0c88e04b34a5", * }); * ``` */ /** @deprecated volcengine.tls.Topics has been deprecated in favor of volcengine.tls.getTopics */ function topics(args, opts) { pulumi.log.warn("topics is deprecated: volcengine.tls.Topics has been deprecated in favor of volcengine.tls.getTopics"); opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("volcengine:tls/topics:Topics", { "nameRegex": args.nameRegex, "outputFile": args.outputFile, "projectId": args.projectId, "tags": args.tags, "topicId": args.topicId, "topicName": args.topicName, }, opts); } exports.topics = topics; /** * Use this data source to query detailed information of tls topics * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.tls.getTopics({ * projectId: "bdb87e4d-7dad-4b96-ac43-e1b09e9dc8ac", * topicId: "9b756385-1dfb-4306-a094-0c88e04b34a5", * }); * ``` */ /** @deprecated volcengine.tls.Topics has been deprecated in favor of volcengine.tls.getTopics */ function topicsOutput(args, opts) { return pulumi.output(args).apply((a) => topics(a, opts)); } exports.topicsOutput = topicsOutput; //# sourceMappingURL=topics.js.map