1. Packages
  2. Nutanix
  3. API Docs
  4. getFoundationCentralImagedNodeDetails
Nutanix v0.5.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg

nutanix.getFoundationCentralImagedNodeDetails

Explore with Pulumi AI

nutanix logo
Nutanix v0.5.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg

    Get the details of a single node given its UUID.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as nutanix from "@pulumi/nutanix";
    
    const nodesDetails = nutanix.getFoundationCentralImagedNodeDetails({
        imagedNodeUuid: "<IMAGED-NODE-UUID>",
    });
    
    import pulumi
    import pulumi_nutanix as nutanix
    
    nodes_details = nutanix.get_foundation_central_imaged_node_details(imaged_node_uuid="<IMAGED-NODE-UUID>")
    
    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.GetFoundationCentralImagedNodeDetails(ctx, &nutanix.GetFoundationCentralImagedNodeDetailsArgs{
    			ImagedNodeUuid: "<IMAGED-NODE-UUID>",
    		}, 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 nodesDetails = Nutanix.GetFoundationCentralImagedNodeDetails.Invoke(new()
        {
            ImagedNodeUuid = "<IMAGED-NODE-UUID>",
        });
    
    });
    
    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.GetFoundationCentralImagedNodeDetailsArgs;
    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 nodesDetails = NutanixFunctions.getFoundationCentralImagedNodeDetails(GetFoundationCentralImagedNodeDetailsArgs.builder()
                .imagedNodeUuid("<IMAGED-NODE-UUID>")
                .build());
    
        }
    }
    
    variables:
      nodesDetails:
        fn::invoke:
          Function: nutanix:getFoundationCentralImagedNodeDetails
          Arguments:
            imagedNodeUuid: <IMAGED-NODE-UUID>
    

    Using getFoundationCentralImagedNodeDetails

    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 getFoundationCentralImagedNodeDetails(args: GetFoundationCentralImagedNodeDetailsArgs, opts?: InvokeOptions): Promise<GetFoundationCentralImagedNodeDetailsResult>
    function getFoundationCentralImagedNodeDetailsOutput(args: GetFoundationCentralImagedNodeDetailsOutputArgs, opts?: InvokeOptions): Output<GetFoundationCentralImagedNodeDetailsResult>
    def get_foundation_central_imaged_node_details(imaged_node_uuid: Optional[str] = None,
                                                   ipv6_interface: Optional[str] = None,
                                                   object_version: Optional[int] = None,
                                                   opts: Optional[InvokeOptions] = None) -> GetFoundationCentralImagedNodeDetailsResult
    def get_foundation_central_imaged_node_details_output(imaged_node_uuid: Optional[pulumi.Input[str]] = None,
                                                   ipv6_interface: Optional[pulumi.Input[str]] = None,
                                                   object_version: Optional[pulumi.Input[int]] = None,
                                                   opts: Optional[InvokeOptions] = None) -> Output[GetFoundationCentralImagedNodeDetailsResult]
    func GetFoundationCentralImagedNodeDetails(ctx *Context, args *GetFoundationCentralImagedNodeDetailsArgs, opts ...InvokeOption) (*GetFoundationCentralImagedNodeDetailsResult, error)
    func GetFoundationCentralImagedNodeDetailsOutput(ctx *Context, args *GetFoundationCentralImagedNodeDetailsOutputArgs, opts ...InvokeOption) GetFoundationCentralImagedNodeDetailsResultOutput

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

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

    The following arguments are supported:

    ImagedNodeUuid string
    UUID of the node whose details need to be fetched.
    Ipv6Interface string
    Name of the cvm interface having ipv6 address.
    ObjectVersion int
    Version of the node used for CAS.
    ImagedNodeUuid string
    UUID of the node whose details need to be fetched.
    Ipv6Interface string
    Name of the cvm interface having ipv6 address.
    ObjectVersion int
    Version of the node used for CAS.
    imagedNodeUuid String
    UUID of the node whose details need to be fetched.
    ipv6Interface String
    Name of the cvm interface having ipv6 address.
    objectVersion Integer
    Version of the node used for CAS.
    imagedNodeUuid string
    UUID of the node whose details need to be fetched.
    ipv6Interface string
    Name of the cvm interface having ipv6 address.
    objectVersion number
    Version of the node used for CAS.
    imaged_node_uuid str
    UUID of the node whose details need to be fetched.
    ipv6_interface str
    Name of the cvm interface having ipv6 address.
    object_version int
    Version of the node used for CAS.
    imagedNodeUuid String
    UUID of the node whose details need to be fetched.
    ipv6Interface String
    Name of the cvm interface having ipv6 address.
    objectVersion Number
    Version of the node used for CAS.

    getFoundationCentralImagedNodeDetails Result

    The following output properties are available:

    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    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.
    id string
    The provider-assigned unique ID for this managed resource.
    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.
    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.
    id str
    The provider-assigned unique ID for this managed resource.
    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.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    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.

    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.5.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg