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

Extended by
  DrsVmMigratedEvent
Extends
  VmEvent
See also
  DatacenterEventArgument, DatastoreEventArgument, HostEventArgument
Since
  2.0

## Data Object Description

This event records a virtual machine migration.

Properties

Name | Type | Description
--- | --- | ---
sourceDatacenter* | DatacenterEventArgument | The source datacenter Since vSphere API 5.0
sourceDatastore* | DatastoreEventArgument | The source primary datastore Since vSphere API 5.0
sourceHost | HostEventArgument | The source host. (Because this is after a successful migration, the destination host is recorded in the inherited "host" property.)
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="VmMigratedEvent"> <complexContent> <extension base="vsan:VmEvent"> <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>