Queries the available configurations for an access policy.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
alidns:DescribeGtmAccessStrategyAvailableConfig | get | *GtmInstance
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
Lang | string | No | The language. | en |
InstanceId | string | Yes | The ID of the Global Traffic Manager (GTM) instance. | gtm-cn-wwo3a3hbz** |
Response elements
Element | Type | Description | Example |
object | |||
RequestId | string | The unique request ID. | C2851BA9-CE56-49AF-8D12-4FC6A49EE688 |
| AddrPools | object | ||
| AddrPool | array<object> | The list of address pools. | |
object | |||
AddrPoolId | string | The ID of the address pool. | hra0ix |
AddrPoolName | string | The name of the address pool. | test |
| Lines | object | ||
| Line | array<object> | The list of source regions for DNS requests. | |
object | |||
Status | string | The current status of the line. Valid values:
| FORBIDDEN |
FatherCode | string | The code of the parent line. This parameter is left empty if no parent line exists. | N/A |
LineCode | string | The code of the source region for DNS requests. | cn_region_huanan |
GroupName | string | The name of the group of source regions for DNS requests. | Mainland China |
LineName | string | The name of the source region for DNS requests. | South China |
GroupCode | string | The code of the group of source regions for DNS requests. | CN_REGION |
SuggestSetDefaultLine | boolean | Indicates whether a global line is suggested. | True |
Examples
Success response
JSON format
{
"RequestId": "C2851BA9-CE56-49AF-8D12-4FC6A49EE688",
"AddrPools": {
"AddrPool": [
{
"AddrPoolId": "hra0ix",
"AddrPoolName": "test"
}
]
},
"Lines": {
"Line": [
{
"Status": "FORBIDDEN",
"FatherCode": "无",
"LineCode": "cn_region_huanan",
"GroupName": "Mainland China",
"LineName": "South China",
"GroupCode": "CN_REGION"
}
]
},
"SuggestSetDefaultLine": true
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.