Inactive 状態のルーターインターフェイスをアクティブな状態にします。
操作説明
ActivateRouterInterface 操作を呼び出すと、ルーターインターフェイスは Activating 状態になります。ルーターインターフェイスがアクティブになると、Active 状態になります。
支払い遅延のあるルーターインターフェイスをアクティブにすることはできません。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
vpc:ActivateRouterInterface |
update |
*RouterInterface
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
ルーターインターフェイスのリージョン ID。 DescribeRegions 操作を呼び出して、最新のリージョンリストをクエリできます。 |
cn-hangzhou |
| RouterInterfaceId |
string |
必須 |
ルーターインターフェイスの ID。 |
ri-2zeo3xzyf38r4urz**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答パラメーター。 |
||
| RequestId |
string |
リクエスト ID。 |
079874CD-AEC1-43E6-AC03-ADD96B6E4907 |
例
成功レスポンス
JSONJSON
{
"RequestId": "079874CD-AEC1-43E6-AC03-ADD96B6E4907"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | IncorrectRIStatus | RouterInterface can be operated by this action only when it's status is Inactive. | |
| 400 | Forbidden.FinancialLocked | This RouterInterface is financiel locked because of bills outstanding. | |
| 400 | OperationFailed.PconnTrafficNotEnable | The operation is failed because of PconnTrafficNotEnable. | クラウドトラフィックがアクティブ化されていないため、操作は失敗しました。 |
| 400 | Forbbiden | The router does not belong to your account. | |
| 400 | NotSupportLinkrole | This RouterInterface is not a vlan interface for connection. | |
| 400 | OppositeRouterInterfaceIsDeleted | The opposite router interface is already deleted. | |
| 404 | InvalidRegionId.NotFound | The specified RegionId does not exist in our records. | |
| 404 | InvalidRouterInterfaceId.NotFound | The specified RouterInterfaceId does not exist in our records. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。