UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

64 lines 3.07 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.getVpcPublicGatewayIpOutput = exports.getVpcPublicGatewayIp = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Gets information about a Public Gateway public flexible IP address. * * For further information, please see the [API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-ips-list-ips). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * import * as scaleway from "@pulumiverse/scaleway"; * * const main = new scaleway.network.PublicGatewayIp("main", {}); * const ipById = scaleway.network.getPublicGatewayIpOutput({ * ipId: main.id, * }); * ``` */ /** @deprecated scaleway.index/getvpcpublicgatewayip.getVpcPublicGatewayIp has been deprecated in favor of scaleway.network/getpublicgatewayip.getPublicGatewayIp */ function getVpcPublicGatewayIp(args, opts) { pulumi.log.warn("getVpcPublicGatewayIp is deprecated: scaleway.index/getvpcpublicgatewayip.getVpcPublicGatewayIp has been deprecated in favor of scaleway.network/getpublicgatewayip.getPublicGatewayIp"); args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("scaleway:index/getVpcPublicGatewayIp:getVpcPublicGatewayIp", { "ipId": args.ipId, }, opts); } exports.getVpcPublicGatewayIp = getVpcPublicGatewayIp; /** * Gets information about a Public Gateway public flexible IP address. * * For further information, please see the [API documentation](https://www.scaleway.com/en/developers/api/public-gateway/#path-ips-list-ips). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * import * as scaleway from "@pulumiverse/scaleway"; * * const main = new scaleway.network.PublicGatewayIp("main", {}); * const ipById = scaleway.network.getPublicGatewayIpOutput({ * ipId: main.id, * }); * ``` */ /** @deprecated scaleway.index/getvpcpublicgatewayip.getVpcPublicGatewayIp has been deprecated in favor of scaleway.network/getpublicgatewayip.getPublicGatewayIp */ function getVpcPublicGatewayIpOutput(args, opts) { pulumi.log.warn("getVpcPublicGatewayIp is deprecated: scaleway.index/getvpcpublicgatewayip.getVpcPublicGatewayIp has been deprecated in favor of scaleway.network/getpublicgatewayip.getPublicGatewayIp"); args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("scaleway:index/getVpcPublicGatewayIp:getVpcPublicGatewayIp", { "ipId": args.ipId, }, opts); } exports.getVpcPublicGatewayIpOutput = getVpcPublicGatewayIpOutput; //# sourceMappingURL=getVpcPublicGatewayIp.js.map