# Fault - FailToLockFaultToleranceVMs(vim.fault.FailToLockFaultToleranceVMs)

Extends
  RuntimeFault
See also
  VirtualMachine
Since
  vSphere API 4.1

## Fault Description

Thrown when trying to state lock a Fault Tolerance VM, and the other VM in the same Fault Tolerance pair is already locked.

Properties

Name | Type | Description
--- | --- | ---
alreadyLockedVm | ManagedObjectReference to a VirtualMachine | The vm that is already locked, this can be a Fault Tolerance primary or secondary VM
vm | ManagedObjectReference to a VirtualMachine | The vm to be locked, this can be a Fault Tolerance primary or secondary VM
vmName | xsd:string | The name of the vm to be locked.
Properties inherited from RuntimeFault
None
Properties inherited from MethodFault
faultCause, faultMessage

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="FailToLockFaultToleranceVMs"> <complexContent> <extension base="vsan:RuntimeFault"> <sequence> <element name="vmName" type="xsd:string"/> <element name="vm" type="vsan:ManagedObjectReference"/> <element name="alreadyLockedVm" type="vsan:ManagedObjectReference"/> </sequence> </extension> </complexContent> </complexType>