Queries a list of client tasks.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeOnceTask |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TaskType |
string |
No |
The node type. Valid values:
Note
TaskType and RootTaskId cannot both be empty. |
CLIENT_PROBLEM_CHECK |
| RootTaskId |
string |
No |
The root task ID. Note
TaskType and RootTaskId cannot both be empty. |
bb5d657479bba5e1d308b6c9e85c9174 |
| StartTimeQuery |
integer |
No |
The timestamp when the root task starts. Unit: milliseconds. |
1651737301000 |
| EndTimeQuery |
integer |
No |
The timestamp when the root task ends. Unit: milliseconds. |
1651766520000 |
| CurrentPage |
integer |
No |
The page number of the page to return. Default value: 1, which indicates the first page. |
1 |
| PageSize |
integer |
No |
Settings for the number of client tasks on each page in a paged query. Default value: 20, which indicates that each page contains 20 client tasks. |
20 |
| Source |
string |
No |
The node source. Valid values include but are not limited to:
|
console |
| TaskId |
string |
No |
The task ID. |
d7b2acf8d362742123e4a84e1bf8**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data of client tasks. |
||
| RequestId |
string |
The request ID, which is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues. |
7E0618A9-D5EF-4220-9471-C42B5E92719F |
| PageInfo |
object |
The pagination information. |
|
| CurrentPage |
integer |
The page number of the current page in a paged query. |
1 |
| PageSize |
integer |
The number of client tasks on each page in a paged query. Default value: 20, which indicates that each page contains 20 client tasks. |
20 |
| TotalCount |
integer |
The total number of client tasks returned. |
100 |
| Count |
integer |
The number of client tasks displayed on the current page in a paged query. |
2 |
| TaskManageResponseList |
array<object> |
The list of client task query results. |
|
|
object |
The client task query result. |
||
| TaskType |
string |
The task type. Valid values:
|
CLIENT_PROBLEM_CHECK |
| Progress |
string |
The task progress, in percentage. |
10% |
| TaskStatus |
integer |
The task status. Valid values:
|
1 |
| DetailData |
string |
The task execution details. This parameter is in JSON format.
|
[ { "dispatchType": "manual", "causeMsg": [], "causeCode": [], "resCode": [ "1003" ], "resMsg": [ "powershell -executionpolicy bypass -c \"(New-Object Net.WebClient).DownloadFile('http://aegis.alicdn.com/download/aegis_client_self_check/win32/aegis_checker.exe', $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath('.\\\\aegis_checker.exe'))\"; \"./aegis_checker.exe -b eyJtb2RlIjoxLCJqc3J2X2RvbWFpbiI6W10sImlzc3VlIjoib2ZmbGluZSIsInVwZGF0ZV9kb21haW4iOltdLCJ1dWlkIjoiaW5ldC1lYWUwNDg2Ny0wMDJmLTQyM2QtYWYwMC1jNzJjZDYyOWIyNDgiLCJjbWRfaWR4IjoiNDRjZThiZWI3ZGYyYTQxMjQ1NGM4ZDc5OTE1ODI1MzMifQ==\"" ], "problemType": "offline", "uuid": "inet-eae04867-002f-423d-af00-c72cd629****" } ] |
| TaskStatusText |
string |
The text representation of the task status. Valid values:
|
INIT |
| TaskName |
string |
The task name. |
CLIENT_PROBLEM_CHECK |
| TaskStartTime |
integer |
The timestamp when the task actually starts. Unit: milliseconds. |
1649732012000 |
| TaskEndTime |
integer |
The timestamp when the task actually ends. Unit: milliseconds. |
1650267989000 |
| TaskId |
string |
The task ID. |
e900f528f5a6229bb640ca27cb44c98e |
| SuccessCount |
integer |
The number of tasks that are executed successfully. |
7 |
| FailCount |
integer |
The number of tasks that failed to be executed. |
2 |
| ResultInfo |
string |
The task execution result. |
successful |
Examples
Success response
JSON format
{
"RequestId": "7E0618A9-D5EF-4220-9471-C42B5E92719F",
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 100,
"Count": 2
},
"TaskManageResponseList": [
{
"TaskType": "CLIENT_PROBLEM_CHECK",
"Progress": "10%",
"TaskStatus": 1,
"DetailData": "[\n {\n \"dispatchType\": \"manual\",\n \"causeMsg\": [],\n \"causeCode\": [],\n \"resCode\": [\n \"1003\"\n ],\n \"resMsg\": [\n \"powershell -executionpolicy bypass -c \\\"(New-Object Net.WebClient).DownloadFile('http://aegis.alicdn.com/download/aegis_client_self_check/win32/aegis_checker.exe', $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath('.\\\\\\\\aegis_checker.exe'))\\\"; \\\"./aegis_checker.exe -b eyJtb2RlIjoxLCJqc3J2X2RvbWFpbiI6W10sImlzc3VlIjoib2ZmbGluZSIsInVwZGF0ZV9kb21haW4iOltdLCJ1dWlkIjoiaW5ldC1lYWUwNDg2Ny0wMDJmLTQyM2QtYWYwMC1jNzJjZDYyOWIyNDgiLCJjbWRfaWR4IjoiNDRjZThiZWI3ZGYyYTQxMjQ1NGM4ZDc5OTE1ODI1MzMifQ==\\\"\"\n ],\n \"problemType\": \"offline\",\n \"uuid\": \"inet-eae04867-002f-423d-af00-c72cd629****\"\n }\n]",
"TaskStatusText": "INIT",
"TaskName": "CLIENT_PROBLEM_CHECK",
"TaskStartTime": 1649732012000,
"TaskEndTime": 1650267989000,
"TaskId": "e900f528f5a6229bb640ca27cb44c98e",
"SuccessCount": 7,
"FailCount": 2,
"ResultInfo": "successful"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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.