Task Manager Create Collector For Tasks
Creates a TaskHistoryCollector, a specialized HistoryCollector that gathers TaskInfo data objects.
A TaskHistoryCollector does not persist beyond the current client session.
Required privileges: System.View
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 TaskManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.
"CreateCollectorForTasksRequestType Object"
The specification for the task query filter.
The task collector based on the filter.
"MoRefTaskHistoryCollector Object"
InvalidArgument: if the filter is null or unknown.
InvalidState: if there are more than the maximum number of task collectors.
NotSupported: if called directly on a host.
"InvalidState Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/TaskManager/{moId}/CreateCollectorForTasks