Updates an access policy.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
alidns:UpdateGtmAccessStrategy | update | *gtmInstance
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
Lang | string | No | The language. | en |
StrategyId | string | Yes | The ID of the access policy. | hrmxc |
StrategyName | string | No | The name of the access policy. | Access policy |
DefaultAddrPoolId | string | No | The ID of the primary address pool collection. | hrsix |
FailoverAddrPoolId | string | No | The ID of the failover address pool collection. | hrsyw |
AccessLines | string | No | The source of the DNS requests. | ["default", "mobile"] |
Response elements
Element | Type | Description | Example |
object | |||
RequestId | string | The unique ID of the request. | 29D0F8F8-5499-4F6C-9FDC-1EE13BF55925 |
Examples
Success response
JSON format
{
"RequestId": "29D0F8F8-5499-4F6C-9FDC-1EE13BF55925"
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.