# Fault - NoCompatibleHardAffinityHost(vim.fault.NoCompatibleHardAffinityHost)

Extends
  VmConfigFault
Since
  vSphere API 4.1

## Fault Description

The cluster contains no hosts satisfying the hard VM/host affinity rules constraint for the VM.

Properties

Name | Type | Description
--- | --- | ---
vmName | xsd:string | The vm for which there are no compatible hard-affine hosts in the cluster.
Properties inherited from VmConfigFault
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:vsan="urn:vsan" name="NoCompatibleHardAffinityHost"> <complexContent> <extension base="vsan:VmConfigFault"> <sequence> <element name="vmName" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType>