閱讀417 返回首頁    go 小米6


修改虛擬邊界路由器信息__高速通道相關接口_API 參考_雲服務器 ECS-阿裏雲

描述

修改虛擬邊界路由器屬性

  • 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 係統規定參數,取值:ModifyVirtualBorderRouterAttribute
RegionId String 所在地域(管理實例的Region ID)
VBRId String 虛擬邊界路由器(VBR)Id
VlanId String 虛擬邊界路由器(VBR)專線側接口的802.1Q VLAN號 範圍(1-2999)。
CircuitCode String VBR專線側接口對應運營商的電路編碼。該屬性隻允許物理專線owner指定/修改。
LocalGatewayIp String VBR專線側接口本端的IP地址。該屬性隻允許VBR owner指定/修改。不允許把Enabled狀態的VBR的該屬性改為空。
PeerGatewayIp String VBR專線側接口對端的IP地址。該屬性隻允許VBR owner指定/修改。不允許把Enabled狀態的VBR的該屬性改為空。
PeeringSubnetMask String VBR專線側接口本端與對端互聯的子網掩碼。該屬性隻允許VBR owner指定/修改。不允許把Enabled狀態的VBR的該屬性改為空。
VBRName String 虛擬邊界路由器(VBR)的名稱
VBRDescription String 虛擬邊界路由器(VBR)的描述

返回參數

全是公共返回參數,詳見公共返回參數

錯誤碼

錯誤代碼 描述 Http 狀態碼 語義
InvalidRegionId.NotFound The specified RegionId is not found. 404 指定的RegionId不存在
InvalidVbrId.NotFound The specified VirutalBorderRouter is not found. 400 指定的VbrId不存在
InvalidVlanId.Used The specified VlanId has been used. 400 指定的VlanId已經被使用
InvalidCircuitCode.Malformed The specified CircuitCode is not valid. 400 指定的CircuitCode不合法
InvalidVlanId.Malformed The specified VlanId is not valid. 400 指定的VlanId不合法
InvalidIp.Malformed The specified ip address is not valid. 400 指定的Ip地址不合法
InvalidPeeringSubnetMask.Malformed The specified PeeringSubnetMask is not valid. 400 指定的PeeringSubnetMask不合法
Forbidden.CircuitCodeNotAllowedByCaller The caller is not allowed to modify. 403
Forbidden.CircuitCodeNotAllowedByCaller The caller is not allowed to specify the CircuitCode parameter. 403 調用方不允許指定CircuitCode參數
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.VlanIdNotAllowedByCaller The caller is not allowed to specify the VlanId. 403 調用方不允許指定VlanId參數
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. 400 指定的邊界路由器名稱不合法
InvalidDescription.Malformed The specifid ‘Description’ is not valid. 400 指定的描述信息不合法
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 17:16:02

  上一篇:go 查詢虛擬邊界路由器列表__高速通道相關接口_API 參考_雲服務器 ECS-阿裏雲
  下一篇:go 查看物理專線下的邊界路由器列表__高速通道相關接口_API 參考_雲服務器 ECS-阿裏雲