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

nutanix.getKarbonClusters

Explore with Pulumi AI

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

    Describes Karbon Clusters

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as nutanix from "@pulumi/nutanix";
    
    const clusters = nutanix.getKarbonClusters({});
    
    import pulumi
    import pulumi_nutanix as nutanix
    
    clusters = nutanix.get_karbon_clusters()
    
    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.GetKarbonClusters(ctx, map[string]interface{}{}, 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 clusters = Nutanix.GetKarbonClusters.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 clusters = NutanixFunctions.getKarbonClusters();
    
        }
    }
    
    variables:
      clusters:
        fn::invoke:
          Function: nutanix:getKarbonClusters
          Arguments: {}
    

    Using getKarbonClusters

    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 getKarbonClusters(opts?: InvokeOptions): Promise<GetKarbonClustersResult>
    function getKarbonClustersOutput(opts?: InvokeOptions): Output<GetKarbonClustersResult>
    def get_karbon_clusters(opts: Optional[InvokeOptions] = None) -> GetKarbonClustersResult
    def get_karbon_clusters_output(opts: Optional[InvokeOptions] = None) -> Output[GetKarbonClustersResult]
    func GetKarbonClusters(ctx *Context, opts ...InvokeOption) (*GetKarbonClustersResult, error)
    func GetKarbonClustersOutput(ctx *Context, opts ...InvokeOption) GetKarbonClustersResultOutput

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

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

    getKarbonClusters Result

    The following output properties are available:

    Clusters List<PiersKarsenbarg.Nutanix.Outputs.GetKarbonClustersCluster>
    Id string
    The provider-assigned unique ID for this managed resource.
    Clusters []GetKarbonClustersCluster
    Id string
    The provider-assigned unique ID for this managed resource.
    clusters List<GetKarbonClustersCluster>
    id String
    The provider-assigned unique ID for this managed resource.
    clusters GetKarbonClustersCluster[]
    id string
    The provider-assigned unique ID for this managed resource.
    clusters Sequence[GetKarbonClustersCluster]
    id str
    The provider-assigned unique ID for this managed resource.
    clusters List<Property Map>
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    GetKarbonClustersCluster

    DeploymentType string
    EtcdNodePools List<PiersKarsenbarg.Nutanix.Inputs.GetKarbonClustersClusterEtcdNodePool>
    • Configuration of the node pools that the nodes in the etcd cluster belong to. The etcd nodes require a minimum of 8,192 MiB memory and 409,60 MiB disk space.
    KubeapiServerIpv4Address string
    MasterNodePools List<PiersKarsenbarg.Nutanix.Inputs.GetKarbonClustersClusterMasterNodePool>
    • .
    Name string
    • Unique name of the node pool.
    Status string
    Uuid string
    Version string
    • K8s version of the cluster.
    WorkerNodePools List<PiersKarsenbarg.Nutanix.Inputs.GetKarbonClustersClusterWorkerNodePool>
    DeploymentType string
    EtcdNodePools []GetKarbonClustersClusterEtcdNodePool
    • Configuration of the node pools that the nodes in the etcd cluster belong to. The etcd nodes require a minimum of 8,192 MiB memory and 409,60 MiB disk space.
    KubeapiServerIpv4Address string
    MasterNodePools []GetKarbonClustersClusterMasterNodePool
    • .
    Name string
    • Unique name of the node pool.
    Status string
    Uuid string
    Version string
    • K8s version of the cluster.
    WorkerNodePools []GetKarbonClustersClusterWorkerNodePool
    deploymentType String
    etcdNodePools List<GetKarbonClustersClusterEtcdNodePool>
    • Configuration of the node pools that the nodes in the etcd cluster belong to. The etcd nodes require a minimum of 8,192 MiB memory and 409,60 MiB disk space.
    kubeapiServerIpv4Address String
    masterNodePools List<GetKarbonClustersClusterMasterNodePool>
    • .
    name String
    • Unique name of the node pool.
    status String
    uuid String
    version String
    • K8s version of the cluster.
    workerNodePools List<GetKarbonClustersClusterWorkerNodePool>
    deploymentType string
    etcdNodePools GetKarbonClustersClusterEtcdNodePool[]
    • Configuration of the node pools that the nodes in the etcd cluster belong to. The etcd nodes require a minimum of 8,192 MiB memory and 409,60 MiB disk space.
    kubeapiServerIpv4Address string
    masterNodePools GetKarbonClustersClusterMasterNodePool[]
    • .
    name string
    • Unique name of the node pool.
    status string
    uuid string
    version string
    • K8s version of the cluster.
    workerNodePools GetKarbonClustersClusterWorkerNodePool[]
    deployment_type str
    etcd_node_pools Sequence[GetKarbonClustersClusterEtcdNodePool]
    • Configuration of the node pools that the nodes in the etcd cluster belong to. The etcd nodes require a minimum of 8,192 MiB memory and 409,60 MiB disk space.
    kubeapi_server_ipv4_address str
    master_node_pools Sequence[GetKarbonClustersClusterMasterNodePool]
    • .
    name str
    • Unique name of the node pool.
    status str
    uuid str
    version str
    • K8s version of the cluster.
    worker_node_pools Sequence[GetKarbonClustersClusterWorkerNodePool]
    deploymentType String
    etcdNodePools List<Property Map>
    • Configuration of the node pools that the nodes in the etcd cluster belong to. The etcd nodes require a minimum of 8,192 MiB memory and 409,60 MiB disk space.
    kubeapiServerIpv4Address String
    masterNodePools List<Property Map>
    • .
    name String
    • Unique name of the node pool.
    status String
    uuid String
    version String
    • K8s version of the cluster.
    workerNodePools List<Property Map>

    GetKarbonClustersClusterEtcdNodePool

    AhvConfigs []GetKarbonClustersClusterEtcdNodePoolAhvConfig
    • .
    Name string
    • Unique name of the node pool.
    NodeOsVersion string
    • The version of the node OS image.
    Nodes []GetKarbonClustersClusterEtcdNodePoolNode
    NumInstances int
    • Number of nodes in the node pool.
    ahvConfigs List<GetKarbonClustersClusterEtcdNodePoolAhvConfig>
    • .
    name String
    • Unique name of the node pool.
    nodeOsVersion String
    • The version of the node OS image.
    nodes List<GetKarbonClustersClusterEtcdNodePoolNode>
    numInstances Integer
    • Number of nodes in the node pool.
    ahvConfigs GetKarbonClustersClusterEtcdNodePoolAhvConfig[]
    • .
    name string
    • Unique name of the node pool.
    nodeOsVersion string
    • The version of the node OS image.
    nodes GetKarbonClustersClusterEtcdNodePoolNode[]
    numInstances number
    • Number of nodes in the node pool.
    ahv_configs Sequence[GetKarbonClustersClusterEtcdNodePoolAhvConfig]
    • .
    name str
    • Unique name of the node pool.
    node_os_version str
    • The version of the node OS image.
    nodes Sequence[GetKarbonClustersClusterEtcdNodePoolNode]
    num_instances int
    • Number of nodes in the node pool.
    ahvConfigs List<Property Map>
    • .
    name String
    • Unique name of the node pool.
    nodeOsVersion String
    • The version of the node OS image.
    nodes List<Property Map>
    numInstances Number
    • Number of nodes in the node pool.

    GetKarbonClustersClusterEtcdNodePoolAhvConfig

    Cpu int
    • The number of VCPUs allocated for each VM on the PE cluster.
    DiskMib int
    • Size of local storage for each VM on the PE cluster in MiB.
    MemoryMib int
    • Memory allocated for each VM on the PE cluster in MiB.
    NetworkUuid string
    • The UUID of the network for the VMs deployed with this resource configuration.
    PrismElementClusterUuid string
    • The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    Cpu int
    • The number of VCPUs allocated for each VM on the PE cluster.
    DiskMib int
    • Size of local storage for each VM on the PE cluster in MiB.
    MemoryMib int
    • Memory allocated for each VM on the PE cluster in MiB.
    NetworkUuid string
    • The UUID of the network for the VMs deployed with this resource configuration.
    PrismElementClusterUuid string
    • The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    cpu Integer
    • The number of VCPUs allocated for each VM on the PE cluster.
    diskMib Integer
    • Size of local storage for each VM on the PE cluster in MiB.
    memoryMib Integer
    • Memory allocated for each VM on the PE cluster in MiB.
    networkUuid String
    • The UUID of the network for the VMs deployed with this resource configuration.
    prismElementClusterUuid String
    • The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    cpu number
    • The number of VCPUs allocated for each VM on the PE cluster.
    diskMib number
    • Size of local storage for each VM on the PE cluster in MiB.
    memoryMib number
    • Memory allocated for each VM on the PE cluster in MiB.
    networkUuid string
    • The UUID of the network for the VMs deployed with this resource configuration.
    prismElementClusterUuid string
    • The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    cpu int
    • The number of VCPUs allocated for each VM on the PE cluster.
    disk_mib int
    • Size of local storage for each VM on the PE cluster in MiB.
    memory_mib int
    • Memory allocated for each VM on the PE cluster in MiB.
    network_uuid str
    • The UUID of the network for the VMs deployed with this resource configuration.
    prism_element_cluster_uuid str
    • The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    cpu Number
    • The number of VCPUs allocated for each VM on the PE cluster.
    diskMib Number
    • Size of local storage for each VM on the PE cluster in MiB.
    memoryMib Number
    • Memory allocated for each VM on the PE cluster in MiB.
    networkUuid String
    • The UUID of the network for the VMs deployed with this resource configuration.
    prismElementClusterUuid String
    • The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.

    GetKarbonClustersClusterEtcdNodePoolNode

    Hostname string
    Ipv4Address string
    Hostname string
    Ipv4Address string
    hostname String
    ipv4Address String
    hostname string
    ipv4Address string
    hostname String
    ipv4Address String

    GetKarbonClustersClusterMasterNodePool

    AhvConfigs []GetKarbonClustersClusterMasterNodePoolAhvConfig
    • .
    Name string
    • Unique name of the node pool.
    NodeOsVersion string
    • The version of the node OS image.
    Nodes []GetKarbonClustersClusterMasterNodePoolNode
    NumInstances int
    • Number of nodes in the node pool.
    ahvConfigs List<GetKarbonClustersClusterMasterNodePoolAhvConfig>
    • .
    name String
    • Unique name of the node pool.
    nodeOsVersion String
    • The version of the node OS image.
    nodes List<GetKarbonClustersClusterMasterNodePoolNode>
    numInstances Integer
    • Number of nodes in the node pool.
    ahvConfigs GetKarbonClustersClusterMasterNodePoolAhvConfig[]
    • .
    name string
    • Unique name of the node pool.
    nodeOsVersion string
    • The version of the node OS image.
    nodes GetKarbonClustersClusterMasterNodePoolNode[]
    numInstances number
    • Number of nodes in the node pool.
    ahv_configs Sequence[GetKarbonClustersClusterMasterNodePoolAhvConfig]
    • .
    name str
    • Unique name of the node pool.
    node_os_version str
    • The version of the node OS image.
    nodes Sequence[GetKarbonClustersClusterMasterNodePoolNode]
    num_instances int
    • Number of nodes in the node pool.
    ahvConfigs List<Property Map>
    • .
    name String
    • Unique name of the node pool.
    nodeOsVersion String
    • The version of the node OS image.
    nodes List<Property Map>
    numInstances Number
    • Number of nodes in the node pool.

    GetKarbonClustersClusterMasterNodePoolAhvConfig

    Cpu int
    • The number of VCPUs allocated for each VM on the PE cluster.
    DiskMib int
    • Size of local storage for each VM on the PE cluster in MiB.
    MemoryMib int
    • Memory allocated for each VM on the PE cluster in MiB.
    NetworkUuid string
    • The UUID of the network for the VMs deployed with this resource configuration.
    PrismElementClusterUuid string
    • The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    Cpu int
    • The number of VCPUs allocated for each VM on the PE cluster.
    DiskMib int
    • Size of local storage for each VM on the PE cluster in MiB.
    MemoryMib int
    • Memory allocated for each VM on the PE cluster in MiB.
    NetworkUuid string
    • The UUID of the network for the VMs deployed with this resource configuration.
    PrismElementClusterUuid string
    • The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    cpu Integer
    • The number of VCPUs allocated for each VM on the PE cluster.
    diskMib Integer
    • Size of local storage for each VM on the PE cluster in MiB.
    memoryMib Integer
    • Memory allocated for each VM on the PE cluster in MiB.
    networkUuid String
    • The UUID of the network for the VMs deployed with this resource configuration.
    prismElementClusterUuid String
    • The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    cpu number
    • The number of VCPUs allocated for each VM on the PE cluster.
    diskMib number
    • Size of local storage for each VM on the PE cluster in MiB.
    memoryMib number
    • Memory allocated for each VM on the PE cluster in MiB.
    networkUuid string
    • The UUID of the network for the VMs deployed with this resource configuration.
    prismElementClusterUuid string
    • The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    cpu int
    • The number of VCPUs allocated for each VM on the PE cluster.
    disk_mib int
    • Size of local storage for each VM on the PE cluster in MiB.
    memory_mib int
    • Memory allocated for each VM on the PE cluster in MiB.
    network_uuid str
    • The UUID of the network for the VMs deployed with this resource configuration.
    prism_element_cluster_uuid str
    • The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    cpu Number
    • The number of VCPUs allocated for each VM on the PE cluster.
    diskMib Number
    • Size of local storage for each VM on the PE cluster in MiB.
    memoryMib Number
    • Memory allocated for each VM on the PE cluster in MiB.
    networkUuid String
    • The UUID of the network for the VMs deployed with this resource configuration.
    prismElementClusterUuid String
    • The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.

    GetKarbonClustersClusterMasterNodePoolNode

    Hostname string
    Ipv4Address string
    Hostname string
    Ipv4Address string
    hostname String
    ipv4Address String
    hostname string
    ipv4Address string
    hostname String
    ipv4Address String

    GetKarbonClustersClusterWorkerNodePool

    AhvConfigs []GetKarbonClustersClusterWorkerNodePoolAhvConfig
    • .
    Name string
    • Unique name of the node pool.
    NodeOsVersion string
    • The version of the node OS image.
    Nodes []GetKarbonClustersClusterWorkerNodePoolNode
    NumInstances int
    • Number of nodes in the node pool.
    ahvConfigs List<GetKarbonClustersClusterWorkerNodePoolAhvConfig>
    • .
    name String
    • Unique name of the node pool.
    nodeOsVersion String
    • The version of the node OS image.
    nodes List<GetKarbonClustersClusterWorkerNodePoolNode>
    numInstances Integer
    • Number of nodes in the node pool.
    ahvConfigs GetKarbonClustersClusterWorkerNodePoolAhvConfig[]
    • .
    name string
    • Unique name of the node pool.
    nodeOsVersion string
    • The version of the node OS image.
    nodes GetKarbonClustersClusterWorkerNodePoolNode[]
    numInstances number
    • Number of nodes in the node pool.
    ahv_configs Sequence[GetKarbonClustersClusterWorkerNodePoolAhvConfig]
    • .
    name str
    • Unique name of the node pool.
    node_os_version str
    • The version of the node OS image.
    nodes Sequence[GetKarbonClustersClusterWorkerNodePoolNode]
    num_instances int
    • Number of nodes in the node pool.
    ahvConfigs List<Property Map>
    • .
    name String
    • Unique name of the node pool.
    nodeOsVersion String
    • The version of the node OS image.
    nodes List<Property Map>
    numInstances Number
    • Number of nodes in the node pool.

    GetKarbonClustersClusterWorkerNodePoolAhvConfig

    Cpu int
    • The number of VCPUs allocated for each VM on the PE cluster.
    DiskMib int
    • Size of local storage for each VM on the PE cluster in MiB.
    MemoryMib int
    • Memory allocated for each VM on the PE cluster in MiB.
    NetworkUuid string
    • The UUID of the network for the VMs deployed with this resource configuration.
    PrismElementClusterUuid string
    • The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    Cpu int
    • The number of VCPUs allocated for each VM on the PE cluster.
    DiskMib int
    • Size of local storage for each VM on the PE cluster in MiB.
    MemoryMib int
    • Memory allocated for each VM on the PE cluster in MiB.
    NetworkUuid string
    • The UUID of the network for the VMs deployed with this resource configuration.
    PrismElementClusterUuid string
    • The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    cpu Integer
    • The number of VCPUs allocated for each VM on the PE cluster.
    diskMib Integer
    • Size of local storage for each VM on the PE cluster in MiB.
    memoryMib Integer
    • Memory allocated for each VM on the PE cluster in MiB.
    networkUuid String
    • The UUID of the network for the VMs deployed with this resource configuration.
    prismElementClusterUuid String
    • The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    cpu number
    • The number of VCPUs allocated for each VM on the PE cluster.
    diskMib number
    • Size of local storage for each VM on the PE cluster in MiB.
    memoryMib number
    • Memory allocated for each VM on the PE cluster in MiB.
    networkUuid string
    • The UUID of the network for the VMs deployed with this resource configuration.
    prismElementClusterUuid string
    • The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    cpu int
    • The number of VCPUs allocated for each VM on the PE cluster.
    disk_mib int
    • Size of local storage for each VM on the PE cluster in MiB.
    memory_mib int
    • Memory allocated for each VM on the PE cluster in MiB.
    network_uuid str
    • The UUID of the network for the VMs deployed with this resource configuration.
    prism_element_cluster_uuid str
    • The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.
    cpu Number
    • The number of VCPUs allocated for each VM on the PE cluster.
    diskMib Number
    • Size of local storage for each VM on the PE cluster in MiB.
    memoryMib Number
    • Memory allocated for each VM on the PE cluster in MiB.
    networkUuid String
    • The UUID of the network for the VMs deployed with this resource configuration.
    prismElementClusterUuid String
    • The unique universal identifier (UUID) of the Prism Element cluster used to deploy VMs for this node pool.

    GetKarbonClustersClusterWorkerNodePoolNode

    Hostname string
    Ipv4Address string
    Hostname string
    Ipv4Address string
    hostname String
    ipv4Address String
    hostname string
    ipv4Address string
    hostname String
    ipv4Address String

    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