Nutanix v0.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg
nutanix.getFoundationDiscoverNodes
Explore with Pulumi AI
Nutanix v0.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg
Discovers and lists Nutanix-imaged nodes within an IPv6 network.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pulumi/nutanix";
const discoveredNodes = nutanix.getFoundationDiscoverNodes({});
import pulumi
import pulumi_nutanix as nutanix
discovered_nodes = nutanix.get_foundation_discover_nodes()
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.GetFoundationDiscoverNodes(ctx, nil, 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 discoveredNodes = Nutanix.GetFoundationDiscoverNodes.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nutanix.NutanixFunctions;
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 discoveredNodes = NutanixFunctions.getFoundationDiscoverNodes();
}
}
variables:
discoveredNodes:
fn::invoke:
Function: nutanix:getFoundationDiscoverNodes
Arguments: {}
Using getFoundationDiscoverNodes
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 getFoundationDiscoverNodes(opts?: InvokeOptions): Promise<GetFoundationDiscoverNodesResult>
function getFoundationDiscoverNodesOutput(opts?: InvokeOptions): Output<GetFoundationDiscoverNodesResult>
def get_foundation_discover_nodes(opts: Optional[InvokeOptions] = None) -> GetFoundationDiscoverNodesResult
def get_foundation_discover_nodes_output(opts: Optional[InvokeOptions] = None) -> Output[GetFoundationDiscoverNodesResult]
func GetFoundationDiscoverNodes(ctx *Context, opts ...InvokeOption) (*GetFoundationDiscoverNodesResult, error)
func GetFoundationDiscoverNodesOutput(ctx *Context, opts ...InvokeOption) GetFoundationDiscoverNodesResultOutput
> Note: This function is named GetFoundationDiscoverNodes
in the Go SDK.
public static class GetFoundationDiscoverNodes
{
public static Task<GetFoundationDiscoverNodesResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetFoundationDiscoverNodesResult> Invoke(InvokeOptions? opts = null)
}
public static CompletableFuture<GetFoundationDiscoverNodesResult> getFoundationDiscoverNodes(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: nutanix:index/getFoundationDiscoverNodes:getFoundationDiscoverNodes
arguments:
# arguments dictionary
getFoundationDiscoverNodes Result
The following output properties are available:
- Entities
List<Piers
Karsenbarg. Nutanix. Outputs. Get Foundation Discover Nodes Entity> - List of Nutanix-imaged nodes within an IPv6 network
- Id string
- The provider-assigned unique ID for this managed resource.
- Entities
[]Get
Foundation Discover Nodes Entity - List of Nutanix-imaged nodes within an IPv6 network
- Id string
- The provider-assigned unique ID for this managed resource.
- entities
List<Get
Foundation Discover Nodes Entity> - List of Nutanix-imaged nodes within an IPv6 network
- id String
- The provider-assigned unique ID for this managed resource.
- entities
Get
Foundation Discover Nodes Entity[] - List of Nutanix-imaged nodes within an IPv6 network
- id string
- The provider-assigned unique ID for this managed resource.
- entities
Sequence[Get
Foundation Discover Nodes Entity] - List of Nutanix-imaged nodes within an IPv6 network
- id str
- The provider-assigned unique ID for this managed resource.
- entities List<Property Map>
- List of Nutanix-imaged nodes within an IPv6 network
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
GetFoundationDiscoverNodesEntity
- Block
Id string - Chassis serial number.
- Chassis
N int - ID number of the block.
- Model string
- Model name of the node.
- Nodes
List<Piers
Karsenbarg. Nutanix. Inputs. Get Foundation Discover Nodes Entity Node> - Node level properties.
- Block
Id string - Chassis serial number.
- Chassis
N int - ID number of the block.
- Model string
- Model name of the node.
- Nodes
[]Get
Foundation Discover Nodes Entity Node - Node level properties.
- block
Id String - Chassis serial number.
- chassis
N Integer - ID number of the block.
- model String
- Model name of the node.
- nodes
List<Get
Foundation Discover Nodes Entity Node> - Node level properties.
- block
Id string - Chassis serial number.
- chassis
N number - ID number of the block.
- model string
- Model name of the node.
- nodes
Get
Foundation Discover Nodes Entity Node[] - Node level properties.
- block_
id str - Chassis serial number.
- chassis_
n int - ID number of the block.
- model str
- Model name of the node.
- nodes
Sequence[Get
Foundation Discover Nodes Entity Node] - Node level properties.
- block
Id String - Chassis serial number.
- chassis
N Number - ID number of the block.
- model String
- Model name of the node.
- nodes List<Property Map>
- Node level properties.
GetFoundationDiscoverNodesEntityNode
- Cluster
Id string - ID of the cluster the node is part of.
- Configured bool
- Whether the node is configured.
- Current
Cvm stringVlan Tag - vlan tag of cvm.
- Current
Network stringInterface - Current network interface of the node.
- Foundation
Version string - Version of foundation.
- Hypervisor string
- Type of hypervisor installed on the node.
- Hypervisor
Version string - Version of hypervisor installed.
- Ipv6Address string
- IPV6 address of the node.
- Model string
- Model name of the node.
- Node
Position string - Position of the node in the block.
- Node
Serial string - Node serial of the node.
- Node
Uuid string - UUID of the node.
- Nos
Version string - Version of NOS installed on the node.
- Svm
Ip string - IP address of CVM.
- Cluster
Id string - ID of the cluster the node is part of.
- Configured bool
- Whether the node is configured.
- Current
Cvm stringVlan Tag - vlan tag of cvm.
- Current
Network stringInterface - Current network interface of the node.
- Foundation
Version string - Version of foundation.
- Hypervisor string
- Type of hypervisor installed on the node.
- Hypervisor
Version string - Version of hypervisor installed.
- Ipv6Address string
- IPV6 address of the node.
- Model string
- Model name of the node.
- Node
Position string - Position of the node in the block.
- Node
Serial string - Node serial of the node.
- Node
Uuid string - UUID of the node.
- Nos
Version string - Version of NOS installed on the node.
- Svm
Ip string - IP address of CVM.
- cluster
Id String - ID of the cluster the node is part of.
- configured Boolean
- Whether the node is configured.
- current
Cvm StringVlan Tag - vlan tag of cvm.
- current
Network StringInterface - Current network interface of the node.
- foundation
Version String - Version of foundation.
- hypervisor String
- Type of hypervisor installed on the node.
- hypervisor
Version String - Version of hypervisor installed.
- ipv6Address String
- IPV6 address of the node.
- model String
- Model name of the node.
- node
Position String - Position of the node in the block.
- node
Serial String - Node serial of the node.
- node
Uuid String - UUID of the node.
- nos
Version String - Version of NOS installed on the node.
- svm
Ip String - IP address of CVM.
- cluster
Id string - ID of the cluster the node is part of.
- configured boolean
- Whether the node is configured.
- current
Cvm stringVlan Tag - vlan tag of cvm.
- current
Network stringInterface - Current network interface of the node.
- foundation
Version string - Version of foundation.
- hypervisor string
- Type of hypervisor installed on the node.
- hypervisor
Version string - Version of hypervisor installed.
- ipv6Address string
- IPV6 address of the node.
- model string
- Model name of the node.
- node
Position string - Position of the node in the block.
- node
Serial string - Node serial of the node.
- node
Uuid string - UUID of the node.
- nos
Version string - Version of NOS installed on the node.
- svm
Ip string - IP address of CVM.
- cluster_
id str - ID of the cluster the node is part of.
- configured bool
- Whether the node is configured.
- current_
cvm_ strvlan_ tag - vlan tag of cvm.
- current_
network_ strinterface - Current network interface of the node.
- foundation_
version str - Version of foundation.
- hypervisor str
- Type of hypervisor installed on the node.
- hypervisor_
version str - Version of hypervisor installed.
- ipv6_
address str - IPV6 address of the node.
- model str
- Model name of the node.
- node_
position str - Position of the node in the block.
- node_
serial str - Node serial of the node.
- node_
uuid str - UUID of the node.
- nos_
version str - Version of NOS installed on the node.
- svm_
ip str - IP address of CVM.
- cluster
Id String - ID of the cluster the node is part of.
- configured Boolean
- Whether the node is configured.
- current
Cvm StringVlan Tag - vlan tag of cvm.
- current
Network StringInterface - Current network interface of the node.
- foundation
Version String - Version of foundation.
- hypervisor String
- Type of hypervisor installed on the node.
- hypervisor
Version String - Version of hypervisor installed.
- ipv6Address String
- IPV6 address of the node.
- model String
- Model name of the node.
- node
Position String - Position of the node in the block.
- node
Serial String - Node serial of the node.
- node
Uuid String - UUID of the node.
- nos
Version String - Version of NOS installed on the node.
- svm
Ip String - IP address of CVM.
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanix
Terraform Provider.
Nutanix v0.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg