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

Property of
  HostSystem
Returned by
  CheckCompliance_Task, CheckProfileCompliance_Task, QueryComplianceStatus
Extends
  DynamicData
See also
  ComplianceFailure, ManagedEntity, Profile
Since
  vSphere API 4.0

## Data Object Description

DataObject representing the result from a ComplianceCheck

Properties

Name | Type | Description
--- | --- | ---
checkTime* | xsd:dateTime | Time at which compliance check was last run on the entity
complianceStatus | xsd:string | Indicates the compliance status of the entity. See
entity* | ManagedObjectReference to a ManagedEntity | Entity on which the compliance check was carried out. Entity can be a Cluster, Host and so on.
failure* | ComplianceFailure[] | If complianceStatus is non-compliant, failure will contain additional information about the compliance errors.
profile* | ManagedObjectReference to a Profile | Profile for which the ComplianceResult applies
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="ComplianceResult"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="profile" type="vsan:ManagedObjectReference" minOccurs="0"/> <element name="complianceStatus" type="xsd:string"/> <element name="entity" type="vsan:ManagedObjectReference" minOccurs="0"/> <element name="checkTime" type="xsd:dateTime" minOccurs="0"/> <element name="failure" type="vsan:ComplianceFailure" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>