All Products
Search
Document Center

Security Center:ListOperationProcess

Last Updated:Nov 03, 2025

Queries a list of operation tasks.

Operation description

You can query only operation 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

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-sas:ListOperationProcesslist
*OperationProcess
acs:yundun-sas:{#regionId}:{#accountId}:operationprocess/{#TaskId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
TaskTypesarrayNo

The task types. Valid values:

  • CHECK_ALL: full check.
  • CHECK_POLICY: policy-based check for which check items are configured.
  • CHECK_SCHEDULE: scheduled check.
  • CHECK_ITEM: specific check item-based check.
  • CHECK_INSTANCE: specific check item-based check on specific instances.
stringNo

The task type.

CHECK_POLICY
CurrentPageintegerNo

The page number.

1
PageSizeintegerNo

The number of entries per page.

20
StatusCodesarrayNo

The task status codes.

integerNo

The task status code. Valid values:

  • 0: not started.
  • 1: running.
  • 2: complete.
  • 3: times out.
0
StartTimelongNo

The beginning of the time range to query. Unit: milliseconds.

1680919232000
EndTimelongNo

The end of the time range to query. Unit: milliseconds.

1635575219000
TaskIdsarrayNo

The task IDs.

stringNo

The task ID.

3d7a1b68-599f-4e16-9b45-e920a183b***
TaskSourcesarrayNo

List of task sources.

stringNo

Task source. Values:

  • YAO_CHI: Yaochi.
YAO_CHI

Response parameters

ParameterTypeDescriptionExample
object

ListOperationProcessResponse

Processesarray<object>

The information about the operation tasks.

Processesobject

The information about the operation task.

TotalCountinteger

The total number of entries returned.

337
FinishCountinteger

The number of tasks that are complete.

197
TaskIdstring

The ID of the operation task.

3d7a1b68-599f-4e16-9b45-e920a183b***
StatusCodeinteger

The task status code. Valid values:

  • 0: not started.
  • 1: running.
  • 2: complete.
  • 3: times out.
1
TaskTypestring

The task type. Valid values:

  • CHECK_ALL: full check.
  • CHECK_POLICY: policy-based check for which check items are configured.
  • CHECK_SCHEDULE: scheduled check.
  • CHECK_ITEM: specific check item-based check.
  • CHECK_INSTANCE: specific check item-based check on specific instances.
CHECK_POLICY
StartTimelong

The start time of the task. Unit: milliseconds.

1705457102000
EndTimelong

The end time of the task. Unit: milliseconds.

1705467559000
CreateTimelong

The time when the task was created. Unit: milliseconds.

1674388824000
TaskSourcestring

Task source. Values:

  • YAO_CHI: YaoChi.
YAO_CHI
DetailTaskTotalCountinteger

Total number of subtasks.

10
DetailTaskReadyCountinteger

Number of completed subtasks

5
PageInfoobject

The pagination information.

CurrentPageinteger

The page number.

1
PageSizeinteger

The number of entries per page.

20
TotalCountinteger

The total number of entries.

263
Countinteger

The number of entries returned on the current page.

4
RequestIdstring

The request ID.

F8B6F758-BCD4-597A-8A2C-DA5A552C****

Examples

Sample success responses

JSONformat

{
  "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 codeError codeError messageDescription
400CspmParamIllegalThe parameter is not legal. %s.The parameter is not legal. %s.
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

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

Change history

Change timeSummary of changesOperation
2024-12-12API Description Update. The Error code has changedView Change Details