import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Use this data source to retrieve information about a floating IP in a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const ip = ovh.getCloudFloatingIp({ * serviceName: "", * id: "", * }); * export const floatingIpStatus = ip.then(ip => ip.resourceStatus); * ``` */ export declare function getCloudFloatingIp(args: GetCloudFloatingIpArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCloudFloatingIp. */ export interface GetCloudFloatingIpArgs { /** * IP address of the floating 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 getCloudFloatingIp. */ export interface GetCloudFloatingIpResult { /** * Computed hash representing the current target specification value. */ readonly checksum: string; /** * Creation date of the floating IP. */ readonly createdAt: string; /** * Current state of the floating IP: */ readonly currentState: outputs.GetCloudFloatingIpCurrentState; /** * Ongoing asynchronous tasks related to the floating IP. Each element exports: */ readonly currentTasks: outputs.GetCloudFloatingIpCurrentTask[]; /** * Description of the floating IP. */ readonly description: string; /** * Identifier of the current task. */ readonly id: string; /** * Location details: */ readonly location: outputs.GetCloudFloatingIpLocation; /** * Floating IP readiness in the system (`CREATING`, `DELETING`, `ERROR`, `OUT_OF_SYNC`, `READY`, `UPDATING`). */ readonly resourceStatus: string; readonly serviceName: string; /** * Last update date of the floating IP. */ readonly updatedAt: string; } /** * Use this data source to retrieve information about a floating IP in a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const ip = ovh.getCloudFloatingIp({ * serviceName: "", * id: "", * }); * export const floatingIpStatus = ip.then(ip => ip.resourceStatus); * ``` */ export declare function getCloudFloatingIpOutput(args: GetCloudFloatingIpOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCloudFloatingIp. */ export interface GetCloudFloatingIpOutputArgs { /** * IP address of the floating 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; }