Nutanix v0.0.52 published on Friday, Jun 7, 2024 by Piers Karsenbarg
nutanix.getNdbClusters
Explore with Pulumi AI
List all clusters in Nutanix Database Service
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pulumi/nutanix";
const clusters = nutanix.getNdbClusters({});
export const clustersOp = clusters;
import pulumi
import pulumi_nutanix as nutanix
clusters = nutanix.get_ndb_clusters()
pulumi.export("clustersOp", 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 {
clusters, err := nutanix.GetNdbClusters(ctx, nil, nil)
if err != nil {
return err
}
ctx.Export("clustersOp", clusters)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nutanix = Pulumi.Nutanix;
return await Deployment.RunAsync(() =>
{
var clusters = Nutanix.GetNdbClusters.Invoke();
return new Dictionary<string, object?>
{
["clustersOp"] = clusters,
};
});
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.getNdbClusters();
ctx.export("clustersOp", clusters.applyValue(getNdbClustersResult -> getNdbClustersResult));
}
}
variables:
clusters:
fn::invoke:
Function: nutanix:getNdbClusters
Arguments: {}
outputs:
clustersOp: ${clusters}
clusters
The following attributes are exported for each cluster:
id
: - id of clustername
: - name of clusterunique_name
: - unique name of clusterip_addresses
: - IP addressfqdns
: - fqdnnx_cluster_uuid
: - nutanix cluster uuiddescription
: - descriptioncloud_type
: - cloud typedate_created
: - creation datedate_modified
: - date modifiedversion
: - versionowner_id
: - owner UUIDstatus
: - current statushypervisor_type
: - hypervisor typehypervisor_version
: - hypervisor versionproperties
: - list of propertiesreference_count
: - NAusername
: - usernamepassword
: - passwordcloud_info
: - cloud inforesource_config
: - resource related consumption infomanagement_server_info
: - NAentity_counts
: - no. of entities relatedhealthy
: - if healthy status
See detailed information in NDB Clusters.
Using getNdbClusters
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 getNdbClusters(opts?: InvokeOptions): Promise<GetNdbClustersResult>
function getNdbClustersOutput(opts?: InvokeOptions): Output<GetNdbClustersResult>
def get_ndb_clusters(opts: Optional[InvokeOptions] = None) -> GetNdbClustersResult
def get_ndb_clusters_output(opts: Optional[InvokeOptions] = None) -> Output[GetNdbClustersResult]
func GetNdbClusters(ctx *Context, opts ...InvokeOption) (*GetNdbClustersResult, error)
func GetNdbClustersOutput(ctx *Context, opts ...InvokeOption) GetNdbClustersResultOutput
> Note: This function is named GetNdbClusters
in the Go SDK.
public static class GetNdbClusters
{
public static Task<GetNdbClustersResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetNdbClustersResult> Invoke(InvokeOptions? opts = null)
}
public static CompletableFuture<GetNdbClustersResult> getNdbClusters(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: nutanix:index/getNdbClusters:getNdbClusters
arguments:
# arguments dictionary
getNdbClusters Result
The following output properties are available:
- Clusters
List<Piers
Karsenbarg. Nutanix. Outputs. Get Ndb Clusters Cluster> - list of clusters
- Id string
- The provider-assigned unique ID for this managed resource.
- Clusters
[]Get
Ndb Clusters Cluster - list of clusters
- Id string
- The provider-assigned unique ID for this managed resource.
- clusters
List<Get
Ndb Clusters Cluster> - list of clusters
- id String
- The provider-assigned unique ID for this managed resource.
- clusters
Get
Ndb Clusters Cluster[] - list of clusters
- id string
- The provider-assigned unique ID for this managed resource.
- clusters
Sequence[Get
Ndb Clusters Cluster] - list of clusters
- id str
- The provider-assigned unique ID for this managed resource.
- clusters List<Property Map>
- list of clusters
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
GetNdbClustersCluster
- Cloud
Info string - Cloud
Type string - Date
Created string - Date
Modified string - Description string
- Entity
Counts List<PiersKarsenbarg. Nutanix. Inputs. Get Ndb Clusters Cluster Entity Count> - Fqdns string
- Healthy bool
- Hypervisor
Type string - Hypervisor
Version string - Id string
- Ip
Addresses List<string> - Management
Server stringInfo - Name string
- Nx
Cluster stringUuid - Owner
Id string - Password string
- Properties
List<Piers
Karsenbarg. Nutanix. Inputs. Get Ndb Clusters Cluster Property> - Reference
Count int - Resource
Configs List<PiersKarsenbarg. Nutanix. Inputs. Get Ndb Clusters Cluster Resource Config> - Status string
- Unique
Name string - Username string
- Version string
- Cloud
Info string - Cloud
Type string - Date
Created string - Date
Modified string - Description string
- Entity
Counts []GetNdb Clusters Cluster Entity Count - Fqdns string
- Healthy bool
- Hypervisor
Type string - Hypervisor
Version string - Id string
- Ip
Addresses []string - Management
Server stringInfo - Name string
- Nx
Cluster stringUuid - Owner
Id string - Password string
- Properties
[]Get
Ndb Clusters Cluster Property - Reference
Count int - Resource
Configs []GetNdb Clusters Cluster Resource Config - Status string
- Unique
Name string - Username string
- Version string
- cloud
Info String - cloud
Type String - date
Created String - date
Modified String - description String
- entity
Counts List<GetNdb Clusters Cluster Entity Count> - fqdns String
- healthy Boolean
- hypervisor
Type String - hypervisor
Version String - id String
- ip
Addresses List<String> - management
Server StringInfo - name String
- nx
Cluster StringUuid - owner
Id String - password String
- properties
List<Get
Ndb Clusters Cluster Property> - reference
Count Integer - resource
Configs List<GetNdb Clusters Cluster Resource Config> - status String
- unique
Name String - username String
- version String
- cloud
Info string - cloud
Type string - date
Created string - date
Modified string - description string
- entity
Counts GetNdb Clusters Cluster Entity Count[] - fqdns string
- healthy boolean
- hypervisor
Type string - hypervisor
Version string - id string
- ip
Addresses string[] - management
Server stringInfo - name string
- nx
Cluster stringUuid - owner
Id string - password string
- properties
Get
Ndb Clusters Cluster Property[] - reference
Count number - resource
Configs GetNdb Clusters Cluster Resource Config[] - status string
- unique
Name string - username string
- version string
- cloud_
info str - cloud_
type str - date_
created str - date_
modified str - description str
- entity_
counts Sequence[GetNdb Clusters Cluster Entity Count] - fqdns str
- healthy bool
- hypervisor_
type str - hypervisor_
version str - id str
- ip_
addresses Sequence[str] - management_
server_ strinfo - name str
- nx_
cluster_ struuid - owner_
id str - password str
- properties
Sequence[Get
Ndb Clusters Cluster Property] - reference_
count int - resource_
configs Sequence[GetNdb Clusters Cluster Resource Config] - status str
- unique_
name str - username str
- version str
- cloud
Info String - cloud
Type String - date
Created String - date
Modified String - description String
- entity
Counts List<Property Map> - fqdns String
- healthy Boolean
- hypervisor
Type String - hypervisor
Version String - id String
- ip
Addresses List<String> - management
Server StringInfo - name String
- nx
Cluster StringUuid - owner
Id String - password String
- properties List<Property Map>
- reference
Count Number - resource
Configs List<Property Map> - status String
- unique
Name String - username String
- version String
GetNdbClustersClusterEntityCount
GetNdbClustersClusterEntityCountEngineCount
- Mariadb
Databases List<PiersKarsenbarg. Nutanix. Inputs. Get Ndb Clusters Cluster Entity Count Engine Count Mariadb Database> - Mongodb
Databases List<PiersKarsenbarg. Nutanix. Inputs. Get Ndb Clusters Cluster Entity Count Engine Count Mongodb Database> - Mysql
Databases List<PiersKarsenbarg. Nutanix. Inputs. Get Ndb Clusters Cluster Entity Count Engine Count Mysql Database> - Oracle
Databases List<PiersKarsenbarg. Nutanix. Inputs. Get Ndb Clusters Cluster Entity Count Engine Count Oracle Database> - Postgres
Databases List<PiersKarsenbarg. Nutanix. Inputs. Get Ndb Clusters Cluster Entity Count Engine Count Postgres Database> - Saphana
Databases List<PiersKarsenbarg. Nutanix. Inputs. Get Ndb Clusters Cluster Entity Count Engine Count Saphana Database> - Sqlserver
Databases List<PiersKarsenbarg. Nutanix. Inputs. Get Ndb Clusters Cluster Entity Count Engine Count Sqlserver Database>
- Mariadb
Databases []GetNdb Clusters Cluster Entity Count Engine Count Mariadb Database - Mongodb
Databases []GetNdb Clusters Cluster Entity Count Engine Count Mongodb Database - Mysql
Databases []GetNdb Clusters Cluster Entity Count Engine Count Mysql Database - Oracle
Databases []GetNdb Clusters Cluster Entity Count Engine Count Oracle Database - Postgres
Databases []GetNdb Clusters Cluster Entity Count Engine Count Postgres Database - Saphana
Databases []GetNdb Clusters Cluster Entity Count Engine Count Saphana Database - Sqlserver
Databases []GetNdb Clusters Cluster Entity Count Engine Count Sqlserver Database
- mariadb
Databases List<GetNdb Clusters Cluster Entity Count Engine Count Mariadb Database> - mongodb
Databases List<GetNdb Clusters Cluster Entity Count Engine Count Mongodb Database> - mysql
Databases List<GetNdb Clusters Cluster Entity Count Engine Count Mysql Database> - oracle
Databases List<GetNdb Clusters Cluster Entity Count Engine Count Oracle Database> - postgres
Databases List<GetNdb Clusters Cluster Entity Count Engine Count Postgres Database> - saphana
Databases List<GetNdb Clusters Cluster Entity Count Engine Count Saphana Database> - sqlserver
Databases List<GetNdb Clusters Cluster Entity Count Engine Count Sqlserver Database>
- mariadb
Databases GetNdb Clusters Cluster Entity Count Engine Count Mariadb Database[] - mongodb
Databases GetNdb Clusters Cluster Entity Count Engine Count Mongodb Database[] - mysql
Databases GetNdb Clusters Cluster Entity Count Engine Count Mysql Database[] - oracle
Databases GetNdb Clusters Cluster Entity Count Engine Count Oracle Database[] - postgres
Databases GetNdb Clusters Cluster Entity Count Engine Count Postgres Database[] - saphana
Databases GetNdb Clusters Cluster Entity Count Engine Count Saphana Database[] - sqlserver
Databases GetNdb Clusters Cluster Entity Count Engine Count Sqlserver Database[]
- mariadb_
databases Sequence[GetNdb Clusters Cluster Entity Count Engine Count Mariadb Database] - mongodb_
databases Sequence[GetNdb Clusters Cluster Entity Count Engine Count Mongodb Database] - mysql_
databases Sequence[GetNdb Clusters Cluster Entity Count Engine Count Mysql Database] - oracle_
databases Sequence[GetNdb Clusters Cluster Entity Count Engine Count Oracle Database] - postgres_
databases Sequence[GetNdb Clusters Cluster Entity Count Engine Count Postgres Database] - saphana_
databases Sequence[GetNdb Clusters Cluster Entity Count Engine Count Saphana Database] - sqlserver_
databases Sequence[GetNdb Clusters Cluster Entity Count Engine Count Sqlserver Database]
GetNdbClustersClusterEntityCountEngineCountMariadbDatabase
GetNdbClustersClusterEntityCountEngineCountMariadbDatabaseProfile
- Compute int
- Database
Parameter int - Network int
- Software int
- Storage int
- Windows
Domain int
- Compute int
- Database
Parameter int - Network int
- Software int
- Storage int
- Windows
Domain int
- compute Integer
- database
Parameter Integer - network Integer
- software Integer
- storage Integer
- windows
Domain Integer
- compute number
- database
Parameter number - network number
- software number
- storage number
- windows
Domain number
- compute int
- database_
parameter int - network int
- software int
- storage int
- windows_
domain int
- compute Number
- database
Parameter Number - network Number
- software Number
- storage Number
- windows
Domain Number
GetNdbClustersClusterEntityCountEngineCountMongodbDatabase
GetNdbClustersClusterEntityCountEngineCountMongodbDatabaseProfile
- Compute int
- Database
Parameter int - Network int
- Software int
- Storage int
- Windows
Domain int
- Compute int
- Database
Parameter int - Network int
- Software int
- Storage int
- Windows
Domain int
- compute Integer
- database
Parameter Integer - network Integer
- software Integer
- storage Integer
- windows
Domain Integer
- compute number
- database
Parameter number - network number
- software number
- storage number
- windows
Domain number
- compute int
- database_
parameter int - network int
- software int
- storage int
- windows_
domain int
- compute Number
- database
Parameter Number - network Number
- software Number
- storage Number
- windows
Domain Number
GetNdbClustersClusterEntityCountEngineCountMysqlDatabase
GetNdbClustersClusterEntityCountEngineCountMysqlDatabaseProfile
- Compute int
- Database
Parameter int - Network int
- Software int
- Storage int
- Windows
Domain int
- Compute int
- Database
Parameter int - Network int
- Software int
- Storage int
- Windows
Domain int
- compute Integer
- database
Parameter Integer - network Integer
- software Integer
- storage Integer
- windows
Domain Integer
- compute number
- database
Parameter number - network number
- software number
- storage number
- windows
Domain number
- compute int
- database_
parameter int - network int
- software int
- storage int
- windows_
domain int
- compute Number
- database
Parameter Number - network Number
- software Number
- storage Number
- windows
Domain Number
GetNdbClustersClusterEntityCountEngineCountOracleDatabase
GetNdbClustersClusterEntityCountEngineCountOracleDatabaseProfile
- Compute int
- Database
Parameter int - Network int
- Software int
- Storage int
- Windows
Domain int
- Compute int
- Database
Parameter int - Network int
- Software int
- Storage int
- Windows
Domain int
- compute Integer
- database
Parameter Integer - network Integer
- software Integer
- storage Integer
- windows
Domain Integer
- compute number
- database
Parameter number - network number
- software number
- storage number
- windows
Domain number
- compute int
- database_
parameter int - network int
- software int
- storage int
- windows_
domain int
- compute Number
- database
Parameter Number - network Number
- software Number
- storage Number
- windows
Domain Number
GetNdbClustersClusterEntityCountEngineCountPostgresDatabase
GetNdbClustersClusterEntityCountEngineCountPostgresDatabaseProfile
- Compute int
- Database
Parameter int - Network int
- Software int
- Storage int
- Windows
Domain int
- Compute int
- Database
Parameter int - Network int
- Software int
- Storage int
- Windows
Domain int
- compute Integer
- database
Parameter Integer - network Integer
- software Integer
- storage Integer
- windows
Domain Integer
- compute number
- database
Parameter number - network number
- software number
- storage number
- windows
Domain number
- compute int
- database_
parameter int - network int
- software int
- storage int
- windows_
domain int
- compute Number
- database
Parameter Number - network Number
- software Number
- storage Number
- windows
Domain Number
GetNdbClustersClusterEntityCountEngineCountSaphanaDatabase
GetNdbClustersClusterEntityCountEngineCountSaphanaDatabaseProfile
- Compute int
- Database
Parameter int - Network int
- Software int
- Storage int
- Windows
Domain int
- Compute int
- Database
Parameter int - Network int
- Software int
- Storage int
- Windows
Domain int
- compute Integer
- database
Parameter Integer - network Integer
- software Integer
- storage Integer
- windows
Domain Integer
- compute number
- database
Parameter number - network number
- software number
- storage number
- windows
Domain number
- compute int
- database_
parameter int - network int
- software int
- storage int
- windows_
domain int
- compute Number
- database
Parameter Number - network Number
- software Number
- storage Number
- windows
Domain Number
GetNdbClustersClusterEntityCountEngineCountSqlserverDatabase
GetNdbClustersClusterEntityCountEngineCountSqlserverDatabaseProfile
- Compute int
- Database
Parameter int - Network int
- Software int
- Storage int
- Windows
Domain int
- Compute int
- Database
Parameter int - Network int
- Software int
- Storage int
- Windows
Domain int
- compute Integer
- database
Parameter Integer - network Integer
- software Integer
- storage Integer
- windows
Domain Integer
- compute number
- database
Parameter number - network number
- software number
- storage number
- windows
Domain number
- compute int
- database_
parameter int - network int
- software int
- storage int
- windows_
domain int
- compute Number
- database
Parameter Number - network Number
- software Number
- storage Number
- windows
Domain Number
GetNdbClustersClusterProperty
- Description string
- Name string
- Ref
Id string - Secure bool
- Value string
- Description string
- Name string
- Ref
Id string - Secure bool
- Value string
- description String
- name String
- ref
Id String - secure Boolean
- value String
- description string
- name string
- ref
Id string - secure boolean
- value string
- description str
- name str
- ref_
id str - secure bool
- value str
- description String
- name String
- ref
Id String - secure Boolean
- value String
GetNdbClustersClusterResourceConfig
- Memory
Threshold doublePercentage - Storage
Threshold doublePercentage
- Memory
Threshold float64Percentage - Storage
Threshold float64Percentage
- memory
Threshold DoublePercentage - storage
Threshold DoublePercentage
- memory
Threshold numberPercentage - storage
Threshold numberPercentage
- memory
Threshold NumberPercentage - storage
Threshold NumberPercentage
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanix
Terraform Provider.