Recherche des modèles de vérification de l'état.
Testez maintenant
Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale. Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale.
Test
Autorisation RAM
|
alidns:SearchCloudGtmMonitorTemplates |
list |
*All Resource
|
Aucune | Aucune |
Paramètres de requête
|
Paramètre |
Type |
Requis |
Description |
Exemple |
| AcceptLanguage |
string |
Non |
La langue de la réponse. Valeurs valides :
|
zh-CN |
| PageNumber |
integer |
Oui |
Le numéro de la page actuelle. La valeur commence à 1. La valeur par défaut est 1. |
1 |
| PageSize |
integer |
Oui |
Le nombre d'entrées à renvoyer sur chaque page pour une requête paginée. La valeur maximale est 100. La valeur par défaut est 20. |
20 |
| Name |
string |
Non |
Le nom du modèle de vérification de l'état. Une recherche approximative est effectuée en fonction du mot-clé que vous saisissez. |
IPv4-Ping |
| IpVersion |
string |
Non |
La version IP des points de détection. Une recherche exacte est effectuée. Valeurs valides :
|
IPv4 |
| Protocol |
string |
Non |
Le protocole utilisé pour la détection. Une recherche exacte est effectuée. Valeurs valides :
|
ping |
Éléments de réponse
|
Élément |
Type |
Description |
Exemple |
|
object |
|||
| RequestId |
string |
L'identifiant unique de la requête. |
536E9CAD-DB30-4647-AC87-AA5CC38C5382 |
| TotalPages |
integer |
Le nombre total de pages. |
1 |
| TotalItems |
integer |
Le nombre total de modèles de vérification de l'état trouvés. |
1 |
| PageSize |
integer |
Le nombre d'entrées renvoyées sur chaque page. La valeur maximale est 100. La valeur par défaut est 20. |
20 |
| PageNumber |
integer |
Le numéro de la page actuelle. La valeur commence à 1. La valeur par défaut est 1. |
1 |
| Templates |
object |
||
| Template |
array<object> |
Une liste de modèles de vérification de l'état. |
|
|
array<object> |
Les informations sur le modèle de vérification de l'état. |
||
| TemplateId |
string |
The ID of the health check template. The ID uniquely identifies a health check template. |
mtp-89518052425100**80 |
| 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. For easy identification, specify a name that indicates the health check protocol. |
IPv4-Ping |
| IpVersion |
string |
The IP version of the detection points. Valid values:
|
IPv4 |
| Protocol |
string |
The protocol used to probe the target IP address. Valid values:
|
ping |
| Interval |
integer |
The interval between two consecutive health checks. Unit: seconds. The default interval is 1 minute. The minimum interval is 15 seconds. This feature is available only for Ultimate Edition instances. |
60 |
| Timeout |
integer |
The timeout period for a health check. Unit: milliseconds. If a packet is not returned within the timeout period, the health check is considered to have timed out. Valid values:
|
5000 |
| EvaluationCount |
integer |
The number of retries. The system considers the application service abnormal only after the number of consecutive abnormal health checks reaches the specified value. This prevents monitoring accuracy from being affected by factors such as transient network jitter. Valid values:
|
2 |
| FailureRate |
integer |
The failure rate of the selected detection points. This is the percentage of abnormal detection points in all detection points. If the failure rate exceeds the specified threshold, the endpoint is considered abnormal. Valid thresholds for the failure rate are:
|
50 |
| ExtendInfo |
string |
The extended information in a JSON string. The following parameters are required for different protocols:
|
{\"code\":200,\"path\":\"\\index.htm\",\"host\":\"aliyun.com\"} |
| IspCityNodes |
object |
||
| IspCityNode |
array<object> |
A list of detection points. |
|
|
object |
The information about the 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 type of the detection point group. Valid values:
|
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 |
| CloudGtmMonitorTemplateId |
string |
mtp-xxxx |
Exemples
JSON format
{
"RequestId": "536E9CAD-DB30-4647-AC87-AA5CC38C5382",
"TotalPages": 1,
"TotalItems": 1,
"PageSize": 20,
"PageNumber": 1,
"Templates": {
"Template": [
{
"TemplateId": "mtp-89518052425100**80",
"CreateTime": "2024-03-23T13:09Z",
"CreateTimestamp": 1527690629357,
"UpdateTime": "2024-03-29T13:20Z",
"UpdateTimestamp": 1527690629357,
"Name": "IPv4-Ping",
"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",
"CloudGtmMonitorTemplateId": "mtp-xxxx"
}
]
}
}
Codes d'erreur
Consultez Codes d'erreur pour la liste complète.
Notes de version
Consultez Notes de version pour la liste complète.