All Products
Search
Document Center

Security Center:ListOperationTask

Last Updated:May 22, 2025
This topic is generated by a machine translation engine without any human intervention. ALIBABA CLOUD DOES NOT GUARANTEE THE ACCURACY OF MACHINE TRANSLATED CONTENT. To request a human-translated version of this topic or provide feedback on this translation, please include it in the feedback form.

Display the list of cloud product configuration check, repair, and rollback tasks

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
CurrentPageintegerNo

The page number to display in a paginated query.

1
PageSizeintegerNo

The maximum number of items to display per page in a paginated query.

10
TaskIdstringNo

The ID of the task to be queried.

d7b2acf8d362742123e4a84e1bf8****
TypestringNo

The type of operation task to be queried:

  • REPAIR: Repair
  • ROLLBACK: Rollback
REPAIR
CheckIdlongNo

The ID of the check item.

Note You can call the ListCheckResult API to obtain the check item ID.
76
OperationTaskInstancesarray<object>No

The instance information of the operation tasks to be queried.

objectNo
VendorstringNo

Cloud asset vendor.

ALIYUN
RegionIdstringNo

The ID of the region where the instance is located.

cn-hangzhou
InstanceIdstringNo

The instance ID of the server.

am-bp1vy2yaj1nvx****
StatusesarrayNo

A list of task statuses. Multiple statuses should be separated by commas (,). Values:

  • INIT: Initialization
  • FAIL: Processing failed
  • THROTTLING: Repairing concurrently
  • IN_BACKUP: Backing up
  • BACKED_UP: Backed up
  • BACKUP_FAIL: Backup failed
  • REPAIRING: Repairing
  • REPAIR_SUCCESS: Repair succeeded
  • REPAIR_FAIL: Repair failed
  • REPAIR_SUCCESS_VERIFYING: Verifying repair success
  • REPAIR_SUCCESS_UNVERIFIED: Repair success verification failed
  • REPAIR_SUCCESS_VERIFIED: Repair success verified
  • REPAIR_RE_EXECUTE: Re-executing repair
  • ROLL_BACKING: Rolling back
  • ROLL_BACKED: Rolled back
  • ROLL_BACK_FAIL: Rollback failed
  • ROLL_BACK_INIT: Rollback initiated
  • ROLL_BACK_VERIFYING: Verifying rollback success
  • ROLL_BACK_UNVERIFIED: Rollback success verification failed
  • ROLL_BACK_VERIFIED: Rollback success verified
stringNo

The status of the task.

REPAIRING
LangstringNo

Set the language type for the request and response messages. The default value is zh. Values:

  • zh: Chinese
  • en: English
zh

Response parameters

ParameterTypeDescriptionExample
object

The format of the message.

RequestIdstring

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****
OperationTasksarray<object>
OperationTaskobject
LastCheckTimelong

The timestamp of the latest check, in milliseconds.

1723173101000
Statusstring

The status of the task. Possible values:

  • INIT:Initialization
  • FAIL:Processing failed
  • THROTTLING:Repairing concurrently
  • IN_BACKUP:Backing up
  • BACKED_UP:Backed up
  • BACKUP_FAIL:Backup failed
  • REPAIRING:Repairing
  • REPAIR_SUCCESS:Repair succeeded
  • REPAIR_FAIL:Repair failed
  • REPAIR_SUCCESS_VERIFYING:Verifying repair success
  • REPAIR_SUCCESS_UNVERIFIED:Verification of repair success failed
  • REPAIR_SUCCESS_VERIFIED:Verification of repair success succeeded
  • REPAIR_RE_EXECUTE:Re-executing repair
  • ROLL_BACKING:Rolling back
  • ROLL_BACKED:Rolled back
  • ROLL_BACK_FAIL:Rollback failed
  • ROLL_BACK_INIT:Initiating rollback
  • ROLL_BACK_VERIFYING:Verifying rollback success
  • ROLL_BACK_UNVERIFIED:Verification of rollback success failed
  • ROLL_BACK_VERIFIED:Verification of rollback success succeeded
REPAIRING
DealTimelong

The processing time of the task.

1723173101010
TaskIdstring

The ID of the operation task.

5bb1a313f9924b728b3c12e007c1****
RootTaskIdstring

The ID of the main task.

01db51b0e5307bb703a22611c86f****
InstanceIdstring

The ID of the server instance.

i-wz9abo6wgjmh4yep****
Typestring

The type of the operation task being queried:

  • REPAIR: Repair
  • ROLLBACK: Rollback
REPAIR
CheckShowNamestring

The name of the check item.

checkShowName
StatusShowNamestring

The display status of the repair task.

Verified After Repair Success
RepairSupportTypeinteger

The type of repair supported by the check item:

  • 1:Supports repair and rollback operations
  • 2:Supports repair but not rollback
  • 3:Redirect to a third-party platform for operation
1
SupportRollBackboolean

Whether rollback is supported:

  • true: Supported
  • false: Not supported
true
InstanceFreedboolean

Whether the instance is released:

  • true: Released
  • false: Not released
true
ErrorCodestring

The error code.

BackUpScriptError
ErrorMsgstring

The error message.

backUp script error
PageInfoobject

Page information when performing a paginated query.

CurrentPageinteger

The page number of the current page in a paginated query.

1
PageSizeinteger

The maximum number of items to display per page in a paginated query.

20
TotalCountinteger

The total number of records in the query result.

149
Countinteger

The number of entries returned on the current page.

20

Examples

Sample success responses

JSONformat

{
  "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 codeError codeError messageDescription
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.