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.
{
"providerId": "string",
"updates": [
{
"_typeName": "string",
"entity": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"healthUpdateInfoId": "string",
"id": "string",
"status": "string",
"remediation": "string"
}
]
}
The provider id.
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.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}