Profile Compliance Manager Check 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 ProfileComplianceManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.
{
"profile": [
{
"_typeName": "string",
"type": "string",
"value": "string"
}
],
"entity": [
{
"_typeName": "string",
"type": "string",
"value": "string"
}
]
}
If specified, check compliance against the specified profiles. If not specified, use the profiles associated with the entities. If both Profiles and Entities are specified, Check the compliance of each Entity against each of the profile specified.
For more information, look at the KMap below.
P represents if Profile is specified.
E represents if Entity is specified.
P ^P
---------------------------------------------------
| Check compliance | Profiles associated |
E| of each entity | with the specified |
| against each of the | entity will be used |
| profiles specified. | for checking |
| | compliance. |
| | |
| | |
---------------------------------------------------
| All entities | InvalidArgument |
| associated with the | Exception is thrown. |
| profile are checked. | |
^E| | |
| | |
| | |
| | |
---------------------------------------------------
If specified, the compliance check is done against this entity.
OK
{
"_typeName": "string",
"type": "string",
"value": "string"
}