All Products
Search
Document Center

Alibaba Cloud DNS:UpdateGtmAddressPool

Last Updated:Jul 24, 2024

You can call this operation to modify an address pool of a Global Traffic Manager (GTM) instance.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
LangstringNo

The language used by the user.

en
AddrPoolIdstringYes

The ID of the address pool that you want to modify.

1234abc
NamestringNo

The name of the address pool that you want to modify.

TypestringYes

The type of the address pool that you want to modify.

IP
MinAvailableAddrNumintegerNo

The minimum number of available addresses in the address pool.

2
Addrarray<object>Yes
objectYes
ValuestringNo

The addresses in the address pool.

1.1.1.1
LbaWeightintegerNo

The weight of the address pool that you want to modify.

1
ModestringNo

The mode of the address pool that you want to modify.

  • SMART: Intelligent return
  • ONLINE: Always online
  • OFFLINE: Always offline
SMART

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

6856BCF6-11D6-4D7E-AC53-FD579933522B

Examples

Sample success responses

JSONformat

{
  "RequestId": "6856BCF6-11D6-4D7E-AC53-FD579933522B"
}

Error codes

For a list of error codes, visit the Service error codes.