UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

44 lines 2.42 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.getMongoDbInstanceOutput = exports.getMongoDbInstance = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Gets information about a MongoDB® Instance. * * For further information refer to the Managed Databases for MongoDB® [API documentation](https://developers.scaleway.com/en/products/mongodb/api/) */ /** @deprecated scaleway.index/getmongodbinstance.getMongoDbInstance has been deprecated in favor of scaleway.mongodb/getinstance.getInstance */ function getMongoDbInstance(args, opts) { pulumi.log.warn("getMongoDbInstance is deprecated: scaleway.index/getmongodbinstance.getMongoDbInstance has been deprecated in favor of scaleway.mongodb/getinstance.getInstance"); args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("scaleway:index/getMongoDbInstance:getMongoDbInstance", { "instanceId": args.instanceId, "name": args.name, "projectId": args.projectId, "region": args.region, }, opts); } exports.getMongoDbInstance = getMongoDbInstance; /** * Gets information about a MongoDB® Instance. * * For further information refer to the Managed Databases for MongoDB® [API documentation](https://developers.scaleway.com/en/products/mongodb/api/) */ /** @deprecated scaleway.index/getmongodbinstance.getMongoDbInstance has been deprecated in favor of scaleway.mongodb/getinstance.getInstance */ function getMongoDbInstanceOutput(args, opts) { pulumi.log.warn("getMongoDbInstance is deprecated: scaleway.index/getmongodbinstance.getMongoDbInstance has been deprecated in favor of scaleway.mongodb/getinstance.getInstance"); args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("scaleway:index/getMongoDbInstance:getMongoDbInstance", { "instanceId": args.instanceId, "name": args.name, "projectId": args.projectId, "region": args.region, }, opts); } exports.getMongoDbInstanceOutput = getMongoDbInstanceOutput; //# sourceMappingURL=getMongoDbInstance.js.map