Enables the diagnostic feature for an origin probing task.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DetectApplicationMonitor |
The operation that you want to perform. Set the value to DetectApplicationMonitor. |
RegionId | String | No | cn-hangzhou |
The region where the Global Accelerator (GA) instance is deployed. Set the value to cn-hangzhou. |
ClientToken | String | No | 123e4567-e89b-12d3-a456-426655440000 |
The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that the value is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. Note If you do not set this parameter, the system automatically uses RequestId as ClientToken. RequestId may be different for each API request.
|
TaskId | String | Yes | 2c8dbdf9-a3ab-46a1-85a4-f094965e**** |
The ID of the origin probing task for which you want to enable the diagnostic feature. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 04F0F334-1335-436C-A1D7-6C044FE73368 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DetectApplicationMonitor
&RegionId=cn-hangzhou
&ClientToken=123e4567-e89b-12d3-a456-426655440000
&TaskId=2c8dbdf9-a3ab-46a1-85a4-f094965e****
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DetectApplicationMonitorResponse>
<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
</DetectApplicationMonitorResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "04F0F334-1335-436C-A1D7-6C044FE73368"
}
Error codes
For a list of error codes, visit the API Error Center.