Mengkueri konfigurasi lengkap nama domain akses GTM 3.0, termasuk pengaturan peringatan, pool alamat, dan detail alamat.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alidns:DescribeCloudGtmInstanceConfigFullInfo |
get |
*GtmInstance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| AcceptLanguage |
string |
No |
Bahasa respons. Nilai yang valid:
|
en-US |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Buat token unik untuk setiap permintaan. Token dapat berisi maksimum 64 karakter ASCII. |
1ae05db4-10e7-11ef-b126-00163e24**** |
| InstanceId |
string |
No |
ID instans Global Traffic Manager 3.0. |
gtm-cn-wwo3a3h**** |
| ConfigId |
string |
No |
ID konfigurasi instans. Anda dapat mengonfigurasi rekaman A dan AAAA untuk nama domain akses dan instans Global Traffic Manager (GTM) yang sama. Dalam hal ini, instans GTM memiliki dua konfigurasi. ConfigId mengidentifikasi konfigurasi instans secara unik. Untuk informasi lebih lanjut, lihat ListCloudGtmInstanceConfigs. |
Config-000**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
29D0F8F8-5499-4F6C-9FDC-1EE13BF55925 |
| InstanceId |
string |
ID instans Global Traffic Manager 3.0. |
gtm-cn-wwo3a3h**** |
| ConfigId |
string |
ID konfigurasi instans. Anda dapat mengonfigurasi rekaman A dan AAAA untuk nama domain akses dan instans Global Traffic Manager (GTM) yang sama. Dalam hal ini, instans GTM memiliki dua konfigurasi. ConfigId mengidentifikasi konfigurasi instans secara unik. |
Config-000**** |
| CreateTime |
string |
Waktu ketika instans dibuat. |
2024-03-15T01:46Z |
| CreateTimestamp |
integer |
Stempel waktu UNIX yang menunjukkan kapan instans dibuat. |
1527690629357 |
| UpdateTime |
string |
Waktu ketika instans terakhir kali dimodifikasi. |
2024-03-15T01:46Z |
| UpdateTimestamp |
integer |
Stempel waktu UNIX yang menunjukkan kapan instans terakhir kali dimodifikasi. |
1527690629357 |
| VersionCode |
string |
Edisi instans Global Traffic Manager 3.0.
|
ultimate |
| CommodityCode |
string |
Kode komoditas.
|
dns_gtm_public_cn |
| InstanceName |
string |
Nama instans GTM. |
test |
| ScheduleZoneMode |
string |
Mode penetapan nama domain akses.
|
custom |
| ScheduleZoneName |
string |
Nama domain utama (example.com) atau nama subdomain (a.example.com) dari nama domain akses GTM. Ini biasanya merupakan nama domain yang dihosting di zona otoritatif konsol Alibaba Cloud DNS di bawah akun tempat instans GTM berada. |
example.com |
| ScheduleHostname |
string |
Rekaman host nama domain akses GTM. |
www |
| ScheduleDomainName |
string |
Nama domain akses GTM. Formatnya adalah ScheduleHostname + ScheduleZoneName. |
www.example.com |
| ScheduleRrType |
string |
Tipe rekaman DNS dari nama domain akses GTM.
|
A |
| Ttl |
integer |
Time to live (TTL) global dalam detik. Ini adalah nilai TTL untuk rekaman DNS yang memetakan nama domain akses ke alamat dalam pool alamat. Hal ini memengaruhi durasi cache rekaman DNS pada server DNS Lokal operator. Anda dapat menyesuaikan nilai TTL. |
60 |
| AddressPoolLbStrategy |
string |
Kebijakan load balancing untuk pool alamat.
|
round_robin |
| SequenceLbStrategyMode |
string |
Ketika kebijakan load balancing untuk pool alamat adalah sequence, parameter ini menentukan mode pemulihan layanan untuk sumber daya yang menjadi tersedia kembali.
|
preemptive |
| AvailableStatus |
string |
Status ketersediaan layanan instans.
|
available |
| EnableStatus |
string |
Status pengaktifan instans.
|
enable |
| HealthStatus |
string |
Status kesehatan instans.
|
ok |
| AlertGroup |
string |
Grup peringatan. |
[\"云账号报警联系人\"] |
| AlertConfig |
string |
Konfigurasi notifikasi peringatan. |
[{\"NoticeType\":\"addr_alert\",\"SmsNotice\":true,\"EmailNotice\":true,\"DingtalkNotice\":true},{\"NoticeType\":\"addr_resume\",\"SmsNotice\":true,\"EmailNotice\":true,\"DingtalkNotice\":true},{\"NoticeType\":\"addr_pool_unavailable\",\"SmsNotice\":true,\"EmailNotice\":true,\"DingtalkNotice\":true},{\"NoticeType\":\"addr_pool_available\",\"SmsNotice\":true,\"EmailNotice\":true,\"DingtalkNotice\":true}]" |
| Remark |
string |
Catatan pada konfigurasi instans. |
test |
| AddressPools |
object |
Pool alamat. |
|
| AddressPool |
array<object> |
Daftar pool alamat. |
|
|
array<object> |
Konfigurasi pool alamat. |
||
| CreateTime |
string |
The time when the address pool was created. |
2024-03-15T01:46Z |
| CreateTimestamp |
integer |
The UNIX 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 UNIX timestamp that indicates when the address pool was last modified. |
1527690629357 |
| AddressPoolId |
string |
The ID of the address pool. This is the unique identifier of the address pool. |
pool-89528023225442**** |
| WeightValue |
integer |
The weight of the address pool. The value is an integer from 1 to 100. You can set different weights for each address pool to return address pools based on the specified weight ratio. |
1 |
| SerialNumber |
integer |
The ordinal number of the address pool. For any DNS request, the address pool with the smallest ordinal number is returned. The ordinal number indicates the priority of the address pool. A smaller value indicates a higher priority. |
1 |
| RequestSource |
object |
||
| RequestSource |
array |
The list of DNS request sources. |
|
|
string |
The source of the DNS request. GTM schedules traffic based on the egress IP address of the local DNS server that the client uses. If the local DNS server supports Extension Mechanisms for DNS (EDNS) client subnet (ECS), GTM can also schedule traffic based on the client IP address. |
["default"] |
|
| AddressPoolName |
string |
The name of the address pool. |
AddressPool-1 |
| AddressPoolType |
string |
The type of the address pool.
|
IPv4 |
| AddressLbStrategy |
string |
The load balancing policy for the addresses in the address pool.
|
round_robin |
| SequenceLbStrategyMode |
string |
When the load balancing policy for addresses is sequence, this parameter specifies the service recovery mode for a resource that becomes available again.
|
preemptive |
| EnableStatus |
string |
The enabled status of the address pool.
|
enable |
| HealthJudgement |
string |
The condition for determining the health status of the address pool.
|
any_ok |
| HealthStatus |
string |
The health status of the address pool.
|
ok |
| AvailableStatus |
string |
The availability status of the address pool.
|
available |
| Addresses |
object |
||
| 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 UNIX 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 UNIX timestamp that indicates when the address was last modified. |
1527690629357 |
| AddressId |
string |
The ID of the address. This is the unique identifier of the address. |
addr-89564712295703**** |
| WeightValue |
integer |
The weight of the address. The value is an integer from 1 to 100. You can set different weights for each address to return addresses based on the specified weight ratio. |
1 |
| SerialNumber |
integer |
The ordinal number of the address. This indicates the priority of the address. A smaller value indicates a higher priority. |
1 |
| RequestSource |
object |
||
| RequestSource |
array |
The list of DNS request sources. |
|
|
string |
The source of the DNS request. GTM schedules 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 also schedule traffic based on the client IP address. |
["default"] |
|
| Name |
string |
The name of the address. |
Address-1 |
| Type |
string |
The type of the address.
|
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 on the address. |
test |
| EnableStatus |
string |
The enabled status of the address. This indicates whether the address is currently available.
|
enable |
| AvailableMode |
string |
The failover mode for the address that becomes unavailable.
|
auto |
| ManualAvailableStatus |
string |
When the failover mode for the address is manual, this parameter specifies the availability status of the address.
|
available |
| AvailableStatus |
string |
The availability status of the address.
|
available |
| HealthStatus |
string |
The health check status of the address.
|
ok |
| HealthJudgement |
string |
The condition for determining the health status of the address.
|
any_ok |
| SeqNonPreemptiveSchedule |
boolean |
Indicates whether the address is a scheduling object in sequential (non-preemptive) mode. This is for hybrid cloud management scenarios.
|
false |
| SeqNonPreemptiveSchedule |
boolean |
Indicates whether the address is a scheduling object in sequential (non-preemptive) mode. This is for hybrid cloud management scenarios.
|
false |
Contoh
Respons sukses
JSONformat
{
"RequestId": "29D0F8F8-5499-4F6C-9FDC-1EE13BF55925",
"InstanceId": "gtm-cn-wwo3a3h****",
"ConfigId": "Config-000****",
"CreateTime": "2024-03-15T01:46Z",
"CreateTimestamp": 1527690629357,
"UpdateTime": "2024-03-15T01:46Z",
"UpdateTimestamp": 1527690629357,
"VersionCode": "ultimate",
"CommodityCode": "dns_gtm_public_cn",
"InstanceName": "test",
"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",
"AlertGroup": "[\\\"云账号报警联系人\\\"]",
"AlertConfig": "[{\\\"NoticeType\\\":\\\"addr_alert\\\",\\\"SmsNotice\\\":true,\\\"EmailNotice\\\":true,\\\"DingtalkNotice\\\":true},{\\\"NoticeType\\\":\\\"addr_resume\\\",\\\"SmsNotice\\\":true,\\\"EmailNotice\\\":true,\\\"DingtalkNotice\\\":true},{\\\"NoticeType\\\":\\\"addr_pool_unavailable\\\",\\\"SmsNotice\\\":true,\\\"EmailNotice\\\":true,\\\"DingtalkNotice\\\":true},{\\\"NoticeType\\\":\\\"addr_pool_available\\\",\\\"SmsNotice\\\":true,\\\"EmailNotice\\\":true,\\\"DingtalkNotice\\\":true}]\"",
"Remark": "test",
"AddressPools": {
"AddressPool": [
{
"CreateTime": "2024-03-15T01:46Z",
"CreateTimestamp": 1527690629357,
"UpdateTime": "2024-03-15T01:46Z",
"UpdateTimestamp": 1527690629357,
"AddressPoolId": "pool-89528023225442****",
"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",
"Addresses": {
"Address": [
{
"CreateTime": "2024-03-15T01:46Z",
"CreateTimestamp": 1527690629357,
"UpdateTime": "2024-03-15T01:46Z",
"UpdateTimestamp": 1527690629357,
"AddressId": "addr-89564712295703****",
"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",
"SeqNonPreemptiveSchedule": false
}
]
},
"SeqNonPreemptiveSchedule": false
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.