Retrieves a list of diagnostic tasks.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
esa:ListTraceTasks | none | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
DiagnoseId | string | No | The diagnose ID. | f2xxx5 |
TraceId | string | No | The diagnostic trace ID. | 000000xxxxxxxxxxxxxxxxxxxxxx33427e |
TaskId | string | No | The diagnostic task ID. | xxxxxxxxxx-x-x-xxxxxxxxxxxxxxxxx |
ClientIp | string | No | The client IP address. | 60.xx.xxx.38 |
DomainName | string | No | The domain name to diagnose. | http://www.example.com |
StartTime | string | No | The start time. Time zone: UTC/GMT. | 1644467126 |
EndTime | string | No | The end time. Time zone: UTC/GMT. | 1644467126 |
PageNumber | integer | No | The page number. Default value: 1. | 2 |
PageSize | integer | No | The page size. Valid values: any integer from 1 to 1000. | 10 |
Response elements
Element | Type | Description | Example |
object | |||
Count | integer | The number of pages. | 10 |
| List | array<object> | The returned list information. | |
object | The object. | ||
Aliuid | string | The Alibaba Cloud account ID. | 1077********7468 |
ClientAddr | string | The IP address of the local DNS server. | xx.xx.xx.xx |
ClientIp | string | The client IP address. | xx.xx.xx.xx |
CreateTime | string | The time when the report was created. Format: yyyy-MM-dd HH:mm:ss. Time zone: UTC+8. | 2022-12-10 15:11:47 |
DiagnoseId | string | The diagnose ID. | f2a18ad5 |
DiagnoseUrl | string | The diagnostic URL. | http://cdn.dns-detect.alicdn.com/diagnose/xxxxxx |
Domain | string | The domain name to diagnose. | http://www.example.com |
ExpireTime | integer | The expiration time. The value is a UNIX timestamp. Unit: seconds. | 1669285111 |
RemainDiagnoseTimes | integer | The remaining number of available diagnostic attempts. | 10 |
State | string | The report generation status. Valid values:
| 0 |
Status | integer | The status of the diagnostic URL. Valid values:
| 1 |
TaskId | string | The task ID. | 000000xxxxxxxxxxxxxxxxxxxxxxxxxxxx475e |
TimeConsuming | integer | The time consumed to generate the report. | 1 |
TraceId | string | The diagnostic trace ID. | 000000xxxxxxxxxxxxxxxxxxxxxx25941e |
PageNumber | integer | The page number, starting from 1. | 1 |
PageSize | integer | The page size. Valid values: any integer from 1 to 1000. | 6 |
RequestId | string | The request ID. | 4E09C5D7-E1CF-4CAA-A45E-8727F4C8FD70 |
Examples
Success response
JSON format
{
"Count": 10,
"List": [
{
"Aliuid": "1077********7468",
"ClientAddr": "xx.xx.xx.xx",
"ClientIp": "xx.xx.xx.xx",
"CreateTime": "2022-12-10 15:11:47",
"DiagnoseId": "f2a18ad5",
"DiagnoseUrl": "http://cdn.dns-detect.alicdn.com/diagnose/xxxxxx",
"Domain": "http://www.example.com",
"ExpireTime": 1669285111,
"RemainDiagnoseTimes": 10,
"State": "0",
"Status": 1,
"TaskId": "000000xxxxxxxxxxxxxxxxxxxxxxxxxxxx475e",
"TimeConsuming": 1,
"TraceId": "000000xxxxxxxxxxxxxxxxxxxxxx25941e"
}
],
"PageNumber": 1,
"PageSize": 6,
"RequestId": "4E09C5D7-E1CF-4CAA-A45E-8727F4C8FD70"
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.