import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Creates 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 = new ovh.CloudFloatingIp("ip", { * serviceName: "", * region: "GRA1", * description: "my-floating-ip", * }); * ``` * * ## Import * * A floating IP can be imported using the `service_name` and the IP address, separated by `/`: * * terraform * * import { * * to = ovh_cloud_floating_ip.ip * * id = "/" * * } * * bash * * ```sh * $ pulumi import ovh:index/cloudFloatingIp:CloudFloatingIp ip service_name/ip * ``` */ export declare class CloudFloatingIp extends pulumi.CustomResource { /** * Get an existing CloudFloatingIp 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?: CloudFloatingIpState, opts?: pulumi.CustomResourceOptions): CloudFloatingIp; /** * Returns true if the given object is an instance of CloudFloatingIp. 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 CloudFloatingIp; /** * Availability zone for the floating IP. **Changing this value recreates the resource.** */ readonly availabilityZone: pulumi.Output; /** * Computed hash representing the current target specification value. */ readonly checksum: pulumi.Output; /** * Creation date of the floating IP. */ readonly createdAt: pulumi.Output; /** * Current state of the floating IP: */ readonly currentState: pulumi.Output; /** * Ongoing asynchronous tasks related to the floating IP. Each element exports: */ readonly currentTasks: pulumi.Output; /** * Description of the floating IP. This is the only argument that can be updated in place. */ readonly description: pulumi.Output; /** * Region where the floating IP will be created. **Changing this value recreates the resource.** */ readonly region: pulumi.Output; /** * Floating IP readiness in the system (`CREATING`, `DELETING`, `ERROR`, `OUT_OF_SYNC`, `READY`, `UPDATING`). */ readonly resourceStatus: pulumi.Output; /** * Service name of the resource representing the id of the cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. **Changing this value recreates the resource.** */ readonly serviceName: pulumi.Output; /** * Last update date of the floating IP. */ readonly updatedAt: pulumi.Output; /** * Create a CloudFloatingIp 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: CloudFloatingIpArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CloudFloatingIp resources. */ export interface CloudFloatingIpState { /** * Availability zone for the floating IP. **Changing this value recreates the resource.** */ availabilityZone?: pulumi.Input; /** * Computed hash representing the current target specification value. */ checksum?: pulumi.Input; /** * Creation date of the floating IP. */ createdAt?: pulumi.Input; /** * Current state of the floating IP: */ currentState?: pulumi.Input; /** * Ongoing asynchronous tasks related to the floating IP. Each element exports: */ currentTasks?: pulumi.Input[]>; /** * Description of the floating IP. This is the only argument that can be updated in place. */ description?: pulumi.Input; /** * Region where the floating IP will be created. **Changing this value recreates the resource.** */ region?: pulumi.Input; /** * Floating IP readiness in the system (`CREATING`, `DELETING`, `ERROR`, `OUT_OF_SYNC`, `READY`, `UPDATING`). */ resourceStatus?: 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. **Changing this value recreates the resource.** */ serviceName?: pulumi.Input; /** * Last update date of the floating IP. */ updatedAt?: pulumi.Input; } /** * The set of arguments for constructing a CloudFloatingIp resource. */ export interface CloudFloatingIpArgs { /** * Availability zone for the floating IP. **Changing this value recreates the resource.** */ availabilityZone?: pulumi.Input; /** * Description of the floating IP. This is the only argument that can be updated in place. */ description?: pulumi.Input; /** * Region where the floating IP will be created. **Changing this value recreates the resource.** */ region: 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. **Changing this value recreates the resource.** */ serviceName?: pulumi.Input; }