ListAsyncResults
You can use ListAsyncResults
to list the results of all currently running and completed asynchronous methods on the system. Querying asynchronous results with ListAsyncResults
does not cause completed asyncHandles to expire; you can use GetAsyncResult
to query any of the asyncHandles returned by ListAsyncResults
.
Parameter
This method has the following input parameter:
Name | Description | Type | Default value | Required |
---|---|---|---|---|
asyncResultTypes |
An optional list of types of results. You can use this list to restrict the results to only these types of operations. Possible values:
|
string array |
None |
No |
Return value
This method has the following return value:
Name |
Description |
Type |
asyncHandles |
An array of serialized asynchronous method results. |
JSON object array |
Request example
Requests for this method are similar to the following example:
{ "method": "ListAsyncResults", "params": { }, "id": 1 }
Response example
This method returns a response similar to the following example:
{ "id": 1, "result": { "asyncHandles": [ { "asyncResultID": 47, "completed": true, "createTime": "2016-01-01T22:29:19Z", "data": { "cloneID": 26, "message": "Clone complete.", "volumeID": 48 }, "lastUpdateTime": "2016-01-01T22:45:43Z", "resultType": "Clone", "success": true }, ...] } }
New since version
9.6