@microsoft/windows-admin-center-sdk
Version:
Microsoft - Windows Admin Center Shell
85 lines (83 loc) • 2.16 kB
JavaScript
/**
* Cluster Inventory class.
*/
export class ClusterInventory {
clusterName;
/**
* Indicates if the cluster is S2d
*/
isS2dEnabled;
/**
* Indicates if the cluster has Britannica (sddc management resources)
*/
isBritannicaEnabled;
/**
* Indicates if the cluster has Britannica (sddc management resources) virtual machine
*/
isBritannicaVirtualMachineEnabled;
/**
* Indicates if the cluster has Britannica (sddc management resources) virtual switch
*/
isBritannicaVirtualSwitchEnabled;
/**
* Indicating if the PowerShell cmdlet of Microsoft Cluster Health is available.
*/
isClusterHealthCmdletAvailable;
/**
* Indicates if the cluster has the time series database enabled on all nodes
*/
isTsdbEnabled;
/**
* Indicating if the server has ManagementTools namespace on all nodes in cluster
*/
isManagementToolsAvailable;
/**
* Indicates if the hyper-v role is installed on all nodes in cluster
*/
isHyperVRoleInstalled;
/**
* Indicates if the hyper-v powershell feature is installed on all nodes in the cluster
*/
isHyperVPowershellInstalled;
/**
* The FQDN of cluster if any
*/
fqdn;
/**
* Indicates if the cluster cmdlet is installed on all nodes
*/
isClusterCmdletAvailable;
/**
* The Node inventories of the cluster
*/
nodeNames;
/**
* The Nodes of the cluster
*/
nodes;
/**
* The map of node names to ClusterNodes
*/
nodeMap;
/**
* the name of the node the cluster is running on
*/
currentClusterNode;
/**
* any errors when fetching cluster data
*/
clusterErrors;
/**
* Initializes a new instance of the ServerInventory Class.
*
* @param clusterName the server name to query.
* @param data the server inventory recovered data.
*/
constructor(clusterName, data) {
this.clusterName = clusterName;
if (data) {
Object.assign(this, data);
}
}
}
//# sourceMappingURL=cluster-inventory.js.map