# Data Object - ClusterDrsVmConfigSpec(vim.cluster.DrsVmConfigSpec)

Property of
  ClusterConfigSpec, ClusterConfigSpecEx
Extends
  ArrayUpdateSpec
See also
  ClusterDrsVmConfigInfo

## Data Object Description

Updates the per-virtual-machine DRS configuration.

To update the DRS configuration of a virtual machine, a copy of this object is included in the ClusterConfigSpecEx object passed to the method ReconfigureComputeResource_Task.

If reconfigureEx is used to incrementally update the cluster configuration (i.e., the parameter modify is true), then three operations are provided for updating the DRS configuration for a virtual machine. These operations are listed below (see ArrayUpdateSpec for more information on these operations).

- add: add a configuration for the virtual machine, overwritting the existing configuration if one exists
- edit: incrmentally update the existing configuration; an existing configuration must exist
- remove: remove the existing configuration; an existing configuration must exist

If, instead, this method is used to overwrite the cluster configuration (i.e., the parameter modify is false) thereby creating a new configuration, only the add operation is allowed. In this case, add creates a DRS configuration for a virtual machine in the new cluster configuration.

Properties

Name | Type | Description
--- | --- | ---
info* | ClusterDrsVmConfigInfo |
Properties inherited from ArrayUpdateSpec
operation, removeKey
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vim25="urn:vim25" name="ClusterDrsVmConfigSpec"> <complexContent> <extension base="vim25:ArrayUpdateSpec"> <sequence> <element name="info" type="vim25:ClusterDrsVmConfigInfo" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>