Updates the enabled status of an address pool.
Operation description
-
An address pool is considered active if it is enabled and its health check status is Normal.
-
An address pool is considered unavailable if it is disabled or its health check status is abnormal.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alidns:UpdateCloudGtmAddressPoolEnableStatus |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AcceptLanguage |
string |
No |
The language of the response. Valid values:
|
en-US |
| ClientToken |
string |
No |
A client token to ensure the idempotence of the request. Generate a unique value from your client for this parameter. The client token can contain only ASCII characters and must be no more than 64 characters in length. |
1ae05db4-10e7-11ef-b126-00163e24**** |
| AddressPoolId |
string |
No |
The unique ID of the address pool. |
pool-89528023225442**** |
| EnableStatus |
string |
No |
The enabled status of the address pool:
|
enable |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The unique request ID. |
89184F33-48A1-4401-9C0F-40E45DB091AB |
| Success |
boolean |
Indicates whether the operation was successful:
|
true |
| AddressPoolId |
string |
The unique ID of the address pool. |
pool-89528023225442**** |
Examples
Success response
JSON format
{
"RequestId": "89184F33-48A1-4401-9C0F-40E45DB091AB",
"Success": true,
"AddressPoolId": "pool-89528023225442****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.