ModifyEipAddressAttribute - 修改EIP屬性
調用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 | OrderError.EIP | The Account failed to create order. | 下單失敗 |
| 400 | InsufficientBalance.Eip | Your account does not have enough balance. | |
| 400 | InvalidParameter | Specified value of "Bandwidth" is not supported. | |
| 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 | 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 | ResourceQueryError | The specified resource is queried error. | 查詢指定的資源時出錯。 |
| 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 | OperationFailed.SaleValidate | Validate sale condition with subArticle failed. | 使用子專案驗證銷售條件失敗。 |
| 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 | Forbidden.FinancialLocked | The ip business status is invalid. | 該執行個體已欠費鎖定,無法操作 |
| 400 | MissingParam.InstanceId | The parameter InstanceId is mandatory. | 物理專線執行個體ID必須填寫。 |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 500 | OrderError.EIP | The Account failed to create order. | |
| 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. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。