指定された EIP の名前、説明、およびピーク帯域幅を変更します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
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 |
例
成功レスポンス
JSONJSON
{
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 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. | InstanceId パラメーターは空にできません。 |
| 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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。