Health Update Manager Register Health Update Provider

Health Update Manager Register Health Update Provider

Registers provider.

Required privileges: HealthUpdateProvider.Register

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/HealthUpdateManager/{moId}/RegisterHealthUpdateProvider
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.3.0 APIs.


Request Body
RegisterHealthUpdateProviderRequestType of type(s) application/json
Required
"RegisterHealthUpdateProviderRequestType Object"
string
name
Required

The provider name. Should follow Java package naming convention to minimize name clashes with currently registered providers. For example, "com.vmware.HealthUpdateProvider".

array of object
healthUpdateInfo
Optional

The list of healthUpdateInfo that can be reported in healthUpdates.

Authentication
This operation uses the following authentication methods.
Responses
200

The identifier for the registered provider.

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

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/HealthUpdateManager/{moId}/RegisterHealthUpdateProvider