Health Update Manager Add Monitored Entities

Health Update Manager Add Monitored Entities

The provider monitors additional managed entities.

A particular managed entity can be monitored by multiple providers.

Required privileges: HealthUpdateProvider.Update

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/HealthUpdateManager/{moId}/AddMonitoredEntities
COPY
Path Parameters
string
moId
Required

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}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.


Request Body
AddMonitoredEntitiesRequestType of type(s) application/json
Required
{
    "providerId": "string",
    "entities": [
        {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        }
    ]
}
string
providerId
Required

The provider id.

entities
Optional

The entities that are newly monitored by this provider.

Authentication
This operation uses the following authentication methods.
Responses
204

No Content

Operation doesn't return any data structure

500

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 any of the entities is not of type HostSystem. - If there are duplicate entities in the given entities list. - If any of the entities is already monitored by the specified provider.

Returns NotFound of type(s) application/json
This response body class contains all of the following: VimFault
{
    "_typeName": "string",
    "faultCause": "MethodFault Object",
    "faultMessage": [
        {
            "_typeName": "string",
            "key": "string",
            "arg": [
                {
                    "_typeName": "string",
                    "key": "string",
                    "value": {
                        "_typeName": "string"
                    }
                }
            ],
            "message": "string"
        }
    ]
}