import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get the details of a failover IP address of a service in a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const myFailoverIp = ovh.CloudProject.getFailoverIpAttach({ * serviceName: "XXXXXX", * ip: "XXXXXX", * }); * ``` */ export declare function getFailoverIpAttach(args: GetFailoverIpAttachArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getFailoverIpAttach. */ export interface GetFailoverIpAttachArgs { /** * The IP block * * `continentCode` - The Ip continent */ block?: string; continentCode?: string; geoLoc?: string; /** * The failover ip address to query */ ip?: string; routedTo?: string; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName: string; } /** * A collection of values returned by getFailoverIpAttach. */ export interface GetFailoverIpAttachResult { /** * The IP block * * `continentCode` - The Ip continent */ readonly block: string; readonly continentCode: string; readonly geoLoc: string; /** * The Ip id */ readonly id: string; /** * The Ip Address */ readonly ip: string; /** * Current operation progress in percent * * `routedTo` - Instance where ip is routed to */ readonly progress: number; readonly routedTo: string; readonly serviceName: string; /** * Ip status, can be `ok` or `operationPending` * * `subType` - IP sub type, can be `cloud` or `ovh` */ readonly status: string; readonly subType: string; } /** * Use this data source to get the details of a failover IP address of a service in a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const myFailoverIp = ovh.CloudProject.getFailoverIpAttach({ * serviceName: "XXXXXX", * ip: "XXXXXX", * }); * ``` */ export declare function getFailoverIpAttachOutput(args: GetFailoverIpAttachOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getFailoverIpAttach. */ export interface GetFailoverIpAttachOutputArgs { /** * The IP block * * `continentCode` - The Ip continent */ block?: pulumi.Input; continentCode?: pulumi.Input; geoLoc?: pulumi.Input; /** * The failover ip address to query */ ip?: pulumi.Input; routedTo?: pulumi.Input; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName: pulumi.Input; }