Describes the available configurations for an access policy based on an instance ID.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alidns:DescribeDnsGtmAccessStrategyAvailableConfig |
get |
*gtmInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the response. Default: en. Valid values: en, zh, and ja. |
en |
| InstanceId |
string |
Yes |
The instance ID. You can call the DescribeDnsGtmInstances operation to obtain the instance ID. |
gtm-cn-wwo3a3hbz** |
| StrategyMode |
string |
Yes |
The scheduling mode. Valid values:
|
GEO |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| SelectedDomainLines |
object |
||
| SelectedDomainLine |
array |
The selected domain name-based lines for the primary address pool group. |
|
|
string |
A selected domain name-based line for the primary address pool group. |
telecom |
|
| DomainAddrPools |
object |
||
| DomainAddrPool |
array<object> |
The list of available address pools for domain names. |
|
|
object |
|||
| Name |
string |
The name of the address pool. |
testpool |
| AddrCount |
integer |
The number of addresses. |
1 |
| Id |
string |
The ID of the address pool. |
po*** |
| Ipv4AddrPools |
object |
||
| Ipv4AddrPool |
array<object> |
The list of available IPv4 address pools. |
|
|
object |
|||
| Name |
string |
The name of the address pool. |
test**** |
| AddrCount |
integer |
The number of addresses. |
1 |
| Id |
string |
The ID of the address pool. |
po*** |
| RequestId |
string |
The unique request ID. |
C2851BA9-CE56-49AF-8D12-4FC6A49EE688 |
| SelectedIpv4Lines |
object |
||
| SelectedIpv4Line |
array |
The selected IPv4-based lines for the primary address pool group. |
|
|
string |
A selected IPv4-based line for the primary address pool group. |
telecom |
|
| Ipv6AddrPools |
object |
||
| Ipv6AddrPool |
array<object> |
The list of available IPv6 address pools. |
|
|
object |
|||
| Name |
string |
The name of the address pool. |
testpool |
| AddrCount |
integer |
The number of addresses. |
1 |
| Id |
string |
The ID of the address pool. |
po*** |
| SuggestSetDefaultLine |
boolean |
Indicates whether it is recommended to set a default line. |
true |
| SelectedIpv6Lines |
object |
||
| SelectedIpv6Line |
array |
The selected IPv6-based lines for the primary address pool group. |
|
|
string |
A selected IPv6-based line for the primary address pool group. |
telecom |
|
| Lines |
object |
||
| Line |
array<object> |
The list of DNS request sources. |
|
|
object |
|||
| FatherCode |
string |
The code of the parent line. This parameter is empty if no parent line exists. |
telecom |
| GroupName |
string |
The name of the DNS request source group. |
Global |
| LineCode |
string |
The code of the DNS request source. |
default |
| LineName |
string |
The name of the DNS request source. |
Global |
| GroupCode |
string |
The code of the DNS request source group. |
DEFAULT |
Examples
Success response
JSON format
{
"SelectedDomainLines": {
"SelectedDomainLine": [
"telecom"
]
},
"DomainAddrPools": {
"DomainAddrPool": [
{
"Name": "testpool",
"AddrCount": 1,
"Id": "po***"
}
]
},
"Ipv4AddrPools": {
"Ipv4AddrPool": [
{
"Name": "test****",
"AddrCount": 1,
"Id": "po***"
}
]
},
"RequestId": "C2851BA9-CE56-49AF-8D12-4FC6A49EE688",
"SelectedIpv4Lines": {
"SelectedIpv4Line": [
"telecom"
]
},
"Ipv6AddrPools": {
"Ipv6AddrPool": [
{
"Name": "testpool",
"AddrCount": 1,
"Id": "po***"
}
]
},
"SuggestSetDefaultLine": true,
"SelectedIpv6Lines": {
"SelectedIpv6Line": [
"telecom"
]
},
"Lines": {
"Line": [
{
"FatherCode": "telecom",
"GroupName": "Global",
"LineCode": "default",
"LineName": "Global",
"GroupCode": "DEFAULT"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.