Nutanix v0.7.4 published on Friday, Mar 21, 2025 by Piers Karsenbarg
nutanix.getFloatingIps
Explore with Pulumi AI
Provides a datasource to retrieve all the floating IPs .
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pulumi/nutanix";
const test = nutanix.getFloatingIps({});
import pulumi
import pulumi_nutanix as nutanix
test = nutanix.get_floating_ips()
package main
import (
	"github.com/pierskarsenbarg/pulumi-nutanix/sdk/go/nutanix"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := nutanix.GetFloatingIps(ctx, &nutanix.GetFloatingIpsArgs{}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nutanix = Pulumi.Nutanix;
return await Deployment.RunAsync(() => 
{
    var test = Nutanix.GetFloatingIps.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nutanix.NutanixFunctions;
import com.pulumi.nutanix.inputs.GetFloatingIpsArgs;
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) {
        final var test = NutanixFunctions.getFloatingIps();
    }
}
variables:
  test:
    fn::invoke:
      function: nutanix:getFloatingIps
      arguments: {}
Using getFloatingIps
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 getFloatingIps(args: GetFloatingIpsArgs, opts?: InvokeOptions): Promise<GetFloatingIpsResult>
function getFloatingIpsOutput(args: GetFloatingIpsOutputArgs, opts?: InvokeOptions): Output<GetFloatingIpsResult>def get_floating_ips(metadatas: Optional[Sequence[GetFloatingIpsMetadata]] = None,
                     opts: Optional[InvokeOptions] = None) -> GetFloatingIpsResult
def get_floating_ips_output(metadatas: Optional[pulumi.Input[Sequence[pulumi.Input[GetFloatingIpsMetadataArgs]]]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetFloatingIpsResult]func GetFloatingIps(ctx *Context, args *GetFloatingIpsArgs, opts ...InvokeOption) (*GetFloatingIpsResult, error)
func GetFloatingIpsOutput(ctx *Context, args *GetFloatingIpsOutputArgs, opts ...InvokeOption) GetFloatingIpsResultOutput> Note: This function is named GetFloatingIps in the Go SDK.
public static class GetFloatingIps 
{
    public static Task<GetFloatingIpsResult> InvokeAsync(GetFloatingIpsArgs args, InvokeOptions? opts = null)
    public static Output<GetFloatingIpsResult> Invoke(GetFloatingIpsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetFloatingIpsResult> getFloatingIps(GetFloatingIpsArgs args, InvokeOptions options)
public static Output<GetFloatingIpsResult> getFloatingIps(GetFloatingIpsArgs args, InvokeOptions options)
fn::invoke:
  function: nutanix:index/getFloatingIps:getFloatingIps
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Metadatas
List<PiersKarsenbarg. Nutanix. Inputs. Get Floating Ips Metadata> 
- The floating_ip kind metadata.
 
- Metadatas
[]GetFloating Ips Metadata 
- The floating_ip kind metadata.
 
- metadatas
List<GetFloating Ips Metadata> 
- The floating_ip kind metadata.
 
- metadatas
GetFloating Ips Metadata[] 
- The floating_ip kind metadata.
 
- metadatas
Sequence[GetFloating Ips Metadata] 
- The floating_ip kind metadata.
 
- metadatas List<Property Map>
- The floating_ip kind metadata.
 
getFloatingIps Result
The following output properties are available:
- ApiVersion string
- version of the API
- Entities
List<PiersKarsenbarg. Nutanix. Outputs. Get Floating Ips Entity> 
- List of Floating IPs.
- Id string
- The provider-assigned unique ID for this managed resource.
- Metadatas
List<PiersKarsenbarg. Nutanix. Outputs. Get Floating Ips Metadata> 
- The floating_ip kind metadata.
 
- ApiVersion string
- version of the API
- Entities
[]GetFloating Ips Entity 
- List of Floating IPs.
- Id string
- The provider-assigned unique ID for this managed resource.
- Metadatas
[]GetFloating Ips Metadata 
- The floating_ip kind metadata.
 
- apiVersion String
- version of the API
- entities
List<GetFloating Ips Entity> 
- List of Floating IPs.
- id String
- The provider-assigned unique ID for this managed resource.
- metadatas
List<GetFloating Ips Metadata> 
- The floating_ip kind metadata.
 
- apiVersion string
- version of the API
- entities
GetFloating Ips Entity[] 
- List of Floating IPs.
- id string
- The provider-assigned unique ID for this managed resource.
- metadatas
GetFloating Ips Metadata[] 
- The floating_ip kind metadata.
 
- api_version str
- version of the API
- entities
Sequence[GetFloating Ips Entity] 
- List of Floating IPs.
- id str
- The provider-assigned unique ID for this managed resource.
- metadatas
Sequence[GetFloating Ips Metadata] 
- The floating_ip kind metadata.
 
- apiVersion String
- version of the API
- entities List<Property Map>
- List of Floating IPs.
- id String
- The provider-assigned unique ID for this managed resource.
- metadatas List<Property Map>
- The floating_ip kind metadata.
 
Supporting Types
GetFloatingIpsEntity   
- Metadata Dictionary<string, string>
- The floating_ip kind metadata.
 
- Specs
List<PiersKarsenbarg. Nutanix. Inputs. Get Floating Ips Entity Spec> 
- Floating IP spec
- Statuses
List<PiersKarsenbarg. Nutanix. Inputs. Get Floating Ips Entity Status> 
- Floating IP output status
- Metadata map[string]string
- The floating_ip kind metadata.
 
- Specs
[]GetFloating Ips Entity Spec 
- Floating IP spec
- Statuses
[]GetFloating Ips Entity Status 
- Floating IP output status
- metadata Map<String,String>
- The floating_ip kind metadata.
 
- specs
List<GetFloating Ips Entity Spec> 
- Floating IP spec
- statuses
List<GetFloating Ips Entity Status> 
- Floating IP output status
- metadata {[key: string]: string}
- The floating_ip kind metadata.
 
- specs
GetFloating Ips Entity Spec[] 
- Floating IP spec
- statuses
GetFloating Ips Entity Status[] 
- Floating IP output status
- metadata Mapping[str, str]
- The floating_ip kind metadata.
 
- specs
Sequence[GetFloating Ips Entity Spec] 
- Floating IP spec
- statuses
Sequence[GetFloating Ips Entity Status] 
- Floating IP output status
- metadata Map<String>
- The floating_ip kind metadata.
 
- specs List<Property Map>
- Floating IP spec
- statuses List<Property Map>
- Floating IP output status
GetFloatingIpsEntitySpec    
- Resources
List<PiersKarsenbarg. Nutanix. Inputs. Get Floating Ips Entity Spec Resource> 
- Floating IP allocation status.
- Resources
[]GetFloating Ips Entity Spec Resource 
- Floating IP allocation status.
- resources
List<GetFloating Ips Entity Spec Resource> 
- Floating IP allocation status.
- resources
GetFloating Ips Entity Spec Resource[] 
- Floating IP allocation status.
- resources
Sequence[GetFloating Ips Entity Spec Resource] 
- Floating IP allocation status.
- resources List<Property Map>
- Floating IP allocation status.
GetFloatingIpsEntitySpecResource     
- ExternalSubnet Dictionary<string, string>Reference 
- The reference to a subnet
- VmNic Dictionary<string, string>Reference 
- The reference to a vm_nic
- VpcReference Dictionary<string, string>
- The reference to a vpc
- ExternalSubnet map[string]stringReference 
- The reference to a subnet
- VmNic map[string]stringReference 
- The reference to a vm_nic
- VpcReference map[string]string
- The reference to a vpc
- externalSubnet Map<String,String>Reference 
- The reference to a subnet
- vmNic Map<String,String>Reference 
- The reference to a vm_nic
- vpcReference Map<String,String>
- The reference to a vpc
- externalSubnet {[key: string]: string}Reference 
- The reference to a subnet
- vmNic {[key: string]: string}Reference 
- The reference to a vm_nic
- vpcReference {[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
- externalSubnet Map<String>Reference 
- The reference to a subnet
- vmNic Map<String>Reference 
- The reference to a vm_nic
- vpcReference Map<String>
- The reference to a vpc
GetFloatingIpsEntityStatus    
- ExecutionContexts List<PiersKarsenbarg. Nutanix. Inputs. Get Floating Ips Entity Status Execution Context> 
- Execution Context of Floating IP.
- Name string
- the name.
 
- Resources
List<PiersKarsenbarg. Nutanix. Inputs. Get Floating Ips Entity Status Resource> 
- Floating IP allocation status.
- State string
- The state of the floating_ip.
- ExecutionContexts []GetFloating Ips Entity Status Execution Context 
- Execution Context of Floating IP.
- Name string
- the name.
 
- Resources
[]GetFloating Ips Entity Status Resource 
- Floating IP allocation status.
- State string
- The state of the floating_ip.
- executionContexts List<GetFloating Ips Entity Status Execution Context> 
- Execution Context of Floating IP.
- name String
- the name.
 
- resources
List<GetFloating Ips Entity Status Resource> 
- Floating IP allocation status.
- state String
- The state of the floating_ip.
- executionContexts GetFloating Ips Entity Status Execution Context[] 
- Execution Context of Floating IP.
- name string
- the name.
 
- resources
GetFloating Ips Entity Status Resource[] 
- Floating IP allocation status.
- state string
- The state of the floating_ip.
- execution_contexts Sequence[GetFloating Ips Entity Status Execution Context] 
- Execution Context of Floating IP.
- name str
- the name.
 
- resources
Sequence[GetFloating Ips Entity Status Resource] 
- Floating IP allocation status.
- state str
- The state of the floating_ip.
- executionContexts 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.
GetFloatingIpsEntityStatusExecutionContext      
- TaskUuids List<string>
- TaskUuids []string
- taskUuids List<String>
- taskUuids string[]
- task_uuids Sequence[str]
- taskUuids List<String>
GetFloatingIpsEntityStatusResource     
- ExternalSubnet Dictionary<string, string>Reference 
- The reference to a subnet
- FloatingIp string
- Private IP with which the floating IP is associated.
- VmNic Dictionary<string, string>Reference 
- The reference to a vm_nic
- VpcReference Dictionary<string, string>
- The reference to a vpc
- ExternalSubnet map[string]stringReference 
- The reference to a subnet
- FloatingIp string
- Private IP with which the floating IP is associated.
- VmNic map[string]stringReference 
- The reference to a vm_nic
- VpcReference map[string]string
- The reference to a vpc
- externalSubnet Map<String,String>Reference 
- The reference to a subnet
- floatingIp String
- Private IP with which the floating IP is associated.
- vmNic Map<String,String>Reference 
- The reference to a vm_nic
- vpcReference Map<String,String>
- The reference to a vpc
- externalSubnet {[key: string]: string}Reference 
- The reference to a subnet
- floatingIp string
- Private IP with which the floating IP is associated.
- vmNic {[key: string]: string}Reference 
- The reference to a vm_nic
- vpcReference {[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
- externalSubnet Map<String>Reference 
- The reference to a subnet
- floatingIp String
- Private IP with which the floating IP is associated.
- vmNic Map<String>Reference 
- The reference to a vm_nic
- vpcReference Map<String>
- The reference to a vpc
GetFloatingIpsMetadata   
- Filter string
- Kind string
- The kind name (Default value: project).
 
- Length int
- Offset int
- SortAttribute string
- SortOrder string
- TotalMatches int
- Filter string
- Kind string
- The kind name (Default value: project).
 
- Length int
- Offset int
- SortAttribute string
- SortOrder string
- TotalMatches int
- filter String
- kind String
- The kind name (Default value: project).
 
- length Integer
- offset Integer
- sortAttribute String
- sortOrder String
- totalMatches Integer
- filter string
- kind string
- The kind name (Default value: project).
 
- length number
- offset number
- sortAttribute string
- sortOrder string
- totalMatches number
- filter str
- kind str
- The kind name (Default value: project).
 
- length int
- offset int
- sort_attribute str
- sort_order str
- total_matches int
- filter String
- kind String
- The kind name (Default value: project).
 
- length Number
- offset Number
- sortAttribute String
- sortOrder String
- totalMatches Number
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the nutanixTerraform Provider.
