# Fault - FailToEnableSPBM(vim.fault.FailToEnableSPBM)

Extends
  NotEnoughLicenses
See also
  ComputeResource, ComputeResourceHostSPBMLicenseInfo
Since
  vSphere API 5.0

## Fault Description

Fault type that could be thrown when enabling SPBM(Storage Policy Based Management) feature of a compute resource.

Properties

Name | Type | Description
--- | --- | ---
cs | ManagedObjectReference to a ComputeResource | The compute resource
csName | xsd:string | The computer resource name
hostLicenseStates | ComputeResourceHostSPBMLicenseInfo[] | Array of ComputeResourceHostSPBMLicenseInfo that contains SPBM license information for all hosts in the compute resource
Properties inherited from NotEnoughLicenses
None
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="FailToEnableSPBM"> <complexContent> <extension base="vsan:NotEnoughLicenses"> <sequence> <element name="cs" type="vsan:ManagedObjectReference"/> <element name="csName" type="xsd:string"/> <element name="hostLicenseStates" type="vsan:ComputeResourceHostSPBMLicenseInfo" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>