All Products
Search
Document Center

Alibaba Cloud DNS:SwitchDnsGtmInstanceStrategyMode

Last Updated:Jul 24, 2024

Changes the access policy type for a Global Traffic Manager (GTM) instance.

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 of the values of specific response parameters. Default value: en. Valid values: en, zh, and ja.

en
InstanceIdstringYes

The ID of the GTM instance.

instance1
StrategyModestringYes

The access policy type. Valid values:

  • GEO: geographical location-based
  • LATENCY: latency-based
GEO

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

6856BCF6-11D6-4D7E-AC53-FD579933522B

Examples

Sample success responses

JSONformat

{
  "RequestId": "6856BCF6-11D6-4D7E-AC53-FD579933522B"
}

Error codes

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