Nutanix v0.5.0 published on Monday, Nov 4, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: nutanix:index/getFloatingIps:getFloatingIps
arguments:
# arguments dictionary
The following arguments are supported:
- Metadatas
List<Piers
Karsenbarg. Nutanix. Inputs. Get Floating Ips Metadata> - The floating_ip kind metadata.
- Metadatas
[]Get
Floating Ips Metadata - The floating_ip kind metadata.
- metadatas
List<Get
Floating Ips Metadata> - The floating_ip kind metadata.
- metadatas
Get
Floating Ips Metadata[] - The floating_ip kind metadata.
- metadatas
Sequence[Get
Floating Ips Metadata] - The floating_ip kind metadata.
- metadatas List<Property Map>
- The floating_ip kind metadata.
getFloatingIps Result
The following output properties are available:
- Api
Version string - version of the API
- Entities
List<Piers
Karsenbarg. Nutanix. Outputs. Get Floating Ips Entity> - List of Floating IPs.
- Id string
- The provider-assigned unique ID for this managed resource.
- Metadatas
List<Piers
Karsenbarg. Nutanix. Outputs. Get Floating Ips Metadata> - The floating_ip kind metadata.
- Api
Version string - version of the API
- Entities
[]Get
Floating Ips Entity - List of Floating IPs.
- Id string
- The provider-assigned unique ID for this managed resource.
- Metadatas
[]Get
Floating Ips Metadata - The floating_ip kind metadata.
- api
Version String - version of the API
- entities
List<Get
Floating Ips Entity> - List of Floating IPs.
- id String
- The provider-assigned unique ID for this managed resource.
- metadatas
List<Get
Floating Ips Metadata> - The floating_ip kind metadata.
- api
Version string - version of the API
- entities
Get
Floating Ips Entity[] - List of Floating IPs.
- id string
- The provider-assigned unique ID for this managed resource.
- metadatas
Get
Floating Ips Metadata[] - The floating_ip kind metadata.
- api_
version str - version of the API
- entities
Sequence[Get
Floating Ips Entity] - List of Floating IPs.
- id str
- The provider-assigned unique ID for this managed resource.
- metadatas
Sequence[Get
Floating Ips Metadata] - The floating_ip kind metadata.
- api
Version 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<Piers
Karsenbarg. Nutanix. Inputs. Get Floating Ips Entity Spec> - Floating IP spec
- Statuses
List<Piers
Karsenbarg. Nutanix. Inputs. Get Floating Ips Entity Status> - Floating IP output status
- Metadata map[string]string
- The floating_ip kind metadata.
- Specs
[]Get
Floating Ips Entity Spec - Floating IP spec
- Statuses
[]Get
Floating Ips Entity Status - Floating IP output status
- metadata Map<String,String>
- The floating_ip kind metadata.
- specs
List<Get
Floating Ips Entity Spec> - Floating IP spec
- statuses
List<Get
Floating Ips Entity Status> - Floating IP output status
- metadata {[key: string]: string}
- The floating_ip kind metadata.
- specs
Get
Floating Ips Entity Spec[] - Floating IP spec
- statuses
Get
Floating Ips Entity Status[] - Floating IP output status
- metadata Mapping[str, str]
- The floating_ip kind metadata.
- specs
Sequence[Get
Floating Ips Entity Spec] - Floating IP spec
- statuses
Sequence[Get
Floating 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<Piers
Karsenbarg. Nutanix. Inputs. Get Floating Ips Entity Spec Resource> - Floating IP allocation status.
- Resources
[]Get
Floating Ips Entity Spec Resource - Floating IP allocation status.
- resources
List<Get
Floating Ips Entity Spec Resource> - Floating IP allocation status.
- resources
Get
Floating Ips Entity Spec Resource[] - Floating IP allocation status.
- resources
Sequence[Get
Floating Ips Entity Spec Resource] - Floating IP allocation status.
- resources List<Property Map>
- Floating IP allocation status.
GetFloatingIpsEntitySpecResource
- 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
GetFloatingIpsEntityStatus
- Execution
Contexts List<PiersKarsenbarg. Nutanix. Inputs. Get Floating Ips Entity Status Execution Context> - Execution Context of Floating IP.
- Name string
- the name.
- Resources
List<Piers
Karsenbarg. Nutanix. Inputs. Get Floating Ips Entity Status Resource> - Floating IP allocation status.
- State string
- The state of the floating_ip.
- Execution
Contexts []GetFloating Ips Entity Status Execution Context - Execution Context of Floating IP.
- Name string
- the name.
- Resources
[]Get
Floating Ips Entity Status Resource - Floating IP allocation status.
- State string
- The state of the floating_ip.
- execution
Contexts List<GetFloating Ips Entity Status Execution Context> - Execution Context of Floating IP.
- name String
- the name.
- resources
List<Get
Floating Ips Entity Status Resource> - Floating IP allocation status.
- state String
- The state of the floating_ip.
- execution
Contexts GetFloating Ips Entity Status Execution Context[] - Execution Context of Floating IP.
- name string
- the name.
- resources
Get
Floating 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[Get
Floating Ips Entity 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.
GetFloatingIpsEntityStatusExecutionContext
- Task
Uuids List<string>
- Task
Uuids []string
- task
Uuids List<String>
- task
Uuids string[]
- task_
uuids Sequence[str]
- task
Uuids List<String>
GetFloatingIpsEntityStatusResource
- 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
GetFloatingIpsMetadata
- Filter string
- Kind string
- The kind name (Default value: project).
- Length int
- Offset int
- Sort
Attribute string - Sort
Order string - Total
Matches int
- Filter string
- Kind string
- The kind name (Default value: project).
- Length int
- Offset int
- Sort
Attribute string - Sort
Order string - Total
Matches int
- filter String
- kind String
- The kind name (Default value: project).
- length Integer
- offset Integer
- sort
Attribute String - sort
Order String - total
Matches Integer
- filter string
- kind string
- The kind name (Default value: project).
- length number
- offset number
- sort
Attribute string - sort
Order string - total
Matches 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
- sort
Attribute String - sort
Order String - total
Matches Number
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanix
Terraform Provider.