@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
75 lines (74 loc) • 2.13 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Gets information about an instance IP.
*/
/** @deprecated scaleway.index/getinstanceip.getInstanceIp has been deprecated in favor of scaleway.instance/getip.getIp */
export declare function getInstanceIp(args?: GetInstanceIpArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceIpResult>;
/**
* A collection of arguments for invoking getInstanceIp.
*/
export interface GetInstanceIpArgs {
/**
* 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 getInstanceIp.
*/
export interface GetInstanceIpResult {
/**
* 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.
*/
/** @deprecated scaleway.index/getinstanceip.getInstanceIp has been deprecated in favor of scaleway.instance/getip.getIp */
export declare function getInstanceIpOutput(args?: GetInstanceIpOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInstanceIpResult>;
/**
* A collection of arguments for invoking getInstanceIp.
*/
export interface GetInstanceIpOutputArgs {
/**
* 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>;
}