Enables origin probing.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ga:EnableApplicationMonitor |
update |
*ApplicationMonitor
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region of the Alibaba Cloud Global Accelerator (GA) instance. Set the value to cn-hangzhou. |
cn-hangzhou |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of a request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. Note
If you do not specify this parameter, the system automatically uses the RequestId of the API request as the ClientToken. The RequestId of each API request is different. |
123e4567-e89b-12d3-a456-426655440000 |
| TaskId |
string |
Yes |
The ID of the origin probing task that you want to enable. |
sm-bp1fpdjfju9k8yr1y**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
04F0F334-1335-436C-A1D7-6C044FE73368 |
Examples
Success response
JSON format
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidateTaskId.ApplicationMonitor | The application monitor task %s is not exist. | The source station probe task ID does not exist. |
| 400 | InvalidateTaskState.ApplicationMonitor | The application task state is invalidate. | The origin probing task is in an invalid state. |
| 400 | ListenerNeed.ApplicationMonitor | The listener must be configured. | To run origin probing tasks, you must first create listeners. |
| 400 | NotExist.Listener | listener %s is not exist | The listener %s does not exist. |
| 400 | NotActive.Listener | listener %s is not active | The listener %s is unavailable. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.