@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
89 lines • 2.31 kB
TypeScript
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;
/**
* `projectId`) The ID of the project the IP is associated with.
*/
projectId?: string;
/**
* `zone`) The zone in which the IP should be reserved.
*/
zone?: 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 | undefined>;
/**
* The ID of the IP address to retrieve
* Only one of `address` and `id` should be specified.
*/
id?: pulumi.Input<string | undefined>;
/**
* `projectId`) The ID of the project the IP is associated with.
*/
projectId?: pulumi.Input<string | undefined>;
/**
* `zone`) The zone in which the IP should be reserved.
*/
zone?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getIp.d.ts.map