@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
40 lines • 1.82 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.getVpcsOutput = exports.getVpcs = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Gets information about multiple Virtual Private Clouds.
*/
/** @deprecated scaleway.index/getvpcs.getVpcs has been deprecated in favor of scaleway.network/getvpcs.getVpcs */
function getVpcs(args, opts) {
pulumi.log.warn("getVpcs is deprecated: scaleway.index/getvpcs.getVpcs has been deprecated in favor of scaleway.network/getvpcs.getVpcs");
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("scaleway:index/getVpcs:getVpcs", {
"name": args.name,
"projectId": args.projectId,
"region": args.region,
"tags": args.tags,
}, opts);
}
exports.getVpcs = getVpcs;
/**
* Gets information about multiple Virtual Private Clouds.
*/
/** @deprecated scaleway.index/getvpcs.getVpcs has been deprecated in favor of scaleway.network/getvpcs.getVpcs */
function getVpcsOutput(args, opts) {
pulumi.log.warn("getVpcs is deprecated: scaleway.index/getvpcs.getVpcs has been deprecated in favor of scaleway.network/getvpcs.getVpcs");
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("scaleway:index/getVpcs:getVpcs", {
"name": args.name,
"projectId": args.projectId,
"region": args.region,
"tags": args.tags,
}, opts);
}
exports.getVpcsOutput = getVpcsOutput;
//# sourceMappingURL=getVpcs.js.map