UNPKG

@lbrlabs/pulumi-scaleway

Version:

A Pulumi package for creating and managing scaleway cloud resources.

56 lines 2.08 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 IP. * * For further information please check the API [documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#get-66f0c0) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@lbrlabs/pulumi-scaleway"; * import * as scaleway from "@pulumi/scaleway"; * * const main = new scaleway.VpcPublicGatewayIp("main", {}); * const ipById = scaleway.getVpcPublicGatewayIpOutput({ * ipId: main.id, * }); * ``` */ function getVpcPublicGatewayIp(args, opts) { 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 IP. * * For further information please check the API [documentation](https://developers.scaleway.com/en/products/vpc-gw/api/v1/#get-66f0c0) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@lbrlabs/pulumi-scaleway"; * import * as scaleway from "@pulumi/scaleway"; * * const main = new scaleway.VpcPublicGatewayIp("main", {}); * const ipById = scaleway.getVpcPublicGatewayIpOutput({ * ipId: main.id, * }); * ``` */ function getVpcPublicGatewayIpOutput(args, opts) { return pulumi.output(args).apply((a) => getVpcPublicGatewayIp(a, opts)); } exports.getVpcPublicGatewayIpOutput = getVpcPublicGatewayIpOutput; //# sourceMappingURL=getVpcPublicGatewayIp.js.map