UpdateEgressProxyIpPoolAttribute
Updates the attributes of an egress proxy IP address pool.
Operation description
The UpdateEgressProxyIpPoolAttribute operation is asynchronous. After the operation is called, the attributes of the egress proxy IP address pool are not immediately updated, and the backend update task is still in progress. You can call GetEgressProxyIpPoolAttribute to query the status of the egress proxy IP address pool:
-
If the egress proxy IP address pool is in the Configuring state, the attributes are being updated.
-
If the egress proxy IP address pool is in the Available state, the attributes are updated.
Try it now
Test
RAM authorization
Request syntax
POST / HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. You can generate the value of this parameter on the client side. Make sure that the value is unique across different requests. The client token can contain only ASCII characters. Note
Note If you do not specify this parameter, the system automatically uses the RequestId of the API request as the client token. The RequestId of each API request is different. |
5A2CFF0E-5718-45B5-9D4D-70B****** |
| DryRun |
boolean |
No |
Specifies whether to perform a dry run only. Valid values:
|
true |
| EgressProxyIpPoolId |
string |
Yes |
The ID of the egress proxy IP address pool. |
eppool-gw80606a59ecc101**** |
| EgressProxyIpPoolName |
string |
No |
The name of the egress proxy IP address pool. The name must be 2 to 128 characters in length and start with a letter or a Chinese character. It can contain digits, periods (.), underscores (_), and hyphens (-). |
testEpg |
| Description |
string |
No |
The description of the egress proxy address pool. The description must be 2 to 256 characters in length and can contain Chinese characters, English letters, digits, commas (,), periods (.), semicolons (;), forward slashes (/), at signs (@), underscores (_), and hyphens (-). |
testEpg |
| Scheduler |
string |
No |
The scheduling algorithm for egress IP addresses, which specifies how an egress IP address is selected from the address pool. Valid values:
Valid values:
|
Random |
| HashFactor |
string |
No |
The hash factor used for consistent hashing. This parameter is required when the Scheduler parameter is set to ConsistentHash. Valid values:
Valid values:
|
FiveTuple |
| HashHeaderName |
string |
No |
The name of the custom hash request header. This parameter is required when the HashFactor parameter is set to HttpHeader. The name must be 1 to 128 characters in length. |
X-Forwarded-For |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
019F3A67-2D1B-537B-B08D-B2DEB69E8E8B |
Examples
Success response
JSON format
{
"RequestId": "019F3A67-2D1B-537B-B08D-B2DEB69E8E8B"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParam.UpdateAttribute | The param of %s is missing. | The required parameter update attribute is missing. |
| 400 | IncorrectStatus.EgressProxyIpPool | The status of %s [%s] is incorrect. | The status of the egress proxy IP address pool does not support this operation. |
| 400 | IncorrectStatus.EgressProxyGateway | The status of %s [%s] is incorrect. | The status of the egress proxy gateway does not support this operation. |
| 400 | IncorrectBusinessStatus.EgressProxyGateway | The business status of %s [%s] is incorrect. | The business status of the egress proxy gateway does not support this operation. |
| 400 | MissingParam.HashHeaderName | The param of %s is missing. | The required parameter hash request header name is missing. |
| 404 | ResourceNotFound.EgressProxyIpPool | The specified resource of %s is not found. | The specified egress proxy IP address pool resource does not exist. |
| 404 | ResourceNotFound.EgressProxyGateway | The specified resource of %s is not found. | The specified egress proxy gateway resource does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.