import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Use this data source to retrieve information about an external network IP in a public cloud project. External network IPs are created and deleted through the lifecycle of other products (typically instances attached to the public network), so this data source is a read-only view. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const ip = ovh.getCloudExtNetIp({ * serviceName: "", * id: "", * }); * export const extNetIpStatus = ip.then(ip => ip.resourceStatus); * ``` */ export declare function getCloudExtNetIp(args: GetCloudExtNetIpArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCloudExtNetIp. */ export interface GetCloudExtNetIpArgs { /** * IP address of the external network IP. */ id: string; /** * Service name of the resource representing the id of the cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName?: string; } /** * A collection of values returned by getCloudExtNetIp. */ export interface GetCloudExtNetIpResult { /** * Checksum field of the API envelope. Always empty for this read-only IP type. */ readonly checksum: string; /** * Creation date of the external network IP. */ readonly createdAt: string; /** * Current state of the external network IP: */ readonly currentState: outputs.GetCloudExtNetIpCurrentState; /** * Ongoing asynchronous tasks related to the external network IP. Each element exports: */ readonly currentTasks: outputs.GetCloudExtNetIpCurrentTask[]; /** * Identifier of the current task. */ readonly id: string; /** * External network IP readiness in the system (`CREATING`, `DELETING`, `ERROR`, `OUT_OF_SYNC`, `READY`, `UPDATING`). */ readonly resourceStatus: string; readonly serviceName: string; /** * Last update date of the external network IP. */ readonly updatedAt: string; } /** * Use this data source to retrieve information about an external network IP in a public cloud project. External network IPs are created and deleted through the lifecycle of other products (typically instances attached to the public network), so this data source is a read-only view. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const ip = ovh.getCloudExtNetIp({ * serviceName: "", * id: "", * }); * export const extNetIpStatus = ip.then(ip => ip.resourceStatus); * ``` */ export declare function getCloudExtNetIpOutput(args: GetCloudExtNetIpOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCloudExtNetIp. */ export interface GetCloudExtNetIpOutputArgs { /** * IP address of the external network IP. */ id: pulumi.Input; /** * Service name of the resource representing the id of the cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName?: pulumi.Input; }