UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

74 lines (73 loc) 2.06 kB
import * as pulumi from "@pulumi/pulumi"; /** * Gets information about a Flexible IP. */ export declare function getIp(args?: GetIpArgs, opts?: pulumi.InvokeOptions): Promise<GetIpResult>; /** * A collection of arguments for invoking getIp. */ export interface GetIpArgs { flexibleIpId?: string; /** * The IP address. * Only one of `ipAddress` and `ipId` should be specified. */ ipAddress?: string; /** * (Defaults to provider `projectId`) The ID of the project the IP is in. */ projectId?: string; } /** * A collection of values returned by getIp. */ export interface GetIpResult { 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; /** * (Defaults to provider `organizationId`) The ID of the organization the IP is in. */ readonly organizationId: string; /** * (Defaults to provider `projectId`) The ID of the project the IP is in. */ readonly projectId: string; /** * The reverse domain associated with this IP. */ readonly reverse: string; /** * The associated server ID if any */ readonly serverId: string; readonly status: string; readonly tags: string[]; readonly updatedAt: string; readonly zone: string; } /** * Gets information about a Flexible IP. */ export declare function getIpOutput(args?: GetIpOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIpResult>; /** * A collection of arguments for invoking getIp. */ export interface GetIpOutputArgs { flexibleIpId?: pulumi.Input<string>; /** * The IP address. * Only one of `ipAddress` and `ipId` should be specified. */ ipAddress?: pulumi.Input<string>; /** * (Defaults to provider `projectId`) The ID of the project the IP is in. */ projectId?: pulumi.Input<string>; }