Task History Collector Read Next Tasks
Reads the 'scrollable view' from the current position.
The scrollable position is moved to the next newer page after the read. No item is returned when the end of the collector is reached.
Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/TaskHistoryCollector/{moId}/ReadNextTasks
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 TaskHistoryCollector/{moId}
.
string
release
Required
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
Request Body
ReadNextTasksRequestType of type(s) application/json
Required
{
"maxCount": 0
}
integer As int32 As int32
maxCount
Required
The maximum number of items in the page.
Responses
200
OK
Returns Array of TaskInfo of type(s) application/json
[
{
"_typeName": "string",
"key": "string",
"task": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"description": {
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
},
"name": "string",
"descriptionId": "string",
"entity": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"entityName": "string",
"locked": [
{
"_typeName": "string",
"type": "string",
"value": "string"
}
],
"state": "string",
"cancelled": false,
"cancelable": false,
"error": {
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
},
"result": {
"_typeName": "string"
},
"progress": 0,
"progressDetails": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"reason": {
"_typeName": "string"
},
"queueTime": "string",
"startTime": "string",
"completeTime": "string",
"eventChainId": 0,
"changeTag": "string",
"parentTaskKey": "string",
"rootTaskKey": "string",
"activationId": "string"
}
]
On This Page
Task History Collector Operations
POST
Task History Collector Destroy Collector
GET
Task History Collector Get Filter
GET
Task History Collector Get Latest Page
POST
Task History Collector Read Next Tasks
POST
Task History Collector Read Previous Tasks
POST
Task History Collector Reset Collector
POST
Task History Collector Rewind Collector
POST
Task History Collector Set Collector Page Size