阅读417 返回首页    go 阿里云


修改虚拟边界路由器信息__高速通道相关接口_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-阿里云