Deletes an origin probing task.
Description
- DeleteApplicationMonitor is an asynchronous operation. After you call this operation, the system returns a
request ID, but the operation is still being performed in the system background. You
can call the ListApplicationMonitor operation to query the state of an origin probing task.
- If the origin probing task is in the deleting state, it indicates that the task is being deleted. In this case, you can perform only query operations.
- If the origin probing task cannot be queried, it indicates that the task is deleted.
- The DeleteApplicationMonitor operation cannot be called repeatedly for the same Global Accelerator (GA) instance within a specific period of time.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeleteApplicationMonitor |
The operation that you want to perform. Set the value to DeleteApplicationMonitor. |
RegionId | String | No | cn-hangzhou |
The region where the 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 it is unique among different requests. ClientToken can contain only ASCII characters. Note If you do not set this parameter, ClientToken is set to the value of RequestId. The value of RequestId may be different for each API request.
|
TaskId | String | Yes | sm-bp1fpdjfju9k8yr1y**** |
The ID of the origin probing task that you want to delete. |
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=DeleteApplicationMonitor
&RegionId=cn-hangzhou
&ClientToken=123e4567-e89b-12d3-a456-426655440000
&TaskId=sm-bp1fpdjfju9k8yr1y****
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DeleteApplicationMonitorResponse>
<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
</DeleteApplicationMonitorResponse>
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.