Queries the diagnostic results of origin probing tasks.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

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:

  • tcp: TCP
  • udp: UDP
  • http: HTTP
  • https: HTTPS
Note UDP listeners do not support probing.
DiagStatus String success

The diagnostic result of the origin probing task.

  • success: The origin probing task succeeded.
  • failed: The origin probing task failed.
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:

  • All forward nodes work well: The origin is normal.
  • Endpoint network error.: The origin is abnormal. You must check whether the origin is running as expected.
  • Public network error.: An Internet error occurred. This refers to a network error that occurred when the client connects to the acceleration region.
  • Ga internal error.: An internal error occurred. For example, an exception occurred when a request is processed by GA.
  • Ga has been deleted.: The current GA instance is deleted.
  • Ga state is not stable: The current GA instance is in an unstable state, such as the Configuring state.
  • Ga has no listener configuration.: The current GA instance does not have a listener.
  • Missing endpoint configuration.: No endpoint is configured.
  • Missing acceleration region configuration.: No acceleration region is configured.
  • Missing endpointgroup configuration.: No endpoint group is configured.
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.