750
阿裏雲
新建虛擬邊界路由器__高速通道相關接口_API 參考_雲服務器 ECS-阿裏雲
描述
新建虛擬邊界路由器(VBR)
- 隻能由物理專線所有者給自己或他人創建VBR
- 每個物理專線默認能夠創建2個VBR
- 為自己創建的VBR直接進入Enabled狀態
- 支持為其他用戶創建VBR,創建後進入Unconfirmed狀態
- VlanId隻允許物理專線owner指定/修改
- 同一物理專線下的同一VlanId不允許兩個VBR同時再用。
- 進入Terminated狀態的VBR會在7天內自動保留其VlanId,不允許其他VBR使用。7天後可以被其他VBR使用。
- 為其他用戶創建的VBR,不能配置LocalGatewayIp、PeerGatewayIp和PeeringSubnetMask
- LocalGatewayIp、PeerGatewayIp、PeeringSubnetMask要做校驗:PeeringSubnetMask支持[24-30]位,PeeringSubnetMask支持點分十進製表示法[255.255.255.0-255.255.255.252],LocalGatewayIp和PeerGatewayIp必須在與PeeringSubnetMask定義的同一子網內。
例如:
- LocalGatewayIp: 192.168.50.17
- PeerGatewayIp: 192.168.50.18
- PeeringSubnetMask: 255.255.255.248
請求參數
名稱 | 類型 | 是否必須 | 描述 |
---|---|---|---|
Action | String | 是 | 係統規定參數,取值:CreateVirtualBorderRouter |
RegionId | String | 是 | 所在地域 |
PhysicalConnectionId | String | 是 | 物理專線Id |
VbrOwnerId | String | 否 | VBR owner的User ID,缺省為當前客戶(物理專線owner) |
VlanId | Integer | 是 | 虛擬邊界路由器(VBR)專線側接口的802.1Q VLAN號設定範圍 [1-2999],該屬性隻允許物理專線owner指定/修改。 |
CircuitCode | String | 否 | VBR專線側接口對應運營商的電路編碼。該屬性隻允許物理專線owner指定/修改。 |
LocalGatewayIp | String | 否 | 虛擬邊界路由器(VBR)專線側接口的IP地址。該屬性隻允許VBR owner指定/修改。為專線所有者創建VBR時必填,為其他賬號創建VBR時不可填。 |
PeerGatewayIp | String | 否 | VBR專線側接口對端的IP地址。該屬性隻允許VBR owner指定/修改。為專線所有者創建VBR時必填,為其他賬號創建VBR時不可填。 |
PeeringSubnetMask | String | 否 | VBR專線側接口本端與對端互聯的子網掩碼。該屬性隻允許VBR owner指定/修改。為專線所有者創建VBR時必填,為其他賬號創建VBR時不可填。 |
Name | String | 否 | 虛擬邊界路由器(VBR)的名稱,[2,128]個字符。不能以https:// 和https:// 開頭。該屬性隻允許VBR owner指定/修改。 |
Description | String | 否 | 虛擬邊界路由器(VBR)的描述信息,[2,256]個字符,不能以https:// 和https:// 開頭。該屬性隻允許VBR owner指定/修改。 |
ClientToken | String | 是 | 用於保證請求的冪等性。由客戶端生成該參數值,要保證在不同請求間唯一,最大不值過64個ASCII字符。 |
返回參數
名稱 | 類型 | 描述 |
---|---|---|
VbrId | String | 虛擬邊界路由器(VBR)ID |
錯誤碼
錯誤代碼 | 描述 | Http 狀態碼 | 語義 |
---|---|---|---|
InvalidRegionId.NotFound | The specified RegionId is not found. | 404 | 指定的RegionId不存在 |
InvalidPhysicalConnectionId.NotFound | The specified PhysicalConnectionId is not found. | 400 | 指定的物理專線Id不存在 |
InvalidVlanId.Used | The specified VlanId has been used. | 400 | 指定的VlanId已被使用 |
MissingParameter | The input parameter 'PhysicalConnectionId' that is mandatory for processing this request is not supplied. | 400 | 缺少PhysicalConnectionId值 |
InvalidPhysicalConnectionId.NotEnabled | The specified PhysicalConnectionId is not in Enabled state. | 400 | 指定的物理專線當前未處於正常狀態 |
InvalidVbrOwnerId.NotFound | The specified VbrOwnerId is not valid. | 404 | 指定的VBROwnerId不存在 |
MissingParameter | The input parameter 'VlanId' that is mandatory for processing this request is not supplied. | 400 | 缺少VlanId值 |
InvalidVlanId.Malformed | The specified VlanId is not valid. | 400 | 指定的VlanId格式不合法 |
InvalidCircuitCode.Malformed | The specified CircuitCode is not valid. | 400 | 指定的CircuitCode格式不合法 |
MissingParameter | The input parameter 'LocalGatewayIp' that is mandatory for processing this request is not supplied. | 400 | 缺少LocalGatewayIp值 |
InvalidLocalGatewayIp.Malformed | The specified LocalGatewayIp is not valid. | 400 | 指定的LocalGatewayIp格式不合法 |
MissingParameter | The input parameter 'PeerGatewayIp' that is mandatory for processing this request is not supplied. | 400 | 缺少PeerGatewayIp值 |
InvalidPeerGatewayIp.Malformed | The specified PeerGatewayIp is not valid. | 400 | 指定的PeerGatewayIp格式不合法 |
MissingParameter | The input parameter 'PeeringSubnetMask' that is mandatory for processing this request is not supplied. | 400 | 缺少PeerGatewayIp值 |
InvalidPeeringSubnetMask.Malformed | The specified PeeringSubnetMask is not valid. | 400 | 指定的PeerGatewayIp格式不合法 |
Forbidden.LocalGatewayIpNotAllowedByCaller | The caller is not allowed to specify the LocalGatewayIp parameter. | 403 | 調用方不允許指定LocalGatewayIp參數 |
Forbidden.PeerGatewayIpNotAllowedByCaller | The caller is not allowed to specify the PeerGatewayIp parameter. | 403 | 調用方不允許指定PeerGatewayIp參數 |
Forbidden.PeeringSubnetMaskNotAllowedByCaller | The caller is not allowed to specify the PeeringSubnetMask parameter. | 403 | 調用方不允許指定PeeringSubnetMask參數 |
Forbidden.NameNotAllowedByCaller | The caller is not allowed to specify the Name parameter. | 403 | 調用方不允許指定Name參數 |
Forbidden.DescriptionNotAllowedByCaller | The caller is not allowed to specify the Description parameter. | 403 | 調用方不允許指定Description參數 |
InvalidName.Malformed | The specified ‘Name’ is not valid. | 403 | 指定的Name格式不合法 |
InvalidDescription.Malformed | The specified ‘Description’ is not valid. | 400 | 指定的Description格式不合法 |
QuotaExceeded.vbrPerpConn | Virtual boarder router per PhysicalConnection quota exceed. | 400 | 指定物理專線上創建的邊界路由器數量超過配額 |
QuotaExceeded.freevbr | Free virtual boarder router quota exceed. | 400 | 邊界路由器數量超過配額 |
InvalidIP.Malformed | Ip malformed. | 400 | IP格式不合法 |
MissingParameter | LocalGatewayIp, peerGatewayIp and peeringSubnetMask must not be null. | 400 | 缺少LocalGatewayIp,peerGatewayIp或peeringSubnetMask的值 |
InvalidIp.NotSameSubnet | Local gateway ip and peer gateway ip are not in the same subnet. | 400 | LocalGatewayIp和peerGatewayIp未在同一個子網中 |
最後更新:2016-11-23 16:03:50
上一篇:
刪除物理專線__高速通道相關接口_API 參考_雲服務器 ECS-阿裏雲
下一篇:
查詢虛擬邊界路由器列表__高速通道相關接口_API 參考_雲服務器 ECS-阿裏雲
刪除數據庫__數據庫管理_開放API_分布式關係型數據庫 DRDS-阿裏雲
ALIYUN::RAM::Role__資源列表_資源編排-阿裏雲
雲監控【主題模型】__開發人員指南_消息服務-阿裏雲
ShareGroupType__數據類型_API 參考_雲服務器 ECS-阿裏雲
雲數據庫HybridDB 服務協議__服務條款_雲數據庫 HybridDB-阿裏雲
轉換證書格式__證書管理_用戶指南_負載均衡-阿裏雲
營銷郵件標準及相關規範__業務指導_產品使用問題_企業郵箱-阿裏雲
PostObject錯誤及排查___常見錯誤及排除_最佳實踐_對象存儲 OSS-阿裏雲
查詢回源帶寬__資源監控接口_API 手冊_CDN-阿裏雲
工具__Java_SDK使用手冊_歸檔存儲-阿裏雲
相關內容
常見錯誤說明__附錄_大數據計算服務-阿裏雲
發送短信接口__API使用手冊_短信服務-阿裏雲
接口文檔__Android_安全組件教程_移動安全-阿裏雲
運營商錯誤碼(聯通)__常見問題_短信服務-阿裏雲
設置短信模板__使用手冊_短信服務-阿裏雲
OSS 權限問題及排查__常見錯誤及排除_最佳實踐_對象存儲 OSS-阿裏雲
消息通知__操作指南_批量計算-阿裏雲
設備端快速接入(MQTT)__快速開始_阿裏雲物聯網套件-阿裏雲
查詢API調用流量數據__API管理相關接口_API_API 網關-阿裏雲
使用STS訪問__JavaScript-SDK_SDK 參考_對象存儲 OSS-阿裏雲