调用ModifyEipAddressAttribute接口修改指定EIP的名称、描述信息和带宽峰值。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
vpc:ModifyEipAddressAttribute |
update |
*Address
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| AllocationId |
string |
是 |
需要修改的后付费类型 EIP 的 ID。 |
eip-2zeerraiwb7uj6i0d**** |
| Bandwidth |
string |
否 |
需要修改 EIP 的带宽峰值,取值:
|
100 |
| RegionId |
string |
否 |
EIP 所属的地域 ID。 您可以通过调用 DescribeRegions 接口获取地域 ID。 |
cn-hangzhou |
| Name |
string |
否 |
需要修改的 EIP 的名称。 名称长度为 0-128 个字符,不能以 |
Test123 |
| Description |
string |
否 |
需要修改的 EIP 描述信息。 长度为 0-256 个字符,不能以 |
abc |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回信息列表。 |
||
| RequestId |
string |
请求 ID。 |
0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
示例
正常返回示例
JSON格式
{
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 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. | 参数不合法。 |
| 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. | EIP实例被锁定 |
| 400 | MissingParam.InstanceId | The parameter InstanceId is mandatory. | 物理专线实例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. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。