VMware

Cluster Namespace

The Cluster namespace provides commands to manage clusters in the vCenter Server.

List of commands:



List Command

dcli com vmware vcenter cluster list

Description

Returns information about at most 1000 visible (subject to permission checks) clusters in vCenter matching the Cluster.FilterSpec.

Options

Option Name Type Required Description
clusters string No Identifiers of clusters that can match the filter. When clients pass a value of this class as a parameter, the option must contain identifiers for the resource type: ClusterComputeResource. When commands return a value of this class as a output, the option will contain identifiers for the resource type: ClusterComputeResource. If unset or empty, clusters with any identifier match the filter.
names string No Names that clusters must have to match the filter (see Cluster.Info.name). If unset or empty, clusters with any name match the filter.
folders string No Folders that must contain the cluster for the cluster to match the filter. When clients pass a value of this class as a parameter, the option must contain identifiers for the resource type: Folder. When commands return a value of this class as a output, the option will contain identifiers for the resource type: Folder. If unset or empty, clusters in any folder match the filter.
datacenters string No Datacenters that must contain the cluster for the cluster to match the filter. When clients pass a value of this class as a parameter, the option must contain identifiers for the resource type: Datacenter. When commands return a value of this class as a output, the option will contain identifiers for the resource type: Datacenter. If unset or empty, clusters in any datacenter match the filter.

Example

dcli com vmware vcenter cluster list


Get Command

dcli com vmware vcenter cluster get

Description

Retrieves information about the cluster corresponding to cluster.

Options

Option Name Type Required Description
cluster string Yes Identifier of the cluster. The parameter must be an identifier for the resource type: ClusterComputeResource.

Example

dcli com vmware vcenter cluster get --cluster testId