Display the list of cloud product configuration check, repair, and rollback tasks
Debugging
Authorization information
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 | long | 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 parameters
Examples
Sample success responses
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": "checkShowName",
"StatusShowName": "Verified After Repair Success",
"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 |
---|---|---|---|
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.