Switches the access strategy mode of an instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alidns:SwitchDnsGtmInstanceStrategyMode |
*gtmInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of some returned parameters. Default value: en. Valid values: en, zh, and ja. |
en |
| InstanceId |
string |
Yes |
The ID of the instance. To obtain the ID, call DescribeDnsGtmInstances. |
gtm-cn-cs02xyk4a** |
| StrategyMode |
string |
Yes |
The access strategy mode. Valid values:
|
GEO |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The unique ID of the request. |
6856BCF6-11D6-4D7E-AC53-FD579933522B |
Examples
Success response
JSON format
{
"RequestId": "6856BCF6-11D6-4D7E-AC53-FD579933522B"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.