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

Extends
  VmRelocateSpecEvent
See also
  DatacenterEventArgument, DatastoreEventArgument, HostEventArgument

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