# Data Object - StorageMigrationAction(vim.storageDrs.StorageMigrationAction)

Extends
  ClusterAction
See also
  Datastore, VirtualMachine, VirtualMachineRelocateSpec
Since
  vSphere API 5.0

## Data Object Description

Describes a single storage migration action. The storage migration action applies either to a virtual machine or a set of virtual disks.

Properties

Name | Type | Description
--- | --- | ---
destination | ManagedObjectReference to a Datastore | Destination datastore.
ioLatencyDstBefore* | xsd:float | I/O latency on the destination datastore before storage migration. Unit: millisecond. If not set, the value is not available.
ioLatencySrcBefore* | xsd:float | I/O latency on the source datastore before storage migration. Unit: millisecond. If not set, the value is not available.
relocateSpec | VirtualMachineRelocateSpec | Specification for moving a virtual machine or a set of virtual disks to a different datastore.
sizeTransferred | xsd:long | The amount of data to be transferred. Unit: KB.
source | ManagedObjectReference to a Datastore | Source datastore.
spaceUtilDstAfter* | xsd:float | Expected space utilization on the destination datastore after storage migration. Unit: percentage. For example, if set to 70.0, space utilization is 70%. If not set, the value is not available.
spaceUtilDstBefore* | xsd:float | Space utilization on the destination datastore before storage migration. Unit: percentage. For example, if set to 70.0, space utilization is 70%. If not set, the value is not available.
spaceUtilSrcAfter* | xsd:float | Expected space utilization on the source datastore after storage migration. Unit: percentage. For example, if set to 70.0, space utilization is 70%. If not set, the value is not available.
spaceUtilSrcBefore* | xsd:float | Space utilization on the source datastore before storage migration. Unit: percentage. For example, if set to 70.0, space utilization is 70%. If not set, the value is not available.
vm | ManagedObjectReference to a VirtualMachine | Virtual machine reference.
Properties inherited from ClusterAction
target, type
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="StorageMigrationAction"> <complexContent> <extension base="vsan:ClusterAction"> <sequence> <element name="vm" type="vsan:ManagedObjectReference"/> <element name="relocateSpec" type="vsan:VirtualMachineRelocateSpec"/> <element name="source" type="vsan:ManagedObjectReference"/> <element name="destination" type="vsan:ManagedObjectReference"/> <element name="sizeTransferred" type="xsd:long"/> <element name="spaceUtilSrcBefore" type="xsd:float" minOccurs="0"/> <element name="spaceUtilDstBefore" type="xsd:float" minOccurs="0"/> <element name="spaceUtilSrcAfter" type="xsd:float" minOccurs="0"/> <element name="spaceUtilDstAfter" type="xsd:float" minOccurs="0"/> <element name="ioLatencySrcBefore" type="xsd:float" minOccurs="0"/> <element name="ioLatencyDstBefore" type="xsd:float" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>