All Products
Search
Document Center

Alibaba Cloud DNS:SetDnsGtmAccessMode

Last Updated:Mar 15, 2024

Modifies 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

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
LangstringNo

The language to return some response parameters. Default value: en. Valid values: en, zh, and ja.

en
StrategyIdstringYes

The ID of the policy.

strategyId
AccessModestringYes

The primary/secondary switchover policy for address pool groups. Valid values:

  • AUTO: performs automatic switchover between the primary and secondary address pool groups upon failures.
  • DEFAULT: uses the primary address pool group.
  • FAILOVER: uses the secondary address pool group.
auto

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

29D0F8F8-5499-4F6C-9FDC-1EE13BF55925

Examples

Sample success responses

JSONformat

{
  "RequestId": "29D0F8F8-5499-4F6C-9FDC-1EE13BF55925"
}

Error codes

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

Change history

Change timeSummary of changesOperation
2023-03-21The Error code has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    Added Error Codes: 400