# Data Object - ClusterVmGroup(vim.cluster.VmGroup)

Extends
  ClusterGroupInfo
See also
  VirtualMachine
Since
  vSphere API 4.1

## Data Object Description

The ClusterVmGroup data object identifies virtual machines for VM-Host rules. VM-Host rules determine placement of virtual machines on hosts in a cluster. The logic specified in a ClusterVmHostRuleInfo object determines where virtual machines can be powered-on.

If a virtual machine is removed from the cluster, it loses its DRS group affiliation. The Server does not restore any group affiliations if the virtual machine is returned to the cluster.

Properties

Name | Type | Description
--- | --- | ---
vm* | ManagedObjectReference[] to a VirtualMachine[] | List of virtual machines that are part of this group. A virtual machine group can contain zero or more virtual machines.
Properties inherited from ClusterGroupInfo
name, uniqueID, userCreated
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="ClusterVmGroup"> <complexContent> <extension base="vsan:ClusterGroupInfo"> <sequence> <element name="vm" type="vsan:ManagedObjectReference" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>