# Data Object - ArrayUpdateSpec(vim.option.ArrayUpdateSpec)

Extended by
  ClusterDasVmConfigSpec, ClusterDatastoreUpdateSpec, ClusterDpmHostConfigSpec, ClusterDrsVmConfigSpec, ClusterGroupSpec, ClusterPreemptibleVmPairSpec, ClusterRuleSpec, ClusterTagCategoryUpdateSpec, ClusterVmOrchestrationSpec, StorageDrsOptionSpec, StorageDrsVmConfigSpec, VAppOvfSectionSpec, VAppProductSpec, VAppPropertySpec, VirtualMachineCpuIdInfoSpec
Extends
  DynamicData
See also
  ArrayUpdateOperation
Since
  2.0

## Data Object Description

An ArrayUpdateSpec data object type is a common superclass for supporting incremental updates to arrays.

The common code pattern is:

         class MyTypeSpec extrends ArrayUpdateSpec {
               MyTypeInfo info;
         }

The ArrayUpdateSpec contains the following:

- operation: the type of operation being performed.
- removeKey: In the case of a remove operation, the key value that identifies the array to be removed.

Properties

Name | Type | Description
--- | --- | ---
operation | ArrayUpdateOperation | The type of operation being performed on the specified virtual device.
removeKey* | xsd:anyType | Key for the element to be removed. Only used if the operation is "remove".
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="ArrayUpdateSpec"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="operation" type="vsan:ArrayUpdateOperation"/> <element name="removeKey" type="xsd:anyType" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>