# Data Object - VmRelocatedEvent(vim.event.VmRelocatedEvent)

Extends
  VmRelocateSpecEvent
See also
  DatacenterEventArgument, DatastoreEventArgument, HostEventArgument
Since
  2.0

## Data Object Description

This event records the completion of a virtual machine relocation.

Properties

Name | Type | Description
--- | --- | ---
sourceDatacenter* | DatacenterEventArgument | The source datacenter from which the virtual machine relocated Since vSphere API 5.0
sourceDatastore* | DatastoreEventArgument | The source primary datastore from which the virtual machine relocated Since vSphere API 5.0
sourceHost | HostEventArgument | The source host from which the virtual machine was relocated.
Properties inherited from VmRelocateSpecEvent
None
Properties inherited from VmEvent
template
Properties inherited from Event
chainId, changeTag, computeResource, createdTime, datacenter, ds, dvs, fullFormattedMessage, host, key, net, userName, vm
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="VmRelocatedEvent"> <complexContent> <extension base="vsan:VmRelocateSpecEvent"> <sequence> <element name="sourceHost" type="vsan:HostEventArgument"/> <element name="sourceDatacenter" type="vsan:DatacenterEventArgument" minOccurs="0"/> <element name="sourceDatastore" type="vsan:DatastoreEventArgument" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>