Queries asynchronous tasks in a region.
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:
- The required resource types are displayed in bold characters.
- 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.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
alb:ListAsynJobs | List |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
JobIds | array | No | The asynchronous task IDs. | |
string | No | The asynchronous task ID. | bp1bpn0kn9**** | |
ResourceType | string | No | The type of the associated resource. Valid values:
| acl |
ResourceIds | array | No | The resource IDs. | |
string | No | The resource ID. | alb-o8mszt95oamfjy**** | |
ApiName | string | No | The name of the operation. | CreateLoadBalancer |
BeginTime | long | No | The timestamp that indicates the start time of the task. Unit: milliseconds. Specify the timestamp in the Unix format to indicate the total amount of time that is from 00:00:00 (UTC+0) on January 1, 1970 to when the status of the asynchronous task is queried. | 2021-06-03T17:22Z |
EndTime | long | No | The timestamp that indicates the end time of the task. Unit: milliseconds. Specify the timestamp in the Unix format to indicate the total amount of time that is from 00:00:00 (UTC+0) on January 1, 1970 to when the status of the asynchronous task is returned. | 2021-06-04T17:22Z |
NextToken | string | No | The pagination token that is used in the next request to retrieve a new page of results. Valid values:
| FFmyTO70tTpLG6I3FmYAXGKPd**** |
MaxResults | long | No | The number of entries per page. Valid values: 1 to 100. Default value: 20. | 20 |
Response parameters
Examples
Sample success responses
JSON
format
{
"Jobs": [
{
"ApiName": "CreateLoadBalancer",
"CreateTime": 2134663231234,
"ErrorCode": "506",
"ErrorMessage": "AllocateEipAddress Failed",
"Id": "365F4154-92F6-4AE4-92F8-7FF34B5****",
"ModifyTime": 2144663233315,
"OperateType": "Create",
"ResourceId": "alb-o8mszt95oamfjy****",
"ResourceType": "acl",
"Status": "Succeeded"
}
],
"MaxResults": 10,
"NextToken": "FFmyTO70tTpLG6I3FmYAXGKPd****",
"RequestId": "365F4154-92F6-4AE4-92F8-7FF34B540710",
"TotalCount": 1000
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|