Host Esx Agent Host Manager Esx Agent Host Manager Update Config

Host Esx Agent Host Manager Esx Agent Host Manager Update Config

Update the host's ESX agent configuration.

The entire configuration must be set each time since all values are overwritten. E.g. a field set to null clears the value on the host.

Required privileges: Host.Config.Settings

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/HostEsxAgentHostManager/{moId}/EsxAgentHostManagerUpdateConfig
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 HostEsxAgentHostManager/{moId}.

string
release
Required

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


Request Body
Required
"EsxAgentHostManagerUpdateConfigRequestType Object"
object
configInfo
Required

configInfo

Authentication
This operation uses the following authentication methods.
Responses
204

No Content

Operation doesn't return any data structure

500

HostConfigFault: if an error occurs.

Returns HostConfigFault of type(s) application/json
"HostConfigFault Object"

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