イニシエーター側のルーターインターフェイスからアクセプター側のルーターインターフェイスへの接続を開始します。
操作説明
この操作を呼び出すと、ルーターインターフェイスは Connecting 状態になります。接続が確立されると、Active 状態に遷移します。
この操作を呼び出す際は、以下の点にご注意ください。
Idle 状態のイニシエーター側ルーターインターフェイスのみが接続を開始できます。
2 つのルーター間に作成できる接続済みルーターインターフェイスのペアは 1 組のみです。
Alibaba Cloud アカウントに支払い遅延のあるルーターインターフェイスが存在する場合、接続を開始できません。
今すぐお試しください
テスト
RAM 認証
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
ルーターインターフェイスがデプロイされているリージョンの ID です。 最新のリージョンリストを取得するには、DescribeRegions 操作を呼び出してください。 |
cn-hangzhou |
| RouterInterfaceId |
string |
必須 |
イニシエーター側ルーターインターフェイスの ID です。 |
ri-2zeo3xzyf38r4urzd**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエスト ID です。 |
DE77A7F3-3B74-41C0-A5BC-CAFD188C28B6 |
例
成功レスポンス
JSONJSON
{
"RequestId": "DE77A7F3-3B74-41C0-A5BC-CAFD188C28B6"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | IncorrectRole.NotInitiatingSide | The specified RouterInterface is not InitiatingSide. | |
| 400 | IncorrectRIStatus | RouterInterface can be operated by this action only when it's status is Idle. | |
| 400 | IncorrectOppositeInterfaceInfo.NotSet | OppositeInterfaceId/OppositeRouterId/OppositeRouterType/OppositeInterfaceOwnerId must be all set. | |
| 400 | IncorrectOppositeInterfaceInfo | Cannot connect on the same router | |
| 400 | Forbidden.OnlyOneConnection | The Specified routers have a connection already | |
| 400 | Forbidden.BillsOutstanding | You cannot use this action because you have bills outstanding. | |
| 400 | InvalidAccount.NotFound | The specified account is not exists. | |
| 400 | ErrCode.Invalid | got error | |
| 400 | AttrMismatching.AcceptingSideRole | %s | |
| 400 | AttrMismatching.AcceptingSideInstanceId | %s | |
| 400 | AttrMismatching.AcceptingSideRegionNo | %s | |
| 400 | AttrMismatching.AcceptingSideRouterId | %s | |
| 400 | AttrMismatching.AcceptingSideRouterType | %s | |
| 400 | AttrMismatching.AcceptingSideAliUid | %s | |
| 400 | AttrMismatching.AcceptingSideOppositeInterfaceOwnerId | %s | |
| 400 | AttrMismatching.AcceptingSideOppositeRegionNo | %s | |
| 400 | AttrMismatching.AcceptingSideOppositeInterfaceId | %s | |
| 400 | AttrMismatching.AcceptingSideOppositeRouterId | %s | |
| 400 | AttrMismatching.AcceptingSideOppositeRouterType | %s | |
| 400 | IllegalParam.InstanceOwner | The router instance owener error. | |
| 404 | InvalidRegionId.NotFound | The RegionId provided does not exist in our records. | |
| 404 | InvalidRouterInterfaceId.NotFound | The specified RouterInterfaceId does not exist in our record. | |
| 404 | CROSS_BID.FORBIDDEN | Connect RouterInterface across bid is illegal |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。