Viewing docs for Nutanix v0.11.0
published on Monday, Nov 24, 2025 by Piers Karsenbarg
published on Monday, Nov 24, 2025 by Piers Karsenbarg
Viewing docs for Nutanix v0.11.0
published on Monday, Nov 24, 2025 by Piers Karsenbarg
published on Monday, Nov 24, 2025 by Piers Karsenbarg
Gets hypervisor, CVM & IPMI info of the discovered nodes using their ipv6 address.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pierskarsenbarg/nutanix";
const networkDetails = nutanix.getFoundationNodeNetworkDetails({
ipv6Addresses: [
"<ipv6-address-1>",
"<ipv6-address-2>",
],
timeout: "30",
});
import pulumi
import pulumi_nutanix as nutanix
network_details = nutanix.get_foundation_node_network_details(ipv6_addresses=[
"<ipv6-address-1>",
"<ipv6-address-2>",
],
timeout="30")
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.GetFoundationNodeNetworkDetails(ctx, &nutanix.GetFoundationNodeNetworkDetailsArgs{
Ipv6Addresses: []string{
"<ipv6-address-1>",
"<ipv6-address-2>",
},
Timeout: pulumi.StringRef("30"),
}, 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 networkDetails = Nutanix.GetFoundationNodeNetworkDetails.Invoke(new()
{
Ipv6Addresses = new[]
{
"<ipv6-address-1>",
"<ipv6-address-2>",
},
Timeout = "30",
});
});
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.GetFoundationNodeNetworkDetailsArgs;
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 networkDetails = NutanixFunctions.getFoundationNodeNetworkDetails(GetFoundationNodeNetworkDetailsArgs.builder()
.ipv6Addresses(
"<ipv6-address-1>",
"<ipv6-address-2>")
.timeout("30")
.build());
}
}
variables:
networkDetails:
fn::invoke:
function: nutanix:getFoundationNodeNetworkDetails
arguments:
ipv6Addresses:
- <ipv6-address-1>
- <ipv6-address-2>
timeout: '30'
Using getFoundationNodeNetworkDetails
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 getFoundationNodeNetworkDetails(args: GetFoundationNodeNetworkDetailsArgs, opts?: InvokeOptions): Promise<GetFoundationNodeNetworkDetailsResult>
function getFoundationNodeNetworkDetailsOutput(args: GetFoundationNodeNetworkDetailsOutputArgs, opts?: InvokeOptions): Output<GetFoundationNodeNetworkDetailsResult>def get_foundation_node_network_details(ipv6_addresses: Optional[Sequence[str]] = None,
timeout: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFoundationNodeNetworkDetailsResult
def get_foundation_node_network_details_output(ipv6_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
timeout: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFoundationNodeNetworkDetailsResult]func GetFoundationNodeNetworkDetails(ctx *Context, args *GetFoundationNodeNetworkDetailsArgs, opts ...InvokeOption) (*GetFoundationNodeNetworkDetailsResult, error)
func GetFoundationNodeNetworkDetailsOutput(ctx *Context, args *GetFoundationNodeNetworkDetailsOutputArgs, opts ...InvokeOption) GetFoundationNodeNetworkDetailsResultOutput> Note: This function is named GetFoundationNodeNetworkDetails in the Go SDK.
public static class GetFoundationNodeNetworkDetails
{
public static Task<GetFoundationNodeNetworkDetailsResult> InvokeAsync(GetFoundationNodeNetworkDetailsArgs args, InvokeOptions? opts = null)
public static Output<GetFoundationNodeNetworkDetailsResult> Invoke(GetFoundationNodeNetworkDetailsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetFoundationNodeNetworkDetailsResult> getFoundationNodeNetworkDetails(GetFoundationNodeNetworkDetailsArgs args, InvokeOptions options)
public static Output<GetFoundationNodeNetworkDetailsResult> getFoundationNodeNetworkDetails(GetFoundationNodeNetworkDetailsArgs args, InvokeOptions options)
fn::invoke:
function: nutanix:index/getFoundationNodeNetworkDetails:getFoundationNodeNetworkDetails
arguments:
# arguments dictionaryThe following arguments are supported:
- Ipv6Addresses List<string>
- list of ipv6 addresses
- Timeout string
- timeout in seconds
- Ipv6Addresses []string
- list of ipv6 addresses
- Timeout string
- timeout in seconds
- ipv6Addresses List<String>
- list of ipv6 addresses
- timeout String
- timeout in seconds
- ipv6Addresses string[]
- list of ipv6 addresses
- timeout string
- timeout in seconds
- ipv6_
addresses Sequence[str] - list of ipv6 addresses
- timeout str
- timeout in seconds
- ipv6Addresses List<String>
- list of ipv6 addresses
- timeout String
- timeout in seconds
getFoundationNodeNetworkDetails Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv6Addresses List<string>
- Nodes
List<Piers
Karsenbarg. Nutanix. Outputs. Get Foundation Node Network Details Node> - nodes array.
- Timeout string
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv6Addresses []string
- Nodes
[]Get
Foundation Node Network Details Node - nodes array.
- Timeout string
- id String
- The provider-assigned unique ID for this managed resource.
- ipv6Addresses List<String>
- nodes
List<Get
Foundation Node Network Details Node> - nodes array.
- timeout String
- id string
- The provider-assigned unique ID for this managed resource.
- ipv6Addresses string[]
- nodes
Get
Foundation Node Network Details Node[] - nodes array.
- timeout string
- id str
- The provider-assigned unique ID for this managed resource.
- ipv6_
addresses Sequence[str] - nodes
Sequence[Get
Foundation Node Network Details Node] - nodes array.
- timeout str
- id String
- The provider-assigned unique ID for this managed resource.
- ipv6Addresses List<String>
- nodes List<Property Map>
- nodes array.
- timeout String
Supporting Types
GetFoundationNodeNetworkDetailsNode
- Cvm
Gateway string - Gateway of CVM.
- Cvm
Ip string - CVM IP address.
- Cvm
Netmask string - Netmask of CVM.
- Cvm
Vlan stringId - CVM vlan tag.
- Error string
- Only exists when failed to fetch node_info, with the reason of failure. all other fields will be empty.
- Hypervisor
Gateway string - Gateway of the hypervisor.
- Hypervisor
Hostname string - Hypervisor hostname.
- Hypervisor
Ip string - Hypervisor IP address.
- Hypervisor
Netmask string - Netmask of the hypervisor.
- Ipmi
Gateway string - IPMI gateway.
- Ipmi
Ip string - IPMI IP address.
- Ipmi
Netmask string - IPMI netmask.
- Ipv6Address string
- IPV6 address of the CVM.
- Node
Serial string - Node serial.
- Cvm
Gateway string - Gateway of CVM.
- Cvm
Ip string - CVM IP address.
- Cvm
Netmask string - Netmask of CVM.
- Cvm
Vlan stringId - CVM vlan tag.
- Error string
- Only exists when failed to fetch node_info, with the reason of failure. all other fields will be empty.
- Hypervisor
Gateway string - Gateway of the hypervisor.
- Hypervisor
Hostname string - Hypervisor hostname.
- Hypervisor
Ip string - Hypervisor IP address.
- Hypervisor
Netmask string - Netmask of the hypervisor.
- Ipmi
Gateway string - IPMI gateway.
- Ipmi
Ip string - IPMI IP address.
- Ipmi
Netmask string - IPMI netmask.
- Ipv6Address string
- IPV6 address of the CVM.
- Node
Serial string - Node serial.
- cvm
Gateway String - Gateway of CVM.
- cvm
Ip String - CVM IP address.
- cvm
Netmask String - Netmask of CVM.
- cvm
Vlan StringId - CVM vlan tag.
- error String
- Only exists when failed to fetch node_info, with the reason of failure. all other fields will be empty.
- hypervisor
Gateway String - Gateway of the hypervisor.
- hypervisor
Hostname String - Hypervisor hostname.
- hypervisor
Ip String - Hypervisor IP address.
- hypervisor
Netmask String - Netmask of the hypervisor.
- ipmi
Gateway String - IPMI gateway.
- ipmi
Ip String - IPMI IP address.
- ipmi
Netmask String - IPMI netmask.
- ipv6Address String
- IPV6 address of the CVM.
- node
Serial String - Node serial.
- cvm
Gateway string - Gateway of CVM.
- cvm
Ip string - CVM IP address.
- cvm
Netmask string - Netmask of CVM.
- cvm
Vlan stringId - CVM vlan tag.
- error string
- Only exists when failed to fetch node_info, with the reason of failure. all other fields will be empty.
- hypervisor
Gateway string - Gateway of the hypervisor.
- hypervisor
Hostname string - Hypervisor hostname.
- hypervisor
Ip string - Hypervisor IP address.
- hypervisor
Netmask string - Netmask of the hypervisor.
- ipmi
Gateway string - IPMI gateway.
- ipmi
Ip string - IPMI IP address.
- ipmi
Netmask string - IPMI netmask.
- ipv6Address string
- IPV6 address of the CVM.
- node
Serial string - Node serial.
- cvm_
gateway str - Gateway of CVM.
- cvm_
ip str - CVM IP address.
- cvm_
netmask str - Netmask of CVM.
- cvm_
vlan_ strid - CVM vlan tag.
- error str
- Only exists when failed to fetch node_info, with the reason of failure. all other fields will be empty.
- hypervisor_
gateway str - Gateway of the hypervisor.
- hypervisor_
hostname str - Hypervisor hostname.
- hypervisor_
ip str - Hypervisor IP address.
- hypervisor_
netmask str - Netmask of the hypervisor.
- ipmi_
gateway str - IPMI gateway.
- ipmi_
ip str - IPMI IP address.
- ipmi_
netmask str - IPMI netmask.
- ipv6_
address str - IPV6 address of the CVM.
- node_
serial str - Node serial.
- cvm
Gateway String - Gateway of CVM.
- cvm
Ip String - CVM IP address.
- cvm
Netmask String - Netmask of CVM.
- cvm
Vlan StringId - CVM vlan tag.
- error String
- Only exists when failed to fetch node_info, with the reason of failure. all other fields will be empty.
- hypervisor
Gateway String - Gateway of the hypervisor.
- hypervisor
Hostname String - Hypervisor hostname.
- hypervisor
Ip String - Hypervisor IP address.
- hypervisor
Netmask String - Netmask of the hypervisor.
- ipmi
Gateway String - IPMI gateway.
- ipmi
Ip String - IPMI IP address.
- ipmi
Netmask String - IPMI netmask.
- ipv6Address String
- IPV6 address of the CVM.
- node
Serial String - Node serial.
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanixTerraform Provider.
Viewing docs for Nutanix v0.11.0
published on Monday, Nov 24, 2025 by Piers Karsenbarg
published on Monday, Nov 24, 2025 by Piers Karsenbarg
