Nutanix v0.5.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg
nutanix.getNdbCluster
Explore with Pulumi AI
Describes a cluster in Nutanix Database Service
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pulumi/nutanix";
const c1 = nutanix.getNdbCluster({
    clusterName: "<era-cluster-name>",
});
export const cluster = c1;
import pulumi
import pulumi_nutanix as nutanix
c1 = nutanix.get_ndb_cluster(cluster_name="<era-cluster-name>")
pulumi.export("cluster", c1)
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 {
		c1, err := nutanix.LookupNdbCluster(ctx, &nutanix.LookupNdbClusterArgs{
			ClusterName: pulumi.StringRef("<era-cluster-name>"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("cluster", c1)
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nutanix = Pulumi.Nutanix;
return await Deployment.RunAsync(() => 
{
    var c1 = Nutanix.GetNdbCluster.Invoke(new()
    {
        ClusterName = "<era-cluster-name>",
    });
    return new Dictionary<string, object?>
    {
        ["cluster"] = c1,
    };
});
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.GetNdbClusterArgs;
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 c1 = NutanixFunctions.getNdbCluster(GetNdbClusterArgs.builder()
            .clusterName("<era-cluster-name>")
            .build());
        ctx.export("cluster", c1.applyValue(getNdbClusterResult -> getNdbClusterResult));
    }
}
variables:
  c1:
    fn::invoke:
      Function: nutanix:getNdbCluster
      Arguments:
        clusterName: <era-cluster-name>
outputs:
  cluster: ${c1}
Using getNdbCluster
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 getNdbCluster(args: GetNdbClusterArgs, opts?: InvokeOptions): Promise<GetNdbClusterResult>
function getNdbClusterOutput(args: GetNdbClusterOutputArgs, opts?: InvokeOptions): Output<GetNdbClusterResult>def get_ndb_cluster(cluster_id: Optional[str] = None,
                    cluster_name: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetNdbClusterResult
def get_ndb_cluster_output(cluster_id: Optional[pulumi.Input[str]] = None,
                    cluster_name: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetNdbClusterResult]func LookupNdbCluster(ctx *Context, args *LookupNdbClusterArgs, opts ...InvokeOption) (*LookupNdbClusterResult, error)
func LookupNdbClusterOutput(ctx *Context, args *LookupNdbClusterOutputArgs, opts ...InvokeOption) LookupNdbClusterResultOutput> Note: This function is named LookupNdbCluster in the Go SDK.
public static class GetNdbCluster 
{
    public static Task<GetNdbClusterResult> InvokeAsync(GetNdbClusterArgs args, InvokeOptions? opts = null)
    public static Output<GetNdbClusterResult> Invoke(GetNdbClusterInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNdbClusterResult> getNdbCluster(GetNdbClusterArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: nutanix:index/getNdbCluster:getNdbCluster
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ClusterId string
- ID of cluster
- ClusterName string
- and cluster_idare mutually exclusive.
- ClusterId string
- ID of cluster
- ClusterName string
- and cluster_idare mutually exclusive.
- clusterId String
- ID of cluster
- clusterName String
- and cluster_idare mutually exclusive.
- clusterId string
- ID of cluster
- clusterName string
- and cluster_idare mutually exclusive.
- cluster_id str
- ID of cluster
- cluster_name str
- and cluster_idare mutually exclusive.
- clusterId String
- ID of cluster
- clusterName String
- and cluster_idare mutually exclusive.
getNdbCluster Result
The following output properties are available:
- CloudInfo string
- cloud info
 
- CloudType string
- cloud type
 
- DateCreated string
- creation date
 
- DateModified string
- date modified
 
- Description string
- description
 
- EntityCounts List<PiersKarsenbarg. Nutanix. Outputs. Get Ndb Cluster Entity Count> 
- no. of entities related
 
- Fqdns string
- fqdn
 
- Healthy bool
- if healthy status
 
- HypervisorType string
- hypervisor type
 
- HypervisorVersion string
- hypervisor version
 
- Id string
- id of cluster
 
- IpAddresses List<string>
- IP address
 
- ManagementServer stringInfo 
- NA
 
- Name string
- name of cluster
 
- NxCluster stringUuid 
- nutanix cluster uuid
 
- OwnerId string
- owner UUID
 
- Password string
- password
 
- Properties
List<PiersKarsenbarg. Nutanix. Outputs. Get Ndb Cluster Property> 
- list of properties
 
- ReferenceCount int
- NA
 
- ResourceConfigs List<PiersKarsenbarg. Nutanix. Outputs. Get Ndb Cluster Resource Config> 
- resource related consumption info
 
- Status string
- current status
 
- UniqueName string
- unique name of cluster
 
- Username string
- username
 
- Version string
- version
 
- ClusterId string
- ClusterName string
- CloudInfo string
- cloud info
 
- CloudType string
- cloud type
 
- DateCreated string
- creation date
 
- DateModified string
- date modified
 
- Description string
- description
 
- EntityCounts []GetNdb Cluster Entity Count 
- no. of entities related
 
- Fqdns string
- fqdn
 
- Healthy bool
- if healthy status
 
- HypervisorType string
- hypervisor type
 
- HypervisorVersion string
- hypervisor version
 
- Id string
- id of cluster
 
- IpAddresses []string
- IP address
 
- ManagementServer stringInfo 
- NA
 
- Name string
- name of cluster
 
- NxCluster stringUuid 
- nutanix cluster uuid
 
- OwnerId string
- owner UUID
 
- Password string
- password
 
- Properties
[]GetNdb Cluster Property 
- list of properties
 
- ReferenceCount int
- NA
 
- ResourceConfigs []GetNdb Cluster Resource Config 
- resource related consumption info
 
- Status string
- current status
 
- UniqueName string
- unique name of cluster
 
- Username string
- username
 
- Version string
- version
 
- ClusterId string
- ClusterName string
- cloudInfo String
- cloud info
 
- cloudType String
- cloud type
 
- dateCreated String
- creation date
 
- dateModified String
- date modified
 
- description String
- description
 
- entityCounts List<GetNdb Cluster Entity Count> 
- no. of entities related
 
- fqdns String
- fqdn
 
- healthy Boolean
- if healthy status
 
- hypervisorType String
- hypervisor type
 
- hypervisorVersion String
- hypervisor version
 
- id String
- id of cluster
 
- ipAddresses List<String>
- IP address
 
- managementServer StringInfo 
- NA
 
- name String
- name of cluster
 
- nxCluster StringUuid 
- nutanix cluster uuid
 
- ownerId String
- owner UUID
 
- password String
- password
 
- properties
List<GetNdb Cluster Property> 
- list of properties
 
- referenceCount Integer
- NA
 
- resourceConfigs List<GetNdb Cluster Resource Config> 
- resource related consumption info
 
- status String
- current status
 
- uniqueName String
- unique name of cluster
 
- username String
- username
 
- version String
- version
 
- clusterId String
- clusterName String
- cloudInfo string
- cloud info
 
- cloudType string
- cloud type
 
- dateCreated string
- creation date
 
- dateModified string
- date modified
 
- description string
- description
 
- entityCounts GetNdb Cluster Entity Count[] 
- no. of entities related
 
- fqdns string
- fqdn
 
- healthy boolean
- if healthy status
 
- hypervisorType string
- hypervisor type
 
- hypervisorVersion string
- hypervisor version
 
- id string
- id of cluster
 
- ipAddresses string[]
- IP address
 
- managementServer stringInfo 
- NA
 
- name string
- name of cluster
 
- nxCluster stringUuid 
- nutanix cluster uuid
 
- ownerId string
- owner UUID
 
- password string
- password
 
- properties
GetNdb Cluster Property[] 
- list of properties
 
- referenceCount number
- NA
 
- resourceConfigs GetNdb Cluster Resource Config[] 
- resource related consumption info
 
- status string
- current status
 
- uniqueName string
- unique name of cluster
 
- username string
- username
 
- version string
- version
 
- clusterId string
- clusterName string
- cloud_info str
- cloud info
 
- cloud_type str
- cloud type
 
- date_created str
- creation date
 
- date_modified str
- date modified
 
- description str
- description
 
- entity_counts Sequence[GetNdb Cluster Entity Count] 
- no. of entities related
 
- fqdns str
- fqdn
 
- healthy bool
- if healthy status
 
- hypervisor_type str
- hypervisor type
 
- hypervisor_version str
- hypervisor version
 
- id str
- id of cluster
 
- ip_addresses Sequence[str]
- IP address
 
- management_server_ strinfo 
- NA
 
- name str
- name of cluster
 
- nx_cluster_ struuid 
- nutanix cluster uuid
 
- owner_id str
- owner UUID
 
- password str
- password
 
- properties
Sequence[GetNdb Cluster Property] 
- list of properties
 
- reference_count int
- NA
 
- resource_configs Sequence[GetNdb Cluster Resource Config] 
- resource related consumption info
 
- status str
- current status
 
- unique_name str
- unique name of cluster
 
- username str
- username
 
- version str
- version
 
- cluster_id str
- cluster_name str
- cloudInfo String
- cloud info
 
- cloudType String
- cloud type
 
- dateCreated String
- creation date
 
- dateModified String
- date modified
 
- description String
- description
 
- entityCounts List<Property Map>
- no. of entities related
 
- fqdns String
- fqdn
 
- healthy Boolean
- if healthy status
 
- hypervisorType String
- hypervisor type
 
- hypervisorVersion String
- hypervisor version
 
- id String
- id of cluster
 
- ipAddresses List<String>
- IP address
 
- managementServer StringInfo 
- NA
 
- name String
- name of cluster
 
- nxCluster StringUuid 
- nutanix cluster uuid
 
- ownerId String
- owner UUID
 
- password String
- password
 
- properties List<Property Map>
- list of properties
 
- referenceCount Number
- NA
 
- resourceConfigs List<Property Map>
- resource related consumption info
 
- status String
- current status
 
- uniqueName String
- unique name of cluster
 
- username String
- username
 
- version String
- version
 
- clusterId String
- clusterName String
Supporting Types
GetNdbClusterEntityCount    
GetNdbClusterEntityCountEngineCount      
- MariadbDatabases List<PiersKarsenbarg. Nutanix. Inputs. Get Ndb Cluster Entity Count Engine Count Mariadb Database> 
- MongodbDatabases List<PiersKarsenbarg. Nutanix. Inputs. Get Ndb Cluster Entity Count Engine Count Mongodb Database> 
- MysqlDatabases List<PiersKarsenbarg. Nutanix. Inputs. Get Ndb Cluster Entity Count Engine Count Mysql Database> 
- OracleDatabases List<PiersKarsenbarg. Nutanix. Inputs. Get Ndb Cluster Entity Count Engine Count Oracle Database> 
- PostgresDatabases List<PiersKarsenbarg. Nutanix. Inputs. Get Ndb Cluster Entity Count Engine Count Postgres Database> 
- SaphanaDatabases List<PiersKarsenbarg. Nutanix. Inputs. Get Ndb Cluster Entity Count Engine Count Saphana Database> 
- SqlserverDatabases List<PiersKarsenbarg. Nutanix. Inputs. Get Ndb Cluster Entity Count Engine Count Sqlserver Database> 
- MariadbDatabases []GetNdb Cluster Entity Count Engine Count Mariadb Database 
- MongodbDatabases []GetNdb Cluster Entity Count Engine Count Mongodb Database 
- MysqlDatabases []GetNdb Cluster Entity Count Engine Count Mysql Database 
- OracleDatabases []GetNdb Cluster Entity Count Engine Count Oracle Database 
- PostgresDatabases []GetNdb Cluster Entity Count Engine Count Postgres Database 
- SaphanaDatabases []GetNdb Cluster Entity Count Engine Count Saphana Database 
- SqlserverDatabases []GetNdb Cluster Entity Count Engine Count Sqlserver Database 
- mariadbDatabases List<GetNdb Cluster Entity Count Engine Count Mariadb Database> 
- mongodbDatabases List<GetNdb Cluster Entity Count Engine Count Mongodb Database> 
- mysqlDatabases List<GetNdb Cluster Entity Count Engine Count Mysql Database> 
- oracleDatabases List<GetNdb Cluster Entity Count Engine Count Oracle Database> 
- postgresDatabases List<GetNdb Cluster Entity Count Engine Count Postgres Database> 
- saphanaDatabases List<GetNdb Cluster Entity Count Engine Count Saphana Database> 
- sqlserverDatabases List<GetNdb Cluster Entity Count Engine Count Sqlserver Database> 
- mariadbDatabases GetNdb Cluster Entity Count Engine Count Mariadb Database[] 
- mongodbDatabases GetNdb Cluster Entity Count Engine Count Mongodb Database[] 
- mysqlDatabases GetNdb Cluster Entity Count Engine Count Mysql Database[] 
- oracleDatabases GetNdb Cluster Entity Count Engine Count Oracle Database[] 
- postgresDatabases GetNdb Cluster Entity Count Engine Count Postgres Database[] 
- saphanaDatabases GetNdb Cluster Entity Count Engine Count Saphana Database[] 
- sqlserverDatabases GetNdb Cluster Entity Count Engine Count Sqlserver Database[] 
- mariadb_databases Sequence[GetNdb Cluster Entity Count Engine Count Mariadb Database] 
- mongodb_databases Sequence[GetNdb Cluster Entity Count Engine Count Mongodb Database] 
- mysql_databases Sequence[GetNdb Cluster Entity Count Engine Count Mysql Database] 
- oracle_databases Sequence[GetNdb Cluster Entity Count Engine Count Oracle Database] 
- postgres_databases Sequence[GetNdb Cluster Entity Count Engine Count Postgres Database] 
- saphana_databases Sequence[GetNdb Cluster Entity Count Engine Count Saphana Database] 
- sqlserver_databases Sequence[GetNdb Cluster Entity Count Engine Count Sqlserver Database] 
GetNdbClusterEntityCountEngineCountMariadbDatabase        
GetNdbClusterEntityCountEngineCountMariadbDatabaseProfile         
- Compute int
- DatabaseParameter int
- Network int
- Software int
- Storage int
- WindowsDomain int
- Compute int
- DatabaseParameter int
- Network int
- Software int
- Storage int
- WindowsDomain int
- compute Integer
- databaseParameter Integer
- network Integer
- software Integer
- storage Integer
- windowsDomain Integer
- compute number
- databaseParameter number
- network number
- software number
- storage number
- windowsDomain number
- compute int
- database_parameter int
- network int
- software int
- storage int
- windows_domain int
- compute Number
- databaseParameter Number
- network Number
- software Number
- storage Number
- windowsDomain Number
GetNdbClusterEntityCountEngineCountMongodbDatabase        
GetNdbClusterEntityCountEngineCountMongodbDatabaseProfile         
- Compute int
- DatabaseParameter int
- Network int
- Software int
- Storage int
- WindowsDomain int
- Compute int
- DatabaseParameter int
- Network int
- Software int
- Storage int
- WindowsDomain int
- compute Integer
- databaseParameter Integer
- network Integer
- software Integer
- storage Integer
- windowsDomain Integer
- compute number
- databaseParameter number
- network number
- software number
- storage number
- windowsDomain number
- compute int
- database_parameter int
- network int
- software int
- storage int
- windows_domain int
- compute Number
- databaseParameter Number
- network Number
- software Number
- storage Number
- windowsDomain Number
GetNdbClusterEntityCountEngineCountMysqlDatabase        
GetNdbClusterEntityCountEngineCountMysqlDatabaseProfile         
- Compute int
- DatabaseParameter int
- Network int
- Software int
- Storage int
- WindowsDomain int
- Compute int
- DatabaseParameter int
- Network int
- Software int
- Storage int
- WindowsDomain int
- compute Integer
- databaseParameter Integer
- network Integer
- software Integer
- storage Integer
- windowsDomain Integer
- compute number
- databaseParameter number
- network number
- software number
- storage number
- windowsDomain number
- compute int
- database_parameter int
- network int
- software int
- storage int
- windows_domain int
- compute Number
- databaseParameter Number
- network Number
- software Number
- storage Number
- windowsDomain Number
GetNdbClusterEntityCountEngineCountOracleDatabase        
GetNdbClusterEntityCountEngineCountOracleDatabaseProfile         
- Compute int
- DatabaseParameter int
- Network int
- Software int
- Storage int
- WindowsDomain int
- Compute int
- DatabaseParameter int
- Network int
- Software int
- Storage int
- WindowsDomain int
- compute Integer
- databaseParameter Integer
- network Integer
- software Integer
- storage Integer
- windowsDomain Integer
- compute number
- databaseParameter number
- network number
- software number
- storage number
- windowsDomain number
- compute int
- database_parameter int
- network int
- software int
- storage int
- windows_domain int
- compute Number
- databaseParameter Number
- network Number
- software Number
- storage Number
- windowsDomain Number
GetNdbClusterEntityCountEngineCountPostgresDatabase        
GetNdbClusterEntityCountEngineCountPostgresDatabaseProfile         
- Compute int
- DatabaseParameter int
- Network int
- Software int
- Storage int
- WindowsDomain int
- Compute int
- DatabaseParameter int
- Network int
- Software int
- Storage int
- WindowsDomain int
- compute Integer
- databaseParameter Integer
- network Integer
- software Integer
- storage Integer
- windowsDomain Integer
- compute number
- databaseParameter number
- network number
- software number
- storage number
- windowsDomain number
- compute int
- database_parameter int
- network int
- software int
- storage int
- windows_domain int
- compute Number
- databaseParameter Number
- network Number
- software Number
- storage Number
- windowsDomain Number
GetNdbClusterEntityCountEngineCountSaphanaDatabase        
GetNdbClusterEntityCountEngineCountSaphanaDatabaseProfile         
- Compute int
- DatabaseParameter int
- Network int
- Software int
- Storage int
- WindowsDomain int
- Compute int
- DatabaseParameter int
- Network int
- Software int
- Storage int
- WindowsDomain int
- compute Integer
- databaseParameter Integer
- network Integer
- software Integer
- storage Integer
- windowsDomain Integer
- compute number
- databaseParameter number
- network number
- software number
- storage number
- windowsDomain number
- compute int
- database_parameter int
- network int
- software int
- storage int
- windows_domain int
- compute Number
- databaseParameter Number
- network Number
- software Number
- storage Number
- windowsDomain Number
GetNdbClusterEntityCountEngineCountSqlserverDatabase        
GetNdbClusterEntityCountEngineCountSqlserverDatabaseProfile         
- Compute int
- DatabaseParameter int
- Network int
- Software int
- Storage int
- WindowsDomain int
- Compute int
- DatabaseParameter int
- Network int
- Software int
- Storage int
- WindowsDomain int
- compute Integer
- databaseParameter Integer
- network Integer
- software Integer
- storage Integer
- windowsDomain Integer
- compute number
- databaseParameter number
- network number
- software number
- storage number
- windowsDomain number
- compute int
- database_parameter int
- network int
- software int
- storage int
- windows_domain int
- compute Number
- databaseParameter Number
- network Number
- software Number
- storage Number
- windowsDomain Number
GetNdbClusterProperty   
- Description string
- description
 
- Name string
- name of cluster
 
- RefId string
- Secure bool
- Value string
- Description string
- description
 
- Name string
- name of cluster
 
- RefId string
- Secure bool
- Value string
- description String
- description
 
- name String
- name of cluster
 
- refId String
- secure Boolean
- value String
- description string
- description
 
- name string
- name of cluster
 
- refId string
- secure boolean
- value string
- description str
- description
 
- name str
- name of cluster
 
- ref_id str
- secure bool
- value str
- description String
- description
 
- name String
- name of cluster
 
- refId String
- secure Boolean
- value String
GetNdbClusterResourceConfig    
- MemoryThreshold doublePercentage 
- StorageThreshold doublePercentage 
- MemoryThreshold float64Percentage 
- StorageThreshold float64Percentage 
- memoryThreshold DoublePercentage 
- storageThreshold DoublePercentage 
- memoryThreshold numberPercentage 
- storageThreshold numberPercentage 
- memoryThreshold NumberPercentage 
- storageThreshold NumberPercentage 
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the nutanixTerraform Provider.
