Replaces the addresses in a specified address pool.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alidns:ReplaceCloudGtmAddressPoolAddress |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AcceptLanguage |
string |
No |
The response language. Valid values:
|
en-US |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. Ensure the client token is unique for each request. The token can contain a maximum of 64 ASCII characters. |
1ae05db4-10e7-11ef-b126-00163e24**** |
| AddressPoolId |
string |
No |
The unique ID of the address pool to update. |
pool-89618921167339**** |
| Addresses |
array<object> |
No |
The list of addresses. |
|
|
object |
No |
The address information. |
||
| AddressId |
string |
No |
The unique ID of the address.
|
addr-89636516932803**** |
| WeightValue |
integer |
No |
The weight of the address. Valid values: 1 to 100. You can set a different weight for each address. DNS queries are then resolved based on the weight ratio. This setting applies to the updated addresses. |
1 |
| SerialNumber |
integer |
No |
The serial number, which determines the priority of the address. A smaller number indicates a higher priority. This setting applies to the updated addresses. |
1 |
| RequestSource |
array |
No |
The list of DNS request sources. |
|
|
string |
No |
The source of the DNS request. Global Traffic Manager (GTM) schedules traffic based on the egress IP address of the local DNS server that the client uses. If the local DNS server supports Extension Mechanisms for DNS (EDNS) client subnet (ECS), GTM can also perform intelligent scheduling based on the client's IP address. This setting applies to the updated addresses. |
["default"] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The unique request ID. |
B57C121B-A45F-44D8-A9B2-13E5A5044195 |
| Success |
boolean |
Indicates whether the operation was successful.
|
true |
| AddressPoolId |
string |
The unique ID of the address pool. |
pool-89618921167339**** |
Examples
Success response
JSON format
{
"RequestId": "B57C121B-A45F-44D8-A9B2-13E5A5044195",
"Success": true,
"AddressPoolId": "pool-89618921167339****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.