Query operation task sub-task list.
Operation description
You can query only operation subtasks.
Debugging
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 Resourcesis 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.
| Operation | Access level | Resource type | Condition key | Associated operation |
|---|---|---|---|---|
| yundun-sas:ListOperationProcessDetail | list | *All Resources * |
| none |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| TaskIds | array | No | The IDs of operation tasks. | |
| string | No | The ID of the operation task. | a68478b8-811e-47ec-ab0c-3e5b077ca*** | |
| StatusCodes | array | No | The subtask status codes. | |
| integer | No | The subtask status code. Valid values:
| 1 | |
| StartTime | long | No | The beginning of the time range to query. Unit: milliseconds. | 1731469330000 |
| EndTime | long | No | The end of the time range to query. Unit: milliseconds. | 1731555850000 |
| CurrentPage | integer | No | The page number. Default value: 1. | 1 |
| PageSize | integer | No | The number of entries per page. | 20 |
| Lang | string | No | The language of the content within the request and response. Default value: zh. Valid values:
| zh |
Response parameters
Examples
Sample success responses
JSONformat
{
"ProcessDetails": [
{
"AssetVendor": 0,
"AssetType": 8,
"AssetSubType": 1,
"Checks": [
{
"CheckId": 133,
"CheckShowName": "Check for Security Center Agent Status"
}
],
"StatusCode": 0,
"TaskId": "v34578b8-e567-47ec-2345-3e5b077ca***\n",
"StartTime": 1730335622000,
"EndTime": 1706544199000,
"DetailTaskId": "fb4bcd41-a916-46bc-ab1a-65fd383be***",
"CreateTime": 1706544199000
}
],
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 19,
"Count": 10
},
"RequestId": "CE500770-42D3-442E-9DDD-156E0F9F3***"
}Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 400 | CspmParamIllegal | The parameter is not legal. %s. | The parameter is not legal. %s. |
| 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.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2024-12-12 | API Description Update. The Error code has changed | View Change Details |
