Retrieves the configuration of a specified health check template.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alidns:DescribeCloudGtmMonitorTemplate |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AcceptLanguage |
string |
No |
The language of the response. Valid values:
|
zh-CN |
| TemplateId |
string |
Yes |
The unique ID of the health check template. |
mtp-89518052425100**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The unique request ID. |
6AEC7A64-3CB1-4C49-8B35-0B901F1E26BF |
| TemplateId |
string |
The unique ID of the health check template. |
mtp-89518052425100**** |
| CreateTime |
string |
The time when the health check template was created. |
2024-03-23T13:09Z |
| CreateTimestamp |
integer |
The UNIX timestamp that indicates when the health check template was created. |
1527690629357 |
| UpdateTime |
string |
The time when the health check template was last modified. |
2024-03-29T13:20Z |
| UpdateTimestamp |
integer |
The UNIX timestamp that indicates when the health check template was last modified. |
1527690629357 |
| Name |
string |
The name of the health check template. To easily identify the template, specify a name that indicates the health check protocol. |
Ping-IPv4 |
| IpVersion |
string |
The IP address type of the detection points:
|
IPv4 |
| Protocol |
string |
The protocol used to probe the target IP address:
|
ping |
| Interval |
integer |
The interval between health checks in seconds. The default value is 60. The minimum interval is 15 seconds. This feature is available only for Ultimate Edition instances. |
60 |
| Timeout |
integer |
The health check timeout period in milliseconds. If a packet is not returned within the specified timeout period, the health check fails. Valid values:
|
5000 |
| EvaluationCount |
integer |
The number of consecutive times that a health check must fail before the application service is declared abnormal. This prevents false alarms caused by transient issues such as network jitter. Valid values:
|
2 |
| FailureRate |
integer |
The percentage of failed detection points. If the percentage of failed detection points exceeds this value, the endpoint is declared abnormal. Valid values:
|
50 |
| ExtendInfo |
string |
The extended information in a JSON string. The parameters vary based on the protocol.
|
{\"code\":200,\"path\":\"\\index.htm\",\"host\":\"aliyun.com\"} |
| IspCityNodes |
object |
||
| IspCityNode |
array<object> |
The list of detection points. For more information, call the ListCloudGtmMonitorNodes operation. |
|
|
object |
A detection point. |
||
| CountryCode |
string |
The country code. |
001 |
| CountryName |
string |
The country name. |
中国 |
| CityCode |
string |
The city code. |
503 |
| CityName |
string |
The city name. |
张家口市 |
| GroupType |
string |
The group type of the detection points:
|
BGP |
| GroupName |
string |
The name of the detection point group. |
BGP节点 |
| IspCode |
string |
The carrier code. |
465 |
| IspName |
string |
The carrier name. |
阿里巴巴 |
| Remark |
string |
The remarks on the health check template. |
test |
Examples
Success response
JSON format
{
"RequestId": "6AEC7A64-3CB1-4C49-8B35-0B901F1E26BF",
"TemplateId": "mtp-89518052425100****",
"CreateTime": "2024-03-23T13:09Z",
"CreateTimestamp": 1527690629357,
"UpdateTime": "2024-03-29T13:20Z",
"UpdateTimestamp": 1527690629357,
"Name": "Ping-IPv4",
"IpVersion": "IPv4",
"Protocol": "ping",
"Interval": 60,
"Timeout": 5000,
"EvaluationCount": 2,
"FailureRate": 50,
"ExtendInfo": "{\\\"code\\\":200,\\\"path\\\":\\\"\\\\index.htm\\\",\\\"host\\\":\\\"aliyun.com\\\"}",
"IspCityNodes": {
"IspCityNode": [
{
"CountryCode": "001",
"CountryName": "中国",
"CityCode": "503",
"CityName": "张家口市",
"GroupType": "BGP",
"GroupName": "BGP节点",
"IspCode": "465",
"IspName": "阿里巴巴"
}
]
},
"Remark": "test"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.