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. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes UpdateGtmAddressPool

The operation that you want to perform. Set the value to UpdateGtmAddressPool.

AddrPoolId String Yes 1234abc

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

Type String Yes IP

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

Addr.N.LbaWeight Integer No 1

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

Addr.N.Mode String No SMART

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

  • SMART: Intelligent return
  • ONLINE: Always online
  • OFFLINE: Always offline
Addr.N.Value String No 1.1.1.1

The addresses in the address pool.

Lang String No en

The language used by the user.

MinAvailableAddrNum Integer No 2

The minimum number of available addresses in the address pool.

Name String No Parameter

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

Response parameters

Parameter Type Example Description
RequestId String 6856BCF6-11D6-4D7E-AC53-FD579933522B

The ID of the request.

Examples

Sample requests


http(s)://alidns.aliyuncs.com/? Action=UpdateGtmAddressPool
&AddrPoolId=1234abc
&Type=IP
&<Common request parameters>

Sample success responses

XML format

<UpdateGtmAddressPoolResponse>
  <RequestId>6856BCF6-11D6-4D7E-AC53-FD579933522B</RequestId>
</UpdateGtmAddressPoolResponse>

JSON format

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

Error codes

For a list of error codes, visit the API Error Center.