Display the list of cloud product configuration check, repair, and rollback tasks
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ListOperatedTask |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CurrentPage |
integer |
No |
The page number to display in a paginated query. |
1 |
| PageSize |
integer |
No |
The maximum number of items to display per page in a paginated query. |
10 |
| TaskId |
string |
No |
The ID of the task to be queried. |
d7b2acf8d362742123e4a84e1bf8**** |
| Type |
string |
No |
The type of operation task to be queried:
|
REPAIR |
| CheckId |
integer |
No |
The ID of the check item. Note
You can call the ListCheckResult API to obtain the check item ID. |
76 |
| OperationTaskInstances |
array<object> |
No |
The instance information of the operation tasks to be queried. |
|
|
object |
No |
|||
| Vendor |
string |
No |
Cloud asset vendor. |
ALIYUN |
| RegionId |
string |
No |
The ID of the region where the instance is located. |
cn-hangzhou |
| InstanceId |
string |
No |
The instance ID of the server. |
am-bp1vy2yaj1nvx**** |
| Statuses |
array |
No |
A list of task statuses. Multiple statuses should be separated by commas (,). Values:
|
|
|
string |
No |
The status of the task. |
REPAIRING |
|
| Lang |
string |
No |
Set the language type for the request and response messages. The default value is zh. Values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The format of the message. |
||
| RequestId |
string |
The ID of the current request, which is a unique identifier generated by Alibaba Cloud for this request and can be used for troubleshooting and problem localization. |
3956048F-9D73-5EDB-834B-4827BB48**** |
| OperationTasks |
array<object> |
Detailed instance information list of operation tasks. |
|
|
object |
|||
| RiskLevel |
string |
The risk level of the detected alert. Values:
|
high |
| CheckId |
integer |
The ID of the check item. |
3 |
| RegionId |
string |
The ID of the region where the server is located. |
cn-shenzhen |
| LastCheckTime |
integer |
The timestamp of the latest check, in milliseconds. |
1723173101000 |
| Status |
string |
The status of the task. Possible values:
|
REPAIRING |
| DealTime |
integer |
The processing time of the task. |
1723173101010 |
| TaskId |
string |
The ID of the operation task. |
5bb1a313f9924b728b3c12e007c1**** |
| RootTaskId |
string |
The ID of the main task. |
01db51b0e5307bb703a22611c86f**** |
| InstanceId |
string |
The ID of the server instance. |
i-wz9abo6wgjmh4yep**** |
| Type |
string |
The type of the operation task being queried:
|
REPAIR |
| CheckShowName |
string |
The name of the check item. |
Enable malicious host behavior defense |
| StatusShowName |
string |
The display status of the repair task. |
Rollback verified |
| RepairSupportType |
integer |
The type of repair supported by the check item:
|
1 |
| SupportRollBack |
boolean |
Whether rollback is supported:
|
true |
| InstanceFreed |
boolean |
Whether the instance is released:
|
true |
| ErrorCode |
string |
The error code. |
BackUpScriptError |
| ErrorMsg |
string |
The error message. |
backUp script error |
| PageInfo |
object |
Page information when performing a paginated query. |
|
| CurrentPage |
integer |
The page number of the current page in a paginated query. |
1 |
| PageSize |
integer |
The maximum number of items to display per page in a paginated query. |
20 |
| TotalCount |
integer |
The total number of records in the query result. |
149 |
| Count |
integer |
The number of entries returned on the current page. |
20 |
Examples
Success response
JSON format
{
"RequestId": "3956048F-9D73-5EDB-834B-4827BB48****",
"OperationTasks": [
{
"RiskLevel": "high",
"CheckId": 3,
"RegionId": "cn-shenzhen",
"LastCheckTime": 1723173101000,
"Status": "REPAIRING",
"DealTime": 1723173101010,
"TaskId": "5bb1a313f9924b728b3c12e007c1****",
"RootTaskId": "01db51b0e5307bb703a22611c86f****",
"InstanceId": "i-wz9abo6wgjmh4yep****",
"Type": "REPAIR",
"CheckShowName": "Enable malicious host behavior defense",
"StatusShowName": "Rollback verified",
"RepairSupportType": 1,
"SupportRollBack": true,
"InstanceFreed": true,
"ErrorCode": "BackUpScriptError",
"ErrorMsg": "backUp script error"
}
],
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 149,
"Count": 20
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.