Host Profile Manager Update Host Customizations Task

Host Profile Manager Update Host Customizations Task

This is the batch version of vim.profile.host.ProfileManager@updateAnswerFile.

Required privileges: Profile.Edit

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/HostProfileManager/{moId}/UpdateHostCustomizations_Task
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 HostProfileManager/{moId}.

string
release
Required

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


Request Body
UpdateHostCustomizationsRequestType of type(s) application/json
Required
{
    "hostToConfigSpecMap": [
        {
            "_typeName": "string",
            "host": {
                "_typeName": "string",
                "type": "string",
                "value": "string"
            },
            "configSpec": {
                "_typeName": "string",
                "validating": false
            }
        }
    ]
}
hostToConfigSpecMap
Optional

A map that contains the hosts with which the answer files are associated and the corresponding host-specific configuration data. If the configuration specification does not contain any host-specific user input (configSpec.AnswerFileOptionsCreateSpec.userInput), the method does not perform any operation on the answer file.

Authentication
This operation uses the following authentication methods.
Responses
200

This method returns a Task object with which to monitor the operation with a result of AnswerFileValidationResultMap array.

Returns MoRefTask of type(s) application/json
This response body class contains all of the following: MoRefExtensibleManagedObject
{
    "_typeName": "string",
    "type": "string",
    "value": "string"
}