417
阿里云
修改虚拟边界路由器信息__高速通道相关接口_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
上一篇:
查询虚拟边界路由器列表__高速通道相关接口_API 参考_云服务器 ECS-阿里云
下一篇:
查看物理专线下的边界路由器列表__高速通道相关接口_API 参考_云服务器 ECS-阿里云
修改表__管理表_数据库开发_用户指南(RDBMS)_数据管理-阿里云
用户登录__系统管理_用户指南(Linux)_数据管理-阿里云
集群扩容__集群API列表_API参考_容器服务-阿里云
删除域名分组__域名分组接口_API文档_云解析-阿里云
数值类型__数据类型_SQL语法参考_云数据库 OceanBase-阿里云
开始使用阿里云MNS__快速入门_消息服务-阿里云
插件安装__Intelij 开发插件_工具_大数据计算服务-阿里云
区域裁剪__图片裁剪_老版图片服务手册_对象存储 OSS-阿里云
不同域名注册商修改 DNS 方法__DNS修改_产品使用问题_云解析-阿里云
GetConfig__Logtail配置相关接口_API-Reference_日志服务-阿里云
相关内容
常见错误说明__附录_大数据计算服务-阿里云
发送短信接口__API使用手册_短信服务-阿里云
接口文档__Android_安全组件教程_移动安全-阿里云
运营商错误码(联通)__常见问题_短信服务-阿里云
设置短信模板__使用手册_短信服务-阿里云
OSS 权限问题及排查__常见错误及排除_最佳实践_对象存储 OSS-阿里云
消息通知__操作指南_批量计算-阿里云
设备端快速接入(MQTT)__快速开始_阿里云物联网套件-阿里云
查询API调用流量数据__API管理相关接口_API_API 网关-阿里云
使用STS访问__JavaScript-SDK_SDK 参考_对象存储 OSS-阿里云