Cluster Profile Check Profile Compliance Task
Check compliance of an entity against a Profile.
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 ClusterProfile/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
"CheckProfileComplianceRequestType Object"
If specified, the compliance check is performed on this entity. If the entity is not specified, the vCenter Server runs a compliance check on all the entities associated with the profile. The entity does not have to be associated with the profile.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/ClusterProfile/{moId}/CheckProfileCompliance_Task