Modifies a health check configuration.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alidns:UpdateDnsGtmMonitor |
update |
*MonitorConfig
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the response. Default value: en. Valid values: en, zh, and ja. |
en |
| MonitorConfigId |
string |
Yes |
The ID of the health check configuration. You can call the DescribeDnsGtmInstanceAddressPool operation to obtain the ID. |
Monito****** |
| ProtocolType |
string |
Yes |
The health check protocol. Valid values:
|
http |
| Interval |
integer |
No |
The health check interval. Unit: seconds. |
60 |
| EvaluationCount |
integer |
No |
The number of consecutive health checks. |
2 |
| Timeout |
integer |
No |
The timeout period for a health check. Unit: milliseconds. |
3000 |
| MonitorExtendInfo |
string |
Yes |
The extended information. The required parameters vary based on the health check protocol.
|
{\"code\":200,\"path\":\"\\index.htm\",\"host\":\"aliyun.com\"} |
| IspCityNode |
array<object> |
Yes |
The list of city nodes for health checks. |
|
|
object |
No |
|||
| CityCode |
string |
No |
The city code of the health check node. |
123 |
| IspCode |
string |
No |
The carrier code of the health check node. |
123 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
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.