# 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:pbm="urn:pbm" name="VmRelocatedEvent"> <complexContent> <extension base="pbm:VmRelocateSpecEvent"> <sequence> <element name="sourceHost" type="pbm:HostEventArgument"/> <element name="sourceDatacenter" type="pbm:DatacenterEventArgument" minOccurs="0"/> <element name="sourceDatastore" type="pbm:DatastoreEventArgument" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>