Updates a health check configuration.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alidns:UpdateGtmMonitor |
update |
*gtmInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the response. |
en |
| MonitorConfigId |
string |
Yes |
The ID of the health check configuration. |
1234abc |
| ProtocolType |
string |
Yes |
The health check protocol. |
HTTP |
| Interval |
integer |
No |
The interval between health checks. Unit: seconds. The value must be 60. |
60 |
| EvaluationCount |
integer |
No |
The number of consecutive health checks. |
3 |
| Timeout |
integer |
No |
The timeout period for a health check. Unit: milliseconds. Valid values: 2000, 3000, 5000, and 10000. |
3000 |
| MonitorExtendInfo |
string |
Yes |
The extended information. The parameters vary based on the protocol. HTTP and HTTPS:
PING:
TCP:
|
{\"code\":200,\"path\":\"\\index.htm\",\"host\":\"aliyun.com\"} |
| IspCityNode |
array<object> |
Yes |
The list of monitoring nodes. |
|
|
object |
No |
|||
| CityCode |
string |
No |
The city code. |
572 |
| IspCode |
string |
No |
|
465 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
6856BCF6-11D6-4D7E-AC53-FD579933522B |
Examples
Success response
JSON format
{
"RequestId": "6856BCF6-11D6-4D7E-AC53-FD579933522B"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.