1. Packages
  2. Packages
  3. OVH
  4. API Docs
  5. CloudFloatingIp
Viewing docs for OVHCloud v2.17.0
published on Friday, Jul 17, 2026 by OVHcloud
ovh logo
Viewing docs for OVHCloud v2.17.0
published on Friday, Jul 17, 2026 by OVHcloud

    Creates a floating IP in a public cloud project.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ovh from "@ovhcloud/pulumi-ovh";
    
    const ip = new ovh.CloudFloatingIp("ip", {
        serviceName: "<public cloud project ID>",
        region: "GRA1",
        description: "my-floating-ip",
    });
    
    import pulumi
    import pulumi_ovh as ovh
    
    ip = ovh.CloudFloatingIp("ip",
        service_name="<public cloud project ID>",
        region="GRA1",
        description="my-floating-ip")
    
    package main
    
    import (
    	"github.com/ovh/pulumi-ovh/sdk/v2/go/ovh"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ovh.NewCloudFloatingIp(ctx, "ip", &ovh.CloudFloatingIpArgs{
    			ServiceName: pulumi.String("<public cloud project ID>"),
    			Region:      pulumi.String("GRA1"),
    			Description: pulumi.String("my-floating-ip"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ovh = Pulumi.Ovh;
    
    return await Deployment.RunAsync(() => 
    {
        var ip = new Ovh.CloudFloatingIp("ip", new()
        {
            ServiceName = "<public cloud project ID>",
            Region = "GRA1",
            Description = "my-floating-ip",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.ovhcloud.pulumi.ovh.CloudFloatingIp;
    import com.ovhcloud.pulumi.ovh.CloudFloatingIpArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var ip = new CloudFloatingIp("ip", CloudFloatingIpArgs.builder()
                .serviceName("<public cloud project ID>")
                .region("GRA1")
                .description("my-floating-ip")
                .build());
    
        }
    }
    
    resources:
      ip:
        type: ovh:CloudFloatingIp
        properties:
          serviceName: <public cloud project ID>
          region: GRA1
          description: my-floating-ip
    
    Example coming soon!
    

    Create CloudFloatingIp Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CloudFloatingIp(name: string, args: CloudFloatingIpArgs, opts?: CustomResourceOptions);
    @overload
    def CloudFloatingIp(resource_name: str,
                        args: CloudFloatingIpArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def CloudFloatingIp(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        region: Optional[str] = None,
                        availability_zone: Optional[str] = None,
                        description: Optional[str] = None,
                        service_name: Optional[str] = None)
    func NewCloudFloatingIp(ctx *Context, name string, args CloudFloatingIpArgs, opts ...ResourceOption) (*CloudFloatingIp, error)
    public CloudFloatingIp(string name, CloudFloatingIpArgs args, CustomResourceOptions? opts = null)
    public CloudFloatingIp(String name, CloudFloatingIpArgs args)
    public CloudFloatingIp(String name, CloudFloatingIpArgs args, CustomResourceOptions options)
    
    type: ovh:CloudFloatingIp
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "ovh_cloud_floating_ip" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args CloudFloatingIpArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CloudFloatingIpArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CloudFloatingIpArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CloudFloatingIpArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CloudFloatingIpArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var cloudFloatingIpResource = new Ovh.CloudFloatingIp("cloudFloatingIpResource", new()
    {
        Region = "string",
        AvailabilityZone = "string",
        Description = "string",
        ServiceName = "string",
    });
    
    example, err := ovh.NewCloudFloatingIp(ctx, "cloudFloatingIpResource", &ovh.CloudFloatingIpArgs{
    	Region:           pulumi.String("string"),
    	AvailabilityZone: pulumi.String("string"),
    	Description:      pulumi.String("string"),
    	ServiceName:      pulumi.String("string"),
    })
    
    resource "ovh_cloud_floating_ip" "cloudFloatingIpResource" {
      lifecycle {
        create_before_destroy = true
      }
      region            = "string"
      availability_zone = "string"
      description       = "string"
      service_name      = "string"
    }
    
    var cloudFloatingIpResource = new CloudFloatingIp("cloudFloatingIpResource", CloudFloatingIpArgs.builder()
        .region("string")
        .availabilityZone("string")
        .description("string")
        .serviceName("string")
        .build());
    
    cloud_floating_ip_resource = ovh.CloudFloatingIp("cloudFloatingIpResource",
        region="string",
        availability_zone="string",
        description="string",
        service_name="string")
    
    const cloudFloatingIpResource = new ovh.CloudFloatingIp("cloudFloatingIpResource", {
        region: "string",
        availabilityZone: "string",
        description: "string",
        serviceName: "string",
    });
    
    type: ovh:CloudFloatingIp
    properties:
        availabilityZone: string
        description: string
        region: string
        serviceName: string
    

    CloudFloatingIp Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The CloudFloatingIp resource accepts the following input properties:

    Region string
    Region where the floating IP will be created. Changing this value recreates the resource.
    AvailabilityZone string
    Availability zone for the floating IP. Changing this value recreates the resource.
    Description string
    Description of the floating IP. This is the only argument that can be updated in place.
    ServiceName string
    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.
    Region string
    Region where the floating IP will be created. Changing this value recreates the resource.
    AvailabilityZone string
    Availability zone for the floating IP. Changing this value recreates the resource.
    Description string
    Description of the floating IP. This is the only argument that can be updated in place.
    ServiceName string
    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.
    region string
    Region where the floating IP will be created. Changing this value recreates the resource.
    availability_zone string
    Availability zone for the floating IP. Changing this value recreates the resource.
    description string
    Description of the floating IP. This is the only argument that can be updated in place.
    service_name string
    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.
    region String
    Region where the floating IP will be created. Changing this value recreates the resource.
    availabilityZone String
    Availability zone for the floating IP. Changing this value recreates the resource.
    description String
    Description of the floating IP. This is the only argument that can be updated in place.
    serviceName String
    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.
    region string
    Region where the floating IP will be created. Changing this value recreates the resource.
    availabilityZone string
    Availability zone for the floating IP. Changing this value recreates the resource.
    description string
    Description of the floating IP. This is the only argument that can be updated in place.
    serviceName string
    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.
    region str
    Region where the floating IP will be created. Changing this value recreates the resource.
    availability_zone str
    Availability zone for the floating IP. Changing this value recreates the resource.
    description str
    Description of the floating IP. This is the only argument that can be updated in place.
    service_name str
    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.
    region String
    Region where the floating IP will be created. Changing this value recreates the resource.
    availabilityZone String
    Availability zone for the floating IP. Changing this value recreates the resource.
    description String
    Description of the floating IP. This is the only argument that can be updated in place.
    serviceName String
    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.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CloudFloatingIp resource produces the following output properties:

    Checksum string
    Computed hash representing the current target specification value.
    CreatedAt string
    Creation date of the floating IP.
    CurrentState CloudFloatingIpCurrentState
    Current state of the floating IP:
    CurrentTasks List<CloudFloatingIpCurrentTask>
    Ongoing asynchronous tasks related to the floating IP. Each element exports:
    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceStatus string
    Floating IP readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    UpdatedAt string
    Last update date of the floating IP.
    Checksum string
    Computed hash representing the current target specification value.
    CreatedAt string
    Creation date of the floating IP.
    CurrentState CloudFloatingIpCurrentState
    Current state of the floating IP:
    CurrentTasks []CloudFloatingIpCurrentTask
    Ongoing asynchronous tasks related to the floating IP. Each element exports:
    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceStatus string
    Floating IP readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    UpdatedAt string
    Last update date of the floating IP.
    checksum string
    Computed hash representing the current target specification value.
    created_at string
    Creation date of the floating IP.
    current_state object
    Current state of the floating IP:
    current_tasks list(object)
    Ongoing asynchronous tasks related to the floating IP. Each element exports:
    id string
    The provider-assigned unique ID for this managed resource.
    resource_status string
    Floating IP readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    updated_at string
    Last update date of the floating IP.
    checksum String
    Computed hash representing the current target specification value.
    createdAt String
    Creation date of the floating IP.
    currentState CloudFloatingIpCurrentState
    Current state of the floating IP:
    currentTasks List<CloudFloatingIpCurrentTask>
    Ongoing asynchronous tasks related to the floating IP. Each element exports:
    id String
    The provider-assigned unique ID for this managed resource.
    resourceStatus String
    Floating IP readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    updatedAt String
    Last update date of the floating IP.
    checksum string
    Computed hash representing the current target specification value.
    createdAt string
    Creation date of the floating IP.
    currentState CloudFloatingIpCurrentState
    Current state of the floating IP:
    currentTasks CloudFloatingIpCurrentTask[]
    Ongoing asynchronous tasks related to the floating IP. Each element exports:
    id string
    The provider-assigned unique ID for this managed resource.
    resourceStatus string
    Floating IP readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    updatedAt string
    Last update date of the floating IP.
    checksum str
    Computed hash representing the current target specification value.
    created_at str
    Creation date of the floating IP.
    current_state CloudFloatingIpCurrentState
    Current state of the floating IP:
    current_tasks Sequence[CloudFloatingIpCurrentTask]
    Ongoing asynchronous tasks related to the floating IP. Each element exports:
    id str
    The provider-assigned unique ID for this managed resource.
    resource_status str
    Floating IP readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    updated_at str
    Last update date of the floating IP.
    checksum String
    Computed hash representing the current target specification value.
    createdAt String
    Creation date of the floating IP.
    currentState Property Map
    Current state of the floating IP:
    currentTasks List<Property Map>
    Ongoing asynchronous tasks related to the floating IP. Each element exports:
    id String
    The provider-assigned unique ID for this managed resource.
    resourceStatus String
    Floating IP readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    updatedAt String
    Last update date of the floating IP.

    Look up Existing CloudFloatingIp Resource

    Get an existing CloudFloatingIp resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: CloudFloatingIpState, opts?: CustomResourceOptions): CloudFloatingIp
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            availability_zone: Optional[str] = None,
            checksum: Optional[str] = None,
            created_at: Optional[str] = None,
            current_state: Optional[CloudFloatingIpCurrentStateArgs] = None,
            current_tasks: Optional[Sequence[CloudFloatingIpCurrentTaskArgs]] = None,
            description: Optional[str] = None,
            region: Optional[str] = None,
            resource_status: Optional[str] = None,
            service_name: Optional[str] = None,
            updated_at: Optional[str] = None) -> CloudFloatingIp
    func GetCloudFloatingIp(ctx *Context, name string, id IDInput, state *CloudFloatingIpState, opts ...ResourceOption) (*CloudFloatingIp, error)
    public static CloudFloatingIp Get(string name, Input<string> id, CloudFloatingIpState? state, CustomResourceOptions? opts = null)
    public static CloudFloatingIp get(String name, Output<String> id, CloudFloatingIpState state, CustomResourceOptions options)
    resources:  _:    type: ovh:CloudFloatingIp    get:      id: ${id}
    import {
      to = ovh_cloud_floating_ip.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AvailabilityZone string
    Availability zone for the floating IP. Changing this value recreates the resource.
    Checksum string
    Computed hash representing the current target specification value.
    CreatedAt string
    Creation date of the floating IP.
    CurrentState CloudFloatingIpCurrentState
    Current state of the floating IP:
    CurrentTasks List<CloudFloatingIpCurrentTask>
    Ongoing asynchronous tasks related to the floating IP. Each element exports:
    Description string
    Description of the floating IP. This is the only argument that can be updated in place.
    Region string
    Region where the floating IP will be created. Changing this value recreates the resource.
    ResourceStatus string
    Floating IP readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    ServiceName string
    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.
    UpdatedAt string
    Last update date of the floating IP.
    AvailabilityZone string
    Availability zone for the floating IP. Changing this value recreates the resource.
    Checksum string
    Computed hash representing the current target specification value.
    CreatedAt string
    Creation date of the floating IP.
    CurrentState CloudFloatingIpCurrentStateArgs
    Current state of the floating IP:
    CurrentTasks []CloudFloatingIpCurrentTaskArgs
    Ongoing asynchronous tasks related to the floating IP. Each element exports:
    Description string
    Description of the floating IP. This is the only argument that can be updated in place.
    Region string
    Region where the floating IP will be created. Changing this value recreates the resource.
    ResourceStatus string
    Floating IP readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    ServiceName string
    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.
    UpdatedAt string
    Last update date of the floating IP.
    availability_zone string
    Availability zone for the floating IP. Changing this value recreates the resource.
    checksum string
    Computed hash representing the current target specification value.
    created_at string
    Creation date of the floating IP.
    current_state object
    Current state of the floating IP:
    current_tasks list(object)
    Ongoing asynchronous tasks related to the floating IP. Each element exports:
    description string
    Description of the floating IP. This is the only argument that can be updated in place.
    region string
    Region where the floating IP will be created. Changing this value recreates the resource.
    resource_status string
    Floating IP readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    service_name string
    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.
    updated_at string
    Last update date of the floating IP.
    availabilityZone String
    Availability zone for the floating IP. Changing this value recreates the resource.
    checksum String
    Computed hash representing the current target specification value.
    createdAt String
    Creation date of the floating IP.
    currentState CloudFloatingIpCurrentState
    Current state of the floating IP:
    currentTasks List<CloudFloatingIpCurrentTask>
    Ongoing asynchronous tasks related to the floating IP. Each element exports:
    description String
    Description of the floating IP. This is the only argument that can be updated in place.
    region String
    Region where the floating IP will be created. Changing this value recreates the resource.
    resourceStatus String
    Floating IP readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    serviceName String
    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.
    updatedAt String
    Last update date of the floating IP.
    availabilityZone string
    Availability zone for the floating IP. Changing this value recreates the resource.
    checksum string
    Computed hash representing the current target specification value.
    createdAt string
    Creation date of the floating IP.
    currentState CloudFloatingIpCurrentState
    Current state of the floating IP:
    currentTasks CloudFloatingIpCurrentTask[]
    Ongoing asynchronous tasks related to the floating IP. Each element exports:
    description string
    Description of the floating IP. This is the only argument that can be updated in place.
    region string
    Region where the floating IP will be created. Changing this value recreates the resource.
    resourceStatus string
    Floating IP readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    serviceName string
    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.
    updatedAt string
    Last update date of the floating IP.
    availability_zone str
    Availability zone for the floating IP. Changing this value recreates the resource.
    checksum str
    Computed hash representing the current target specification value.
    created_at str
    Creation date of the floating IP.
    current_state CloudFloatingIpCurrentStateArgs
    Current state of the floating IP:
    current_tasks Sequence[CloudFloatingIpCurrentTaskArgs]
    Ongoing asynchronous tasks related to the floating IP. Each element exports:
    description str
    Description of the floating IP. This is the only argument that can be updated in place.
    region str
    Region where the floating IP will be created. Changing this value recreates the resource.
    resource_status str
    Floating IP readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    service_name str
    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.
    updated_at str
    Last update date of the floating IP.
    availabilityZone String
    Availability zone for the floating IP. Changing this value recreates the resource.
    checksum String
    Computed hash representing the current target specification value.
    createdAt String
    Creation date of the floating IP.
    currentState Property Map
    Current state of the floating IP:
    currentTasks List<Property Map>
    Ongoing asynchronous tasks related to the floating IP. Each element exports:
    description String
    Description of the floating IP. This is the only argument that can be updated in place.
    region String
    Region where the floating IP will be created. Changing this value recreates the resource.
    resourceStatus String
    Floating IP readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    serviceName String
    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.
    updatedAt String
    Last update date of the floating IP.

    Supporting Types

    CloudFloatingIpCurrentState, CloudFloatingIpCurrentStateArgs

    AssociatedResource CloudFloatingIpCurrentStateAssociatedResource
    Resource the floating IP is currently attached to. Null when the floating IP is not attached to any resource:
    Description string
    Description of the floating IP. This is the only argument that can be updated in place.
    Id string
    Identifier of the current task.
    Ip string
    IP address of the floating IP.
    Location CloudFloatingIpCurrentStateLocation
    Location details:
    Network CloudFloatingIpCurrentStateNetwork
    External network the floating IP belongs to:
    Status string
    Current global status of the current task.
    AssociatedResource CloudFloatingIpCurrentStateAssociatedResource
    Resource the floating IP is currently attached to. Null when the floating IP is not attached to any resource:
    Description string
    Description of the floating IP. This is the only argument that can be updated in place.
    Id string
    Identifier of the current task.
    Ip string
    IP address of the floating IP.
    Location CloudFloatingIpCurrentStateLocation
    Location details:
    Network CloudFloatingIpCurrentStateNetwork
    External network the floating IP belongs to:
    Status string
    Current global status of the current task.
    associated_resource object
    Resource the floating IP is currently attached to. Null when the floating IP is not attached to any resource:
    description string
    Description of the floating IP. This is the only argument that can be updated in place.
    id string
    Identifier of the current task.
    ip string
    IP address of the floating IP.
    location object
    Location details:
    network object
    External network the floating IP belongs to:
    status string
    Current global status of the current task.
    associatedResource CloudFloatingIpCurrentStateAssociatedResource
    Resource the floating IP is currently attached to. Null when the floating IP is not attached to any resource:
    description String
    Description of the floating IP. This is the only argument that can be updated in place.
    id String
    Identifier of the current task.
    ip String
    IP address of the floating IP.
    location CloudFloatingIpCurrentStateLocation
    Location details:
    network CloudFloatingIpCurrentStateNetwork
    External network the floating IP belongs to:
    status String
    Current global status of the current task.
    associatedResource CloudFloatingIpCurrentStateAssociatedResource
    Resource the floating IP is currently attached to. Null when the floating IP is not attached to any resource:
    description string
    Description of the floating IP. This is the only argument that can be updated in place.
    id string
    Identifier of the current task.
    ip string
    IP address of the floating IP.
    location CloudFloatingIpCurrentStateLocation
    Location details:
    network CloudFloatingIpCurrentStateNetwork
    External network the floating IP belongs to:
    status string
    Current global status of the current task.
    associated_resource CloudFloatingIpCurrentStateAssociatedResource
    Resource the floating IP is currently attached to. Null when the floating IP is not attached to any resource:
    description str
    Description of the floating IP. This is the only argument that can be updated in place.
    id str
    Identifier of the current task.
    ip str
    IP address of the floating IP.
    location CloudFloatingIpCurrentStateLocation
    Location details:
    network CloudFloatingIpCurrentStateNetwork
    External network the floating IP belongs to:
    status str
    Current global status of the current task.
    associatedResource Property Map
    Resource the floating IP is currently attached to. Null when the floating IP is not attached to any resource:
    description String
    Description of the floating IP. This is the only argument that can be updated in place.
    id String
    Identifier of the current task.
    ip String
    IP address of the floating IP.
    location Property Map
    Location details:
    network Property Map
    External network the floating IP belongs to:
    status String
    Current global status of the current task.

    CloudFloatingIpCurrentStateAssociatedResource, CloudFloatingIpCurrentStateAssociatedResourceArgs

    Id string
    Identifier of the current task.
    Type string
    Type of the current task.
    Id string
    Identifier of the current task.
    Type string
    Type of the current task.
    id string
    Identifier of the current task.
    type string
    Type of the current task.
    id String
    Identifier of the current task.
    type String
    Type of the current task.
    id string
    Identifier of the current task.
    type string
    Type of the current task.
    id str
    Identifier of the current task.
    type str
    Type of the current task.
    id String
    Identifier of the current task.
    type String
    Type of the current task.

    CloudFloatingIpCurrentStateLocation, CloudFloatingIpCurrentStateLocationArgs

    AvailabilityZone string
    Availability zone for the floating IP. Changing this value recreates the resource.
    Region string
    Region where the floating IP will be created. Changing this value recreates the resource.
    AvailabilityZone string
    Availability zone for the floating IP. Changing this value recreates the resource.
    Region string
    Region where the floating IP will be created. Changing this value recreates the resource.
    availability_zone string
    Availability zone for the floating IP. Changing this value recreates the resource.
    region string
    Region where the floating IP will be created. Changing this value recreates the resource.
    availabilityZone String
    Availability zone for the floating IP. Changing this value recreates the resource.
    region String
    Region where the floating IP will be created. Changing this value recreates the resource.
    availabilityZone string
    Availability zone for the floating IP. Changing this value recreates the resource.
    region string
    Region where the floating IP will be created. Changing this value recreates the resource.
    availability_zone str
    Availability zone for the floating IP. Changing this value recreates the resource.
    region str
    Region where the floating IP will be created. Changing this value recreates the resource.
    availabilityZone String
    Availability zone for the floating IP. Changing this value recreates the resource.
    region String
    Region where the floating IP will be created. Changing this value recreates the resource.

    CloudFloatingIpCurrentStateNetwork, CloudFloatingIpCurrentStateNetworkArgs

    Id string
    Identifier of the current task.
    Id string
    Identifier of the current task.
    id string
    Identifier of the current task.
    id String
    Identifier of the current task.
    id string
    Identifier of the current task.
    id str
    Identifier of the current task.
    id String
    Identifier of the current task.

    CloudFloatingIpCurrentTask, CloudFloatingIpCurrentTaskArgs

    Errors List<CloudFloatingIpCurrentTaskError>
    Errors that occurred on the task:
    Id string
    Identifier of the current task.
    Link string
    Link to the task details.
    Status string
    Current global status of the current task.
    Type string
    Type of the current task.
    Errors []CloudFloatingIpCurrentTaskError
    Errors that occurred on the task:
    Id string
    Identifier of the current task.
    Link string
    Link to the task details.
    Status string
    Current global status of the current task.
    Type string
    Type of the current task.
    errors list(object)
    Errors that occurred on the task:
    id string
    Identifier of the current task.
    link string
    Link to the task details.
    status string
    Current global status of the current task.
    type string
    Type of the current task.
    errors List<CloudFloatingIpCurrentTaskError>
    Errors that occurred on the task:
    id String
    Identifier of the current task.
    link String
    Link to the task details.
    status String
    Current global status of the current task.
    type String
    Type of the current task.
    errors CloudFloatingIpCurrentTaskError[]
    Errors that occurred on the task:
    id string
    Identifier of the current task.
    link string
    Link to the task details.
    status string
    Current global status of the current task.
    type string
    Type of the current task.
    errors Sequence[CloudFloatingIpCurrentTaskError]
    Errors that occurred on the task:
    id str
    Identifier of the current task.
    link str
    Link to the task details.
    status str
    Current global status of the current task.
    type str
    Type of the current task.
    errors List<Property Map>
    Errors that occurred on the task:
    id String
    Identifier of the current task.
    link String
    Link to the task details.
    status String
    Current global status of the current task.
    type String
    Type of the current task.

    CloudFloatingIpCurrentTaskError, CloudFloatingIpCurrentTaskErrorArgs

    Message string
    Error description.
    Message string
    Error description.
    message string
    Error description.
    message String
    Error description.
    message string
    Error description.
    message str
    Error description.
    message String
    Error description.

    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 = “<service_name>/

    }

    bash

    $ pulumi import ovh:index/cloudFloatingIp:CloudFloatingIp ip service_name/ip
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    ovh ovh/pulumi-ovh
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ovh Terraform Provider.
    ovh logo
    Viewing docs for OVHCloud v2.17.0
    published on Friday, Jul 17, 2026 by OVHcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial