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

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

## Data Object Description

Describes a single storage initial placement action for placing a virtual machine or a set of virtual disks on a datastore.

Properties

Name | Type | Description
--- | --- | ---
destination | ManagedObjectReference to a Datastore | Target datastore.
ioLatencyBefore* | xsd:float | Current I/O latency on the target datastore. Unit: millisecond. If not set, the value is not available.
relocateSpec | VirtualMachineRelocateSpec | Specification for placing a virtual machine or a set of virtual disks to a datastore.
spaceDemandAfter* | xsd:float | Space demand on the target datastore after placing the virtual disk. Unit: percentage. For example, if set to 70.0, space demand is 70%. This value include the space demanded by thin provisioned VMs. Hence, it may be higher than 100%. If not set, the value is not available. Since vSphere API 6.0
spaceDemandBefore* | xsd:float | Current space demand on the target datastore. Unit: percentage. For example, if set to 70.0, space demand is 70%. This value include the space demanded by thin provisioned VMs. Hence, it may be higher than 100%. If not set, the value is not available. Since vSphere API 6.0
spaceUtilAfter* | xsd:float | Space utilization on the target datastore after placing the virtual disk. Unit: percentage. For example, if set to 70.0, space utilization is 70%. If not set, the value is not available.
spaceUtilBefore* | xsd:float | Current space utilization on the target datastore. 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. It is possible that the VM has not been created, in which case, this property is left unset.
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="StoragePlacementAction"> <complexContent> <extension base="vsan:ClusterAction"> <sequence> <element name="vm" type="vsan:ManagedObjectReference" minOccurs="0"/> <element name="relocateSpec" type="vsan:VirtualMachineRelocateSpec"/> <element name="destination" type="vsan:ManagedObjectReference"/> <element name="spaceUtilBefore" type="xsd:float" minOccurs="0"/> <element name="spaceDemandBefore" type="xsd:float" minOccurs="0"/> <element name="spaceUtilAfter" type="xsd:float" minOccurs="0"/> <element name="spaceDemandAfter" type="xsd:float" minOccurs="0"/> <element name="ioLatencyBefore" type="xsd:float" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>