ルーターインターフェイスのスペックを変更します。
この API は廃止されました。一時的にアクセス可能ですが、更新やバグ修正対応は一切行われません。代わりに Vpc(2016-04-28) - ModifyRouterInterfaceSpec への移行を推奨します。より強化された機能に加え、サポートも引き続きご利用いただけます。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
vpc:ModifyRouterInterfaceSpec |
update |
*RouterInterface
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
DescribeRegions API を呼び出して、リージョンの最新リストを取得できます。 |
|
| RouterInterfaceId |
string |
必須 |
|
|
| Spec |
string |
必須 |
Mini.2、 Small.1、 Middle.1、 Middle.2、 Large.1、 Large.2、 Xlarge.1、 Negative。 |
|
| ClientToken |
string |
任意 |
|
|
| UserCidr |
string |
任意 |
InitiatingSide で、ルーターインターフェイスの状態が Idle または Active の場合に必須です。CIDR ブロックは、 10.0.0.0/8、 172.16.0.0/12、または 192.168.0.0/16 のアドレス範囲内の /30 ブロックである必要があります。クライアント側の CIDR ブロックは、ルーターインターフェイスが配置されている VPC の CIDR ブロックと重複させることはできません。 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|
||
| Spec |
string |
|
|
| RequestId |
string |
|
例
成功レスポンス
JSONJSON
{
"Spec": "",
"RequestId": ""
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidSpec.ValudNotSupported | The specified Spec is not supported. | |
| 400 | Forbidden.FinancialLocked | RouterInterface can not be operated by this action when it??s FinancialLocked. | |
| 400 | InvalidParam.NotFound | Parameter must not be null,uid, bid,regionNo, remoteRegionNo or routerId | |
| 400 | InvalidOppositeRegionId.NotFound | The OppositeRegionId provided does not exist in our records. | |
| 400 | InvalidInstanceOwner.Error | The router instance owener error. | |
| 400 | InvalidInstance.StatusError | The router instance owener error. | |
| 400 | InvalidOpposite.NotFound | The opposite not exit. | |
| 400 | InvalidRouterInterfaceSpec.Malformed | Specified RouterInterface spec is not valid. | |
| 400 | IllegalParam.chargeType | RouterInterface chargeType different. | |
| 404 | InvalidRouterInterfaceId.NotFound | The specified RouterInterfaceId does not exist in our record. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。