# Data Object - CnsVolumeRelocateSpec(vim.cns.VolumeRelocateSpec)

Extended by
  CnsBlockVolumeRelocateSpec
Extends
  DynamicData
See also
  CnsVolumeId, Datastore, VirtualMachineProfileSpec
Since
  vSAN API 7.4

## Data Object Description

Base class for the volume relocation spec.

Properties

Name | Type | Description
--- | --- | ---
datastore | ManagedObjectReference to a Datastore | The destination datastore that the volume is relocated to.
profile* | VirtualMachineProfileSpec[] | Volume relocation profile requirement. While relocating the volume, the default policy of the destination datastore is applied if this is unset.
volumeId | CnsVolumeId | Unique identifier for the volume.
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="CnsVolumeRelocateSpec"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="volumeId" type="vsan:CnsVolumeId"/> <element name="datastore" type="vsan:ManagedObjectReference"/> <element name="profile" type="vsan:VirtualMachineProfileSpec" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>