Mengambil pool alamat dari instans Global Traffic Manager (GTM).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alidns:DescribeDnsGtmInstanceAddressPools |
get |
*gtmInstance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
Bahasa respons. Nilai yang valid: en, zh, dan ja. Nilai default adalah en. |
en |
| InstanceId |
string |
Yes |
ID instans. Untuk informasi selengkapnya, lihat DescribeDnsGtmInstances. |
gtm-cn-wwo3a3hbz** |
| PageNumber |
integer |
No |
Nomor halaman. Nilai dimulai dari 1. Nilai default adalah 1. |
1 |
| PageSize |
integer |
No |
Jumlah entri yang dikembalikan pada setiap halaman. Nilai maksimum adalah 100. Nilai default adalah 20. |
20 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| PageSize |
integer |
Jumlah entri yang dikembalikan per halaman. Nilai maksimum adalah 100. Nilai default adalah 20. |
1 |
| RequestId |
string |
ID permintaan yang unik. |
6856BCF6-11D6-4D7E-AC53-FD579933522B |
| PageNumber |
integer |
Nomor halaman. Nilai dimulai dari 1. Nilai default adalah 1. |
1 |
| TotalPages |
integer |
Jumlah total halaman. |
1 |
| TotalItems |
integer |
Jumlah total entri. |
1 |
| AddrPools |
object |
||
| AddrPool |
array<object> |
Daftar pool alamat. |
|
|
object |
|||
| Type |
string |
The type of the address pool. Valid values:
|
IPV4 |
| UpdateTimestamp |
integer |
The time when the address pool was updated. This is a UNIX timestamp. |
1527690629357 |
| MonitorStatus |
string |
The health check status. Valid values:
|
OPEN |
| UpdateTime |
string |
The time when the address pool was updated. |
2017-12-28T13:08Z |
| CreateTime |
string |
The time when the address pool was created. |
2017-12-28T13:08Z |
| AddrPoolId |
string |
The ID of the address pool. |
hr**** |
| LbaStrategy |
string |
The load balancing policy. Valid values:
|
ALL_RR |
| Name |
string |
The name of the address pool. |
testpool |
| AddrCount |
integer |
The number of addresses in the address pool. |
1 |
| MonitorConfigId |
string |
The ID of the health check configuration. |
abc**** |
| CreateTimestamp |
integer |
The time when the address pool was created. This is a UNIX timestamp. |
1527690629357 |
Contoh
Respons sukses
JSONformat
{
"PageSize": 1,
"RequestId": "6856BCF6-11D6-4D7E-AC53-FD579933522B",
"PageNumber": 1,
"TotalPages": 1,
"TotalItems": 1,
"AddrPools": {
"AddrPool": [
{
"Type": "IPV4",
"UpdateTimestamp": 1527690629357,
"MonitorStatus": "OPEN",
"UpdateTime": "2017-12-28T13:08Z",
"CreateTime": "2017-12-28T13:08Z",
"AddrPoolId": "hr****",
"LbaStrategy": "ALL_RR",
"Name": "testpool",
"AddrCount": 1,
"MonitorConfigId": "abc****",
"CreateTimestamp": 1527690629357
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.