import * as pulumi from "@pulumi/pulumi"; /** * Attaches a failover IP address to a compute instance * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const failoverIp = new ovh.cloudproject.FailoverIpAttach("failover_ip", { * serviceName: "XXXXXX", * ip: "XXXXXX", * routedTo: "XXXXXX", * }); * ``` * * ## Import * * A cloud project failover IP attachment can be imported using the `id` (failover IP block ID) E.g., * * bash * * ```sh * $ pulumi import ovh:CloudProject/failoverIpAttach:FailoverIpAttach my_ip id * ``` */ export declare class FailoverIpAttach extends pulumi.CustomResource { /** * Get an existing FailoverIpAttach resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: FailoverIpAttachState, opts?: pulumi.CustomResourceOptions): FailoverIpAttach; /** * Returns true if the given object is an instance of FailoverIpAttach. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is FailoverIpAttach; /** * The IP block * * `continentCode` - The Ip continent */ readonly block: pulumi.Output; /** * Ip continent */ readonly continentCode: pulumi.Output; /** * Ip location */ readonly geoLoc: pulumi.Output; /** * The failover ip address to attach */ readonly ip: pulumi.Output; /** * Current operation progress in percent * * `routedTo` - Instance where ip is routed to */ readonly progress: pulumi.Output; /** * The GUID of an instance to which the failover IP address is be attached */ readonly routedTo: pulumi.Output; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ readonly serviceName: pulumi.Output; /** * Ip status, can be `ok` or `operationPending` * * `subType` - IP sub type, can be `cloud` or `ovh` */ readonly status: pulumi.Output; /** * IP sub type */ readonly subType: pulumi.Output; /** * Create a FailoverIpAttach resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: FailoverIpAttachArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering FailoverIpAttach resources. */ export interface FailoverIpAttachState { /** * The IP block * * `continentCode` - The Ip continent */ block?: pulumi.Input; /** * Ip continent */ continentCode?: pulumi.Input; /** * Ip location */ geoLoc?: pulumi.Input; /** * The failover ip address to attach */ ip?: pulumi.Input; /** * Current operation progress in percent * * `routedTo` - Instance where ip is routed to */ progress?: pulumi.Input; /** * The GUID of an instance to which the failover IP address is be attached */ routedTo?: pulumi.Input; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName?: pulumi.Input; /** * Ip status, can be `ok` or `operationPending` * * `subType` - IP sub type, can be `cloud` or `ovh` */ status?: pulumi.Input; /** * IP sub type */ subType?: pulumi.Input; } /** * The set of arguments for constructing a FailoverIpAttach resource. */ export interface FailoverIpAttachArgs { /** * The IP block * * `continentCode` - The Ip continent */ block?: pulumi.Input; /** * Ip continent */ continentCode?: pulumi.Input; /** * Ip location */ geoLoc?: pulumi.Input; /** * The failover ip address to attach */ ip?: pulumi.Input; /** * The GUID of an instance to which the failover IP address is be attached */ routedTo?: pulumi.Input; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName?: pulumi.Input; }