# 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:pbm="urn:pbm" name="FailToLockFaultToleranceVMs"> <complexContent> <extension base="pbm:RuntimeFault"> <sequence> <element name="vmName" type="xsd:string"/> <element name="vm" type="pbm:ManagedObjectReference"/> <element name="alreadyLockedVm" type="pbm:ManagedObjectReference"/> </sequence> </extension> </complexContent> </complexType>