Queries the diagnostic results of origin probing tasks.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ListApplicationMonitorDetectResult |
The operation that you want to perform. Set the value to ListApplicationMonitorDetectResult. |
RegionId | String | No | cn-hangzhou |
The region where the Global Accelerator (GA) instance is deployed. Set the value to cn-hangzhou. |
PageNumber | Integer | No | 1 |
The number of the page to return. Default value: 1. |
PageSize | Integer | No | 10 |
The number of entries to return on each page. Maximum value: 100. Default value: 10. |
TaskId | String | No | sm-bp1fpdjfju9k8yr1y**** |
The ID of the origin probing task. |
BeginTime | Long | Yes | 1638288000 |
The start time of the time range to be queried. The time follows the UNIX time format. It is the number of seconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC. |
EndTime | Long | Yes | 1640164683 |
The end time of the time range to be queried. The time follows the UNIX time format. It is the number of seconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 04F0F334-1335-436C-A1D7-6C044FE73368 |
The ID of the request. |
TotalCount | Integer | 1 |
The number of entries returned. |
PageSize | Integer | 10 |
The number of entries returned per page. |
PageNumber | Integer | 1 |
The page number of the returned page. |
ApplicationMonitorDetectResultList | Array of ApplicationMonitorDetectResult |
The diagnostic results of the origin probing tasks. |
|
AcceleratorId | String | ga-bp1odcab8tmno0hdq**** |
The ID of the GA instance on which the origin probing task runs. |
ListenerId | String | lsr-bp1bpn0kn908w4nbw**** |
The ID of the listener on which the origin probing task runs. |
TaskId | String | sm-bp1fpdjfju9k8yr1y**** |
The ID of the origin probing task. |
Port | String | 80 |
The listening port. |
Protocol | String | http |
The network transmission protocol that is used by the listener. Valid values:
Note UDP listeners do not support probing.
|
DiagStatus | String | success |
The diagnostic result of the origin probing task.
|
StatusCode | String | 502 |
The error code returned by the origin probing task. |
Content | String | 502 BadGateway |
The response content returned by the origin probing task. |
Detail | String | All forward nodes work well |
The description of the diagnostic result of the origin probing task. Valid values:
|
DetectTime | String | 1663205460 |
The time when the diagnosis of the origin detection task ends. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=ListApplicationMonitorDetectResult
&RegionId=cn-hangzhou
&PageNumber=1
&PageSize=10
&TaskId=sm-bp1fpdjfju9k8yr1y****
&BeginTime=1638288000
&EndTime=1640164683
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<ListApplicationMonitorDetectResultResponse>
<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
<TotalCount>1</TotalCount>
<PageSize>10</PageSize>
<PageNumber>1</PageNumber>
<ApplicationMonitorDetectResultList>
<AcceleratorId>ga-bp1odcab8tmno0hdq****</AcceleratorId>
<ListenerId>lsr-bp1bpn0kn908w4nbw****</ListenerId>
<TaskId>sm-bp1fpdjfju9k8yr1y****</TaskId>
<Port>80</Port>
<Protocol>http</Protocol>
<DiagStatus>success</DiagStatus>
<StatusCode>502</StatusCode>
<Content>502 BadGateway</Content>
<Detail>All forward nodes work well</Detail>
<DetectTime>1663205460</DetectTime>
</ApplicationMonitorDetectResultList>
</ListApplicationMonitorDetectResultResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "04F0F334-1335-436C-A1D7-6C044FE73368",
"TotalCount" : 1,
"PageSize" : 10,
"PageNumber" : 1,
"ApplicationMonitorDetectResultList" : [ {
"AcceleratorId" : "ga-bp1odcab8tmno0hdq****",
"ListenerId" : "lsr-bp1bpn0kn908w4nbw****",
"TaskId" : "sm-bp1fpdjfju9k8yr1y****",
"Port" : "80",
"Protocol" : "http",
"DiagStatus" : "success",
"StatusCode" : "502",
"Content" : "502 BadGateway",
"Detail" : "All forward nodes work well",
"DetectTime" : "1663205460"
} ]
}
Error codes
For a list of error codes, visit the API Error Center.