1. Packages
  2. Gcore Provider
  3. API Docs
  4. CloudFloatingIp
Viewing docs for gcore 2.0.0-alpha.3
published on Monday, Mar 30, 2026 by g-core
Viewing docs for gcore 2.0.0-alpha.3
published on Monday, Mar 30, 2026 by g-core

    A floating IP is a static IP address that points to one of your Instances. It allows you to redirect network traffic to any of your Instances in the same datacenter.

    Example Usage

    Unattached floating IP

    Allocate a floating IP address without attaching it to any resource.

    import * as pulumi from "@pulumi/pulumi";
    import * as gcore from "@pulumi/gcore";
    
    // Create a floating IP address
    const publicIp = new gcore.CloudFloatingIp("public_ip", {
        projectId: 1,
        regionId: 1,
    });
    
    import pulumi
    import pulumi_gcore as gcore
    
    # Create a floating IP address
    public_ip = gcore.CloudFloatingIp("public_ip",
        project_id=1,
        region_id=1)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/v2/gcore"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Create a floating IP address
    		_, err := gcore.NewCloudFloatingIp(ctx, "public_ip", &gcore.CloudFloatingIpArgs{
    			ProjectId: pulumi.Float64(1),
    			RegionId:  pulumi.Float64(1),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcore = Pulumi.Gcore;
    
    return await Deployment.RunAsync(() => 
    {
        // Create a floating IP address
        var publicIp = new Gcore.CloudFloatingIp("public_ip", new()
        {
            ProjectId = 1,
            RegionId = 1,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcore.CloudFloatingIp;
    import com.pulumi.gcore.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) {
            // Create a floating IP address
            var publicIp = new CloudFloatingIp("publicIp", CloudFloatingIpArgs.builder()
                .projectId(1.0)
                .regionId(1.0)
                .build());
    
        }
    }
    
    resources:
      # Create a floating IP address
      publicIp:
        type: gcore:CloudFloatingIp
        name: public_ip
        properties:
          projectId: 1
          regionId: 1
    

    Attach to an instance port

    Allocate a floating IP and immediately attach it to an existing instance port.

    import * as pulumi from "@pulumi/pulumi";
    import * as gcore from "@pulumi/gcore";
    
    // Attach a floating IP to an existing instance port
    const webIp = new gcore.CloudFloatingIp("web_ip", {
        projectId: 1,
        regionId: 1,
        portId: "ee2402d0-f0cd-4503-9b75-69be1d11c5f1",
        fixedIpAddress: "192.168.10.15",
        tags: {
            environment: "production",
            role: "web-server",
        },
    });
    
    import pulumi
    import pulumi_gcore as gcore
    
    # Attach a floating IP to an existing instance port
    web_ip = gcore.CloudFloatingIp("web_ip",
        project_id=1,
        region_id=1,
        port_id="ee2402d0-f0cd-4503-9b75-69be1d11c5f1",
        fixed_ip_address="192.168.10.15",
        tags={
            "environment": "production",
            "role": "web-server",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/v2/gcore"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Attach a floating IP to an existing instance port
    		_, err := gcore.NewCloudFloatingIp(ctx, "web_ip", &gcore.CloudFloatingIpArgs{
    			ProjectId:      pulumi.Float64(1),
    			RegionId:       pulumi.Float64(1),
    			PortId:         pulumi.String("ee2402d0-f0cd-4503-9b75-69be1d11c5f1"),
    			FixedIpAddress: pulumi.String("192.168.10.15"),
    			Tags: pulumi.StringMap{
    				"environment": pulumi.String("production"),
    				"role":        pulumi.String("web-server"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcore = Pulumi.Gcore;
    
    return await Deployment.RunAsync(() => 
    {
        // Attach a floating IP to an existing instance port
        var webIp = new Gcore.CloudFloatingIp("web_ip", new()
        {
            ProjectId = 1,
            RegionId = 1,
            PortId = "ee2402d0-f0cd-4503-9b75-69be1d11c5f1",
            FixedIpAddress = "192.168.10.15",
            Tags = 
            {
                { "environment", "production" },
                { "role", "web-server" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcore.CloudFloatingIp;
    import com.pulumi.gcore.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) {
            // Attach a floating IP to an existing instance port
            var webIp = new CloudFloatingIp("webIp", CloudFloatingIpArgs.builder()
                .projectId(1.0)
                .regionId(1.0)
                .portId("ee2402d0-f0cd-4503-9b75-69be1d11c5f1")
                .fixedIpAddress("192.168.10.15")
                .tags(Map.ofEntries(
                    Map.entry("environment", "production"),
                    Map.entry("role", "web-server")
                ))
                .build());
    
        }
    }
    
    resources:
      # Attach a floating IP to an existing instance port
      webIp:
        type: gcore:CloudFloatingIp
        name: web_ip
        properties:
          projectId: 1
          regionId: 1
          portId: ee2402d0-f0cd-4503-9b75-69be1d11c5f1
          fixedIpAddress: 192.168.10.15
          tags:
            environment: production
            role: web-server
    

    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: Optional[CloudFloatingIpArgs] = None,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def CloudFloatingIp(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        fixed_ip_address: Optional[str] = None,
                        port_id: Optional[str] = None,
                        project_id: Optional[float] = None,
                        region_id: Optional[float] = None,
                        tags: Optional[Mapping[str, str]] = None)
    func NewCloudFloatingIp(ctx *Context, name string, args *CloudFloatingIpArgs, opts ...ResourceOption) (*CloudFloatingIp, error)
    public CloudFloatingIp(string name, CloudFloatingIpArgs? args = null, CustomResourceOptions? opts = null)
    public CloudFloatingIp(String name, CloudFloatingIpArgs args)
    public CloudFloatingIp(String name, CloudFloatingIpArgs args, CustomResourceOptions options)
    
    type: gcore:CloudFloatingIp
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    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 Gcore.Index.CloudFloatingIp("cloudFloatingIpResource", new()
    {
        FixedIpAddress = "string",
        PortId = "string",
        ProjectId = 0,
        RegionId = 0,
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := gcore.NewCloudFloatingIp(ctx, "cloudFloatingIpResource", &gcore.CloudFloatingIpArgs{
    	FixedIpAddress: pulumi.String("string"),
    	PortId:         pulumi.String("string"),
    	ProjectId:      pulumi.Float64(0),
    	RegionId:       pulumi.Float64(0),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var cloudFloatingIpResource = new CloudFloatingIp("cloudFloatingIpResource", CloudFloatingIpArgs.builder()
        .fixedIpAddress("string")
        .portId("string")
        .projectId(0.0)
        .regionId(0.0)
        .tags(Map.of("string", "string"))
        .build());
    
    cloud_floating_ip_resource = gcore.CloudFloatingIp("cloudFloatingIpResource",
        fixed_ip_address="string",
        port_id="string",
        project_id=0,
        region_id=0,
        tags={
            "string": "string",
        })
    
    const cloudFloatingIpResource = new gcore.CloudFloatingIp("cloudFloatingIpResource", {
        fixedIpAddress: "string",
        portId: "string",
        projectId: 0,
        regionId: 0,
        tags: {
            string: "string",
        },
    });
    
    type: gcore:CloudFloatingIp
    properties:
        fixedIpAddress: string
        portId: string
        projectId: 0
        regionId: 0
        tags:
            string: 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:

    FixedIpAddress string
    If the port has multiple IP addresses, a specific one can be selected using this field. If not specified, the first IP in the port's list will be used by default.
    PortId string
    If provided, the floating IP will be immediately attached to the specified port.
    ProjectId double
    Project ID
    RegionId double
    Region ID
    Tags Dictionary<string, string>
    Key-value tags to associate with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Both tag keys and values have a maximum length of 255 characters. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    FixedIpAddress string
    If the port has multiple IP addresses, a specific one can be selected using this field. If not specified, the first IP in the port's list will be used by default.
    PortId string
    If provided, the floating IP will be immediately attached to the specified port.
    ProjectId float64
    Project ID
    RegionId float64
    Region ID
    Tags map[string]string
    Key-value tags to associate with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Both tag keys and values have a maximum length of 255 characters. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    fixedIpAddress String
    If the port has multiple IP addresses, a specific one can be selected using this field. If not specified, the first IP in the port's list will be used by default.
    portId String
    If provided, the floating IP will be immediately attached to the specified port.
    projectId Double
    Project ID
    regionId Double
    Region ID
    tags Map<String,String>
    Key-value tags to associate with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Both tag keys and values have a maximum length of 255 characters. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    fixedIpAddress string
    If the port has multiple IP addresses, a specific one can be selected using this field. If not specified, the first IP in the port's list will be used by default.
    portId string
    If provided, the floating IP will be immediately attached to the specified port.
    projectId number
    Project ID
    regionId number
    Region ID
    tags {[key: string]: string}
    Key-value tags to associate with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Both tag keys and values have a maximum length of 255 characters. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    fixed_ip_address str
    If the port has multiple IP addresses, a specific one can be selected using this field. If not specified, the first IP in the port's list will be used by default.
    port_id str
    If provided, the floating IP will be immediately attached to the specified port.
    project_id float
    Project ID
    region_id float
    Region ID
    tags Mapping[str, str]
    Key-value tags to associate with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Both tag keys and values have a maximum length of 255 characters. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    fixedIpAddress String
    If the port has multiple IP addresses, a specific one can be selected using this field. If not specified, the first IP in the port's list will be used by default.
    portId String
    If provided, the floating IP will be immediately attached to the specified port.
    projectId Number
    Project ID
    regionId Number
    Region ID
    tags Map<String>
    Key-value tags to associate with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Both tag keys and values have a maximum length of 255 characters. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.

    Outputs

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

    CreatedAt string
    Datetime when the floating IP was created
    CreatorTaskId string
    Task that created this entity
    FloatingIpAddress string
    IP Address of the floating IP
    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    Region name
    RouterId string
    Router ID
    Status string
    Floating IP status. DOWN - unassigned (available). ACTIVE - attached to a port (in use). ERROR - error state. Available values: "ACTIVE", "DOWN", "ERROR".
    CreatedAt string
    Datetime when the floating IP was created
    CreatorTaskId string
    Task that created this entity
    FloatingIpAddress string
    IP Address of the floating IP
    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    Region name
    RouterId string
    Router ID
    Status string
    Floating IP status. DOWN - unassigned (available). ACTIVE - attached to a port (in use). ERROR - error state. Available values: "ACTIVE", "DOWN", "ERROR".
    createdAt String
    Datetime when the floating IP was created
    creatorTaskId String
    Task that created this entity
    floatingIpAddress String
    IP Address of the floating IP
    id String
    The provider-assigned unique ID for this managed resource.
    region String
    Region name
    routerId String
    Router ID
    status String
    Floating IP status. DOWN - unassigned (available). ACTIVE - attached to a port (in use). ERROR - error state. Available values: "ACTIVE", "DOWN", "ERROR".
    createdAt string
    Datetime when the floating IP was created
    creatorTaskId string
    Task that created this entity
    floatingIpAddress string
    IP Address of the floating IP
    id string
    The provider-assigned unique ID for this managed resource.
    region string
    Region name
    routerId string
    Router ID
    status string
    Floating IP status. DOWN - unassigned (available). ACTIVE - attached to a port (in use). ERROR - error state. Available values: "ACTIVE", "DOWN", "ERROR".
    created_at str
    Datetime when the floating IP was created
    creator_task_id str
    Task that created this entity
    floating_ip_address str
    IP Address of the floating IP
    id str
    The provider-assigned unique ID for this managed resource.
    region str
    Region name
    router_id str
    Router ID
    status str
    Floating IP status. DOWN - unassigned (available). ACTIVE - attached to a port (in use). ERROR - error state. Available values: "ACTIVE", "DOWN", "ERROR".
    createdAt String
    Datetime when the floating IP was created
    creatorTaskId String
    Task that created this entity
    floatingIpAddress String
    IP Address of the floating IP
    id String
    The provider-assigned unique ID for this managed resource.
    region String
    Region name
    routerId String
    Router ID
    status String
    Floating IP status. DOWN - unassigned (available). ACTIVE - attached to a port (in use). ERROR - error state. Available values: "ACTIVE", "DOWN", "ERROR".

    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,
            created_at: Optional[str] = None,
            creator_task_id: Optional[str] = None,
            fixed_ip_address: Optional[str] = None,
            floating_ip_address: Optional[str] = None,
            port_id: Optional[str] = None,
            project_id: Optional[float] = None,
            region: Optional[str] = None,
            region_id: Optional[float] = None,
            router_id: Optional[str] = None,
            status: Optional[str] = None,
            tags: Optional[Mapping[str, 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: gcore:CloudFloatingIp    get:      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:
    CreatedAt string
    Datetime when the floating IP was created
    CreatorTaskId string
    Task that created this entity
    FixedIpAddress string
    If the port has multiple IP addresses, a specific one can be selected using this field. If not specified, the first IP in the port's list will be used by default.
    FloatingIpAddress string
    IP Address of the floating IP
    PortId string
    If provided, the floating IP will be immediately attached to the specified port.
    ProjectId double
    Project ID
    Region string
    Region name
    RegionId double
    Region ID
    RouterId string
    Router ID
    Status string
    Floating IP status. DOWN - unassigned (available). ACTIVE - attached to a port (in use). ERROR - error state. Available values: "ACTIVE", "DOWN", "ERROR".
    Tags Dictionary<string, string>
    Key-value tags to associate with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Both tag keys and values have a maximum length of 255 characters. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    CreatedAt string
    Datetime when the floating IP was created
    CreatorTaskId string
    Task that created this entity
    FixedIpAddress string
    If the port has multiple IP addresses, a specific one can be selected using this field. If not specified, the first IP in the port's list will be used by default.
    FloatingIpAddress string
    IP Address of the floating IP
    PortId string
    If provided, the floating IP will be immediately attached to the specified port.
    ProjectId float64
    Project ID
    Region string
    Region name
    RegionId float64
    Region ID
    RouterId string
    Router ID
    Status string
    Floating IP status. DOWN - unassigned (available). ACTIVE - attached to a port (in use). ERROR - error state. Available values: "ACTIVE", "DOWN", "ERROR".
    Tags map[string]string
    Key-value tags to associate with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Both tag keys and values have a maximum length of 255 characters. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    createdAt String
    Datetime when the floating IP was created
    creatorTaskId String
    Task that created this entity
    fixedIpAddress String
    If the port has multiple IP addresses, a specific one can be selected using this field. If not specified, the first IP in the port's list will be used by default.
    floatingIpAddress String
    IP Address of the floating IP
    portId String
    If provided, the floating IP will be immediately attached to the specified port.
    projectId Double
    Project ID
    region String
    Region name
    regionId Double
    Region ID
    routerId String
    Router ID
    status String
    Floating IP status. DOWN - unassigned (available). ACTIVE - attached to a port (in use). ERROR - error state. Available values: "ACTIVE", "DOWN", "ERROR".
    tags Map<String,String>
    Key-value tags to associate with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Both tag keys and values have a maximum length of 255 characters. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    createdAt string
    Datetime when the floating IP was created
    creatorTaskId string
    Task that created this entity
    fixedIpAddress string
    If the port has multiple IP addresses, a specific one can be selected using this field. If not specified, the first IP in the port's list will be used by default.
    floatingIpAddress string
    IP Address of the floating IP
    portId string
    If provided, the floating IP will be immediately attached to the specified port.
    projectId number
    Project ID
    region string
    Region name
    regionId number
    Region ID
    routerId string
    Router ID
    status string
    Floating IP status. DOWN - unassigned (available). ACTIVE - attached to a port (in use). ERROR - error state. Available values: "ACTIVE", "DOWN", "ERROR".
    tags {[key: string]: string}
    Key-value tags to associate with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Both tag keys and values have a maximum length of 255 characters. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    created_at str
    Datetime when the floating IP was created
    creator_task_id str
    Task that created this entity
    fixed_ip_address str
    If the port has multiple IP addresses, a specific one can be selected using this field. If not specified, the first IP in the port's list will be used by default.
    floating_ip_address str
    IP Address of the floating IP
    port_id str
    If provided, the floating IP will be immediately attached to the specified port.
    project_id float
    Project ID
    region str
    Region name
    region_id float
    Region ID
    router_id str
    Router ID
    status str
    Floating IP status. DOWN - unassigned (available). ACTIVE - attached to a port (in use). ERROR - error state. Available values: "ACTIVE", "DOWN", "ERROR".
    tags Mapping[str, str]
    Key-value tags to associate with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Both tag keys and values have a maximum length of 255 characters. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.
    createdAt String
    Datetime when the floating IP was created
    creatorTaskId String
    Task that created this entity
    fixedIpAddress String
    If the port has multiple IP addresses, a specific one can be selected using this field. If not specified, the first IP in the port's list will be used by default.
    floatingIpAddress String
    IP Address of the floating IP
    portId String
    If provided, the floating IP will be immediately attached to the specified port.
    projectId Number
    Project ID
    region String
    Region name
    regionId Number
    Region ID
    routerId String
    Router ID
    status String
    Floating IP status. DOWN - unassigned (available). ACTIVE - attached to a port (in use). ERROR - error state. Available values: "ACTIVE", "DOWN", "ERROR".
    tags Map<String>
    Key-value tags to associate with the resource. A tag is a key-value pair that can be associated with a resource, enabling efficient filtering and grouping for better organization and management. Both tag keys and values have a maximum length of 255 characters. Some tags are read-only and cannot be modified by the user. Tags are also integrated with cost reports, allowing cost data to be filtered based on tag keys or values.

    Import

    $ pulumi import gcore:index/cloudFloatingIp:CloudFloatingIp example '<project_id>/<region_id>/<floating_ip_id>'
    

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

    Package Details

    Repository
    gcore g-core/terraform-provider-gcore
    License
    Notes
    This Pulumi package is based on the gcore Terraform Provider.
    Viewing docs for gcore 2.0.0-alpha.3
    published on Monday, Mar 30, 2026 by g-core
      Try Pulumi Cloud free. Your team will thank you.