1. Packages
  2. Nutanix
  3. API Docs
  4. getFoundationCentralImagedNodesList
Nutanix v0.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg

nutanix.getFoundationCentralImagedNodesList

Explore with Pulumi AI

nutanix logo
Nutanix v0.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg

    List all the nodes registered with Foundation Central

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as nutanix from "@pulumi/nutanix";
    
    const nodesList = nutanix.getFoundationCentralImagedNodesList({});
    
    import pulumi
    import pulumi_nutanix as nutanix
    
    nodes_list = nutanix.get_foundation_central_imaged_nodes_list()
    
    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.GetFoundationCentralImagedNodesList(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 nodesList = Nutanix.GetFoundationCentralImagedNodesList.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.GetFoundationCentralImagedNodesListArgs;
    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 nodesList = NutanixFunctions.getFoundationCentralImagedNodesList();
    
        }
    }
    
    variables:
      nodesList:
        fn::invoke:
          Function: nutanix:getFoundationCentralImagedNodesList
          Arguments: {}
    

    Using getFoundationCentralImagedNodesList

    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 getFoundationCentralImagedNodesList(args: GetFoundationCentralImagedNodesListArgs, opts?: InvokeOptions): Promise<GetFoundationCentralImagedNodesListResult>
    function getFoundationCentralImagedNodesListOutput(args: GetFoundationCentralImagedNodesListOutputArgs, opts?: InvokeOptions): Output<GetFoundationCentralImagedNodesListResult>
    def get_foundation_central_imaged_nodes_list(filters: Optional[GetFoundationCentralImagedNodesListFilters] = None,
                                                 length: Optional[int] = None,
                                                 offset: Optional[int] = None,
                                                 opts: Optional[InvokeOptions] = None) -> GetFoundationCentralImagedNodesListResult
    def get_foundation_central_imaged_nodes_list_output(filters: Optional[pulumi.Input[GetFoundationCentralImagedNodesListFiltersArgs]] = None,
                                                 length: Optional[pulumi.Input[int]] = None,
                                                 offset: Optional[pulumi.Input[int]] = None,
                                                 opts: Optional[InvokeOptions] = None) -> Output[GetFoundationCentralImagedNodesListResult]
    func GetFoundationCentralImagedNodesList(ctx *Context, args *GetFoundationCentralImagedNodesListArgs, opts ...InvokeOption) (*GetFoundationCentralImagedNodesListResult, error)
    func GetFoundationCentralImagedNodesListOutput(ctx *Context, args *GetFoundationCentralImagedNodesListOutputArgs, opts ...InvokeOption) GetFoundationCentralImagedNodesListResultOutput

    > Note: This function is named GetFoundationCentralImagedNodesList in the Go SDK.

    public static class GetFoundationCentralImagedNodesList 
    {
        public static Task<GetFoundationCentralImagedNodesListResult> InvokeAsync(GetFoundationCentralImagedNodesListArgs args, InvokeOptions? opts = null)
        public static Output<GetFoundationCentralImagedNodesListResult> Invoke(GetFoundationCentralImagedNodesListInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFoundationCentralImagedNodesListResult> getFoundationCentralImagedNodesList(GetFoundationCentralImagedNodesListArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: nutanix:index/getFoundationCentralImagedNodesList:getFoundationCentralImagedNodesList
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Filters PiersKarsenbarg.Nutanix.Inputs.GetFoundationCentralImagedNodesListFilters
    Length int
    The number of records retrieved.
    Offset int
    Offset from the start of the object list.
    Filters GetFoundationCentralImagedNodesListFilters
    Length int
    The number of records retrieved.
    Offset int
    Offset from the start of the object list.
    filters GetFoundationCentralImagedNodesListFilters
    length Integer
    The number of records retrieved.
    offset Integer
    Offset from the start of the object list.
    filters GetFoundationCentralImagedNodesListFilters
    length number
    The number of records retrieved.
    offset number
    Offset from the start of the object list.
    filters GetFoundationCentralImagedNodesListFilters
    length int
    The number of records retrieved.
    offset int
    Offset from the start of the object list.
    filters Property Map
    length Number
    The number of records retrieved.
    offset Number
    Offset from the start of the object list.

    getFoundationCentralImagedNodesList Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    ImagedNodes List<PiersKarsenbarg.Nutanix.Outputs.GetFoundationCentralImagedNodesListImagedNode>
    Metadatas List<PiersKarsenbarg.Nutanix.Outputs.GetFoundationCentralImagedNodesListMetadata>
    List metadata output for all list apis.
    Filters PiersKarsenbarg.Nutanix.Outputs.GetFoundationCentralImagedNodesListFilters
    Length int
    The number of records retrieved.
    Offset int
    Offset from the start of the object list.
    Id string
    The provider-assigned unique ID for this managed resource.
    ImagedNodes []GetFoundationCentralImagedNodesListImagedNode
    Metadatas []GetFoundationCentralImagedNodesListMetadata
    List metadata output for all list apis.
    Filters GetFoundationCentralImagedNodesListFilters
    Length int
    The number of records retrieved.
    Offset int
    Offset from the start of the object list.
    id String
    The provider-assigned unique ID for this managed resource.
    imagedNodes List<GetFoundationCentralImagedNodesListImagedNode>
    metadatas List<GetFoundationCentralImagedNodesListMetadata>
    List metadata output for all list apis.
    filters GetFoundationCentralImagedNodesListFilters
    length Integer
    The number of records retrieved.
    offset Integer
    Offset from the start of the object list.
    id string
    The provider-assigned unique ID for this managed resource.
    imagedNodes GetFoundationCentralImagedNodesListImagedNode[]
    metadatas GetFoundationCentralImagedNodesListMetadata[]
    List metadata output for all list apis.
    filters GetFoundationCentralImagedNodesListFilters
    length number
    The number of records retrieved.
    offset number
    Offset from the start of the object list.
    id str
    The provider-assigned unique ID for this managed resource.
    imaged_nodes Sequence[GetFoundationCentralImagedNodesListImagedNode]
    metadatas Sequence[GetFoundationCentralImagedNodesListMetadata]
    List metadata output for all list apis.
    filters GetFoundationCentralImagedNodesListFilters
    length int
    The number of records retrieved.
    offset int
    Offset from the start of the object list.
    id String
    The provider-assigned unique ID for this managed resource.
    imagedNodes List<Property Map>
    metadatas List<Property Map>
    List metadata output for all list apis.
    filters Property Map
    length Number
    The number of records retrieved.
    offset Number
    Offset from the start of the object list.

    Supporting Types

    GetFoundationCentralImagedNodesListFilters

    NodeState string
    Specifies whether the node is discovering, available or unavailable for cluster creation.
    NodeState string
    Specifies whether the node is discovering, available or unavailable for cluster creation.
    nodeState String
    Specifies whether the node is discovering, available or unavailable for cluster creation.
    nodeState string
    Specifies whether the node is discovering, available or unavailable for cluster creation.
    node_state str
    Specifies whether the node is discovering, available or unavailable for cluster creation.
    nodeState String
    Specifies whether the node is discovering, available or unavailable for cluster creation.

    GetFoundationCentralImagedNodesListImagedNode

    AosVersion string
    AOS version currently installed on the node.
    ApiKeyUuid string
    API key used to register the node.
    Available bool
    Specifies whether the node is available for cluster creation.
    BlockSerial string
    Serial number of the block to which the node belongs.
    CreatedTimestamp string
    Time when the node was discovered in Foundation Central.
    CurrentTime string
    Current time of Foundation Central.
    CvmGateway string
    gateway of the cvm.
    CvmIp string
    IP address of the cvm.
    CvmIpv6 string
    IPv6 address of the cvm.
    CvmNetmask string
    netmask of the cvm.
    CvmUp bool
    Denotes whether the CVM is up or not on this node.
    CvmUuid string
    Node UUID from the node's cvm.
    CvmVlanId int
    Vlan tag of the cvm, if the cvm is on a vlan.
    FoundationVersion string
    Foundation version installed on the node.
    HardwareAttributes Dictionary<string, string>
    Hardware attributes json of the node.
    HypervisorGateway string
    gateway of the hypervisor.
    HypervisorHostname string
    Name of the hypervisor host.
    HypervisorIp string
    IP address of the hypervisor.
    HypervisorNetmask string
    netmask of the hypervisor.
    HypervisorType string
    Hypervisor type currently installed on the node. Must be one of {kvm, esx, hyperv}.
    HypervisorVersion string
    Version of the hypervisor currently installed on the node.
    ImagedClusterUuid string
    UUID of the cluster to which the node belongs, if any.
    ImagedNodeUuid string
    UUID of the node.
    IpmiGateway string
    gateway of the ipmi.
    IpmiIp string
    IP address of the ipmi.
    IpmiNetmask string
    netmask of the ipmi.
    Ipv6Interface string
    Name of the cvm interface having ipv6 address.
    LatestHbTsLists List<string>
    List of timestamps when the node has sent heartbeats to Foundation Central.
    Model string
    Model of the node.
    NodePosition string
    Position of the node in the block.
    NodeSerial string
    Serial number of the node.
    NodeState string
    Specifies whether the node is discovering, available or unavailable for cluster creation.
    NodeType string
    Specifies the type of node - on-prem, AWS, GCP etc.
    ObjectVersion int
    Version of the node used for CAS.
    SupportedFeatures List<string>
    AosVersion string
    AOS version currently installed on the node.
    ApiKeyUuid string
    API key used to register the node.
    Available bool
    Specifies whether the node is available for cluster creation.
    BlockSerial string
    Serial number of the block to which the node belongs.
    CreatedTimestamp string
    Time when the node was discovered in Foundation Central.
    CurrentTime string
    Current time of Foundation Central.
    CvmGateway string
    gateway of the cvm.
    CvmIp string
    IP address of the cvm.
    CvmIpv6 string
    IPv6 address of the cvm.
    CvmNetmask string
    netmask of the cvm.
    CvmUp bool
    Denotes whether the CVM is up or not on this node.
    CvmUuid string
    Node UUID from the node's cvm.
    CvmVlanId int
    Vlan tag of the cvm, if the cvm is on a vlan.
    FoundationVersion string
    Foundation version installed on the node.
    HardwareAttributes map[string]string
    Hardware attributes json of the node.
    HypervisorGateway string
    gateway of the hypervisor.
    HypervisorHostname string
    Name of the hypervisor host.
    HypervisorIp string
    IP address of the hypervisor.
    HypervisorNetmask string
    netmask of the hypervisor.
    HypervisorType string
    Hypervisor type currently installed on the node. Must be one of {kvm, esx, hyperv}.
    HypervisorVersion string
    Version of the hypervisor currently installed on the node.
    ImagedClusterUuid string
    UUID of the cluster to which the node belongs, if any.
    ImagedNodeUuid string
    UUID of the node.
    IpmiGateway string
    gateway of the ipmi.
    IpmiIp string
    IP address of the ipmi.
    IpmiNetmask string
    netmask of the ipmi.
    Ipv6Interface string
    Name of the cvm interface having ipv6 address.
    LatestHbTsLists []string
    List of timestamps when the node has sent heartbeats to Foundation Central.
    Model string
    Model of the node.
    NodePosition string
    Position of the node in the block.
    NodeSerial string
    Serial number of the node.
    NodeState string
    Specifies whether the node is discovering, available or unavailable for cluster creation.
    NodeType string
    Specifies the type of node - on-prem, AWS, GCP etc.
    ObjectVersion int
    Version of the node used for CAS.
    SupportedFeatures []string
    aosVersion String
    AOS version currently installed on the node.
    apiKeyUuid String
    API key used to register the node.
    available Boolean
    Specifies whether the node is available for cluster creation.
    blockSerial String
    Serial number of the block to which the node belongs.
    createdTimestamp String
    Time when the node was discovered in Foundation Central.
    currentTime String
    Current time of Foundation Central.
    cvmGateway String
    gateway of the cvm.
    cvmIp String
    IP address of the cvm.
    cvmIpv6 String
    IPv6 address of the cvm.
    cvmNetmask String
    netmask of the cvm.
    cvmUp Boolean
    Denotes whether the CVM is up or not on this node.
    cvmUuid String
    Node UUID from the node's cvm.
    cvmVlanId Integer
    Vlan tag of the cvm, if the cvm is on a vlan.
    foundationVersion String
    Foundation version installed on the node.
    hardwareAttributes Map<String,String>
    Hardware attributes json of the node.
    hypervisorGateway String
    gateway of the hypervisor.
    hypervisorHostname String
    Name of the hypervisor host.
    hypervisorIp String
    IP address of the hypervisor.
    hypervisorNetmask String
    netmask of the hypervisor.
    hypervisorType String
    Hypervisor type currently installed on the node. Must be one of {kvm, esx, hyperv}.
    hypervisorVersion String
    Version of the hypervisor currently installed on the node.
    imagedClusterUuid String
    UUID of the cluster to which the node belongs, if any.
    imagedNodeUuid String
    UUID of the node.
    ipmiGateway String
    gateway of the ipmi.
    ipmiIp String
    IP address of the ipmi.
    ipmiNetmask String
    netmask of the ipmi.
    ipv6Interface String
    Name of the cvm interface having ipv6 address.
    latestHbTsLists List<String>
    List of timestamps when the node has sent heartbeats to Foundation Central.
    model String
    Model of the node.
    nodePosition String
    Position of the node in the block.
    nodeSerial String
    Serial number of the node.
    nodeState String
    Specifies whether the node is discovering, available or unavailable for cluster creation.
    nodeType String
    Specifies the type of node - on-prem, AWS, GCP etc.
    objectVersion Integer
    Version of the node used for CAS.
    supportedFeatures List<String>
    aosVersion string
    AOS version currently installed on the node.
    apiKeyUuid string
    API key used to register the node.
    available boolean
    Specifies whether the node is available for cluster creation.
    blockSerial string
    Serial number of the block to which the node belongs.
    createdTimestamp string
    Time when the node was discovered in Foundation Central.
    currentTime string
    Current time of Foundation Central.
    cvmGateway string
    gateway of the cvm.
    cvmIp string
    IP address of the cvm.
    cvmIpv6 string
    IPv6 address of the cvm.
    cvmNetmask string
    netmask of the cvm.
    cvmUp boolean
    Denotes whether the CVM is up or not on this node.
    cvmUuid string
    Node UUID from the node's cvm.
    cvmVlanId number
    Vlan tag of the cvm, if the cvm is on a vlan.
    foundationVersion string
    Foundation version installed on the node.
    hardwareAttributes {[key: string]: string}
    Hardware attributes json of the node.
    hypervisorGateway string
    gateway of the hypervisor.
    hypervisorHostname string
    Name of the hypervisor host.
    hypervisorIp string
    IP address of the hypervisor.
    hypervisorNetmask string
    netmask of the hypervisor.
    hypervisorType string
    Hypervisor type currently installed on the node. Must be one of {kvm, esx, hyperv}.
    hypervisorVersion string
    Version of the hypervisor currently installed on the node.
    imagedClusterUuid string
    UUID of the cluster to which the node belongs, if any.
    imagedNodeUuid string
    UUID of the node.
    ipmiGateway string
    gateway of the ipmi.
    ipmiIp string
    IP address of the ipmi.
    ipmiNetmask string
    netmask of the ipmi.
    ipv6Interface string
    Name of the cvm interface having ipv6 address.
    latestHbTsLists string[]
    List of timestamps when the node has sent heartbeats to Foundation Central.
    model string
    Model of the node.
    nodePosition string
    Position of the node in the block.
    nodeSerial string
    Serial number of the node.
    nodeState string
    Specifies whether the node is discovering, available or unavailable for cluster creation.
    nodeType string
    Specifies the type of node - on-prem, AWS, GCP etc.
    objectVersion number
    Version of the node used for CAS.
    supportedFeatures string[]
    aos_version str
    AOS version currently installed on the node.
    api_key_uuid str
    API key used to register the node.
    available bool
    Specifies whether the node is available for cluster creation.
    block_serial str
    Serial number of the block to which the node belongs.
    created_timestamp str
    Time when the node was discovered in Foundation Central.
    current_time str
    Current time of Foundation Central.
    cvm_gateway str
    gateway of the cvm.
    cvm_ip str
    IP address of the cvm.
    cvm_ipv6 str
    IPv6 address of the cvm.
    cvm_netmask str
    netmask of the cvm.
    cvm_up bool
    Denotes whether the CVM is up or not on this node.
    cvm_uuid str
    Node UUID from the node's cvm.
    cvm_vlan_id int
    Vlan tag of the cvm, if the cvm is on a vlan.
    foundation_version str
    Foundation version installed on the node.
    hardware_attributes Mapping[str, str]
    Hardware attributes json of the node.
    hypervisor_gateway str
    gateway of the hypervisor.
    hypervisor_hostname str
    Name of the hypervisor host.
    hypervisor_ip str
    IP address of the hypervisor.
    hypervisor_netmask str
    netmask of the hypervisor.
    hypervisor_type str
    Hypervisor type currently installed on the node. Must be one of {kvm, esx, hyperv}.
    hypervisor_version str
    Version of the hypervisor currently installed on the node.
    imaged_cluster_uuid str
    UUID of the cluster to which the node belongs, if any.
    imaged_node_uuid str
    UUID of the node.
    ipmi_gateway str
    gateway of the ipmi.
    ipmi_ip str
    IP address of the ipmi.
    ipmi_netmask str
    netmask of the ipmi.
    ipv6_interface str
    Name of the cvm interface having ipv6 address.
    latest_hb_ts_lists Sequence[str]
    List of timestamps when the node has sent heartbeats to Foundation Central.
    model str
    Model of the node.
    node_position str
    Position of the node in the block.
    node_serial str
    Serial number of the node.
    node_state str
    Specifies whether the node is discovering, available or unavailable for cluster creation.
    node_type str
    Specifies the type of node - on-prem, AWS, GCP etc.
    object_version int
    Version of the node used for CAS.
    supported_features Sequence[str]
    aosVersion String
    AOS version currently installed on the node.
    apiKeyUuid String
    API key used to register the node.
    available Boolean
    Specifies whether the node is available for cluster creation.
    blockSerial String
    Serial number of the block to which the node belongs.
    createdTimestamp String
    Time when the node was discovered in Foundation Central.
    currentTime String
    Current time of Foundation Central.
    cvmGateway String
    gateway of the cvm.
    cvmIp String
    IP address of the cvm.
    cvmIpv6 String
    IPv6 address of the cvm.
    cvmNetmask String
    netmask of the cvm.
    cvmUp Boolean
    Denotes whether the CVM is up or not on this node.
    cvmUuid String
    Node UUID from the node's cvm.
    cvmVlanId Number
    Vlan tag of the cvm, if the cvm is on a vlan.
    foundationVersion String
    Foundation version installed on the node.
    hardwareAttributes Map<String>
    Hardware attributes json of the node.
    hypervisorGateway String
    gateway of the hypervisor.
    hypervisorHostname String
    Name of the hypervisor host.
    hypervisorIp String
    IP address of the hypervisor.
    hypervisorNetmask String
    netmask of the hypervisor.
    hypervisorType String
    Hypervisor type currently installed on the node. Must be one of {kvm, esx, hyperv}.
    hypervisorVersion String
    Version of the hypervisor currently installed on the node.
    imagedClusterUuid String
    UUID of the cluster to which the node belongs, if any.
    imagedNodeUuid String
    UUID of the node.
    ipmiGateway String
    gateway of the ipmi.
    ipmiIp String
    IP address of the ipmi.
    ipmiNetmask String
    netmask of the ipmi.
    ipv6Interface String
    Name of the cvm interface having ipv6 address.
    latestHbTsLists List<String>
    List of timestamps when the node has sent heartbeats to Foundation Central.
    model String
    Model of the node.
    nodePosition String
    Position of the node in the block.
    nodeSerial String
    Serial number of the node.
    nodeState String
    Specifies whether the node is discovering, available or unavailable for cluster creation.
    nodeType String
    Specifies the type of node - on-prem, AWS, GCP etc.
    objectVersion Number
    Version of the node used for CAS.
    supportedFeatures List<String>

    GetFoundationCentralImagedNodesListMetadata

    Length int
    The number of records retrieved.
    Offset int
    Offset from the start of the object list.
    TotalMatches int
    Total matches found.
    Length int
    The number of records retrieved.
    Offset int
    Offset from the start of the object list.
    TotalMatches int
    Total matches found.
    length Integer
    The number of records retrieved.
    offset Integer
    Offset from the start of the object list.
    totalMatches Integer
    Total matches found.
    length number
    The number of records retrieved.
    offset number
    Offset from the start of the object list.
    totalMatches number
    Total matches found.
    length int
    The number of records retrieved.
    offset int
    Offset from the start of the object list.
    total_matches int
    Total matches found.
    length Number
    The number of records retrieved.
    offset Number
    Offset from the start of the object list.
    totalMatches Number
    Total matches found.

    Package Details

    Repository
    nutanix pierskarsenbarg/pulumi-nutanix
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the nutanix Terraform Provider.
    nutanix logo
    Nutanix v0.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg