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

Extends
  VmEvent
See also
  VirtualMachineFaultToleranceState
Since
  vSphere API 4.0

## Data Object Description

This event records a fault tolerance state change. A default alarm will be triggered upon this event, which would change the vm state: the vm state is red if the newState is needSecondary; the vm state is yellow if the newState is disabled; the vm state is green if the newState is notConfigured, starting, enabled or running

Properties

Name | Type | Description
--- | --- | ---
newState | VirtualMachineFaultToleranceState | The new fault tolerance state.
oldState | VirtualMachineFaultToleranceState | The old fault toleeance state.
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="VmFaultToleranceStateChangedEvent"> <complexContent> <extension base="vsan:VmEvent"> <sequence> <element name="oldState" type="vsan:VirtualMachineFaultToleranceState"/> <element name="newState" type="vsan:VirtualMachineFaultToleranceState"/> </sequence> </extension> </complexContent> </complexType>