全部产品
Search
文档中心

云服务器 ECS:ModifyEipAddressAttribute -

更新时间:Sep 09, 2026

说明

目前该API接口已标记为弃用,推荐使用替代API:Vpc(2016-04-28) - ModifyEipAddressAttribute。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

下表是API对应的授权信息,可以在RAM权限策略语句的Action元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:

  • 操作:是指具体的权限点。

  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。

  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:

    • 对于必选的资源类型,用前面加 * 表示。

    • 对于不支持资源级授权的操作,用全部资源表示。

  • 条件关键字:是指云产品自身定义的条件关键字。

  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。

操作

访问级别

资源类型

条件关键字

关联操作

vpc:ModifyEipAddressAttribute

update

*Address

acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}

无 无

请求参数

名称

类型

必填

描述

示例值

RegionId

string

否

AllocationId

string

是

Bandwidth

string

是

返回参数

名称

类型

描述

示例值

object

RequestId

string

示例

正常返回示例

JSON格式

{
  "RequestId": ""
}

错误码

HTTP status code

错误码

错误信息

描述

400 InsufficientBalance.Eip Your account does not have enough balance. 账户余额不足,请先充值再操作。
400 InvalidParameter Specified value of "Bandwidth" is not supported.
400 IncorrectEipStatus Current elastic IP status does not support this operation. 指定的 EIP 状态不支持此操作。
400 InvalidParam The Ecmp routerEntry with router interfaces local vgw vip not match. 路由条目与路由器接口本地视频网关 VIP 不匹配。
400 Forbidden.ChargeTypeIsPrepaid It?s forbidden to change prepaid EIP?s bandwidth by API. It can be changed on Aliyun web console.
400 InvalidBandwidth.OutOfMaxTrafficBindedOnNatgw
400 QuotaExceeded.LargeSpecEip Elastic IP address with large spec quota exceeded.
400 InvalidEipAddressName.Malformed The specified Name is not valid.
400 ResourceQueryError The specified resource is queried error.
400 InvalidDescription.Malformed Invalid description.
400 InvalidEIPStatus.BizDisabled The EIP has been locked.
400 OperationFailed.SyncOrderToSub SyncOrderToSub error.
400 COMMODITY.INVALID_COMPONENT The instance component is invalid.
400 OperationFailed.CompleteUserInfo Complete user info failed.
400 OperationFailed.ConcurrentRequest Operation failed because concurrent request.
400 IncorrectStatus.ResourceStatus Resource status is abnormal for renew.
400 OperationFailed.SaleValidate Validate sale condition with subArticle failed.
500 InternalError The request processing has failed due to some unknown error.
500 SYSTEM.UNKNOWN.ERROR The Account failed to create order.
404 InvalidAllocationId.NotFound Specified allocation ID is not found 指定的弹性公网 IP 不存在,请您检查您填写的参数是否正确。
404 Forbidden.InCommonBandwidthPackage Specified allocation ID in common bandwidth package.

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情。