Updates the configuration of an address pool.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alidns:UpdateDnsGtmAddressPool |
update |
*gtmInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the response. Default value: en. Valid values: en, zh, and ja. |
en |
| AddrPoolId |
string |
Yes |
The ID of the address pool. For more information, see DescribeDnsGtmInstanceAddressPools. |
testp****** |
| Name |
string |
No |
The name of the address pool. |
testpoolname |
| LbaStrategy |
string |
Yes |
The load balancing policy. Valid values:
|
ALL_RR |
| Addr |
array<object> |
Yes |
A list of addresses in the address pool. |
|
|
object |
No |
|||
| AttributeInfo |
string |
No |
The source region of the address. This parameter is a JSON string.
|
Linecode: default lineCodes: ["default"] lineCodeRectifyType: AUTO |
| Remark |
string |
No |
The remarks. |
test |
| LbaWeight |
integer |
No |
The weight. |
1 |
| Addr |
string |
Yes |
The address. |
1.1.XX.XX |
| Mode |
string |
Yes |
The mode. Valid values:
|
SMART |
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
|
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.