Nutanix v0.5.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg
nutanix.getFloatingIp
Explore with Pulumi AI
Provides a datasource to retrieve floating IPs with floating_ip_uuid .
Using getFloatingIp
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getFloatingIp(args: GetFloatingIpArgs, opts?: InvokeOptions): Promise<GetFloatingIpResult>
function getFloatingIpOutput(args: GetFloatingIpOutputArgs, opts?: InvokeOptions): Output<GetFloatingIpResult>
def get_floating_ip(floating_ip_uuid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFloatingIpResult
def get_floating_ip_output(floating_ip_uuid: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFloatingIpResult]
func LookupFloatingIp(ctx *Context, args *LookupFloatingIpArgs, opts ...InvokeOption) (*LookupFloatingIpResult, error)
func LookupFloatingIpOutput(ctx *Context, args *LookupFloatingIpOutputArgs, opts ...InvokeOption) LookupFloatingIpResultOutput
> Note: This function is named LookupFloatingIp
in the Go SDK.
public static class GetFloatingIp
{
public static Task<GetFloatingIpResult> InvokeAsync(GetFloatingIpArgs args, InvokeOptions? opts = null)
public static Output<GetFloatingIpResult> Invoke(GetFloatingIpInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFloatingIpResult> getFloatingIp(GetFloatingIpArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: nutanix:index/getFloatingIp:getFloatingIp
arguments:
# arguments dictionary
The following arguments are supported:
- Floating
Ip stringUuid - Floating IP UUID
- Floating
Ip stringUuid - Floating IP UUID
- floating
Ip StringUuid - Floating IP UUID
- floating
Ip stringUuid - Floating IP UUID
- floating_
ip_ struuid - Floating IP UUID
- floating
Ip StringUuid - Floating IP UUID
getFloatingIp Result
The following output properties are available:
- Api
Version string - The version of the API.
- Floating
Ip stringUuid - Id string
- The provider-assigned unique ID for this managed resource.
- Metadata Dictionary<string, string>
- The floating_ip kind metadata.
- Specs
List<Piers
Karsenbarg. Nutanix. Outputs. Get Floating Ip Spec> - Floating IP spec
- Statuses
List<Piers
Karsenbarg. Nutanix. Outputs. Get Floating Ip Status> - Floating IP output status
- Api
Version string - The version of the API.
- Floating
Ip stringUuid - Id string
- The provider-assigned unique ID for this managed resource.
- Metadata map[string]string
- The floating_ip kind metadata.
- Specs
[]Get
Floating Ip Spec - Floating IP spec
- Statuses
[]Get
Floating Ip Status - Floating IP output status
- api
Version String - The version of the API.
- floating
Ip StringUuid - id String
- The provider-assigned unique ID for this managed resource.
- metadata Map<String,String>
- The floating_ip kind metadata.
- specs
List<Get
Floating Ip Spec> - Floating IP spec
- statuses
List<Get
Floating Ip Status> - Floating IP output status
- api
Version string - The version of the API.
- floating
Ip stringUuid - id string
- The provider-assigned unique ID for this managed resource.
- metadata {[key: string]: string}
- The floating_ip kind metadata.
- specs
Get
Floating Ip Spec[] - Floating IP spec
- statuses
Get
Floating Ip Status[] - Floating IP output status
- api_
version str - The version of the API.
- floating_
ip_ struuid - id str
- The provider-assigned unique ID for this managed resource.
- metadata Mapping[str, str]
- The floating_ip kind metadata.
- specs
Sequence[Get
Floating Ip Spec] - Floating IP spec
- statuses
Sequence[Get
Floating Ip Status] - Floating IP output status
- api
Version String - The version of the API.
- floating
Ip StringUuid - id String
- The provider-assigned unique ID for this managed resource.
- metadata Map<String>
- The floating_ip kind metadata.
- specs List<Property Map>
- Floating IP spec
- statuses List<Property Map>
- Floating IP output status
Supporting Types
GetFloatingIpSpec
- Resources
List<Piers
Karsenbarg. Nutanix. Inputs. Get Floating Ip Spec Resource> - Floating IP allocation status.
- Resources
[]Get
Floating Ip Spec Resource - Floating IP allocation status.
- resources
List<Get
Floating Ip Spec Resource> - Floating IP allocation status.
- resources
Get
Floating Ip Spec Resource[] - Floating IP allocation status.
- resources
Sequence[Get
Floating Ip Spec Resource] - Floating IP allocation status.
- resources List<Property Map>
- Floating IP allocation status.
GetFloatingIpSpecResource
- External
Subnet Dictionary<string, string>Reference - The reference to a subnet
- Vm
Nic Dictionary<string, string>Reference - The reference to a vm_nic
- Vpc
Reference Dictionary<string, string> - The reference to a vpc
- External
Subnet map[string]stringReference - The reference to a subnet
- Vm
Nic map[string]stringReference - The reference to a vm_nic
- Vpc
Reference map[string]string - The reference to a vpc
- external
Subnet Map<String,String>Reference - The reference to a subnet
- vm
Nic Map<String,String>Reference - The reference to a vm_nic
- vpc
Reference Map<String,String> - The reference to a vpc
- external
Subnet {[key: string]: string}Reference - The reference to a subnet
- vm
Nic {[key: string]: string}Reference - The reference to a vm_nic
- vpc
Reference {[key: string]: string} - The reference to a vpc
- external_
subnet_ Mapping[str, str]reference - The reference to a subnet
- vm_
nic_ Mapping[str, str]reference - The reference to a vm_nic
- vpc_
reference Mapping[str, str] - The reference to a vpc
- external
Subnet Map<String>Reference - The reference to a subnet
- vm
Nic Map<String>Reference - The reference to a vm_nic
- vpc
Reference Map<String> - The reference to a vpc
GetFloatingIpStatus
- Execution
Contexts List<PiersKarsenbarg. Nutanix. Inputs. Get Floating Ip Status Execution Context> - Execution Context of Floating IP.
- Name string
- the name.
- Resources
List<Piers
Karsenbarg. Nutanix. Inputs. Get Floating Ip Status Resource> - Floating IP allocation status.
- State string
- The state of the floating_ip.
- Execution
Contexts []GetFloating Ip Status Execution Context - Execution Context of Floating IP.
- Name string
- the name.
- Resources
[]Get
Floating Ip Status Resource - Floating IP allocation status.
- State string
- The state of the floating_ip.
- execution
Contexts List<GetFloating Ip Status Execution Context> - Execution Context of Floating IP.
- name String
- the name.
- resources
List<Get
Floating Ip Status Resource> - Floating IP allocation status.
- state String
- The state of the floating_ip.
- execution
Contexts GetFloating Ip Status Execution Context[] - Execution Context of Floating IP.
- name string
- the name.
- resources
Get
Floating Ip Status Resource[] - Floating IP allocation status.
- state string
- The state of the floating_ip.
- execution_
contexts Sequence[GetFloating Ip Status Execution Context] - Execution Context of Floating IP.
- name str
- the name.
- resources
Sequence[Get
Floating Ip Status Resource] - Floating IP allocation status.
- state str
- The state of the floating_ip.
- execution
Contexts List<Property Map> - Execution Context of Floating IP.
- name String
- the name.
- resources List<Property Map>
- Floating IP allocation status.
- state String
- The state of the floating_ip.
GetFloatingIpStatusExecutionContext
- Task
Uuids List<string>
- Task
Uuids []string
- task
Uuids List<String>
- task
Uuids string[]
- task_
uuids Sequence[str]
- task
Uuids List<String>
GetFloatingIpStatusResource
- External
Subnet Dictionary<string, string>Reference - The reference to a subnet
- Floating
Ip string - Private IP with which the floating IP is associated.
- Vm
Nic Dictionary<string, string>Reference - The reference to a vm_nic
- Vpc
Reference Dictionary<string, string> - The reference to a vpc
- External
Subnet map[string]stringReference - The reference to a subnet
- Floating
Ip string - Private IP with which the floating IP is associated.
- Vm
Nic map[string]stringReference - The reference to a vm_nic
- Vpc
Reference map[string]string - The reference to a vpc
- external
Subnet Map<String,String>Reference - The reference to a subnet
- floating
Ip String - Private IP with which the floating IP is associated.
- vm
Nic Map<String,String>Reference - The reference to a vm_nic
- vpc
Reference Map<String,String> - The reference to a vpc
- external
Subnet {[key: string]: string}Reference - The reference to a subnet
- floating
Ip string - Private IP with which the floating IP is associated.
- vm
Nic {[key: string]: string}Reference - The reference to a vm_nic
- vpc
Reference {[key: string]: string} - The reference to a vpc
- external_
subnet_ Mapping[str, str]reference - The reference to a subnet
- floating_
ip str - Private IP with which the floating IP is associated.
- vm_
nic_ Mapping[str, str]reference - The reference to a vm_nic
- vpc_
reference Mapping[str, str] - The reference to a vpc
- external
Subnet Map<String>Reference - The reference to a subnet
- floating
Ip String - Private IP with which the floating IP is associated.
- vm
Nic Map<String>Reference - The reference to a vm_nic
- vpc
Reference Map<String> - The reference to a vpc
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanix
Terraform Provider.