Sets the access mode for an access policy.
Operation description
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alidns:SetDnsGtmAccessMode |
update |
*AccessStrategy
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of certain response parameters. Default: en. Valid values: en, zh, and ja. |
en |
| StrategyId |
string |
Yes |
The ID of the access policy. Call DescribeDnsGtmAccessStrategies to obtain the policy ID. |
hr**zb |
| AccessMode |
string |
Yes |
The switchover policy for the address pool collection:
|
AUTO |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The unique request ID. |
29D0F8F8-5499-4F6C-9FDC-1EE13BF55925 |
Examples
Success response
JSON format
{
"RequestId": "29D0F8F8-5499-4F6C-9FDC-1EE13BF55925"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | DnsGtmSystemBusyness |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.