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://{vcenter-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
{
    "configInfo": {
        "_typeName": "string",
        "agentVmDatastore": {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        },
        "agentVmNetwork": {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        }
    }
}
configInfo
Required

configuration of agent virtual machine resources

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