All Products
Search
Document Center

Alibaba Cloud DNS:DescribeGtmAccessStrategyAvailableConfig

Last Updated:Mar 15, 2024

Queries the configuration items that can be set for an access policy.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
alidns:DescribeGtmAccessStrategyAvailableConfigREAD
  • GtmInstance
    acs:alidns::{#accountId}:gtminstance/{#instanceId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
LangstringNo

The language.

en
InstanceIdstringYes

The ID of the Global Traffic Manager (GTM) instance.

gtm-cn-xxxx

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

C2851BA9-CE56-49AF-8D12-4FC6A49EE688
AddrPoolsobject []

The address pools.

AddrPoolIdstring

The ID of the address pool.

hra0ix
AddrPoolNamestring

The name of the address pool.

test
Linesobject []

The Domain Name System (DNS) request sources.

Statusstring

The state of the line. Valid values:

  • FORBIDDEN: The line is unavailable.
  • OPTIONAL: The line is available.
FORBIDDEN
FatherCodestring

The code of the parent line. No value is returned if no parent line exists.

telecom
LineCodestring

The code of the DNS request source.

cn_telecom_hubei
GroupNamestring

The group name of the DNS request source.

Mainland China
LineNamestring

The name of the DNS request source.

South China
GroupCodestring

The group number of the DNS request source.

ISP
SuggestSetDefaultLineboolean

Indicates whether the global line is recommended.

True

Examples

Sample success responses

JSONformat

{
  "RequestId": "C2851BA9-CE56-49AF-8D12-4FC6A49EE688",
  "AddrPools": {
    "AddrPool": [
      {
        "AddrPoolId": "hra0ix",
        "AddrPoolName": "test"
      }
    ]
  },
  "Lines": {
    "Line": [
      {
        "Status": "FORBIDDEN",
        "FatherCode": "telecom",
        "LineCode": "cn_telecom_hubei",
        "GroupName": "Mainland China",
        "LineName": "South China",
        "GroupCode": "ISP"
      }
    ]
  },
  "SuggestSetDefaultLine": true
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-03-23The response structure of the API has changedsee changesets
Change itemChange content
Output ParametersThe response structure of the API has changed.