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

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

## 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:vim25="urn:vim25" name="VmMigratedEvent"> <complexContent> <extension base="vim25:VmEvent"> <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>