Health Update Manager Add Filter Entities

Health Update Manager Add Filter Entities

Add entities on which this filter is configured.

Required privileges: Host.Inventory.EditCluster

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/HealthUpdateManager/{moId}/AddFilterEntities
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
AddFilterEntitiesRequestType of type(s) application/json
Required
{
    "filterId": "string",
    "entities": [
        {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        }
    ]
}
string
filterId
Required

The filter id.

entities
Optional

The list of additional managed entities. Only entities of type HostSystem or ClusterComputeResource are valid.

Authentication
This operation uses the following authentication methods.
Responses
204

No Content

Operation doesn't return any data structure

500

NotFound: If no filter with this id is registered.

InvalidArgument: - If any of the entities is already associated with the specified filter. - If there are duplicate entities in the given entities list. - If the entities list contains an entity of type other than HostSystem and ClusterComputeResource.

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"
        }
    ]
}