All Products
Search
Document Center

Alibaba Cloud DNS:DescribeDnsGtmAccessStrategyAvailableConfig

Last Updated:Dec 02, 2025

Describes the available configurations for an access policy based on an instance ID.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

alidns:DescribeDnsGtmAccessStrategyAvailableConfig

get

*gtmInstance

acs:alidns::{#accountId}:gtmInstance/{#gtmInstanceId}

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: Geolocation-based

  • LATENCY: Latency-based

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.