Nutanix v0.7.4 published on Friday, Mar 21, 2025 by Piers Karsenbarg
nutanix.getNdbNetworkAvailableIps
Explore with Pulumi AI
List of available IPs in Network
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pulumi/nutanix";
const network = nutanix.getNdbNetworkAvailableIps({
    profileId: "{{ network_profile_id }}",
});
import pulumi
import pulumi_nutanix as nutanix
network = nutanix.get_ndb_network_available_ips(profile_id="{{ network_profile_id }}")
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.GetNdbNetworkAvailableIps(ctx, &nutanix.GetNdbNetworkAvailableIpsArgs{
			ProfileId: "{{ network_profile_id }}",
		}, 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 network = Nutanix.GetNdbNetworkAvailableIps.Invoke(new()
    {
        ProfileId = "{{ network_profile_id }}",
    });
});
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.GetNdbNetworkAvailableIpsArgs;
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 network = NutanixFunctions.getNdbNetworkAvailableIps(GetNdbNetworkAvailableIpsArgs.builder()
            .profileId("{{ network_profile_id }}")
            .build());
    }
}
variables:
  network:
    fn::invoke:
      function: nutanix:getNdbNetworkAvailableIps
      arguments:
        profileId: '{{ network_profile_id }}'
Using getNdbNetworkAvailableIps
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 getNdbNetworkAvailableIps(args: GetNdbNetworkAvailableIpsArgs, opts?: InvokeOptions): Promise<GetNdbNetworkAvailableIpsResult>
function getNdbNetworkAvailableIpsOutput(args: GetNdbNetworkAvailableIpsOutputArgs, opts?: InvokeOptions): Output<GetNdbNetworkAvailableIpsResult>def get_ndb_network_available_ips(profile_id: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetNdbNetworkAvailableIpsResult
def get_ndb_network_available_ips_output(profile_id: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetNdbNetworkAvailableIpsResult]func GetNdbNetworkAvailableIps(ctx *Context, args *GetNdbNetworkAvailableIpsArgs, opts ...InvokeOption) (*GetNdbNetworkAvailableIpsResult, error)
func GetNdbNetworkAvailableIpsOutput(ctx *Context, args *GetNdbNetworkAvailableIpsOutputArgs, opts ...InvokeOption) GetNdbNetworkAvailableIpsResultOutput> Note: This function is named GetNdbNetworkAvailableIps in the Go SDK.
public static class GetNdbNetworkAvailableIps 
{
    public static Task<GetNdbNetworkAvailableIpsResult> InvokeAsync(GetNdbNetworkAvailableIpsArgs args, InvokeOptions? opts = null)
    public static Output<GetNdbNetworkAvailableIpsResult> Invoke(GetNdbNetworkAvailableIpsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNdbNetworkAvailableIpsResult> getNdbNetworkAvailableIps(GetNdbNetworkAvailableIpsArgs args, InvokeOptions options)
public static Output<GetNdbNetworkAvailableIpsResult> getNdbNetworkAvailableIps(GetNdbNetworkAvailableIpsArgs args, InvokeOptions options)
fn::invoke:
  function: nutanix:index/getNdbNetworkAvailableIps:getNdbNetworkAvailableIps
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Profile
Id string - (Required) Network Profile id.
 
- Profile
Id string - (Required) Network Profile id.
 
- profile
Id String - (Required) Network Profile id.
 
- profile
Id string - (Required) Network Profile id.
 
- profile_
id str - (Required) Network Profile id.
 
- profile
Id String - (Required) Network Profile id.
 
getNdbNetworkAvailableIps Result
The following output properties are available:
- Available
Ips List<PiersKarsenbarg. Nutanix. Outputs. Get Ndb Network Available Ips Available Ip>  - List of network available ips
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Profile
Id string - (Required) Network Profile id.
 
- Available
Ips []GetNdb Network Available Ips Available Ip  - List of network available ips
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Profile
Id string - (Required) Network Profile id.
 
- available
Ips List<GetNdb Network Available Ips Available Ip>  - List of network available ips
 - id String
 - The provider-assigned unique ID for this managed resource.
 - profile
Id String - (Required) Network Profile id.
 
- available
Ips GetNdb Network Available Ips Available Ip[]  - List of network available ips
 - id string
 - The provider-assigned unique ID for this managed resource.
 - profile
Id string - (Required) Network Profile id.
 
- available_
ips Sequence[GetNdb Network Available Ips Available Ip]  - List of network available ips
 - id str
 - The provider-assigned unique ID for this managed resource.
 - profile_
id str - (Required) Network Profile id.
 
- available
Ips List<Property Map> - List of network available ips
 - id String
 - The provider-assigned unique ID for this managed resource.
 - profile
Id String - (Required) Network Profile id.
 
Supporting Types
GetNdbNetworkAvailableIpsAvailableIp      
- Cluster
Id string - cluster id
 - Cluster
Name string - cluster name
 - Id string
 - network profile id
 - Ip
Addresses List<string> - list of available ips in network
 - Managed bool
 - managed by ndb or not
 - Name string
 - Network Name
 - Property
Name string - property name of vlan
 - Type string
 - type of network
 
- Cluster
Id string - cluster id
 - Cluster
Name string - cluster name
 - Id string
 - network profile id
 - Ip
Addresses []string - list of available ips in network
 - Managed bool
 - managed by ndb or not
 - Name string
 - Network Name
 - Property
Name string - property name of vlan
 - Type string
 - type of network
 
- cluster
Id String - cluster id
 - cluster
Name String - cluster name
 - id String
 - network profile id
 - ip
Addresses List<String> - list of available ips in network
 - managed Boolean
 - managed by ndb or not
 - name String
 - Network Name
 - property
Name String - property name of vlan
 - type String
 - type of network
 
- cluster
Id string - cluster id
 - cluster
Name string - cluster name
 - id string
 - network profile id
 - ip
Addresses string[] - list of available ips in network
 - managed boolean
 - managed by ndb or not
 - name string
 - Network Name
 - property
Name string - property name of vlan
 - type string
 - type of network
 
- cluster_
id str - cluster id
 - cluster_
name str - cluster name
 - id str
 - network profile id
 - ip_
addresses Sequence[str] - list of available ips in network
 - managed bool
 - managed by ndb or not
 - name str
 - Network Name
 - property_
name str - property name of vlan
 - type str
 - type of network
 
- cluster
Id String - cluster id
 - cluster
Name String - cluster name
 - id String
 - network profile id
 - ip
Addresses List<String> - list of available ips in network
 - managed Boolean
 - managed by ndb or not
 - name String
 - Network Name
 - property
Name String - property name of vlan
 - type String
 - type of network
 
Package Details
- Repository
 - nutanix pierskarsenbarg/pulumi-nutanix
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
nutanixTerraform Provider.