openstack.networking.FloatingIp
Explore with Pulumi AI
Import
Floating IPs can be imported using the id
, e.g.
$ pulumi import openstack:networking/floatingIp:FloatingIp floatip_1 2c7f39f3-702b-48d1-940c-b50384177ee1
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: FloatingIpArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FloatingIp(resource_name: str,
opts: Optional[ResourceOptions] = None,
pool: Optional[str] = None,
port_id: Optional[str] = None,
dns_domain: Optional[str] = None,
dns_name: Optional[str] = None,
fixed_ip: Optional[str] = None,
description: Optional[str] = None,
address: Optional[str] = None,
region: Optional[str] = None,
subnet_id: Optional[str] = None,
subnet_ids: Optional[Sequence[str]] = None,
tags: Optional[Sequence[str]] = None,
tenant_id: Optional[str] = None,
value_specs: Optional[Mapping[str, str]] = None)
func NewFloatingIp(ctx *Context, name string, args FloatingIpArgs, opts ...ResourceOption) (*FloatingIp, error)
public FloatingIp(string name, FloatingIpArgs args, CustomResourceOptions? opts = null)
public FloatingIp(String name, FloatingIpArgs args)
public FloatingIp(String name, FloatingIpArgs args, CustomResourceOptions options)
type: openstack:networking: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 OpenStack.Networking.FloatingIp("floatingIpResource", new()
{
Pool = "string",
PortId = "string",
DnsDomain = "string",
DnsName = "string",
FixedIp = "string",
Description = "string",
Address = "string",
Region = "string",
SubnetId = "string",
SubnetIds = new[]
{
"string",
},
Tags = new[]
{
"string",
},
TenantId = "string",
ValueSpecs =
{
{ "string", "string" },
},
});
example, err := networking.NewFloatingIp(ctx, "floatingIpResource", &networking.FloatingIpArgs{
Pool: pulumi.String("string"),
PortId: pulumi.String("string"),
DnsDomain: pulumi.String("string"),
DnsName: pulumi.String("string"),
FixedIp: pulumi.String("string"),
Description: pulumi.String("string"),
Address: pulumi.String("string"),
Region: pulumi.String("string"),
SubnetId: pulumi.String("string"),
SubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
Tags: pulumi.StringArray{
pulumi.String("string"),
},
TenantId: pulumi.String("string"),
ValueSpecs: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var floatingIpResource = new FloatingIp("floatingIpResource", FloatingIpArgs.builder()
.pool("string")
.portId("string")
.dnsDomain("string")
.dnsName("string")
.fixedIp("string")
.description("string")
.address("string")
.region("string")
.subnetId("string")
.subnetIds("string")
.tags("string")
.tenantId("string")
.valueSpecs(Map.of("string", "string"))
.build());
floating_ip_resource = openstack.networking.FloatingIp("floatingIpResource",
pool="string",
port_id="string",
dns_domain="string",
dns_name="string",
fixed_ip="string",
description="string",
address="string",
region="string",
subnet_id="string",
subnet_ids=["string"],
tags=["string"],
tenant_id="string",
value_specs={
"string": "string",
})
const floatingIpResource = new openstack.networking.FloatingIp("floatingIpResource", {
pool: "string",
portId: "string",
dnsDomain: "string",
dnsName: "string",
fixedIp: "string",
description: "string",
address: "string",
region: "string",
subnetId: "string",
subnetIds: ["string"],
tags: ["string"],
tenantId: "string",
valueSpecs: {
string: "string",
},
});
type: openstack:networking:FloatingIp
properties:
address: string
description: string
dnsDomain: string
dnsName: string
fixedIp: string
pool: string
portId: string
region: string
subnetId: string
subnetIds:
- string
tags:
- string
tenantId: string
valueSpecs:
string: 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:
- Pool string
- The name of the pool from which to obtain the floating IP. Changing this creates a new floating IP.
- Address string
- The actual/specific floating IP to obtain. By default, non-admin users are not able to specify a floating IP, so you must either be an admin user or have had a custom policy or role applied to your OpenStack user or project.
- Description string
- Human-readable description for the floating IP.
- Dns
Domain string - The floating IP DNS domain. Available, when Neutron DNS extension is enabled. The data in this attribute will be published in an external DNS service when Neutron is configured to integrate with such a service. Changing this creates a new floating IP.
- Dns
Name string - The floating IP DNS name. Available, when Neutron DNS extension is enabled. The data in this attribute will be published in an external DNS service when Neutron is configured to integrate with such a service. Changing this creates a new floating IP.
- Fixed
Ip string - Fixed IP of the port to associate with this floating IP. Required if the port has multiple fixed IPs.
- Port
Id string - ID of an existing port with at least one IP address to associate with this floating IP.
- Region string
- The region in which to obtain the V2 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). - Subnet
Id string - The subnet ID of the floating IP pool. Specify this if the floating IP network has multiple subnets.
- Subnet
Ids List<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. - List<string>
- A set of string tags for the floating IP.
- Tenant
Id string - The target tenant ID in which to allocate the floating IP, if you specify this together with a port_id, make sure the target port belongs to the same tenant. Changing this creates a new floating IP (which may or may not have a different address)
- Value
Specs Dictionary<string, string> - Map of additional options.
- Pool string
- The name of the pool from which to obtain the floating IP. Changing this creates a new floating IP.
- Address string
- The actual/specific floating IP to obtain. By default, non-admin users are not able to specify a floating IP, so you must either be an admin user or have had a custom policy or role applied to your OpenStack user or project.
- Description string
- Human-readable description for the floating IP.
- Dns
Domain string - The floating IP DNS domain. Available, when Neutron DNS extension is enabled. The data in this attribute will be published in an external DNS service when Neutron is configured to integrate with such a service. Changing this creates a new floating IP.
- Dns
Name string - The floating IP DNS name. Available, when Neutron DNS extension is enabled. The data in this attribute will be published in an external DNS service when Neutron is configured to integrate with such a service. Changing this creates a new floating IP.
- Fixed
Ip string - Fixed IP of the port to associate with this floating IP. Required if the port has multiple fixed IPs.
- Port
Id string - ID of an existing port with at least one IP address to associate with this floating IP.
- Region string
- The region in which to obtain the V2 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). - Subnet
Id string - The subnet ID of the floating IP pool. Specify this if the floating IP network has multiple subnets.
- Subnet
Ids []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. - []string
- A set of string tags for the floating IP.
- Tenant
Id string - The target tenant ID in which to allocate the floating IP, if you specify this together with a port_id, make sure the target port belongs to the same tenant. Changing this creates a new floating IP (which may or may not have a different address)
- Value
Specs map[string]string - Map of additional options.
- pool String
- The name of the pool from which to obtain the floating IP. Changing this creates a new floating IP.
- address String
- The actual/specific floating IP to obtain. By default, non-admin users are not able to specify a floating IP, so you must either be an admin user or have had a custom policy or role applied to your OpenStack user or project.
- description String
- Human-readable description for the floating IP.
- dns
Domain String - The floating IP DNS domain. Available, when Neutron DNS extension is enabled. The data in this attribute will be published in an external DNS service when Neutron is configured to integrate with such a service. Changing this creates a new floating IP.
- dns
Name String - The floating IP DNS name. Available, when Neutron DNS extension is enabled. The data in this attribute will be published in an external DNS service when Neutron is configured to integrate with such a service. Changing this creates a new floating IP.
- fixed
Ip String - Fixed IP of the port to associate with this floating IP. Required if the port has multiple fixed IPs.
- port
Id String - ID of an existing port with at least one IP address to associate with this floating IP.
- region String
- The region in which to obtain the V2 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). - subnet
Id String - The subnet ID of the floating IP pool. Specify this if the floating IP network has multiple subnets.
- subnet
Ids List<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. - List<String>
- A set of string tags for the floating IP.
- tenant
Id String - The target tenant ID in which to allocate the floating IP, if you specify this together with a port_id, make sure the target port belongs to the same tenant. Changing this creates a new floating IP (which may or may not have a different address)
- value
Specs Map<String,String> - Map of additional options.
- pool string
- The name of the pool from which to obtain the floating IP. Changing this creates a new floating IP.
- address string
- The actual/specific floating IP to obtain. By default, non-admin users are not able to specify a floating IP, so you must either be an admin user or have had a custom policy or role applied to your OpenStack user or project.
- description string
- Human-readable description for the floating IP.
- dns
Domain string - The floating IP DNS domain. Available, when Neutron DNS extension is enabled. The data in this attribute will be published in an external DNS service when Neutron is configured to integrate with such a service. Changing this creates a new floating IP.
- dns
Name string - The floating IP DNS name. Available, when Neutron DNS extension is enabled. The data in this attribute will be published in an external DNS service when Neutron is configured to integrate with such a service. Changing this creates a new floating IP.
- fixed
Ip string - Fixed IP of the port to associate with this floating IP. Required if the port has multiple fixed IPs.
- port
Id string - ID of an existing port with at least one IP address to associate with this floating IP.
- region string
- The region in which to obtain the V2 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). - subnet
Id string - The subnet ID of the floating IP pool. Specify this if the floating IP network has multiple subnets.
- subnet
Ids 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. - string[]
- A set of string tags for the floating IP.
- tenant
Id string - The target tenant ID in which to allocate the floating IP, if you specify this together with a port_id, make sure the target port belongs to the same tenant. Changing this creates a new floating IP (which may or may not have a different address)
- value
Specs {[key: string]: string} - Map of additional options.
- pool str
- The name of the pool from which to obtain the floating IP. Changing this creates a new floating IP.
- address str
- The actual/specific floating IP to obtain. By default, non-admin users are not able to specify a floating IP, so you must either be an admin user or have had a custom policy or role applied to your OpenStack user or project.
- description str
- Human-readable description for the floating IP.
- dns_
domain str - The floating IP DNS domain. Available, when Neutron DNS extension is enabled. The data in this attribute will be published in an external DNS service when Neutron is configured to integrate with such a service. Changing this creates a new floating IP.
- dns_
name str - The floating IP DNS name. Available, when Neutron DNS extension is enabled. The data in this attribute will be published in an external DNS service when Neutron is configured to integrate with such a service. Changing this creates a new floating IP.
- fixed_
ip str - Fixed IP of the port to associate with this floating IP. Required if the port has multiple fixed IPs.
- port_
id str - ID of an existing port with at least one IP address to associate with this floating IP.
- region str
- The region in which to obtain the V2 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). - subnet_
id str - The subnet ID of the floating IP pool. Specify this if the floating IP network has multiple subnets.
- subnet_
ids Sequence[str] - 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. - Sequence[str]
- A set of string tags for the floating IP.
- tenant_
id str - The target tenant ID in which to allocate the floating IP, if you specify this together with a port_id, make sure the target port belongs to the same tenant. Changing this creates a new floating IP (which may or may not have a different address)
- value_
specs Mapping[str, str] - Map of additional options.
- pool String
- The name of the pool from which to obtain the floating IP. Changing this creates a new floating IP.
- address String
- The actual/specific floating IP to obtain. By default, non-admin users are not able to specify a floating IP, so you must either be an admin user or have had a custom policy or role applied to your OpenStack user or project.
- description String
- Human-readable description for the floating IP.
- dns
Domain String - The floating IP DNS domain. Available, when Neutron DNS extension is enabled. The data in this attribute will be published in an external DNS service when Neutron is configured to integrate with such a service. Changing this creates a new floating IP.
- dns
Name String - The floating IP DNS name. Available, when Neutron DNS extension is enabled. The data in this attribute will be published in an external DNS service when Neutron is configured to integrate with such a service. Changing this creates a new floating IP.
- fixed
Ip String - Fixed IP of the port to associate with this floating IP. Required if the port has multiple fixed IPs.
- port
Id String - ID of an existing port with at least one IP address to associate with this floating IP.
- region String
- The region in which to obtain the V2 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). - subnet
Id String - The subnet ID of the floating IP pool. Specify this if the floating IP network has multiple subnets.
- subnet
Ids List<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. - List<String>
- A set of string tags for the floating IP.
- tenant
Id String - The target tenant ID in which to allocate the floating IP, if you specify this together with a port_id, make sure the target port belongs to the same tenant. Changing this creates a new floating IP (which may or may not have a different address)
- value
Specs Map<String> - Map of additional options.
Outputs
All input properties are implicitly available as output properties. Additionally, the FloatingIp resource produces the following output properties:
- List<string>
- The collection of tags assigned on the floating IP, which have been explicitly and implicitly added.
- Id string
- The provider-assigned unique ID for this managed resource.
- []string
- The collection of tags assigned on the floating IP, which have been explicitly and implicitly added.
- Id string
- The provider-assigned unique ID for this managed resource.
- List<String>
- The collection of tags assigned on the floating IP, which have been explicitly and implicitly added.
- id String
- The provider-assigned unique ID for this managed resource.
- string[]
- The collection of tags assigned on the floating IP, which have been explicitly and implicitly added.
- id string
- The provider-assigned unique ID for this managed resource.
- Sequence[str]
- The collection of tags assigned on the floating IP, which have been explicitly and implicitly added.
- id str
- The provider-assigned unique ID for this managed resource.
- List<String>
- The collection of tags assigned on the floating IP, which have been explicitly and implicitly added.
- id String
- The provider-assigned unique ID for this managed resource.
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,
address: Optional[str] = None,
all_tags: Optional[Sequence[str]] = None,
description: Optional[str] = None,
dns_domain: Optional[str] = None,
dns_name: Optional[str] = None,
fixed_ip: Optional[str] = None,
pool: Optional[str] = None,
port_id: Optional[str] = None,
region: Optional[str] = None,
subnet_id: Optional[str] = None,
subnet_ids: Optional[Sequence[str]] = None,
tags: Optional[Sequence[str]] = None,
tenant_id: Optional[str] = None,
value_specs: Optional[Mapping[str, 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)
Resource lookup is not supported in YAML
- 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.
- Address string
- The actual/specific floating IP to obtain. By default, non-admin users are not able to specify a floating IP, so you must either be an admin user or have had a custom policy or role applied to your OpenStack user or project.
- List<string>
- The collection of tags assigned on the floating IP, which have been explicitly and implicitly added.
- Description string
- Human-readable description for the floating IP.
- Dns
Domain string - The floating IP DNS domain. Available, when Neutron DNS extension is enabled. The data in this attribute will be published in an external DNS service when Neutron is configured to integrate with such a service. Changing this creates a new floating IP.
- Dns
Name string - The floating IP DNS name. Available, when Neutron DNS extension is enabled. The data in this attribute will be published in an external DNS service when Neutron is configured to integrate with such a service. Changing this creates a new floating IP.
- Fixed
Ip string - Fixed IP of the port to associate with this floating IP. Required if the port has multiple fixed IPs.
- Pool string
- The name of the pool from which to obtain the floating IP. Changing this creates a new floating IP.
- Port
Id string - ID of an existing port with at least one IP address to associate with this floating IP.
- Region string
- The region in which to obtain the V2 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). - Subnet
Id string - The subnet ID of the floating IP pool. Specify this if the floating IP network has multiple subnets.
- Subnet
Ids List<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. - List<string>
- A set of string tags for the floating IP.
- Tenant
Id string - The target tenant ID in which to allocate the floating IP, if you specify this together with a port_id, make sure the target port belongs to the same tenant. Changing this creates a new floating IP (which may or may not have a different address)
- Value
Specs Dictionary<string, string> - Map of additional options.
- Address string
- The actual/specific floating IP to obtain. By default, non-admin users are not able to specify a floating IP, so you must either be an admin user or have had a custom policy or role applied to your OpenStack user or project.
- []string
- The collection of tags assigned on the floating IP, which have been explicitly and implicitly added.
- Description string
- Human-readable description for the floating IP.
- Dns
Domain string - The floating IP DNS domain. Available, when Neutron DNS extension is enabled. The data in this attribute will be published in an external DNS service when Neutron is configured to integrate with such a service. Changing this creates a new floating IP.
- Dns
Name string - The floating IP DNS name. Available, when Neutron DNS extension is enabled. The data in this attribute will be published in an external DNS service when Neutron is configured to integrate with such a service. Changing this creates a new floating IP.
- Fixed
Ip string - Fixed IP of the port to associate with this floating IP. Required if the port has multiple fixed IPs.
- Pool string
- The name of the pool from which to obtain the floating IP. Changing this creates a new floating IP.
- Port
Id string - ID of an existing port with at least one IP address to associate with this floating IP.
- Region string
- The region in which to obtain the V2 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). - Subnet
Id string - The subnet ID of the floating IP pool. Specify this if the floating IP network has multiple subnets.
- Subnet
Ids []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. - []string
- A set of string tags for the floating IP.
- Tenant
Id string - The target tenant ID in which to allocate the floating IP, if you specify this together with a port_id, make sure the target port belongs to the same tenant. Changing this creates a new floating IP (which may or may not have a different address)
- Value
Specs map[string]string - Map of additional options.
- address String
- The actual/specific floating IP to obtain. By default, non-admin users are not able to specify a floating IP, so you must either be an admin user or have had a custom policy or role applied to your OpenStack user or project.
- List<String>
- The collection of tags assigned on the floating IP, which have been explicitly and implicitly added.
- description String
- Human-readable description for the floating IP.
- dns
Domain String - The floating IP DNS domain. Available, when Neutron DNS extension is enabled. The data in this attribute will be published in an external DNS service when Neutron is configured to integrate with such a service. Changing this creates a new floating IP.
- dns
Name String - The floating IP DNS name. Available, when Neutron DNS extension is enabled. The data in this attribute will be published in an external DNS service when Neutron is configured to integrate with such a service. Changing this creates a new floating IP.
- fixed
Ip String - Fixed IP of the port to associate with this floating IP. Required if the port has multiple fixed IPs.
- pool String
- The name of the pool from which to obtain the floating IP. Changing this creates a new floating IP.
- port
Id String - ID of an existing port with at least one IP address to associate with this floating IP.
- region String
- The region in which to obtain the V2 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). - subnet
Id String - The subnet ID of the floating IP pool. Specify this if the floating IP network has multiple subnets.
- subnet
Ids List<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. - List<String>
- A set of string tags for the floating IP.
- tenant
Id String - The target tenant ID in which to allocate the floating IP, if you specify this together with a port_id, make sure the target port belongs to the same tenant. Changing this creates a new floating IP (which may or may not have a different address)
- value
Specs Map<String,String> - Map of additional options.
- address string
- The actual/specific floating IP to obtain. By default, non-admin users are not able to specify a floating IP, so you must either be an admin user or have had a custom policy or role applied to your OpenStack user or project.
- string[]
- The collection of tags assigned on the floating IP, which have been explicitly and implicitly added.
- description string
- Human-readable description for the floating IP.
- dns
Domain string - The floating IP DNS domain. Available, when Neutron DNS extension is enabled. The data in this attribute will be published in an external DNS service when Neutron is configured to integrate with such a service. Changing this creates a new floating IP.
- dns
Name string - The floating IP DNS name. Available, when Neutron DNS extension is enabled. The data in this attribute will be published in an external DNS service when Neutron is configured to integrate with such a service. Changing this creates a new floating IP.
- fixed
Ip string - Fixed IP of the port to associate with this floating IP. Required if the port has multiple fixed IPs.
- pool string
- The name of the pool from which to obtain the floating IP. Changing this creates a new floating IP.
- port
Id string - ID of an existing port with at least one IP address to associate with this floating IP.
- region string
- The region in which to obtain the V2 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). - subnet
Id string - The subnet ID of the floating IP pool. Specify this if the floating IP network has multiple subnets.
- subnet
Ids 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. - string[]
- A set of string tags for the floating IP.
- tenant
Id string - The target tenant ID in which to allocate the floating IP, if you specify this together with a port_id, make sure the target port belongs to the same tenant. Changing this creates a new floating IP (which may or may not have a different address)
- value
Specs {[key: string]: string} - Map of additional options.
- address str
- The actual/specific floating IP to obtain. By default, non-admin users are not able to specify a floating IP, so you must either be an admin user or have had a custom policy or role applied to your OpenStack user or project.
- Sequence[str]
- The collection of tags assigned on the floating IP, which have been explicitly and implicitly added.
- description str
- Human-readable description for the floating IP.
- dns_
domain str - The floating IP DNS domain. Available, when Neutron DNS extension is enabled. The data in this attribute will be published in an external DNS service when Neutron is configured to integrate with such a service. Changing this creates a new floating IP.
- dns_
name str - The floating IP DNS name. Available, when Neutron DNS extension is enabled. The data in this attribute will be published in an external DNS service when Neutron is configured to integrate with such a service. Changing this creates a new floating IP.
- fixed_
ip str - Fixed IP of the port to associate with this floating IP. Required if the port has multiple fixed IPs.
- pool str
- The name of the pool from which to obtain the floating IP. Changing this creates a new floating IP.
- port_
id str - ID of an existing port with at least one IP address to associate with this floating IP.
- region str
- The region in which to obtain the V2 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). - subnet_
id str - The subnet ID of the floating IP pool. Specify this if the floating IP network has multiple subnets.
- subnet_
ids Sequence[str] - 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. - Sequence[str]
- A set of string tags for the floating IP.
- tenant_
id str - The target tenant ID in which to allocate the floating IP, if you specify this together with a port_id, make sure the target port belongs to the same tenant. Changing this creates a new floating IP (which may or may not have a different address)
- value_
specs Mapping[str, str] - Map of additional options.
- address String
- The actual/specific floating IP to obtain. By default, non-admin users are not able to specify a floating IP, so you must either be an admin user or have had a custom policy or role applied to your OpenStack user or project.
- List<String>
- The collection of tags assigned on the floating IP, which have been explicitly and implicitly added.
- description String
- Human-readable description for the floating IP.
- dns
Domain String - The floating IP DNS domain. Available, when Neutron DNS extension is enabled. The data in this attribute will be published in an external DNS service when Neutron is configured to integrate with such a service. Changing this creates a new floating IP.
- dns
Name String - The floating IP DNS name. Available, when Neutron DNS extension is enabled. The data in this attribute will be published in an external DNS service when Neutron is configured to integrate with such a service. Changing this creates a new floating IP.
- fixed
Ip String - Fixed IP of the port to associate with this floating IP. Required if the port has multiple fixed IPs.
- pool String
- The name of the pool from which to obtain the floating IP. Changing this creates a new floating IP.
- port
Id String - ID of an existing port with at least one IP address to associate with this floating IP.
- region String
- The region in which to obtain the V2 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). - subnet
Id String - The subnet ID of the floating IP pool. Specify this if the floating IP network has multiple subnets.
- subnet
Ids List<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. - List<String>
- A set of string tags for the floating IP.
- tenant
Id String - The target tenant ID in which to allocate the floating IP, if you specify this together with a port_id, make sure the target port belongs to the same tenant. Changing this creates a new floating IP (which may or may not have a different address)
- value
Specs Map<String> - Map of additional options.
Package Details
- Repository
- OpenStack pulumi/pulumi-openstack
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
openstack
Terraform Provider.