Configures latency monitoring for an endpoint.
Operation description
-
ConfigEndpointProbe is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the DescribeEndpointGroup operation to query the status of the endpoint group to which an endpoint belongs and determine whether latency monitoring is configured for the endpoint.
- If the endpoint group is in the updating state, it indicates that latency monitoring is being configured for the endpoint. In this case, you can perform only query operations.
- If the endpoint group is in the active state, it indicates that latency monitoring is configured for the endpoint.
-
The ConfigEndpointProbe operation holds an exclusive lock on the Global Accelerator (GA) instance. While the operation is in progress, you cannot call the same operation in the same Alibaba Cloud account.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID of the GA instance. Set the value to cn-hangzhou. | cn-hangzhou |
ClientToken | string | No | The client token that is used to ensure the idempotence of the 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. Note
If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request.
| 123e4567-e89b-12d3-a456-426655440000 |
EndpointGroupId | string | Yes | The endpoint group ID. | epg-bp1dmlohjjz4kqaun**** |
EndpointType | string | Yes | The type of the endpoint. Valid values:
| Ip |
Endpoint | string | Yes | The endpoint. | 127.0.XX.XX |
ProbeProtocol | string | No | The protocol that is used to monitor latency. Valid values:
| tcp |
ProbePort | string | No | The port that is used to monitor latency. Valid values: 0 to 65535. | 80 |
Enable | string | Yes | Specifies whether to enable latency monitoring. Valid values:
| true |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "6FEA0CF3-D3B9-43E5-A304-D217037876A8"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|