Queries a list of operation tasks.
Operation description
Currently, only check operation task queries are supported.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ListOperationProcess |
list |
*OperationProcess
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TaskTypes |
array |
No |
The task type. Valid values:
|
|
|
string |
No |
The task type. |
CHECK_POLICY |
|
| CurrentPage |
integer |
No |
The page number of the current page to display in a paged query. This parameter is used for paging. |
1 |
| PageSize |
integer |
No |
The number of entries per page. |
20 |
| StatusCodes |
array |
No |
The list of task status codes. |
|
|
integer |
No |
The check task status code. Valid values:
|
0 |
|
| StartTime |
integer |
No |
The start time of the query based on the task creation time. Unit: milliseconds. |
1680919232000 |
| EndTime |
integer |
No |
The end time of the query based on the task completion time. Unit: milliseconds. |
1635575219000 |
| TaskIds |
array |
No |
The list of task IDs. |
|
|
string |
No |
The task ID. |
3d7a1b68-599f-4e16-9b45-e920a183b*** |
|
| TaskSources |
array |
No |
The list of task sources. |
|
|
string |
No |
The task source. Valid values:
|
YAO_CHI |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
ListOperationProcessResponse |
||
| Processes |
array<object> |
The list of operation task information. |
|
|
object |
The operation task information. |
||
| TotalCount |
integer |
The total number of entries returned. |
337 |
| FinishCount |
integer |
The number of completed items. |
197 |
| TaskId |
string |
The ID of the operation task. |
3d7a1b68-599f-4e16-9b45-e920a183b*** |
| StatusCode |
integer |
The check task status code. Valid values:
|
1 |
| TaskType |
string |
The task type. Valid values:
|
CHECK_POLICY |
| StartTime |
integer |
The start time of the task. Unit: milliseconds. |
1705457102000 |
| EndTime |
integer |
The end time of the task. Unit: milliseconds. |
1705467559000 |
| CreateTime |
integer |
The creation time of the task. Unit: milliseconds. |
1674388824000 |
| TaskSource |
string |
The task source. Valid values:
|
YAO_CHI |
| DetailTaskTotalCount |
integer |
The total number of subtasks. |
10 |
| DetailTaskReadyCount |
integer |
The number of completed subtasks. |
5 |
| PageInfo |
object |
The pagination information. |
|
| CurrentPage |
integer |
The page number of the current page to display in a paged query. This parameter is used for paging. |
1 |
| PageSize |
integer |
The number of entries per page. |
20 |
| TotalCount |
integer |
The total number of entries. |
263 |
| Count |
integer |
The number of entries on the current page. |
4 |
| RequestId |
string |
The ID of the request. Alibaba Cloud generates a unique identifier for each request. You can use this ID to troubleshoot issues. |
F8B6F758-BCD4-597A-8A2C-DA5A552C**** |
Examples
Success response
JSON format
{
"Processes": [
{
"TotalCount": 337,
"FinishCount": 197,
"TaskId": "3d7a1b68-599f-4e16-9b45-e920a183b***\n",
"StatusCode": 1,
"TaskType": "CHECK_POLICY",
"StartTime": 1705457102000,
"EndTime": 1705467559000,
"CreateTime": 1674388824000,
"TaskSource": "YAO_CHI",
"DetailTaskTotalCount": 10,
"DetailTaskReadyCount": 5
}
],
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 263,
"Count": 4
},
"RequestId": "F8B6F758-BCD4-597A-8A2C-DA5A552C****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | CspmParamIllegal | The parameter is not legal. %s. | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.