CreateVirtualBorderRouter
この API は廃止されました。一時的にアクセス可能ですが、更新やバグ修正対応は一切行われません。代わりに Vpc(2016-04-28) - CreateVirtualBorderRouter への移行を推奨します。より強化された機能に加え、サポートも引き続きご利用いただけます。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
vpc:CreateVirtualBorderRouter |
create |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
`DescribeRegions` 操作を呼び出して、最新のリージョンリストを取得できます。 |
|
| PhysicalConnectionId |
string |
必須 |
|
|
| VbrOwnerId |
integer |
任意 |
|
|
| VlanId |
integer |
必須 |
有効な値:0~4095。 値が 0 の場合は、VBR がレイヤー 3 ルーターモードで物理接続に接続されていることを示します。 |
|
| CircuitCode |
string |
任意 |
|
|
| LocalGatewayIp |
string |
任意 |
|
|
| PeerGatewayIp |
string |
任意 |
|
|
| PeeringSubnetMask |
string |
任意 |
|
|
| Description |
string |
任意 |
説明は 2~256 文字である必要があり、`http://` または `https://` で始めることはできません。 |
|
| Name |
string |
任意 |
名前は 2~128 文字である必要があり、先頭は英字である必要があります。英字、数字、ピリオド (.)、アンダースコア (_)、ハイフン (-) のみ使用できます。 |
|
| ClientToken |
string |
必須 |
このトークンはクライアントで生成できますが、リクエストごとに一意である必要があります。トークンには ASCII 文字のみを含めることができ、64 文字を超えることはできません。 |
|
| ClientToken |
string |
任意 |
このトークンはクライアントで生成できますが、リクエストごとに一意である必要があります。トークンには ASCII 文字のみを含めることができ、64 文字を超えることはできません。 |
|
| UserCidr |
string |
任意 |
|
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|
||
| VbrId |
string |
|
|
| RequestId |
string |
|
例
成功レスポンス
JSONJSON
{
"VbrId": "",
"RequestId": ""
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidPhysicalConnectionId.NotFound | The specified PhysicalConnectionId is not found. | |
| 400 | InvalidVlanId.Used | The specified VlanId has been used. | |
| 400 | MissingParameter | The input parameter 'PhysicalConnectionId' that is mandatory for processing this request is not supplied. | |
| 400 | InvalidPhysicalConnectionId.NotEnabled | The specified PhysicalConnectionId is not in Enabled state. | |
| 400 | InvalidVlanId.Malformed | The specified VlanId is not valid. | |
| 400 | InvalidCircuitCode.Malformed | The specified CircuitCode is not valid. | |
| 400 | InvalidLocalGatewayIp.Malformed | The specified LocalGatewayIp is not valid. | |
| 400 | InvalidPeeringSubnetMask.Malformed | The specified PeeringSubnetMask is not valid. | |
| 400 | InvalidName.Malformed | The specified Name is not valid. | |
| 400 | InvalidDescription.Malformed | The specifid Description is not valid. | |
| 400 | QuotaExceeded.vbrPerpConn | Virtual boarder router per PhysicalConnection quota exceed. | |
| 400 | QuotaExceeded.freevbr | Free virtual boarder router quota exceed. | |
| 400 | InvalidIp.NotSameSubnet | Local gateway ip and peer gateway ip are not in the same subnet. | |
| 400 | TaskConflict | The operation is too frequent, please wait a moment and try again. | |
| 400 | QuotaExceeded.CrossUserVBRPerUser | Cross virtual boarder router per user quota exceed. | |
| 400 | OperationFailed.VlanIdInUse | Operation failed because vlanId is in use. | |
| 403 | Forbidden.LocalGatewayIpNotAllowedByCaller | The caller is not allowed to specify the LocalGatewayIp parameter. | |
| 403 | Forbidden.PeerGatewayIpNotAllowedByCaller | The caller is not allowed to specify the PeerGatewayIp parameter. | |
| 403 | Forbidden.PeeringSubnetMaskNotAllowedByCaller | The caller is not allowed to specify the PeeringSubnetMask parameter. | |
| 403 | Forbidden.NameNotAllowedByCaller | The caller is not allowed to specify the Name parameter. | |
| 403 | Forbidden.DescriptionNotAllowedByCaller | The caller is not allowed to specify the Description parameter. | |
| 404 | InvalidRegionId.NotFound | The specified RegionId is not found. | |
| 404 | InvalidVbrOwnerId.NotFound | The specified VbrOwnerId is not valid. | |
| 404 | OperationFailed.AccessDeviceDisabled | Access device is disabled and can not create vbr. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。