UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

73 lines (72 loc) 1.79 kB
import * as pulumi from "@pulumi/pulumi"; /** * Gets information about an instance IP. */ export declare function getIp(args?: GetIpArgs, opts?: pulumi.InvokeOptions): Promise<GetIpResult>; /** * A collection of arguments for invoking getIp. */ export interface GetIpArgs { /** * The IPv4 address to retrieve * Only one of `address` and `id` should be specified. */ address?: string; /** * The ID of the IP address to retrieve * Only one of `address` and `id` should be specified. */ id?: string; } /** * A collection of values returned by getIp. */ export interface GetIpResult { /** * The IP address. */ readonly address?: string; /** * The ID of the IP. */ readonly id?: string; /** * The organization ID the IP is associated with. */ readonly organizationId: string; /** * The IP Prefix. */ readonly prefix: string; readonly projectId: string; /** * The reverse dns attached to this IP */ readonly reverse: string; readonly serverId: string; readonly tags: string[]; /** * The type of the IP */ readonly type: string; readonly zone: string; } /** * Gets information about an instance IP. */ export declare function getIpOutput(args?: GetIpOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIpResult>; /** * A collection of arguments for invoking getIp. */ export interface GetIpOutputArgs { /** * The IPv4 address to retrieve * Only one of `address` and `id` should be specified. */ address?: pulumi.Input<string>; /** * The ID of the IP address to retrieve * Only one of `address` and `id` should be specified. */ id?: pulumi.Input<string>; }