Retrieves the health check configuration for an address pool.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alidns:DescribeGtmMonitorConfig |
get |
*gtmInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language. |
en |
| MonitorConfigId |
string |
Yes |
The ID of the health check configuration. |
100 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The unique request ID. |
6856BCF6-11D6-4D7E-AC53-FD579933522B |
| Timeout |
integer |
The timeout period. Unit: milliseconds. Valid values: 2000, 3000, 5000, and 10000. |
3000 |
| ProtocolType |
string |
The protocol used for the health check. |
HTTP |
| IspCityNodes |
object |
||
| IspCityNode |
array<object> |
The monitoring nodes. |
|
|
object |
A monitoring node. |
||
| CityCode |
string |
The city code. |
503 |
| CountryName |
string |
The display name of the country. |
中国 |
| IspCode |
string |
The carrier code. |
465 |
| CityName |
string |
The display name of the city. |
张家口市 |
| CountryCode |
string |
The country code. |
001 |
| IspName |
string |
The name of the carrier. |
阿里巴巴 |
| CreateTime |
string |
The time when the health check configuration was created. |
2017-12-28T13:08Z |
| UpdateTime |
string |
The time when the health check configuration was last updated. |
2017-12-28T13:08Z |
| EvaluationCount |
integer |
The number of consecutive health checks. |
3 |
| UpdateTimestamp |
integer |
The UNIX timestamp that indicates when the health check configuration was last updated. |
1527690629357 |
| MonitorExtendInfo |
string |
The extended information. The parameters vary based on the protocol. For HTTP and HTTPS:
For PING:
For TCP:
|
{\"code\":200,\"path\":\"\\index.htm\",\"host\":\"aliyun.com\"} |
| MonitorConfigId |
string |
The ID of the health check configuration. |
1234abc |
| CreateTimestamp |
integer |
The UNIX timestamp that indicates when the health check configuration was created. |
1527690629357 |
| Interval |
integer |
The health check interval. Unit: seconds. The value is 60. |
60 |
Examples
Success response
JSON format
{
"RequestId": "6856BCF6-11D6-4D7E-AC53-FD579933522B",
"Timeout": 3000,
"ProtocolType": "HTTP",
"IspCityNodes": {
"IspCityNode": [
{
"CityCode": "503",
"CountryName": "中国",
"IspCode": "465",
"CityName": "张家口市",
"CountryCode": "001",
"IspName": "阿里巴巴"
}
]
},
"CreateTime": "2017-12-28T13:08Z",
"UpdateTime": "2017-12-28T13:08Z",
"EvaluationCount": 3,
"UpdateTimestamp": 1527690629357,
"MonitorExtendInfo": "{\\\"code\\\":200,\\\"path\\\":\\\"\\\\index.htm\\\",\\\"host\\\":\\\"aliyun.com\\\"}",
"MonitorConfigId": "1234abc",
"CreateTimestamp": 1527690629357,
"Interval": 60
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.