@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
46 lines • 2.27 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.getVpcRoutesOutput = exports.getVpcRoutes = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Gets information about multiple VPC routes.
*/
/** @deprecated scaleway.index/getvpcroutes.getVpcRoutes has been deprecated in favor of scaleway.network/getroutes.getRoutes */
function getVpcRoutes(args, opts) {
pulumi.log.warn("getVpcRoutes is deprecated: scaleway.index/getvpcroutes.getVpcRoutes has been deprecated in favor of scaleway.network/getroutes.getRoutes");
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("scaleway:index/getVpcRoutes:getVpcRoutes", {
"isIpv6": args.isIpv6,
"nexthopPrivateNetworkId": args.nexthopPrivateNetworkId,
"nexthopResourceId": args.nexthopResourceId,
"nexthopResourceType": args.nexthopResourceType,
"region": args.region,
"tags": args.tags,
"vpcId": args.vpcId,
}, opts);
}
exports.getVpcRoutes = getVpcRoutes;
/**
* Gets information about multiple VPC routes.
*/
/** @deprecated scaleway.index/getvpcroutes.getVpcRoutes has been deprecated in favor of scaleway.network/getroutes.getRoutes */
function getVpcRoutesOutput(args, opts) {
pulumi.log.warn("getVpcRoutes is deprecated: scaleway.index/getvpcroutes.getVpcRoutes has been deprecated in favor of scaleway.network/getroutes.getRoutes");
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("scaleway:index/getVpcRoutes:getVpcRoutes", {
"isIpv6": args.isIpv6,
"nexthopPrivateNetworkId": args.nexthopPrivateNetworkId,
"nexthopResourceId": args.nexthopResourceId,
"nexthopResourceType": args.nexthopResourceType,
"region": args.region,
"tags": args.tags,
"vpcId": args.vpcId,
}, opts);
}
exports.getVpcRoutesOutput = getVpcRoutesOutput;
//# sourceMappingURL=getVpcRoutes.js.map