# Data Object - ComplianceFailure(vim.profile.ComplianceResult.ComplianceFailure)

Property of
  ComplianceResult
Extends
  DynamicData
See also
  ComplianceFailureComplianceFailureValues, LocalizableMessage
Since
  vSphere API 4.0

## Data Object Description

Properties

Name | Type | Description
--- | --- | ---
expressionName* | xsd:string | Name of the Expression which generated the ComplianceFailure
failureType | xsd:string | String uniquely identifying the failure.
failureValues* | ComplianceFailureComplianceFailureValues[] | If complianceStatus is non-compliant, failureValues will contain values of the non-compliant fields on the host and in the profile. Since vSphere API 6.5
message | LocalizableMessage | Message which describes the compliance failures message.key serves as a key to the localized message catalog.
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="ComplianceFailure"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="failureType" type="xsd:string"/> <element name="message" type="vsan:LocalizableMessage"/> <element name="expressionName" type="xsd:string" minOccurs="0"/> <element name="failureValues" type="vsan:ComplianceFailureComplianceFailureValues" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>