Health Update Manager Add Filter

Health Update Manager Add Filter

Adds health update filters.

Required privileges: Host.Inventory.EditCluster

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/HealthUpdateManager/{moId}/AddFilter
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
AddFilterRequestType of type(s) application/json
Required
{
    "providerId": "string",
    "filterName": "string",
    "infoIds": [
        "string"
    ]
}
string
providerId
Required

The provider identifier.

string
filterName
Required

The filter name.

array of string
infoIds
Optional

The list of HealthUpdateInfo IDs that should be filtered.

Authentication
This operation uses the following authentication methods.
Responses
200

The filter identifier.

Returns string of type(s) application/json
Operation doesn't return any data structure

500

NotFound: If no provider with this id is registered.

InvalidArgument: - If filter name exceeds the maximum length limit of 56 characters. - If a filter with this name already exists for this provider. - If infoIds list contains a HealthUpdateInfo id which is not associated with the specified provider. - If there are duplicate HealthUpdateInfo ids in the infoIds list.

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