UNPKG

@lbrlabs/pulumi-scaleway

Version:

A Pulumi package for creating and managing scaleway cloud resources.

88 lines (87 loc) 2.4 kB
import * as pulumi from "@pulumi/pulumi"; /** * Gets information about a Load Balancer IP. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const myIp = scaleway.getLoadbalancerIp({ * ipId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ export declare function getLoadbalancerIp(args?: GetLoadbalancerIpArgs, opts?: pulumi.InvokeOptions): Promise<GetLoadbalancerIpResult>; /** * A collection of arguments for invoking getLoadbalancerIp. */ export interface GetLoadbalancerIpArgs { /** * The IP address. * Only one of `ipAddress` and `ipId` should be specified. */ ipAddress?: string; /** * The IP ID. * Only one of `ipAddress` and `ipId` should be specified. */ ipId?: string; } /** * A collection of values returned by getLoadbalancerIp. */ export interface GetLoadbalancerIpResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly ipAddress?: string; readonly ipId?: string; /** * The associated load-balancer ID if any */ readonly lbId: string; /** * (Defaults to provider `organizationId`) The ID of the organization the LB IP is associated with. */ readonly organizationId: string; readonly projectId: string; readonly region: string; /** * The reverse domain associated with this IP. */ readonly reverse: string; readonly zone: string; } /** * Gets information about a Load Balancer IP. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const myIp = scaleway.getLoadbalancerIp({ * ipId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ export declare function getLoadbalancerIpOutput(args?: GetLoadbalancerIpOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetLoadbalancerIpResult>; /** * A collection of arguments for invoking getLoadbalancerIp. */ export interface GetLoadbalancerIpOutputArgs { /** * The IP address. * Only one of `ipAddress` and `ipId` should be specified. */ ipAddress?: pulumi.Input<string>; /** * The IP ID. * Only one of `ipAddress` and `ipId` should be specified. */ ipId?: pulumi.Input<string>; }