# Fault - NoCompatibleHost(vim.fault.NoCompatibleHost)

Extended by
  NoCompatibleHostWithAccessToDevice
Extends
  VimFault
See also
  HostSystem, LocalizedMethodFault
Since
  vSphere API 4.0

## Fault Description

A NoCompatibleHost fault is thrown when DRS cannot find a compatible host in a given compute resource to run a virtual machine on.

Properties

Name | Type | Description
--- | --- | ---
error* | LocalizedMethodFault[] | An error in this array indicates why the corresponding host in the host array is incompatible.
host* | ManagedObjectReference[] to a HostSystem[] | The list of hosts that are not compatible, each element has a corresponding fault in the error array.
Properties inherited from VimFault
None
Properties inherited from MethodFault
faultCause, faultMessage

*May not be present
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:sms="urn:sms" name="NoCompatibleHost"> <complexContent> <extension base="sms:VimFault"> <sequence> <element name="host" type="sms:ManagedObjectReference" minOccurs="0" maxOccurs="unbounded"/> <element name="error" type="sms:LocalizedMethodFault" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>