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

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:vim25="urn:vim25" name="ComplianceResult"> <complexContent> <extension base="vim25:DynamicData"> <sequence> <element name="profile" type="vim25:ManagedObjectReference" minOccurs="0"/> <element name="complianceStatus" type="xsd:string"/> <element name="entity" type="vim25:ManagedObjectReference" minOccurs="0"/> <element name="checkTime" type="xsd:dateTime" minOccurs="0"/> <element name="failure" type="vim25:ComplianceFailure" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>