Profile Compliance Manager Query Compliance Status
Query the compliance status based on Profile and Entity filter.
Required privileges: System.View
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case ProfileComplianceManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
"QueryComplianceStatusRequestType Object"
If specified, compliance result for the specified profiles will be returned. This acts like a filtering criteria for the ComplianceResults based on specified profiles.
If specified, compliance results for these entities will be returned. This acts like a filtering criteria for the ComplianceResults based on entities.
ComplianceResult. ComplianceResult information may not be available for all the entities. If the ComplianceResult is not available already, a new ComplianceCheck will not be triggered.
[
"ComplianceResult Object"
]
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/ProfileComplianceManager/{moId}/QueryComplianceStatus