UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

46 lines 1.75 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.specsOutput = exports.specs = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Use this data source to query detailed information of mongodb specs * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.mongodb.getSpecs({}); * ``` */ /** @deprecated volcengine.mongodb.Specs has been deprecated in favor of volcengine.mongodb.getSpecs */ function specs(args, opts) { pulumi.log.warn("specs is deprecated: volcengine.mongodb.Specs has been deprecated in favor of volcengine.mongodb.getSpecs"); args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("volcengine:mongodb/specs:Specs", { "outputFile": args.outputFile, "regionId": args.regionId, }, opts); } exports.specs = specs; /** * Use this data source to query detailed information of mongodb specs * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.mongodb.getSpecs({}); * ``` */ /** @deprecated volcengine.mongodb.Specs has been deprecated in favor of volcengine.mongodb.getSpecs */ function specsOutput(args, opts) { return pulumi.output(args).apply((a) => specs(a, opts)); } exports.specsOutput = specsOutput; //# sourceMappingURL=specs.js.map