UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

104 lines 3.2 kB
import * as pulumi from "@pulumi/pulumi"; /** * Gets information about a Flexible IP. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumiverse/scaleway"; * * // Get info by IP address * const withIp = scaleway.elasticmetal.getIp({ * ipAddress: "1.2.3.4", * }); * // Get info by IP ID * const withId = scaleway.elasticmetal.getIp({ * flexibleIpId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ /** @deprecated scaleway.index/getflexibleip.getFlexibleIp has been deprecated in favor of scaleway.elasticmetal/getip.getIp */ export declare function getFlexibleIp(args?: GetFlexibleIpArgs, opts?: pulumi.InvokeOptions): Promise<GetFlexibleIpResult>; /** * A collection of arguments for invoking getFlexibleIp. */ export interface GetFlexibleIpArgs { /** * The IP ID. * Only one of `ipAddress` and `flexibleIpId` should be specified. */ flexibleIpId?: string; /** * The IP address. * Only one of `ipAddress` and `flexibleIpId` should be specified. */ ipAddress?: string; /** * `projectId`) The ID of the Project the Flexible IP is associated with. */ projectId?: string; } /** * A collection of values returned by getFlexibleIp. */ export interface GetFlexibleIpResult { readonly createdAt: string; readonly description: string; readonly flexibleIpId?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly ipAddress?: string; readonly isIpv6: boolean; readonly organizationId: string; readonly projectId: string; readonly reverse: string; readonly serverId: string; readonly status: string; readonly tags: string[]; readonly updatedAt: string; readonly zone: string; } /** * Gets information about a Flexible IP. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumiverse/scaleway"; * * // Get info by IP address * const withIp = scaleway.elasticmetal.getIp({ * ipAddress: "1.2.3.4", * }); * // Get info by IP ID * const withId = scaleway.elasticmetal.getIp({ * flexibleIpId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ /** @deprecated scaleway.index/getflexibleip.getFlexibleIp has been deprecated in favor of scaleway.elasticmetal/getip.getIp */ export declare function getFlexibleIpOutput(args?: GetFlexibleIpOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFlexibleIpResult>; /** * A collection of arguments for invoking getFlexibleIp. */ export interface GetFlexibleIpOutputArgs { /** * The IP ID. * Only one of `ipAddress` and `flexibleIpId` should be specified. */ flexibleIpId?: pulumi.Input<string | undefined>; /** * The IP address. * Only one of `ipAddress` and `flexibleIpId` should be specified. */ ipAddress?: pulumi.Input<string | undefined>; /** * `projectId`) The ID of the Project the Flexible IP is associated with. */ projectId?: pulumi.Input<string | undefined>; } //# sourceMappingURL=getFlexibleIp.d.ts.map