Modifies the name, description, and peak bandwidth of a specified elastic IP address (EIP).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:ModifyEipAddressAttribute |
update |
*Address
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AllocationId |
string |
Yes |
The ID of the pay-as-you-go EIP that you want to modify. |
eip-2zeerraiwb7uj6i0d**** |
| Bandwidth |
string |
No |
The peak bandwidth of the EIP. Valid values:
|
100 |
| RegionId |
string |
No |
The region ID of the EIP. You can call the DescribeRegions operation to query the region ID. |
cn-hangzhou |
| Name |
string |
No |
The name of the EIP. The name must be 0 to 128 characters in length and cannot start with |
Test123 |
| Description |
string |
No |
The description of the EIP. The description must be 0 to 256 characters in length and cannot start with |
abc |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
Examples
Success response
JSON format
{
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InsufficientBalance.Eip | Your account does not have enough balance. | |
| 400 | Forbidden.ChargeTypeIsPrepaid | It?s forbidden to change prepaid EIP?s bandwidth by API. It can be changed on Aliyun web console. | |
| 400 | IncorrectEipStatus | Current elastic IP status does not support this operation. | |
| 400 | InvalidParameter | The parameter is invalid. | The bandwidth value is invalid. |
| 400 | InvalidBandwidth.OutOfMaxTrafficBindedOnNatgw | The bandwidth is out of max traffic binded on natgw. | |
| 400 | QuotaExceeded.LargeSpecEip | Elastic IP address with large spec quota exceeded. | |
| 400 | InvalidEipAddressName.Malformed | The specified Name is not valid. | |
| 400 | InvalidDescription.Malformed | Invalid description. | |
| 400 | Abs.InvalidBandwidth.Malformed | Specified value of Bandwidth is not supported. | |
| 400 | InvalidEIPStatus.BizDisabled | The EIP has been locked. | The error message returned because the EIP is locked. |
| 400 | MissingParam.InstanceId | The parameter InstanceId is mandatory. | You must specify the Express Connect circuit ID. |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 404 | InvalidAllocationId.NotFound | Specified allocation id is not found. | |
| 404 | Forbidden.InCommonBandwidthPackage | Specified allocation ID in common bandwidth package. | |
| 404 | Forbidden.RegionNotFound | Specified region is not found during access authentication. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.