1. Packages
  2. Vkcs Provider
  3. API Docs
  4. NetworkingFloatingip
vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs

vkcs.NetworkingFloatingip

Explore with Pulumi AI

vkcs logo
vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs

    Manages a floating IP resource within VKCS that can be used for load balancers.

    Example Usage

    Simple floating IP allocation

    import * as pulumi from "@pulumi/pulumi";
    import * as vkcs from "@pulumi/vkcs";
    
    const baseFip = new vkcs.NetworkingFloatingip("baseFip", {
        description: "floating ip in external net tf example",
        pool: "internet",
    });
    
    import pulumi
    import pulumi_vkcs as vkcs
    
    base_fip = vkcs.NetworkingFloatingip("baseFip",
        description="floating ip in external net tf example",
        pool="internet")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/vkcs/vkcs"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vkcs.NewNetworkingFloatingip(ctx, "baseFip", &vkcs.NetworkingFloatingipArgs{
    			Description: pulumi.String("floating ip in external net tf example"),
    			Pool:        pulumi.String("internet"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vkcs = Pulumi.Vkcs;
    
    return await Deployment.RunAsync(() => 
    {
        var baseFip = new Vkcs.NetworkingFloatingip("baseFip", new()
        {
            Description = "floating ip in external net tf example",
            Pool = "internet",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vkcs.NetworkingFloatingip;
    import com.pulumi.vkcs.NetworkingFloatingipArgs;
    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 baseFip = new NetworkingFloatingip("baseFip", NetworkingFloatingipArgs.builder()
                .description("floating ip in external net tf example")
                .pool("internet")
                .build());
    
        }
    }
    
    resources:
      baseFip:
        type: vkcs:NetworkingFloatingip
        properties:
          description: floating ip in external net tf example
          pool: internet
    

    Floating IP allocation with association to port

    import * as pulumi from "@pulumi/pulumi";
    import * as vkcs from "@pulumi/vkcs";
    
    const associatedFip = new vkcs.NetworkingFloatingip("associatedFip", {
        pool: "internet",
        portId: vkcs_networking_port.persistent_etcd.id,
    });
    
    import pulumi
    import pulumi_vkcs as vkcs
    
    associated_fip = vkcs.NetworkingFloatingip("associatedFip",
        pool="internet",
        port_id=vkcs_networking_port["persistent_etcd"]["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/vkcs/vkcs"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vkcs.NewNetworkingFloatingip(ctx, "associatedFip", &vkcs.NetworkingFloatingipArgs{
    			Pool:   pulumi.String("internet"),
    			PortId: pulumi.Any(vkcs_networking_port.Persistent_etcd.Id),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vkcs = Pulumi.Vkcs;
    
    return await Deployment.RunAsync(() => 
    {
        var associatedFip = new Vkcs.NetworkingFloatingip("associatedFip", new()
        {
            Pool = "internet",
            PortId = vkcs_networking_port.Persistent_etcd.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vkcs.NetworkingFloatingip;
    import com.pulumi.vkcs.NetworkingFloatingipArgs;
    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 associatedFip = new NetworkingFloatingip("associatedFip", NetworkingFloatingipArgs.builder()
                .pool("internet")
                .portId(vkcs_networking_port.persistent_etcd().id())
                .build());
    
        }
    }
    
    resources:
      associatedFip:
        type: vkcs:NetworkingFloatingip
        properties:
          pool: internet
          portId: ${vkcs_networking_port.persistent_etcd.id}
    

    Create NetworkingFloatingip Resource

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

    Constructor syntax

    new NetworkingFloatingip(name: string, args: NetworkingFloatingipArgs, opts?: CustomResourceOptions);
    @overload
    def NetworkingFloatingip(resource_name: str,
                             args: NetworkingFloatingipArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def NetworkingFloatingip(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             pool: Optional[str] = None,
                             address: Optional[str] = None,
                             description: Optional[str] = None,
                             fixed_ip: Optional[str] = None,
                             networking_floatingip_id: Optional[str] = None,
                             port_id: Optional[str] = None,
                             region: Optional[str] = None,
                             sdn: Optional[str] = None,
                             subnet_id: Optional[str] = None,
                             subnet_ids: Optional[Sequence[str]] = None,
                             timeouts: Optional[NetworkingFloatingipTimeoutsArgs] = None,
                             value_specs: Optional[Mapping[str, str]] = None)
    func NewNetworkingFloatingip(ctx *Context, name string, args NetworkingFloatingipArgs, opts ...ResourceOption) (*NetworkingFloatingip, error)
    public NetworkingFloatingip(string name, NetworkingFloatingipArgs args, CustomResourceOptions? opts = null)
    public NetworkingFloatingip(String name, NetworkingFloatingipArgs args)
    public NetworkingFloatingip(String name, NetworkingFloatingipArgs args, CustomResourceOptions options)
    
    type: vkcs:NetworkingFloatingip
    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 NetworkingFloatingipArgs
    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 NetworkingFloatingipArgs
    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 NetworkingFloatingipArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NetworkingFloatingipArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NetworkingFloatingipArgs
    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 networkingFloatingipResource = new Vkcs.NetworkingFloatingip("networkingFloatingipResource", new()
    {
        Pool = "string",
        Address = "string",
        Description = "string",
        FixedIp = "string",
        NetworkingFloatingipId = "string",
        PortId = "string",
        Region = "string",
        Sdn = "string",
        SubnetId = "string",
        SubnetIds = new[]
        {
            "string",
        },
        Timeouts = new Vkcs.Inputs.NetworkingFloatingipTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
        },
        ValueSpecs = 
        {
            { "string", "string" },
        },
    });
    
    example, err := vkcs.NewNetworkingFloatingip(ctx, "networkingFloatingipResource", &vkcs.NetworkingFloatingipArgs{
    Pool: pulumi.String("string"),
    Address: pulumi.String("string"),
    Description: pulumi.String("string"),
    FixedIp: pulumi.String("string"),
    NetworkingFloatingipId: pulumi.String("string"),
    PortId: pulumi.String("string"),
    Region: pulumi.String("string"),
    Sdn: pulumi.String("string"),
    SubnetId: pulumi.String("string"),
    SubnetIds: pulumi.StringArray{
    pulumi.String("string"),
    },
    Timeouts: &.NetworkingFloatingipTimeoutsArgs{
    Create: pulumi.String("string"),
    Delete: pulumi.String("string"),
    },
    ValueSpecs: pulumi.StringMap{
    "string": pulumi.String("string"),
    },
    })
    
    var networkingFloatingipResource = new NetworkingFloatingip("networkingFloatingipResource", NetworkingFloatingipArgs.builder()
        .pool("string")
        .address("string")
        .description("string")
        .fixedIp("string")
        .networkingFloatingipId("string")
        .portId("string")
        .region("string")
        .sdn("string")
        .subnetId("string")
        .subnetIds("string")
        .timeouts(NetworkingFloatingipTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .build())
        .valueSpecs(Map.of("string", "string"))
        .build());
    
    networking_floatingip_resource = vkcs.NetworkingFloatingip("networkingFloatingipResource",
        pool="string",
        address="string",
        description="string",
        fixed_ip="string",
        networking_floatingip_id="string",
        port_id="string",
        region="string",
        sdn="string",
        subnet_id="string",
        subnet_ids=["string"],
        timeouts={
            "create": "string",
            "delete": "string",
        },
        value_specs={
            "string": "string",
        })
    
    const networkingFloatingipResource = new vkcs.NetworkingFloatingip("networkingFloatingipResource", {
        pool: "string",
        address: "string",
        description: "string",
        fixedIp: "string",
        networkingFloatingipId: "string",
        portId: "string",
        region: "string",
        sdn: "string",
        subnetId: "string",
        subnetIds: ["string"],
        timeouts: {
            create: "string",
            "delete": "string",
        },
        valueSpecs: {
            string: "string",
        },
    });
    
    type: vkcs:NetworkingFloatingip
    properties:
        address: string
        description: string
        fixedIp: string
        networkingFloatingipId: string
        pool: string
        portId: string
        region: string
        sdn: string
        subnetId: string
        subnetIds:
            - string
        timeouts:
            create: string
            delete: string
        valueSpecs:
            string: string
    

    NetworkingFloatingip 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 NetworkingFloatingip resource accepts the following input properties:

    Pool string
    required string → The name of the pool from which to obtain the floating IP. Changing this creates a new floating IP.
    Address string
    optional string → The actual floating IP address itself.
    Description string
    optional string → Human-readable description for the floating IP.
    FixedIp string
    optional string → Fixed IP of the port to associate with this floating IP. Required if the port has multiple fixed IPs.
    NetworkingFloatingipId string
    string → ID of the resource.
    PortId string
    optional string → ID of an existing port with at least one IP address to associate with this floating IP.
    Region string
    optional string → The region in which to obtain the Networking client. A Networking client is needed to create a floating IP that can be used with another networking resource, such as a load balancer. If omitted, the region argument of the provider is used. Changing this creates a new floating IP (which may or may not have a different address).
    Sdn string
    optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.
    SubnetId string
    optional string → The subnet ID of the floating IP pool. Specify this if the floating IP network has multiple subnets.
    SubnetIds List<string>
    optional string → A list of external subnet IDs to try over each to allocate a floating IP address. If a subnet ID in a list has exhausted floating IP pool, the next subnet ID will be tried. This argument is used only during the resource creation. Conflicts with a subnet_id argument.
    Timeouts NetworkingFloatingipTimeouts
    ValueSpecs Dictionary<string, string>
    optional map of string → Map of additional options.
    Pool string
    required string → The name of the pool from which to obtain the floating IP. Changing this creates a new floating IP.
    Address string
    optional string → The actual floating IP address itself.
    Description string
    optional string → Human-readable description for the floating IP.
    FixedIp string
    optional string → Fixed IP of the port to associate with this floating IP. Required if the port has multiple fixed IPs.
    NetworkingFloatingipId string
    string → ID of the resource.
    PortId string
    optional string → ID of an existing port with at least one IP address to associate with this floating IP.
    Region string
    optional string → The region in which to obtain the Networking client. A Networking client is needed to create a floating IP that can be used with another networking resource, such as a load balancer. If omitted, the region argument of the provider is used. Changing this creates a new floating IP (which may or may not have a different address).
    Sdn string
    optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.
    SubnetId string
    optional string → The subnet ID of the floating IP pool. Specify this if the floating IP network has multiple subnets.
    SubnetIds []string
    optional string → A list of external subnet IDs to try over each to allocate a floating IP address. If a subnet ID in a list has exhausted floating IP pool, the next subnet ID will be tried. This argument is used only during the resource creation. Conflicts with a subnet_id argument.
    Timeouts NetworkingFloatingipTimeoutsArgs
    ValueSpecs map[string]string
    optional map of string → Map of additional options.
    pool String
    required string → The name of the pool from which to obtain the floating IP. Changing this creates a new floating IP.
    address String
    optional string → The actual floating IP address itself.
    description String
    optional string → Human-readable description for the floating IP.
    fixedIp String
    optional string → Fixed IP of the port to associate with this floating IP. Required if the port has multiple fixed IPs.
    networkingFloatingipId String
    string → ID of the resource.
    portId String
    optional string → ID of an existing port with at least one IP address to associate with this floating IP.
    region String
    optional string → The region in which to obtain the Networking client. A Networking client is needed to create a floating IP that can be used with another networking resource, such as a load balancer. If omitted, the region argument of the provider is used. Changing this creates a new floating IP (which may or may not have a different address).
    sdn String
    optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.
    subnetId String
    optional string → The subnet ID of the floating IP pool. Specify this if the floating IP network has multiple subnets.
    subnetIds List<String>
    optional string → A list of external subnet IDs to try over each to allocate a floating IP address. If a subnet ID in a list has exhausted floating IP pool, the next subnet ID will be tried. This argument is used only during the resource creation. Conflicts with a subnet_id argument.
    timeouts NetworkingFloatingipTimeouts
    valueSpecs Map<String,String>
    optional map of string → Map of additional options.
    pool string
    required string → The name of the pool from which to obtain the floating IP. Changing this creates a new floating IP.
    address string
    optional string → The actual floating IP address itself.
    description string
    optional string → Human-readable description for the floating IP.
    fixedIp string
    optional string → Fixed IP of the port to associate with this floating IP. Required if the port has multiple fixed IPs.
    networkingFloatingipId string
    string → ID of the resource.
    portId string
    optional string → ID of an existing port with at least one IP address to associate with this floating IP.
    region string
    optional string → The region in which to obtain the Networking client. A Networking client is needed to create a floating IP that can be used with another networking resource, such as a load balancer. If omitted, the region argument of the provider is used. Changing this creates a new floating IP (which may or may not have a different address).
    sdn string
    optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.
    subnetId string
    optional string → The subnet ID of the floating IP pool. Specify this if the floating IP network has multiple subnets.
    subnetIds string[]
    optional string → A list of external subnet IDs to try over each to allocate a floating IP address. If a subnet ID in a list has exhausted floating IP pool, the next subnet ID will be tried. This argument is used only during the resource creation. Conflicts with a subnet_id argument.
    timeouts NetworkingFloatingipTimeouts
    valueSpecs {[key: string]: string}
    optional map of string → Map of additional options.
    pool str
    required string → The name of the pool from which to obtain the floating IP. Changing this creates a new floating IP.
    address str
    optional string → The actual floating IP address itself.
    description str
    optional string → Human-readable description for the floating IP.
    fixed_ip str
    optional string → Fixed IP of the port to associate with this floating IP. Required if the port has multiple fixed IPs.
    networking_floatingip_id str
    string → ID of the resource.
    port_id str
    optional string → ID of an existing port with at least one IP address to associate with this floating IP.
    region str
    optional string → The region in which to obtain the Networking client. A Networking client is needed to create a floating IP that can be used with another networking resource, such as a load balancer. If omitted, the region argument of the provider is used. Changing this creates a new floating IP (which may or may not have a different address).
    sdn str
    optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.
    subnet_id str
    optional string → The subnet ID of the floating IP pool. Specify this if the floating IP network has multiple subnets.
    subnet_ids Sequence[str]
    optional string → A list of external subnet IDs to try over each to allocate a floating IP address. If a subnet ID in a list has exhausted floating IP pool, the next subnet ID will be tried. This argument is used only during the resource creation. Conflicts with a subnet_id argument.
    timeouts NetworkingFloatingipTimeoutsArgs
    value_specs Mapping[str, str]
    optional map of string → Map of additional options.
    pool String
    required string → The name of the pool from which to obtain the floating IP. Changing this creates a new floating IP.
    address String
    optional string → The actual floating IP address itself.
    description String
    optional string → Human-readable description for the floating IP.
    fixedIp String
    optional string → Fixed IP of the port to associate with this floating IP. Required if the port has multiple fixed IPs.
    networkingFloatingipId String
    string → ID of the resource.
    portId String
    optional string → ID of an existing port with at least one IP address to associate with this floating IP.
    region String
    optional string → The region in which to obtain the Networking client. A Networking client is needed to create a floating IP that can be used with another networking resource, such as a load balancer. If omitted, the region argument of the provider is used. Changing this creates a new floating IP (which may or may not have a different address).
    sdn String
    optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.
    subnetId String
    optional string → The subnet ID of the floating IP pool. Specify this if the floating IP network has multiple subnets.
    subnetIds List<String>
    optional string → A list of external subnet IDs to try over each to allocate a floating IP address. If a subnet ID in a list has exhausted floating IP pool, the next subnet ID will be tried. This argument is used only during the resource creation. Conflicts with a subnet_id argument.
    timeouts Property Map
    valueSpecs Map<String>
    optional map of string → Map of additional options.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing NetworkingFloatingip Resource

    Get an existing NetworkingFloatingip 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?: NetworkingFloatingipState, opts?: CustomResourceOptions): NetworkingFloatingip
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            address: Optional[str] = None,
            description: Optional[str] = None,
            fixed_ip: Optional[str] = None,
            networking_floatingip_id: Optional[str] = None,
            pool: Optional[str] = None,
            port_id: Optional[str] = None,
            region: Optional[str] = None,
            sdn: Optional[str] = None,
            subnet_id: Optional[str] = None,
            subnet_ids: Optional[Sequence[str]] = None,
            timeouts: Optional[NetworkingFloatingipTimeoutsArgs] = None,
            value_specs: Optional[Mapping[str, str]] = None) -> NetworkingFloatingip
    func GetNetworkingFloatingip(ctx *Context, name string, id IDInput, state *NetworkingFloatingipState, opts ...ResourceOption) (*NetworkingFloatingip, error)
    public static NetworkingFloatingip Get(string name, Input<string> id, NetworkingFloatingipState? state, CustomResourceOptions? opts = null)
    public static NetworkingFloatingip get(String name, Output<String> id, NetworkingFloatingipState state, CustomResourceOptions options)
    resources:  _:    type: vkcs:NetworkingFloatingip    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:
    Address string
    optional string → The actual floating IP address itself.
    Description string
    optional string → Human-readable description for the floating IP.
    FixedIp string
    optional string → Fixed IP of the port to associate with this floating IP. Required if the port has multiple fixed IPs.
    NetworkingFloatingipId string
    string → ID of the resource.
    Pool string
    required string → The name of the pool from which to obtain the floating IP. Changing this creates a new floating IP.
    PortId string
    optional string → ID of an existing port with at least one IP address to associate with this floating IP.
    Region string
    optional string → The region in which to obtain the Networking client. A Networking client is needed to create a floating IP that can be used with another networking resource, such as a load balancer. If omitted, the region argument of the provider is used. Changing this creates a new floating IP (which may or may not have a different address).
    Sdn string
    optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.
    SubnetId string
    optional string → The subnet ID of the floating IP pool. Specify this if the floating IP network has multiple subnets.
    SubnetIds List<string>
    optional string → A list of external subnet IDs to try over each to allocate a floating IP address. If a subnet ID in a list has exhausted floating IP pool, the next subnet ID will be tried. This argument is used only during the resource creation. Conflicts with a subnet_id argument.
    Timeouts NetworkingFloatingipTimeouts
    ValueSpecs Dictionary<string, string>
    optional map of string → Map of additional options.
    Address string
    optional string → The actual floating IP address itself.
    Description string
    optional string → Human-readable description for the floating IP.
    FixedIp string
    optional string → Fixed IP of the port to associate with this floating IP. Required if the port has multiple fixed IPs.
    NetworkingFloatingipId string
    string → ID of the resource.
    Pool string
    required string → The name of the pool from which to obtain the floating IP. Changing this creates a new floating IP.
    PortId string
    optional string → ID of an existing port with at least one IP address to associate with this floating IP.
    Region string
    optional string → The region in which to obtain the Networking client. A Networking client is needed to create a floating IP that can be used with another networking resource, such as a load balancer. If omitted, the region argument of the provider is used. Changing this creates a new floating IP (which may or may not have a different address).
    Sdn string
    optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.
    SubnetId string
    optional string → The subnet ID of the floating IP pool. Specify this if the floating IP network has multiple subnets.
    SubnetIds []string
    optional string → A list of external subnet IDs to try over each to allocate a floating IP address. If a subnet ID in a list has exhausted floating IP pool, the next subnet ID will be tried. This argument is used only during the resource creation. Conflicts with a subnet_id argument.
    Timeouts NetworkingFloatingipTimeoutsArgs
    ValueSpecs map[string]string
    optional map of string → Map of additional options.
    address String
    optional string → The actual floating IP address itself.
    description String
    optional string → Human-readable description for the floating IP.
    fixedIp String
    optional string → Fixed IP of the port to associate with this floating IP. Required if the port has multiple fixed IPs.
    networkingFloatingipId String
    string → ID of the resource.
    pool String
    required string → The name of the pool from which to obtain the floating IP. Changing this creates a new floating IP.
    portId String
    optional string → ID of an existing port with at least one IP address to associate with this floating IP.
    region String
    optional string → The region in which to obtain the Networking client. A Networking client is needed to create a floating IP that can be used with another networking resource, such as a load balancer. If omitted, the region argument of the provider is used. Changing this creates a new floating IP (which may or may not have a different address).
    sdn String
    optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.
    subnetId String
    optional string → The subnet ID of the floating IP pool. Specify this if the floating IP network has multiple subnets.
    subnetIds List<String>
    optional string → A list of external subnet IDs to try over each to allocate a floating IP address. If a subnet ID in a list has exhausted floating IP pool, the next subnet ID will be tried. This argument is used only during the resource creation. Conflicts with a subnet_id argument.
    timeouts NetworkingFloatingipTimeouts
    valueSpecs Map<String,String>
    optional map of string → Map of additional options.
    address string
    optional string → The actual floating IP address itself.
    description string
    optional string → Human-readable description for the floating IP.
    fixedIp string
    optional string → Fixed IP of the port to associate with this floating IP. Required if the port has multiple fixed IPs.
    networkingFloatingipId string
    string → ID of the resource.
    pool string
    required string → The name of the pool from which to obtain the floating IP. Changing this creates a new floating IP.
    portId string
    optional string → ID of an existing port with at least one IP address to associate with this floating IP.
    region string
    optional string → The region in which to obtain the Networking client. A Networking client is needed to create a floating IP that can be used with another networking resource, such as a load balancer. If omitted, the region argument of the provider is used. Changing this creates a new floating IP (which may or may not have a different address).
    sdn string
    optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.
    subnetId string
    optional string → The subnet ID of the floating IP pool. Specify this if the floating IP network has multiple subnets.
    subnetIds string[]
    optional string → A list of external subnet IDs to try over each to allocate a floating IP address. If a subnet ID in a list has exhausted floating IP pool, the next subnet ID will be tried. This argument is used only during the resource creation. Conflicts with a subnet_id argument.
    timeouts NetworkingFloatingipTimeouts
    valueSpecs {[key: string]: string}
    optional map of string → Map of additional options.
    address str
    optional string → The actual floating IP address itself.
    description str
    optional string → Human-readable description for the floating IP.
    fixed_ip str
    optional string → Fixed IP of the port to associate with this floating IP. Required if the port has multiple fixed IPs.
    networking_floatingip_id str
    string → ID of the resource.
    pool str
    required string → The name of the pool from which to obtain the floating IP. Changing this creates a new floating IP.
    port_id str
    optional string → ID of an existing port with at least one IP address to associate with this floating IP.
    region str
    optional string → The region in which to obtain the Networking client. A Networking client is needed to create a floating IP that can be used with another networking resource, such as a load balancer. If omitted, the region argument of the provider is used. Changing this creates a new floating IP (which may or may not have a different address).
    sdn str
    optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.
    subnet_id str
    optional string → The subnet ID of the floating IP pool. Specify this if the floating IP network has multiple subnets.
    subnet_ids Sequence[str]
    optional string → A list of external subnet IDs to try over each to allocate a floating IP address. If a subnet ID in a list has exhausted floating IP pool, the next subnet ID will be tried. This argument is used only during the resource creation. Conflicts with a subnet_id argument.
    timeouts NetworkingFloatingipTimeoutsArgs
    value_specs Mapping[str, str]
    optional map of string → Map of additional options.
    address String
    optional string → The actual floating IP address itself.
    description String
    optional string → Human-readable description for the floating IP.
    fixedIp String
    optional string → Fixed IP of the port to associate with this floating IP. Required if the port has multiple fixed IPs.
    networkingFloatingipId String
    string → ID of the resource.
    pool String
    required string → The name of the pool from which to obtain the floating IP. Changing this creates a new floating IP.
    portId String
    optional string → ID of an existing port with at least one IP address to associate with this floating IP.
    region String
    optional string → The region in which to obtain the Networking client. A Networking client is needed to create a floating IP that can be used with another networking resource, such as a load balancer. If omitted, the region argument of the provider is used. Changing this creates a new floating IP (which may or may not have a different address).
    sdn String
    optional string → SDN to use for this resource. Must be one of following: "neutron", "sprut". Default value is project's default SDN.
    subnetId String
    optional string → The subnet ID of the floating IP pool. Specify this if the floating IP network has multiple subnets.
    subnetIds List<String>
    optional string → A list of external subnet IDs to try over each to allocate a floating IP address. If a subnet ID in a list has exhausted floating IP pool, the next subnet ID will be tried. This argument is used only during the resource creation. Conflicts with a subnet_id argument.
    timeouts Property Map
    valueSpecs Map<String>
    optional map of string → Map of additional options.

    Supporting Types

    NetworkingFloatingipTimeouts, NetworkingFloatingipTimeoutsArgs

    Create string
    Delete string
    Create string
    Delete string
    create String
    delete String
    create string
    delete string
    create str
    delete str
    create String
    delete String

    Import

    Floating IPs can be imported using the id, e.g.

    $ pulumi import vkcs:index/networkingFloatingip:NetworkingFloatingip floatip_1 2c7f39f3-702b-48d1-940c-b50384177ee1
    

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

    Package Details

    Repository
    vkcs vk-cs/terraform-provider-vkcs
    License
    Notes
    This Pulumi package is based on the vkcs Terraform Provider.
    vkcs logo
    vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs