# Fault - WillLoseHAProtection(vim.fault.WillLoseHAProtection)

Extends
  MigrationFault
Since
  vSphere API 5.0

## Fault Description

This fault is reported when the execution of a storage vmotion or relocate operation would impact vSphere HA's ability to restart a VM. For storage vmotion, this fault is reported when HA protection will be lost after the vmotion completes. Consequently, HA would not restart the VM if it subsequently failed. For relocate, relocate is not supported on VMs that failed before the operation is attempted and are in the process of being restarted at the time the operation is performed.

Properties

Name | Type | Description
--- | --- | ---
resolution | xsd:string | The steps the user can take to restore protection if the the operation is performed. Values come from Resolution.
Properties inherited from MigrationFault
None
Properties inherited from VimFault
None
Properties inherited from MethodFault
faultCause, faultMessage

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:pbm="urn:pbm" name="WillLoseHAProtection"> <complexContent> <extension base="pbm:MigrationFault"> <sequence> <element name="resolution" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType>