Nutanix v0.0.52 published on Friday, Jun 7, 2024 by Piers Karsenbarg
nutanix.getKarbonClusters
Explore with Pulumi AI
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, 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 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<Piers
Karsenbarg. Nutanix. Outputs. Get Karbon Clusters Cluster> - Id string
- The provider-assigned unique ID for this managed resource.
- Clusters
[]Get
Karbon Clusters Cluster - Id string
- The provider-assigned unique ID for this managed resource.
- clusters
List<Get
Karbon Clusters Cluster> - id String
- The provider-assigned unique ID for this managed resource.
- clusters
Get
Karbon Clusters Cluster[] - id string
- The provider-assigned unique ID for this managed resource.
- clusters
Sequence[Get
Karbon Clusters Cluster] - 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
- Deployment
Type string - Etcd
Node List<PiersPools Karsenbarg. Nutanix. Inputs. Get Karbon Clusters Cluster Etcd Node Pool> - 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 stringIpv4Address - Master
Node List<PiersPools Karsenbarg. Nutanix. Inputs. Get Karbon Clusters Cluster Master Node Pool> - .
- Name string
- Unique name of the node pool.
- Status string
- Uuid string
- Version string
- K8s version of the cluster.
- Worker
Node List<PiersPools Karsenbarg. Nutanix. Inputs. Get Karbon Clusters Cluster Worker Node Pool>
- Deployment
Type string - Etcd
Node []GetPools Karbon Clusters Cluster Etcd Node Pool - 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 stringIpv4Address - Master
Node []GetPools Karbon Clusters Cluster Master Node Pool - .
- Name string
- Unique name of the node pool.
- Status string
- Uuid string
- Version string
- K8s version of the cluster.
- Worker
Node []GetPools Karbon Clusters Cluster Worker Node Pool
- deployment
Type String - etcd
Node List<GetPools Karbon Clusters Cluster Etcd Node Pool> - 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 StringIpv4Address - master
Node List<GetPools Karbon Clusters Cluster Master Node Pool> - .
- name String
- Unique name of the node pool.
- status String
- uuid String
- version String
- K8s version of the cluster.
- worker
Node List<GetPools Karbon Clusters Cluster Worker Node Pool>
- deployment
Type string - etcd
Node GetPools Karbon Clusters Cluster Etcd Node Pool[] - 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 stringIpv4Address - master
Node GetPools Karbon Clusters Cluster Master Node Pool[] - .
- name string
- Unique name of the node pool.
- status string
- uuid string
- version string
- K8s version of the cluster.
- worker
Node GetPools Karbon Clusters Cluster Worker Node Pool[]
- deployment_
type str - etcd_
node_ Sequence[Getpools Karbon Clusters Cluster Etcd Node Pool] - 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_ stripv4_ address - master_
node_ Sequence[Getpools Karbon Clusters Cluster Master Node Pool] - .
- name str
- Unique name of the node pool.
- status str
- uuid str
- version str
- K8s version of the cluster.
- worker_
node_ Sequence[Getpools Karbon Clusters Cluster Worker Node Pool]
- deployment
Type String - etcd
Node List<Property Map>Pools - 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 StringIpv4Address - master
Node List<Property Map>Pools - .
- name String
- Unique name of the node pool.
- status String
- uuid String
- version String
- K8s version of the cluster.
- worker
Node List<Property Map>Pools
GetKarbonClustersClusterEtcdNodePool
- Ahv
Configs List<PiersKarsenbarg. Nutanix. Inputs. Get Karbon Clusters Cluster Etcd Node Pool Ahv Config> - .
- Name string
- Unique name of the node pool.
- Node
Os stringVersion - The version of the node OS image.
- Nodes
List<Piers
Karsenbarg. Nutanix. Inputs. Get Karbon Clusters Cluster Etcd Node Pool Node> - Num
Instances int - Number of nodes in the node pool.
- Ahv
Configs []GetKarbon Clusters Cluster Etcd Node Pool Ahv Config - .
- Name string
- Unique name of the node pool.
- Node
Os stringVersion - The version of the node OS image.
- Nodes
[]Get
Karbon Clusters Cluster Etcd Node Pool Node - Num
Instances int - Number of nodes in the node pool.
- ahv
Configs List<GetKarbon Clusters Cluster Etcd Node Pool Ahv Config> - .
- name String
- Unique name of the node pool.
- node
Os StringVersion - The version of the node OS image.
- nodes
List<Get
Karbon Clusters Cluster Etcd Node Pool Node> - num
Instances Integer - Number of nodes in the node pool.
- ahv
Configs GetKarbon Clusters Cluster Etcd Node Pool Ahv Config[] - .
- name string
- Unique name of the node pool.
- node
Os stringVersion - The version of the node OS image.
- nodes
Get
Karbon Clusters Cluster Etcd Node Pool Node[] - num
Instances number - Number of nodes in the node pool.
- ahv_
configs Sequence[GetKarbon Clusters Cluster Etcd Node Pool Ahv Config] - .
- name str
- Unique name of the node pool.
- node_
os_ strversion - The version of the node OS image.
- nodes
Sequence[Get
Karbon Clusters Cluster Etcd Node Pool Node] - num_
instances int - Number of nodes in the node pool.
- ahv
Configs List<Property Map> - .
- name String
- Unique name of the node pool.
- node
Os StringVersion - The version of the node OS image.
- nodes List<Property Map>
- num
Instances Number - Number of nodes in the node pool.
GetKarbonClustersClusterEtcdNodePoolAhvConfig
- 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 string - The UUID of the network for the VMs deployed with this resource configuration.
- Prism
Element stringCluster Uuid - 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 string - The UUID of the network for the VMs deployed with this resource configuration.
- Prism
Element stringCluster Uuid - 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.
- disk
Mib Integer - Size of local storage for each VM on the PE cluster in MiB.
- memory
Mib Integer - Memory allocated for each VM on the PE cluster in MiB.
- network
Uuid String - The UUID of the network for the VMs deployed with this resource configuration.
- prism
Element StringCluster Uuid - 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.
- disk
Mib number - Size of local storage for each VM on the PE cluster in MiB.
- memory
Mib number - Memory allocated for each VM on the PE cluster in MiB.
- network
Uuid string - The UUID of the network for the VMs deployed with this resource configuration.
- prism
Element stringCluster Uuid - 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_ strcluster_ uuid - 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.
- disk
Mib Number - Size of local storage for each VM on the PE cluster in MiB.
- memory
Mib Number - Memory allocated for each VM on the PE cluster in MiB.
- network
Uuid String - The UUID of the network for the VMs deployed with this resource configuration.
- prism
Element StringCluster Uuid - 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 str
- ipv4_
address str
- hostname String
- ipv4Address String
GetKarbonClustersClusterMasterNodePool
- Ahv
Configs List<PiersKarsenbarg. Nutanix. Inputs. Get Karbon Clusters Cluster Master Node Pool Ahv Config> - .
- Name string
- Unique name of the node pool.
- Node
Os stringVersion - The version of the node OS image.
- Nodes
List<Piers
Karsenbarg. Nutanix. Inputs. Get Karbon Clusters Cluster Master Node Pool Node> - Num
Instances int - Number of nodes in the node pool.
- Ahv
Configs []GetKarbon Clusters Cluster Master Node Pool Ahv Config - .
- Name string
- Unique name of the node pool.
- Node
Os stringVersion - The version of the node OS image.
- Nodes
[]Get
Karbon Clusters Cluster Master Node Pool Node - Num
Instances int - Number of nodes in the node pool.
- ahv
Configs List<GetKarbon Clusters Cluster Master Node Pool Ahv Config> - .
- name String
- Unique name of the node pool.
- node
Os StringVersion - The version of the node OS image.
- nodes
List<Get
Karbon Clusters Cluster Master Node Pool Node> - num
Instances Integer - Number of nodes in the node pool.
- ahv
Configs GetKarbon Clusters Cluster Master Node Pool Ahv Config[] - .
- name string
- Unique name of the node pool.
- node
Os stringVersion - The version of the node OS image.
- nodes
Get
Karbon Clusters Cluster Master Node Pool Node[] - num
Instances number - Number of nodes in the node pool.
- ahv_
configs Sequence[GetKarbon Clusters Cluster Master Node Pool Ahv Config] - .
- name str
- Unique name of the node pool.
- node_
os_ strversion - The version of the node OS image.
- nodes
Sequence[Get
Karbon Clusters Cluster Master Node Pool Node] - num_
instances int - Number of nodes in the node pool.
- ahv
Configs List<Property Map> - .
- name String
- Unique name of the node pool.
- node
Os StringVersion - The version of the node OS image.
- nodes List<Property Map>
- num
Instances Number - Number of nodes in the node pool.
GetKarbonClustersClusterMasterNodePoolAhvConfig
- 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 string - The UUID of the network for the VMs deployed with this resource configuration.
- Prism
Element stringCluster Uuid - 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 string - The UUID of the network for the VMs deployed with this resource configuration.
- Prism
Element stringCluster Uuid - 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.
- disk
Mib Integer - Size of local storage for each VM on the PE cluster in MiB.
- memory
Mib Integer - Memory allocated for each VM on the PE cluster in MiB.
- network
Uuid String - The UUID of the network for the VMs deployed with this resource configuration.
- prism
Element StringCluster Uuid - 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.
- disk
Mib number - Size of local storage for each VM on the PE cluster in MiB.
- memory
Mib number - Memory allocated for each VM on the PE cluster in MiB.
- network
Uuid string - The UUID of the network for the VMs deployed with this resource configuration.
- prism
Element stringCluster Uuid - 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_ strcluster_ uuid - 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.
- disk
Mib Number - Size of local storage for each VM on the PE cluster in MiB.
- memory
Mib Number - Memory allocated for each VM on the PE cluster in MiB.
- network
Uuid String - The UUID of the network for the VMs deployed with this resource configuration.
- prism
Element StringCluster Uuid - 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 str
- ipv4_
address str
- hostname String
- ipv4Address String
GetKarbonClustersClusterWorkerNodePool
- Ahv
Configs List<PiersKarsenbarg. Nutanix. Inputs. Get Karbon Clusters Cluster Worker Node Pool Ahv Config> - .
- Name string
- Unique name of the node pool.
- Node
Os stringVersion - The version of the node OS image.
- Nodes
List<Piers
Karsenbarg. Nutanix. Inputs. Get Karbon Clusters Cluster Worker Node Pool Node> - Num
Instances int - Number of nodes in the node pool.
- Ahv
Configs []GetKarbon Clusters Cluster Worker Node Pool Ahv Config - .
- Name string
- Unique name of the node pool.
- Node
Os stringVersion - The version of the node OS image.
- Nodes
[]Get
Karbon Clusters Cluster Worker Node Pool Node - Num
Instances int - Number of nodes in the node pool.
- ahv
Configs List<GetKarbon Clusters Cluster Worker Node Pool Ahv Config> - .
- name String
- Unique name of the node pool.
- node
Os StringVersion - The version of the node OS image.
- nodes
List<Get
Karbon Clusters Cluster Worker Node Pool Node> - num
Instances Integer - Number of nodes in the node pool.
- ahv
Configs GetKarbon Clusters Cluster Worker Node Pool Ahv Config[] - .
- name string
- Unique name of the node pool.
- node
Os stringVersion - The version of the node OS image.
- nodes
Get
Karbon Clusters Cluster Worker Node Pool Node[] - num
Instances number - Number of nodes in the node pool.
- ahv_
configs Sequence[GetKarbon Clusters Cluster Worker Node Pool Ahv Config] - .
- name str
- Unique name of the node pool.
- node_
os_ strversion - The version of the node OS image.
- nodes
Sequence[Get
Karbon Clusters Cluster Worker Node Pool Node] - num_
instances int - Number of nodes in the node pool.
- ahv
Configs List<Property Map> - .
- name String
- Unique name of the node pool.
- node
Os StringVersion - The version of the node OS image.
- nodes List<Property Map>
- num
Instances Number - Number of nodes in the node pool.
GetKarbonClustersClusterWorkerNodePoolAhvConfig
- 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 string - The UUID of the network for the VMs deployed with this resource configuration.
- Prism
Element stringCluster Uuid - 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 string - The UUID of the network for the VMs deployed with this resource configuration.
- Prism
Element stringCluster Uuid - 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.
- disk
Mib Integer - Size of local storage for each VM on the PE cluster in MiB.
- memory
Mib Integer - Memory allocated for each VM on the PE cluster in MiB.
- network
Uuid String - The UUID of the network for the VMs deployed with this resource configuration.
- prism
Element StringCluster Uuid - 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.
- disk
Mib number - Size of local storage for each VM on the PE cluster in MiB.
- memory
Mib number - Memory allocated for each VM on the PE cluster in MiB.
- network
Uuid string - The UUID of the network for the VMs deployed with this resource configuration.
- prism
Element stringCluster Uuid - 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_ strcluster_ uuid - 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.
- disk
Mib Number - Size of local storage for each VM on the PE cluster in MiB.
- memory
Mib Number - Memory allocated for each VM on the PE cluster in MiB.
- network
Uuid String - The UUID of the network for the VMs deployed with this resource configuration.
- prism
Element StringCluster Uuid - 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 str
- ipv4_
address str
- 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.