Queries the details of an access policy based on the policy ID.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alidns:DescribeGtmAccessStrategy |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language. |
en |
| StrategyId |
string |
Yes |
The ID of the access policy. |
hra0hs |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The unique request ID. |
BA1608CA-834C-4E63-8682-8AF0B11ED72D |
| InstanceId |
string |
The ID of the associated Global Traffic Manager (GTM) instance. |
gtm-cn-wwo3a3hbz** |
| StrategyId |
string |
The policy ID. |
hra0hs |
| DefaultAddrPoolStatus |
string |
The availability status of the primary address pool group. Valid values:
|
AVAILABLE |
| FailoverAddrPoolId |
string |
The ID of the secondary address pool group. If no secondary address pool group is configured, EMPTY is returned. |
hra0i2 |
| AccessStatus |
string |
The access status. Valid values:
|
DEFAULT |
| DefaultAddrPoolMonitorStatus |
string |
The health check status of the primary address pool group. Valid values:
|
OPEN |
| DefaultAddrPoolName |
string |
The name of the primary address pool group. |
地址池1 |
| DefultAddrPoolId |
string |
The ID of the primary address pool group. |
hra0i1 |
| StrategyName |
string |
The name of the access policy. |
全局 |
| FailoverAddrPoolStatus |
string |
The availability status of the secondary address pool group. Valid values:
|
AVAILABLE |
| AccessMode |
string |
The switchover policy for the address pool groups:
|
AUTO |
| StrategyMode |
string |
The policy mode. SELF_DEFINED indicates a custom policy. |
SELF_DEFINED |
| FailoverAddrPoolMonitorStatus |
string |
The health check status of the secondary address pool group. Valid values:
|
OPEN |
| FailoverAddrPoolName |
string |
The name of the secondary address pool group. |
地址池2 |
| Lines |
object |
||
| Line |
array<object> |
The list of source regions for DNS requests. |
|
|
object |
|||
| GroupName |
string |
The name of the source region group for DNS requests. |
Global |
| LineCode |
string |
The code of the source region for DNS requests. |
default |
| LineName |
string |
The name of the source region for DNS requests. |
Global |
| GroupCode |
string |
The code of the source region group for DNS requests. |
DEFAULT |
Examples
Success response
JSON format
{
"RequestId": "BA1608CA-834C-4E63-8682-8AF0B11ED72D",
"InstanceId": "gtm-cn-wwo3a3hbz**",
"StrategyId": "hra0hs",
"DefaultAddrPoolStatus": "AVAILABLE",
"FailoverAddrPoolId": "hra0i2",
"AccessStatus": "DEFAULT",
"DefaultAddrPoolMonitorStatus": "OPEN",
"DefaultAddrPoolName": "地址池1",
"DefultAddrPoolId": "hra0i1",
"StrategyName": "全局",
"FailoverAddrPoolStatus": "AVAILABLE",
"AccessMode": "AUTO",
"StrategyMode": "SELF_DEFINED",
"FailoverAddrPoolMonitorStatus": "OPEN",
"FailoverAddrPoolName": "地址池2",
"Lines": {
"Line": [
{
"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.