Obtient les configurations d'instance qui correspondent aux paramètres spécifiés.
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:SearchCloudGtmInstanceConfigs |
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 |
| ClientToken |
string |
Non |
Un jeton généré par le client pour garantir l'idempotence de la requête. Le jeton doit être unique pour toutes les requêtes et peut contenir jusqu'à 64 caractères ASCII. |
1ae05db4-10e7-11ef-b126-00163e24**** |
| PageNumber |
integer |
Oui |
Le numéro de page. Les pages commencent à 1. La valeur par défaut est 1. |
1 |
| PageSize |
integer |
Oui |
Le nombre d'entrées par page pour une requête paginée. La valeur maximale est 100 et la valeur par défaut est 20. |
20 |
| InstanceId |
string |
Non |
L'identifiant de l'instance Global Traffic Manager (GTM) 3.0. |
gtm-cn-wwo3a3h**** |
| ScheduleZoneName |
string |
Non |
Le nom de domaine principal (par exemple, |
example.com |
| ScheduleDomainName |
string |
Non |
Le domaine d'accès GTM. Il est formé en combinant l'enregistrement d'hôte ( |
www.example.com |
| EnableStatus |
string |
Non |
L'état de la configuration de l'instance. Valeurs valides :
|
enable |
| Remark |
string |
Non |
Une remarque pour la configuration de l'instance. |
test |
| HealthStatus |
string |
Non |
L'état de santé de la configuration de l'instance. Valeurs valides :
|
ok |
| AvailableStatus |
string |
Non |
L'état de disponibilité du service de la configuration de l'instance. Valeurs valides :
|
available |
Éléments de réponse
|
Élément |
Type |
Description |
Exemple |
|
object |
|||
| RequestId |
string |
L'identifiant unique de la requête. |
6AEC7A64-3CB1-4C49-8B35-0B901F1E26BF |
| PageNumber |
integer |
Le numéro de page. La valeur de départ est 1. Valeur par défaut : 1. |
1 |
| PageSize |
integer |
Le nombre d'entrées à renvoyer sur chaque page. Valeur maximale : 100. Valeur par défaut : 20. |
20 |
| TotalPages |
integer |
Le nombre total de pages. |
1 |
| TotalItems |
integer |
Le nombre total de configurations d'instance. |
15 |
| InstanceConfigs |
object |
||
| InstanceConfig |
array<object> |
La liste des configurations d'instance. |
|
|
array<object> |
La configuration de l'instance. |
||
| InstanceId |
string |
The ID of the Global Traffic Manager (GTM) 3.0 instance. |
gtm-cn-x0r38e0**** |
| ConfigId |
string |
The unique ID of the instance configuration. An access domain name can have both A and AAAA records on the same GTM instance, each with a separate configuration. This ID distinguishes between these configurations. |
Config-000**** |
| CreateTime |
string |
The time when the instance configuration was created. |
2024-03-15T01:46Z |
| CreateTimestamp |
integer |
The timestamp when the instance configuration was created. |
1527690629357 |
| UpdateTime |
string |
The time when the instance configuration was last updated. |
2024-03-15T01:46Z |
| UpdateTimestamp |
integer |
The timestamp when the instance configuration was last updated. |
1527690629357 |
| VersionCode |
string |
The edition of the GTM 3.0 instance. Valid values:
|
ultimate |
| CommodityCode |
string |
The commodity code. Valid values:
|
dns_gtm_public_cn |
| ScheduleZoneMode |
string |
The assignment mode for the access domain name. Valid values:
|
custom |
| ScheduleZoneName |
string |
The root domain (for example, |
example.com |
| ScheduleHostname |
string |
The host record of the GTM access domain name. |
www |
| ScheduleDomainName |
string |
The GTM access domain name, formed by combining the host record ( |
www.example.com |
| ScheduleRrType |
string |
The record type of the access domain name. Valid values:
|
A |
| Ttl |
integer |
The Time to Live (TTL) for the DNS record, in seconds. This value determines how long the record for the access domain name is cached by ISP DNS servers. |
60 |
| AddressPoolLbStrategy |
string |
The load balancing policy for address pools. Valid values:
|
round_robin |
| SequenceLbStrategyMode |
string |
When using the
|
preemptive |
| AvailableStatus |
string |
The availability status of the instance configuration. Valid values:
|
available |
| EnableStatus |
string |
The enabled status of the instance configuration. Valid values:
|
enable |
| HealthStatus |
string |
The health status of the instance configuration. Valid values:
|
ok |
| Remark |
string |
The remark for the instance configuration. |
test |
| AddressPools |
object |
||
| AddressPool |
array<object> |
The list of address pools. |
|
|
array<object> |
The address pool. |
||
| CreateTime |
string |
The time when the address pool was created. |
2024-03-15T01:46Z |
| CreateTimestamp |
integer |
The timestamp when the address pool was created. |
1527690629357 |
| UpdateTime |
string |
The time when the address pool was last updated. |
2024-03-15T01:46Z |
| UpdateTimestamp |
integer |
The timestamp when the address pool was last updated. |
1527690629357 |
| AddressPoolId |
string |
The unique ID of the address pool. |
pool-89564504435014**60 |
| WeightValue |
integer |
The weight of the address pool. You can set a weight for each address pool to route DNS requests based on weight ratios. Valid values: integers from 1 to 100, inclusive. |
1 |
| SerialNumber |
integer |
The priority of the address pool, used for sequence-based load balancing. A smaller value indicates a higher priority, and the address pool with the highest priority is returned first. |
1 |
| RequestSource |
object |
||
| RequestSource |
array |
The list of DNS request sources. |
|
|
string |
The source of the DNS request. GTM routes traffic based on the egress IP address of the local DNS server that the client uses. If the local DNS server supports EDNS Client Subnet (ECS), GTM can perform more precise routing based on the client's IP address. |
["default"] |
|
| AddressPoolName |
string |
The name of the address pool. |
AddressPool-1 |
| AddressPoolType |
string |
The type of the address pool. Valid values:
|
IPv4 |
| AddressLbStrategy |
string |
The load balancing policy for addresses in the address pool. Valid values:
|
round_robin |
| SequenceLbStrategyMode |
string |
If the load balancing policy for addresses is
|
preemptive |
| EnableStatus |
string |
The enabled status of the address pool. Valid values:
|
enable |
| HealthJudgement |
string |
The condition for determining the health status of the address pool. Valid values:
|
any_ok |
| HealthStatus |
string |
The health status of the address pool. Valid values:
|
ok |
| AvailableStatus |
string |
The availability status of the address pool. Valid values:
|
available |
| SeqNonPreemptiveSchedule |
boolean |
Indicates whether non-preemptive sequential scheduling is used for this address pool. This mode is typically used in a multi-cloud management scenario. Valid values:
|
false |
| ConfigLoggingSwitchStatus |
string |
ENABLE |
Exemples
JSON format
{
"RequestId": "6AEC7A64-3CB1-4C49-8B35-0B901F1E26BF",
"PageNumber": 1,
"PageSize": 20,
"TotalPages": 1,
"TotalItems": 15,
"InstanceConfigs": {
"InstanceConfig": [
{
"InstanceId": "gtm-cn-x0r38e0****",
"ConfigId": "Config-000****\n",
"CreateTime": "2024-03-15T01:46Z",
"CreateTimestamp": 1527690629357,
"UpdateTime": "2024-03-15T01:46Z",
"UpdateTimestamp": 1527690629357,
"VersionCode": "ultimate",
"CommodityCode": "dns_gtm_public_cn",
"ScheduleZoneMode": "custom",
"ScheduleZoneName": "example.com",
"ScheduleHostname": "www",
"ScheduleDomainName": "www.example.com",
"ScheduleRrType": "A",
"Ttl": 60,
"AddressPoolLbStrategy": "round_robin",
"SequenceLbStrategyMode": "preemptive",
"AvailableStatus": "available",
"EnableStatus": "enable",
"HealthStatus": "ok",
"Remark": "test",
"AddressPools": {
"AddressPool": [
{
"CreateTime": "2024-03-15T01:46Z",
"CreateTimestamp": 1527690629357,
"UpdateTime": "2024-03-15T01:46Z",
"UpdateTimestamp": 1527690629357,
"AddressPoolId": "pool-89564504435014**60",
"WeightValue": 1,
"SerialNumber": 1,
"RequestSource": {
"RequestSource": [
"[\"default\"]"
]
},
"AddressPoolName": "AddressPool-1",
"AddressPoolType": "IPv4",
"AddressLbStrategy": "round_robin",
"SequenceLbStrategyMode": "preemptive",
"EnableStatus": "enable",
"HealthJudgement": "any_ok",
"HealthStatus": "ok",
"AvailableStatus": " available",
"SeqNonPreemptiveSchedule": false
}
]
},
"ConfigLoggingSwitchStatus": "ENABLE"
}
]
}
}
Codes d'erreur
Consultez Codes d'erreur pour la liste complète.
Notes de version
Consultez Notes de version pour la liste complète.