# 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:vim25="urn:vim25" name="FailToEnableSPBM"> <complexContent> <extension base="vim25:NotEnoughLicenses"> <sequence> <element name="cs" type="vim25:ManagedObjectReference"/> <element name="csName" type="xsd:string"/> <element name="hostLicenseStates" type="vim25:ComputeResourceHostSPBMLicenseInfo" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>