Host Profile Manager Generate Host Profile Task List Task

Host Profile Manager Generate Host Profile Task List Task

Generate a list of configuration tasks that will be performed on the host during HostProfile application.

This differs from the GenerateConfigTaskList method in that it returns a task to monitor the progress of the operation.

Required privileges: System.View

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/HostProfileManager/{moId}/GenerateHostProfileTaskList_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
GenerateHostProfileTaskListRequestType of type(s) application/json
Required
"GenerateHostProfileTaskListRequestType Object"
object
configSpec
Required

The HostConfigSpec data object provides access to data objects that specify configuration changes to be applied to an ESX host.

object
host
Required

Reference to an instance of the HostSystem managed object.

Authentication
This operation uses the following authentication methods.
Responses
200

This method returns a Task object with which to monitor the operation. If the task is successful, the Task.info.result property is a HostProfileManagerConfigTaskList object.

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

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