@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
70 lines (69 loc) • 2.29 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* 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,
* });
* ```
*/
export declare function getPublicGatewayIp(args?: GetPublicGatewayIpArgs, opts?: pulumi.InvokeOptions): Promise<GetPublicGatewayIpResult>;
/**
* A collection of arguments for invoking getPublicGatewayIp.
*/
export interface GetPublicGatewayIpArgs {
ipId?: string;
}
/**
* A collection of values returned by getPublicGatewayIp.
*/
export interface GetPublicGatewayIpResult {
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 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,
* });
* ```
*/
export declare function getPublicGatewayIpOutput(args?: GetPublicGatewayIpOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPublicGatewayIpResult>;
/**
* A collection of arguments for invoking getPublicGatewayIp.
*/
export interface GetPublicGatewayIpOutputArgs {
ipId?: pulumi.Input<string>;
}