Package com.pulumi.openstack.networking
Class FloatingIp
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.openstack.networking.FloatingIp
-
public class FloatingIp extends com.pulumi.resources.CustomResource## Import Floating IPs can be imported using the `id`, e.g. ```sh $ pulumi import openstack:networking/floatingIp:FloatingIp floatip_1 2c7f39f3-702b-48d1-940c-b50384177ee1 ```
-
-
Constructor Summary
Constructors Constructor Description FloatingIp(java.lang.String name)FloatingIp(java.lang.String name, FloatingIpArgs args)FloatingIp(java.lang.String name, FloatingIpArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>address()com.pulumi.core.Output<java.util.List<java.lang.String>>allTags()com.pulumi.core.Output<java.util.Optional<java.lang.String>>description()com.pulumi.core.Output<java.lang.String>dnsDomain()com.pulumi.core.Output<java.lang.String>dnsName()com.pulumi.core.Output<java.lang.String>fixedIp()static FloatingIpget(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, FloatingIpState state, com.pulumi.resources.CustomResourceOptions options)Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.lang.String>pool()com.pulumi.core.Output<java.lang.String>portId()com.pulumi.core.Output<java.lang.String>region()com.pulumi.core.Output<java.lang.String>subnetId()com.pulumi.core.Output<java.util.Optional<java.util.List<java.lang.String>>>subnetIds()com.pulumi.core.Output<java.util.Optional<java.util.List<java.lang.String>>>tags()com.pulumi.core.Output<java.lang.String>tenantId()com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>>>valueSpecs()
-
-
-
Constructor Detail
-
FloatingIp
public FloatingIp(java.lang.String name)
- Parameters:
name- The _unique_ name of the resulting resource.
-
FloatingIp
public FloatingIp(java.lang.String name, FloatingIpArgs args)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.
-
FloatingIp
public FloatingIp(java.lang.String name, FloatingIpArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.options- A bag of options that control this resource's behavior.
-
-
Method Detail
-
address
public com.pulumi.core.Output<java.lang.String> address()
- Returns:
- 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.
-
allTags
public com.pulumi.core.Output<java.util.List<java.lang.String>> allTags()
- Returns:
- The collection of tags assigned on the floating IP, which have been explicitly and implicitly added.
-
description
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> description()
- Returns:
- Human-readable description for the floating IP.
-
dnsDomain
public com.pulumi.core.Output<java.lang.String> dnsDomain()
- Returns:
- 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.
-
dnsName
public com.pulumi.core.Output<java.lang.String> dnsName()
- Returns:
- 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.
-
fixedIp
public com.pulumi.core.Output<java.lang.String> fixedIp()
- Returns:
- Fixed IP of the port to associate with this floating IP. Required if the port has multiple fixed IPs.
-
pool
public com.pulumi.core.Output<java.lang.String> pool()
- Returns:
- The name of the pool from which to obtain the floating IP. Changing this creates a new floating IP.
-
portId
public com.pulumi.core.Output<java.lang.String> portId()
- Returns:
- ID of an existing port with at least one IP address to associate with this floating IP.
-
region
public com.pulumi.core.Output<java.lang.String> region()
- Returns:
- 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).
-
subnetId
public com.pulumi.core.Output<java.lang.String> subnetId()
- Returns:
- The subnet ID of the floating IP pool. Specify this if the floating IP network has multiple subnets.
-
subnetIds
public com.pulumi.core.Output<java.util.Optional<java.util.List<java.lang.String>>> subnetIds()
- Returns:
- 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.
-
tags
public com.pulumi.core.Output<java.util.Optional<java.util.List<java.lang.String>>> tags()
- Returns:
- A set of string tags for the floating IP.
-
tenantId
public com.pulumi.core.Output<java.lang.String> tenantId()
- Returns:
- 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)
-
valueSpecs
public com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>>> valueSpecs()
- Returns:
- Map of additional options.
-
get
public static FloatingIp get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable FloatingIpState state, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name- The _unique_ name of the resulting resource.id- The _unique_ provider ID of the resource to lookup.state-options- Optional settings to control the behavior of the CustomResource.
-
-