edgecenter.Floatingip
Explore with Pulumi AI
A floating IP is a static IP address that can be associated with one of your instances or loadbalancers, allowing it to have a static public IP address. The floating IP can be re-associated to any other instance in the same datacenter.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as edgecenter from "@pulumi/edgecenter";
const floatingIp = new edgecenter.Floatingip("floatingIp", {
metadataMap: {
tag1: "tag1_value",
},
projectId: 1,
regionId: 1,
});
import pulumi
import pulumi_edgecenter as edgecenter
floating_ip = edgecenter.Floatingip("floatingIp",
metadata_map={
"tag1": "tag1_value",
},
project_id=1,
region_id=1)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/edgecenter/edgecenter"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := edgecenter.NewFloatingip(ctx, "floatingIp", &edgecenter.FloatingipArgs{
MetadataMap: pulumi.StringMap{
"tag1": pulumi.String("tag1_value"),
},
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 Edgecenter = Pulumi.Edgecenter;
return await Deployment.RunAsync(() =>
{
var floatingIp = new Edgecenter.Floatingip("floatingIp", new()
{
MetadataMap =
{
{ "tag1", "tag1_value" },
},
ProjectId = 1,
RegionId = 1,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.edgecenter.Floatingip;
import com.pulumi.edgecenter.FloatingipArgs;
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 floatingIp = new Floatingip("floatingIp", FloatingipArgs.builder()
.metadataMap(Map.of("tag1", "tag1_value"))
.projectId(1)
.regionId(1)
.build());
}
}
resources:
floatingIp:
type: edgecenter:Floatingip
properties:
metadataMap:
tag1: tag1_value
projectId: 1
regionId: 1
Create Floatingip Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Floatingip(name: string, args?: FloatingipArgs, opts?: CustomResourceOptions);
@overload
def Floatingip(resource_name: str,
args: Optional[FloatingipArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Floatingip(resource_name: str,
opts: Optional[ResourceOptions] = None,
fixed_ip_address: Optional[str] = None,
floatingip_id: Optional[str] = None,
last_updated: Optional[str] = None,
metadata_map: Optional[Mapping[str, str]] = None,
port_id: Optional[str] = None,
project_id: Optional[float] = None,
project_name: Optional[str] = None,
region_id: Optional[float] = None,
region_name: Optional[str] = None)
func NewFloatingip(ctx *Context, name string, args *FloatingipArgs, opts ...ResourceOption) (*Floatingip, error)
public Floatingip(string name, FloatingipArgs? args = null, CustomResourceOptions? opts = null)
public Floatingip(String name, FloatingipArgs args)
public Floatingip(String name, FloatingipArgs args, CustomResourceOptions options)
type: edgecenter:Floatingip
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 FloatingipArgs
- 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 FloatingipArgs
- 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 FloatingipArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FloatingipArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FloatingipArgs
- 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 floatingipResource = new Edgecenter.Floatingip("floatingipResource", new()
{
FixedIpAddress = "string",
FloatingipId = "string",
LastUpdated = "string",
MetadataMap =
{
{ "string", "string" },
},
PortId = "string",
ProjectId = 0,
ProjectName = "string",
RegionId = 0,
RegionName = "string",
});
example, err := edgecenter.NewFloatingip(ctx, "floatingipResource", &edgecenter.FloatingipArgs{
FixedIpAddress: pulumi.String("string"),
FloatingipId: pulumi.String("string"),
LastUpdated: pulumi.String("string"),
MetadataMap: pulumi.StringMap{
"string": pulumi.String("string"),
},
PortId: pulumi.String("string"),
ProjectId: pulumi.Float64(0),
ProjectName: pulumi.String("string"),
RegionId: pulumi.Float64(0),
RegionName: pulumi.String("string"),
})
var floatingipResource = new Floatingip("floatingipResource", FloatingipArgs.builder()
.fixedIpAddress("string")
.floatingipId("string")
.lastUpdated("string")
.metadataMap(Map.of("string", "string"))
.portId("string")
.projectId(0)
.projectName("string")
.regionId(0)
.regionName("string")
.build());
floatingip_resource = edgecenter.Floatingip("floatingipResource",
fixed_ip_address="string",
floatingip_id="string",
last_updated="string",
metadata_map={
"string": "string",
},
port_id="string",
project_id=0,
project_name="string",
region_id=0,
region_name="string")
const floatingipResource = new edgecenter.Floatingip("floatingipResource", {
fixedIpAddress: "string",
floatingipId: "string",
lastUpdated: "string",
metadataMap: {
string: "string",
},
portId: "string",
projectId: 0,
projectName: "string",
regionId: 0,
regionName: "string",
});
type: edgecenter:Floatingip
properties:
fixedIpAddress: string
floatingipId: string
lastUpdated: string
metadataMap:
string: string
portId: string
projectId: 0
projectName: string
regionId: 0
regionName: string
Floatingip 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 Floatingip resource accepts the following input properties:
- Fixed
Ip stringAddress - The fixed (reserved) IP address that is associated with the floating IP.
- Floatingip
Id string - The ID of this resource.
- Last
Updated string - The timestamp of the last update (use with update context).
- Metadata
Map Dictionary<string, string> - A map containing metadata, for example tags.
- Port
Id string - The ID (uuid) of the network port that the floating IP is associated with.
- Project
Id double - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- Project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- Region
Id double - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- Region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- Fixed
Ip stringAddress - The fixed (reserved) IP address that is associated with the floating IP.
- Floatingip
Id string - The ID of this resource.
- Last
Updated string - The timestamp of the last update (use with update context).
- Metadata
Map map[string]string - A map containing metadata, for example tags.
- Port
Id string - The ID (uuid) of the network port that the floating IP is associated with.
- Project
Id float64 - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- Project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- Region
Id float64 - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- Region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- fixed
Ip StringAddress - The fixed (reserved) IP address that is associated with the floating IP.
- floatingip
Id String - The ID of this resource.
- last
Updated String - The timestamp of the last update (use with update context).
- metadata
Map Map<String,String> - A map containing metadata, for example tags.
- port
Id String - The ID (uuid) of the network port that the floating IP is associated with.
- project
Id Double - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name String - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region
Id Double - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name String - The name of the region. Either 'regionid' or 'regionname' must be specified.
- fixed
Ip stringAddress - The fixed (reserved) IP address that is associated with the floating IP.
- floatingip
Id string - The ID of this resource.
- last
Updated string - The timestamp of the last update (use with update context).
- metadata
Map {[key: string]: string} - A map containing metadata, for example tags.
- port
Id string - The ID (uuid) of the network port that the floating IP is associated with.
- project
Id number - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region
Id number - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- fixed_
ip_ straddress - The fixed (reserved) IP address that is associated with the floating IP.
- floatingip_
id str - The ID of this resource.
- last_
updated str - The timestamp of the last update (use with update context).
- metadata_
map Mapping[str, str] - A map containing metadata, for example tags.
- port_
id str - The ID (uuid) of the network port that the floating IP is associated with.
- project_
id float - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project_
name str - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region_
id float - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region_
name str - The name of the region. Either 'regionid' or 'regionname' must be specified.
- fixed
Ip StringAddress - The fixed (reserved) IP address that is associated with the floating IP.
- floatingip
Id String - The ID of this resource.
- last
Updated String - The timestamp of the last update (use with update context).
- metadata
Map Map<String> - A map containing metadata, for example tags.
- port
Id String - The ID (uuid) of the network port that the floating IP is associated with.
- project
Id Number - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name String - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region
Id Number - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name String - The name of the region. Either 'regionid' or 'regionname' must be specified.
Outputs
All input properties are implicitly available as output properties. Additionally, the Floatingip resource produces the following output properties:
- Created
At string - The timestamp when the floating IP was created.
- Floating
Ip stringAddress - The floating IP address assigned to the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id stringAttached To - The ID (uuid) of the instance, that the floating IP is associated with.
- Instance
Port stringId - The ID (uuid) of the network port of the instance that the floating IP is associated with.
- Load
Balancers stringId Attached To - The ID (uuid) of the loadbalancer, that the floating IP associated with
- Load
Balancers stringPort Id - The ID (uuid) of the network port of the load balancer that the floating IP is associated with.
- Metadata
Read List<FloatingipOnlies Metadata Read Only> - A list of read-only metadata items, e.g. tags.
- Router
Id string - The ID (uuid) of the router that the floating IP is associated with.
- Status string
- The current status of the floating IP. Can be 'DOWN' or 'ACTIVE'.
- Updated
At string - The timestamp when the floating IP was updated.
- Created
At string - The timestamp when the floating IP was created.
- Floating
Ip stringAddress - The floating IP address assigned to the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id stringAttached To - The ID (uuid) of the instance, that the floating IP is associated with.
- Instance
Port stringId - The ID (uuid) of the network port of the instance that the floating IP is associated with.
- Load
Balancers stringId Attached To - The ID (uuid) of the loadbalancer, that the floating IP associated with
- Load
Balancers stringPort Id - The ID (uuid) of the network port of the load balancer that the floating IP is associated with.
- Metadata
Read []FloatingipOnlies Metadata Read Only - A list of read-only metadata items, e.g. tags.
- Router
Id string - The ID (uuid) of the router that the floating IP is associated with.
- Status string
- The current status of the floating IP. Can be 'DOWN' or 'ACTIVE'.
- Updated
At string - The timestamp when the floating IP was updated.
- created
At String - The timestamp when the floating IP was created.
- floating
Ip StringAddress - The floating IP address assigned to the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id StringAttached To - The ID (uuid) of the instance, that the floating IP is associated with.
- instance
Port StringId - The ID (uuid) of the network port of the instance that the floating IP is associated with.
- load
Balancers StringId Attached To - The ID (uuid) of the loadbalancer, that the floating IP associated with
- load
Balancers StringPort Id - The ID (uuid) of the network port of the load balancer that the floating IP is associated with.
- metadata
Read List<FloatingipOnlies Metadata Read Only> - A list of read-only metadata items, e.g. tags.
- router
Id String - The ID (uuid) of the router that the floating IP is associated with.
- status String
- The current status of the floating IP. Can be 'DOWN' or 'ACTIVE'.
- updated
At String - The timestamp when the floating IP was updated.
- created
At string - The timestamp when the floating IP was created.
- floating
Ip stringAddress - The floating IP address assigned to the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Id stringAttached To - The ID (uuid) of the instance, that the floating IP is associated with.
- instance
Port stringId - The ID (uuid) of the network port of the instance that the floating IP is associated with.
- load
Balancers stringId Attached To - The ID (uuid) of the loadbalancer, that the floating IP associated with
- load
Balancers stringPort Id - The ID (uuid) of the network port of the load balancer that the floating IP is associated with.
- metadata
Read FloatingipOnlies Metadata Read Only[] - A list of read-only metadata items, e.g. tags.
- router
Id string - The ID (uuid) of the router that the floating IP is associated with.
- status string
- The current status of the floating IP. Can be 'DOWN' or 'ACTIVE'.
- updated
At string - The timestamp when the floating IP was updated.
- created_
at str - The timestamp when the floating IP was created.
- floating_
ip_ straddress - The floating IP address assigned to the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
id_ strattached_ to - The ID (uuid) of the instance, that the floating IP is associated with.
- instance_
port_ strid - The ID (uuid) of the network port of the instance that the floating IP is associated with.
- load_
balancers_ strid_ attached_ to - The ID (uuid) of the loadbalancer, that the floating IP associated with
- load_
balancers_ strport_ id - The ID (uuid) of the network port of the load balancer that the floating IP is associated with.
- metadata_
read_ Sequence[Floatingiponlies Metadata Read Only] - A list of read-only metadata items, e.g. tags.
- router_
id str - The ID (uuid) of the router that the floating IP is associated with.
- status str
- The current status of the floating IP. Can be 'DOWN' or 'ACTIVE'.
- updated_
at str - The timestamp when the floating IP was updated.
- created
At String - The timestamp when the floating IP was created.
- floating
Ip StringAddress - The floating IP address assigned to the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id StringAttached To - The ID (uuid) of the instance, that the floating IP is associated with.
- instance
Port StringId - The ID (uuid) of the network port of the instance that the floating IP is associated with.
- load
Balancers StringId Attached To - The ID (uuid) of the loadbalancer, that the floating IP associated with
- load
Balancers StringPort Id - The ID (uuid) of the network port of the load balancer that the floating IP is associated with.
- metadata
Read List<Property Map>Onlies - A list of read-only metadata items, e.g. tags.
- router
Id String - The ID (uuid) of the router that the floating IP is associated with.
- status String
- The current status of the floating IP. Can be 'DOWN' or 'ACTIVE'.
- updated
At String - The timestamp when the floating IP was updated.
Look up Existing Floatingip Resource
Get an existing Floatingip 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?: FloatingipState, opts?: CustomResourceOptions): Floatingip
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[str] = None,
fixed_ip_address: Optional[str] = None,
floating_ip_address: Optional[str] = None,
floatingip_id: Optional[str] = None,
instance_id_attached_to: Optional[str] = None,
instance_port_id: Optional[str] = None,
last_updated: Optional[str] = None,
load_balancers_id_attached_to: Optional[str] = None,
load_balancers_port_id: Optional[str] = None,
metadata_map: Optional[Mapping[str, str]] = None,
metadata_read_onlies: Optional[Sequence[FloatingipMetadataReadOnlyArgs]] = None,
port_id: Optional[str] = None,
project_id: Optional[float] = None,
project_name: Optional[str] = None,
region_id: Optional[float] = None,
region_name: Optional[str] = None,
router_id: Optional[str] = None,
status: Optional[str] = None,
updated_at: Optional[str] = None) -> Floatingip
func GetFloatingip(ctx *Context, name string, id IDInput, state *FloatingipState, opts ...ResourceOption) (*Floatingip, error)
public static Floatingip Get(string name, Input<string> id, FloatingipState? state, CustomResourceOptions? opts = null)
public static Floatingip get(String name, Output<String> id, FloatingipState state, CustomResourceOptions options)
resources: _: type: edgecenter:Floatingip 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.
- Created
At string - The timestamp when the floating IP was created.
- Fixed
Ip stringAddress - The fixed (reserved) IP address that is associated with the floating IP.
- Floating
Ip stringAddress - The floating IP address assigned to the resource.
- Floatingip
Id string - The ID of this resource.
- Instance
Id stringAttached To - The ID (uuid) of the instance, that the floating IP is associated with.
- Instance
Port stringId - The ID (uuid) of the network port of the instance that the floating IP is associated with.
- Last
Updated string - The timestamp of the last update (use with update context).
- Load
Balancers stringId Attached To - The ID (uuid) of the loadbalancer, that the floating IP associated with
- Load
Balancers stringPort Id - The ID (uuid) of the network port of the load balancer that the floating IP is associated with.
- Metadata
Map Dictionary<string, string> - A map containing metadata, for example tags.
- Metadata
Read List<FloatingipOnlies Metadata Read Only> - A list of read-only metadata items, e.g. tags.
- Port
Id string - The ID (uuid) of the network port that the floating IP is associated with.
- Project
Id double - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- Project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- Region
Id double - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- Region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- Router
Id string - The ID (uuid) of the router that the floating IP is associated with.
- Status string
- The current status of the floating IP. Can be 'DOWN' or 'ACTIVE'.
- Updated
At string - The timestamp when the floating IP was updated.
- Created
At string - The timestamp when the floating IP was created.
- Fixed
Ip stringAddress - The fixed (reserved) IP address that is associated with the floating IP.
- Floating
Ip stringAddress - The floating IP address assigned to the resource.
- Floatingip
Id string - The ID of this resource.
- Instance
Id stringAttached To - The ID (uuid) of the instance, that the floating IP is associated with.
- Instance
Port stringId - The ID (uuid) of the network port of the instance that the floating IP is associated with.
- Last
Updated string - The timestamp of the last update (use with update context).
- Load
Balancers stringId Attached To - The ID (uuid) of the loadbalancer, that the floating IP associated with
- Load
Balancers stringPort Id - The ID (uuid) of the network port of the load balancer that the floating IP is associated with.
- Metadata
Map map[string]string - A map containing metadata, for example tags.
- Metadata
Read []FloatingipOnlies Metadata Read Only Args - A list of read-only metadata items, e.g. tags.
- Port
Id string - The ID (uuid) of the network port that the floating IP is associated with.
- Project
Id float64 - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- Project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- Region
Id float64 - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- Region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- Router
Id string - The ID (uuid) of the router that the floating IP is associated with.
- Status string
- The current status of the floating IP. Can be 'DOWN' or 'ACTIVE'.
- Updated
At string - The timestamp when the floating IP was updated.
- created
At String - The timestamp when the floating IP was created.
- fixed
Ip StringAddress - The fixed (reserved) IP address that is associated with the floating IP.
- floating
Ip StringAddress - The floating IP address assigned to the resource.
- floatingip
Id String - The ID of this resource.
- instance
Id StringAttached To - The ID (uuid) of the instance, that the floating IP is associated with.
- instance
Port StringId - The ID (uuid) of the network port of the instance that the floating IP is associated with.
- last
Updated String - The timestamp of the last update (use with update context).
- load
Balancers StringId Attached To - The ID (uuid) of the loadbalancer, that the floating IP associated with
- load
Balancers StringPort Id - The ID (uuid) of the network port of the load balancer that the floating IP is associated with.
- metadata
Map Map<String,String> - A map containing metadata, for example tags.
- metadata
Read List<FloatingipOnlies Metadata Read Only> - A list of read-only metadata items, e.g. tags.
- port
Id String - The ID (uuid) of the network port that the floating IP is associated with.
- project
Id Double - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name String - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region
Id Double - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name String - The name of the region. Either 'regionid' or 'regionname' must be specified.
- router
Id String - The ID (uuid) of the router that the floating IP is associated with.
- status String
- The current status of the floating IP. Can be 'DOWN' or 'ACTIVE'.
- updated
At String - The timestamp when the floating IP was updated.
- created
At string - The timestamp when the floating IP was created.
- fixed
Ip stringAddress - The fixed (reserved) IP address that is associated with the floating IP.
- floating
Ip stringAddress - The floating IP address assigned to the resource.
- floatingip
Id string - The ID of this resource.
- instance
Id stringAttached To - The ID (uuid) of the instance, that the floating IP is associated with.
- instance
Port stringId - The ID (uuid) of the network port of the instance that the floating IP is associated with.
- last
Updated string - The timestamp of the last update (use with update context).
- load
Balancers stringId Attached To - The ID (uuid) of the loadbalancer, that the floating IP associated with
- load
Balancers stringPort Id - The ID (uuid) of the network port of the load balancer that the floating IP is associated with.
- metadata
Map {[key: string]: string} - A map containing metadata, for example tags.
- metadata
Read FloatingipOnlies Metadata Read Only[] - A list of read-only metadata items, e.g. tags.
- port
Id string - The ID (uuid) of the network port that the floating IP is associated with.
- project
Id number - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region
Id number - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- router
Id string - The ID (uuid) of the router that the floating IP is associated with.
- status string
- The current status of the floating IP. Can be 'DOWN' or 'ACTIVE'.
- updated
At string - The timestamp when the floating IP was updated.
- created_
at str - The timestamp when the floating IP was created.
- fixed_
ip_ straddress - The fixed (reserved) IP address that is associated with the floating IP.
- floating_
ip_ straddress - The floating IP address assigned to the resource.
- floatingip_
id str - The ID of this resource.
- instance_
id_ strattached_ to - The ID (uuid) of the instance, that the floating IP is associated with.
- instance_
port_ strid - The ID (uuid) of the network port of the instance that the floating IP is associated with.
- last_
updated str - The timestamp of the last update (use with update context).
- load_
balancers_ strid_ attached_ to - The ID (uuid) of the loadbalancer, that the floating IP associated with
- load_
balancers_ strport_ id - The ID (uuid) of the network port of the load balancer that the floating IP is associated with.
- metadata_
map Mapping[str, str] - A map containing metadata, for example tags.
- metadata_
read_ Sequence[Floatingiponlies Metadata Read Only Args] - A list of read-only metadata items, e.g. tags.
- port_
id str - The ID (uuid) of the network port that the floating IP is associated with.
- project_
id float - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project_
name str - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region_
id float - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region_
name str - The name of the region. Either 'regionid' or 'regionname' must be specified.
- router_
id str - The ID (uuid) of the router that the floating IP is associated with.
- status str
- The current status of the floating IP. Can be 'DOWN' or 'ACTIVE'.
- updated_
at str - The timestamp when the floating IP was updated.
- created
At String - The timestamp when the floating IP was created.
- fixed
Ip StringAddress - The fixed (reserved) IP address that is associated with the floating IP.
- floating
Ip StringAddress - The floating IP address assigned to the resource.
- floatingip
Id String - The ID of this resource.
- instance
Id StringAttached To - The ID (uuid) of the instance, that the floating IP is associated with.
- instance
Port StringId - The ID (uuid) of the network port of the instance that the floating IP is associated with.
- last
Updated String - The timestamp of the last update (use with update context).
- load
Balancers StringId Attached To - The ID (uuid) of the loadbalancer, that the floating IP associated with
- load
Balancers StringPort Id - The ID (uuid) of the network port of the load balancer that the floating IP is associated with.
- metadata
Map Map<String> - A map containing metadata, for example tags.
- metadata
Read List<Property Map>Onlies - A list of read-only metadata items, e.g. tags.
- port
Id String - The ID (uuid) of the network port that the floating IP is associated with.
- project
Id Number - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name String - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region
Id Number - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name String - The name of the region. Either 'regionid' or 'regionname' must be specified.
- router
Id String - The ID (uuid) of the router that the floating IP is associated with.
- status String
- The current status of the floating IP. Can be 'DOWN' or 'ACTIVE'.
- updated
At String - The timestamp when the floating IP was updated.
Supporting Types
FloatingipMetadataReadOnly, FloatingipMetadataReadOnlyArgs
Import
import using <project_id>:<region_id>:<floatingip_id> format
$ pulumi import edgecenter:index/floatingip:Floatingip fip1 1:6:447d2959-8ae0-4ca0-8d47-9f050a3637d7
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- edgecenter edge-center/terraform-provider-edgecenter
- License
- Notes
- This Pulumi package is based on the
edgecenter
Terraform Provider.