Search

Class VcClusterDrsVmConfigSpec

Extends VcArrayUpdateSpec
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 VcClusterConfigSpecEx object passed to the method VcComputeResource.

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 VcArrayUpdateSpec 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.

Attributes

Name Type Description
info VcClusterDrsVmConfigInfo
operation VcArrayUpdateOperation The type of operation being performed on the specified virtual device.
removeKey Object Key for the element to be removed. Only used if the operation is "remove".
removeKey_FloatValue Number Float value for the attribute removeKey
removeKey_IntValue Number Integer value for the attribute removeKey
removeKey_LongValue Number Long value for the attribute removeKey

Methods

Name Returns
VcClusterDrsVmConfigSpec() constructor
equals(Object ) boolean
getDeserializer(String , java.lang.Class , javax.xml.namespace.QName ) org.apache.axis.encoding.Deserializer
getSerializer(String , java.lang.Class , javax.xml.namespace.QName ) org.apache.axis.encoding.Serializer
getTypeDesc() org.apache.axis.description.TypeDesc
hashCode() Number

Returned by

None

Referenced in

None