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

Extends
  VmPoweredOnEvent
See also
  HostEventArgument

## Data Object Description

Deprecated. As of vSphere API 5.0, the Server will generate the EventEx event with the eventTypeId property set to "com.vmware.vc.ha.VmRestartedByHAEvent".

This event records that the virtual machine was restarted on a host, since its original host had failed.

Properties

Name | Type | Description
--- | --- | ---
sourceHost | HostEventArgument | The host that failed.
Properties inherited from VmPoweredOnEvent
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

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VmRestartedOnAlternateHostEvent"> <complexContent> <extension base="vsan:VmPoweredOnEvent"> <sequence> <element name="sourceHost" type="vsan:HostEventArgument"/> </sequence> </extension> </complexContent> </complexType>