Task History Collector Read Next Tasks

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.

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns Array of TaskInfo of type(s) application/json
[
    {
        "_typeName": "string",
        "key": "string",
        "task": {
            "type": "string",
            "value": "string"
        },
        "description": {
            "key": "string",
            "arg": [
                {
                    "_typeName": "string",
                    "key": "string",
                    "value": {
                        "_typeName": "string"
                    }
                }
            ],
            "message": "string"
        },
        "name": "string",
        "descriptionId": "string",
        "entity": {
            "type": "string",
            "value": "string"
        },
        "entityName": "string",
        "locked": [
            {
                "_typeName": "string",
                "type": "string",
                "value": "string"
            }
        ],
        "state": "string",
        "cancelled": false,
        "cancelable": false,
        "error": {
            "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"
    }
]