You can call this operation to modify health check configurations for an address pool of a Global Traffic Manager (GTM) instance.
Debugging
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| Action | String | Yes | UpdateGtmMonitor |
The operation that you want to perform. Set the value to UpdateGtmMonitor. |
| MonitorConfigId | String | Yes | 1234abc |
The health check ID. |
| MonitorExtendInfo | String | Yes | {\"code\":200,\"path\":\"\\index.htm\",\"host\":\"aliyun.com\"} |
The extended information of health checks. |
| ProtocolType | String | Yes | HTTP |
The protocol that you want to use for health checks. |
| EvaluationCount | Integer | No | 3 |
The number of consecutive failed health check attempts. |
| Interval | Integer | No | 60 |
The interval between health checks. |
| IspCityNode.N.CityCode | String | No | 572 |
The code of the monitored city node. |
| IspCityNode.N.IspCode | String | No | 465 |
The Internet service provider (ISP) code. |
| Lang | String | No | en |
The language used by the user. |
| Timeout | Integer | No | 3000 |
The time-out period that you want to set for health checks. |
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| RequestId | String | 6856BCF6-11D6-4D7E-AC53-FD579933522B |
The ID of the request. |
Examples
Sample requests
http(s)://alidns.aliyuncs.com/? Action=UpdateGtmMonitor
&MonitorConfigId=1234abc
&MonitorExtendInfo={\"code\":200,\"path\":\"\\index.htm\",\"host\":\"aliyun.com\"}
&ProtocolType=HTTP
&<Common request parameters>
Sample success responses
XML format
<UpdateGtmMonitorResponse>
<RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>
</UpdateGtmMonitorResponse>
JSON format
{
"RequestId":"6856BCF6-11D6-4D7E-AC53-FD579933522B"
}
Error codes
For a list of error codes, visit the API Error Center.