Health Update Manager Post Health Updates
Report a change in health status.
Required privileges: HealthUpdateProvider.Update
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 HealthUpdateManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
"PostHealthUpdatesRequestType Object"
The provider id.
The changes in health states.
No Content
NotFound: If no provider with this id is registered.
NotSupported: If the http session user does not match the user who registered the provider, or if the http session cannot be retrieved.
InvalidArgument: - If an unknown HealthUpdate id is given. - If updates list contains a HealthUpdate for a host which is not monitored by the specified provider. - If updates list contains multiple HealthUpdates with the same id. - If an existing HealthUpdate id is used in the given updates. - If there is a HealthUpdate with green status and non-empty remediation. - If there is a HealthUpdate with gray status.
"NotFound Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/HealthUpdateManager/{moId}/PostHealthUpdates