Esx. Settings. Hosts. Configuration. Reports. Last Compliance Result Get
This API provides results from the last completed Check Compliance operation on the host.
Warning: this operation is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.
Returns an authorization error if you do not have all of the privileges described as follows:
- Operation execution requires VcIntegrity.StandaloneHostConfiguration.View.
- The resource HostSystem referenced by the parameter host requires VcIntegrity.StandaloneHostConfiguration.View.
Identifier of the host
The parameter must be an identifier for the resource type: HostSystem.
Last compliance result with status SUCCEEDED or FAILED.
"Esx.Settings.Hosts.Configuration.ComplianceResult Object"
If the host is not a standalone host.
"Vapi.Std.Errors.InvalidArgument Object"
If the caller is not authenticated.
"Vapi.Std.Errors.Unauthenticated Object"
If there is no host associated with host or no last compliance result was found.
"Vapi.Std.Errors.NotFound Object"
If there is unknown internal error. The accompanying error message will give more details about the failure.
"Vapi.Std.Errors.Error Object"
If the service is not available.
"Vapi.Std.Errors.ServiceUnavailable Object"
curl -H 'Authorization: <value>' https://{api_host}/esx/settings/hosts/{host}/configuration/reports/last-compliance-result