UNPKG

@lbrlabs/pulumi-scaleway

Version:

A Pulumi package for creating and managing scaleway cloud resources.

70 lines (69 loc) 2.24 kB
import * as pulumi from "@pulumi/pulumi"; /** * 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, * }); * ``` */ export declare function getVpcPublicGatewayIp(args?: GetVpcPublicGatewayIpArgs, opts?: pulumi.InvokeOptions): Promise<GetVpcPublicGatewayIpResult>; /** * A collection of arguments for invoking getVpcPublicGatewayIp. */ export interface GetVpcPublicGatewayIpArgs { ipId?: string; } /** * A collection of values returned by getVpcPublicGatewayIp. */ export interface GetVpcPublicGatewayIpResult { readonly address: string; readonly createdAt: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly ipId?: string; readonly organizationId: string; readonly projectId: string; readonly reverse: string; readonly tags: string[]; readonly updatedAt: string; readonly zone: string; } /** * 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, * }); * ``` */ export declare function getVpcPublicGatewayIpOutput(args?: GetVpcPublicGatewayIpOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetVpcPublicGatewayIpResult>; /** * A collection of arguments for invoking getVpcPublicGatewayIp. */ export interface GetVpcPublicGatewayIpOutputArgs { ipId?: pulumi.Input<string>; }