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

Extends
  VmEvent
Since
  vSphere API 4.0

## Data Object Description

This event records a fault tolerance failover. The reason could be : lost connection to primary, partial hardware failure of primary or by user.

Properties

Name | Type | Description
--- | --- | ---
reason* | xsd:string | The reason for the failure. see VirtualMachineNeedSecondaryReason
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="VmPrimaryFailoverEvent"> <complexContent> <extension base="pbm:VmEvent"> <sequence> <element name="reason" type="xsd:string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>