Consulte la liste des pools d'adresses dans Global Traffic Manager (GTM) 3.0.
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:ListCloudGtmAddressPools |
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 :
|
en-US |
| ClientToken |
string |
Non |
Un jeton généré par le client qui est utilisé pour garantir l'idempotence de la requête. Assurez-vous que le jeton est unique parmi les différentes requêtes. Le jeton peut contenir jusqu'à 64 caractères ASCII. |
1ae05db4-10e7-11ef-b126-00163e24**** |
| PageNumber |
integer |
Oui |
Le numéro de page. La valeur commence à 1. La valeur par défaut est 1. |
1 |
| PageSize |
integer |
Oui |
Le nombre d'entrées à renvoyer sur chaque page. La valeur maximale est 100. La valeur par défaut est 20. |
20 |
| AddressPoolName |
string |
Non |
Le nom du pool d'adresses. |
AddressPool-1 |
| AddressPoolType |
string |
Non |
Le type du pool d'adresses. Valeurs valides :
|
IPv4 |
| EnableStatus |
string |
Non |
L'état du pool d'adresses. Valeurs valides :
|
enable |
| Remark |
string |
Non |
Les remarques sur le pool d'adresses. |
test |
Éléments de réponse
|
Élément |
Type |
Description |
Exemple |
|
object |
|||
| RequestId |
string |
L'identifiant de la requête. |
536E9CAD-DB30-4647-AC87-AA5CC38C5382 |
| PageNumber |
integer |
Le numéro de page. La valeur commence à 1. La valeur par défaut est 1. |
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 |
| TotalPages |
integer |
Le nombre total de pages. |
1 |
| TotalItems |
integer |
Le nombre total de pools d'adresses. |
11 |
| AddressPools |
object |
Les pools d'adresses. |
|
| AddressPool |
array<object> |
La liste des pools d'adresses. |
|
|
array<object> |
Les informations sur le pool d'adresses. |
||
| CreateTime |
string |
The time when the address pool was created. |
2024-03-15T01:46Z |
| CreateTimestamp |
integer |
The timestamp that indicates when the address pool was created. |
1527690629357 |
| UpdateTime |
string |
The time when the address pool was last modified. |
2024-03-15T01:46Z |
| UpdateTimestamp |
integer |
The timestamp that indicates when the address pool was last modified. |
1527690629357 |
| AddressPoolId |
string |
The ID of the address pool. |
pool-89528023225442**16 |
| 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 the addresses in the address pool. Valid values:
|
round_robin |
| SequenceLbStrategyMode |
string |
The service recovery mode for a primary address when the load balancing policy is sequence. Valid values:
|
preemptive |
| EnableStatus |
string |
The 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 |
| Addresses |
object |
The addresses. |
|
| Address |
array<object> |
The list of addresses. |
|
|
array<object> |
The information about the address. |
||
| CreateTime |
string |
The time when the address was created. |
2024-03-15T01:46Z |
| CreateTimestamp |
integer |
The timestamp that indicates when the address was created. |
1527690629357 |
| UpdateTime |
string |
The time when the address was last modified. |
2024-03-15T01:46Z |
| UpdateTimestamp |
integer |
The timestamp that indicates when the address was last modified. |
1527690629357 |
| AddressId |
string |
The ID of the address. |
addr-89518218114368**** |
| WeightValue |
integer |
The weight of the address. The value is an integer from 1 to 100. You can set a weight for each address. DNS requests are resolved based on the weight ratio. |
1 |
| SerialNumber |
integer |
The sequential number of the address. This number indicates the priority of the address. A smaller value indicates a higher priority. |
1 |
| RequestSource |
object |
The request source. |
|
| RequestSource |
array |
The list of request sources. |
|
|
string |
The source of the request. GTM schedules traffic based on the egress IP address of the local DNS (LDNS) server that a user uses. If the LDNS server supports Extension Mechanisms for DNS (EDNS) client subnet (ECS), GTM can also schedule traffic based on the user's IP address. |
["default"] |
|
| Name |
string |
The name of the address. |
Address-1 |
| Type |
string |
The type of the address. Valid values:
|
IPv4 |
| Address |
string |
The IP address or domain name. |
223.5.XX.XX |
| AttributeInfo |
string |
The source of the address. This parameter is not returned in the current version. |
当前版本不支持返回此参数。 |
| Remark |
string |
The remarks for the address. |
test |
| EnableStatus |
string |
The status of the address. Valid values:
|
enable |
| AvailableMode |
string |
The health check-based failover method for the address. Valid values:
|
auto |
| ManualAvailableStatus |
string |
The availability status of the address when the value of AvailableMode is manual. Valid values:
|
available |
| AvailableStatus |
string |
The availability status of the address. Valid values:
|
available |
| HealthStatus |
string |
The health status of the address. Valid values:
|
ok |
| HealthJudgement |
string |
The condition for determining the health status of the address. Valid values:
|
any_ok |
| HealthTasks |
object |
The health check tasks. |
|
| HealthTask |
array<object> |
The list of health check tasks. |
|
|
object |
The information about the health check task. |
||
| Port |
integer |
The service port of the address that is checked. This parameter is not supported when the health check protocol is ping. |
80 |
| TemplateId |
string |
The ID of the health check template. |
mtp-89518052425100**** |
| TemplateName |
string |
The name of the health check template. |
IPv4-Ping |
| SeqNonPreemptiveSchedule |
boolean |
Indicates whether the address is a sequential non-preemptive scheduling object for hybrid cloud management scenarios. Valid values:
|
false |
| Remark |
string |
The remarks for the address pool. |
test |
Exemples
JSON format
{
"RequestId": "536E9CAD-DB30-4647-AC87-AA5CC38C5382",
"PageNumber": 1,
"PageSize": 20,
"TotalPages": 1,
"TotalItems": 11,
"AddressPools": {
"AddressPool": [
{
"CreateTime": "2024-03-15T01:46Z",
"CreateTimestamp": 1527690629357,
"UpdateTime": "2024-03-15T01:46Z",
"UpdateTimestamp": 1527690629357,
"AddressPoolId": "pool-89528023225442**16",
"AddressPoolName": "AddressPool-1",
"AddressPoolType": "IPv4",
"AddressLbStrategy": "round_robin",
"SequenceLbStrategyMode": "preemptive",
"EnableStatus": "enable",
"HealthJudgement": "any_ok",
"HealthStatus": "ok",
"AvailableStatus": "available",
"Addresses": {
"Address": [
{
"CreateTime": "2024-03-15T01:46Z",
"CreateTimestamp": 1527690629357,
"UpdateTime": "2024-03-15T01:46Z",
"UpdateTimestamp": 1527690629357,
"AddressId": "addr-89518218114368****",
"WeightValue": 1,
"SerialNumber": 1,
"RequestSource": {
"RequestSource": [
"[\"default\"]"
]
},
"Name": "Address-1",
"Type": "IPv4",
"Address": "223.5.XX.XX",
"AttributeInfo": "当前版本不支持返回此参数。",
"Remark": "test",
"EnableStatus": "enable",
"AvailableMode": "auto",
"ManualAvailableStatus": "available",
"AvailableStatus": "available",
"HealthStatus": "ok",
"HealthJudgement": "any_ok",
"HealthTasks": {
"HealthTask": [
{
"Port": 80,
"TemplateId": "mtp-89518052425100****",
"TemplateName": "IPv4-Ping"
}
]
},
"SeqNonPreemptiveSchedule": false
}
]
},
"Remark": "test"
}
]
}
}
Codes d'erreur
Consultez Codes d'erreur pour la liste complète.
Notes de version
Consultez Notes de version pour la liste complète.