564
微信
修改路由器接口属性__高速通道相关接口_API 参考_云服务器 ECS-阿里云
描述
修改路由器接口的Name/Description/连接对端信息。
- 只有当RouterInterface的状态为Idle时,才允许修改连接对端信息(OppositeInterfaceId/OppositeRouterId/OppositeInterfaceOwnerId);
请求参数
名称 | 类型 | 是否必须 | 描述 |
---|---|---|---|
Action | String | 是 | 系统规定参数,取值:ModifyRouterInterfaceAttribute |
RegionId | String | 是 | |
RouterInterfaceId | String | 是 | 路由器接口的ID |
Name | String | 否 | 自定义名称。[2, 128] 个英文或中文字符,必须以大小字母或中文开头,可包含数字,“.”,“_”或“-”。不能以 https:// 和 https:// 开头。 |
Description | String | 否 | 自定义描述。[2, 256] 个字符,实例描述会显示在控制台。不能以 https:// 和 https:// 开头 |
OppositeInterfaceId | String | 否 | 连接对端的InterfaceId。 |
OppositeRouterId | String | 否 | 连接对端的Interface所属的路由器Id。在OppositeRouterType是VBR时OppositeRouterId所指定的VBR必须在OppositeAccessPointId所指定的接入点内。在创建/修改RouterInterface时不会做对端OppositeRouterId,OppositeAccessPointId等的校验,在进行连接操作时会出错。 |
OppositeInterfaceOwnerId | String | 否 | 连接对端路由器接口的持有者账号ID。您可以登录阿里云官网以后,在 控制台-用户中心-账号管理 中看到您的账号ID。 |
HealthCheckSourceIp | String | 否 | 专线容灾和ECMP场景下用来做专线HealthCheck的Packet的Source IP。只对本端是VRouter而且对端是VBR的Router Interface有效。必须是本端VRouter所在的VPC内的一个未被使用的IP。HealthCheckSourceIp与HealthCheckTargetIp必须同时指定或同时不指定。 |
HealthCheckTargetIp | String | 否 | 专线容灾和ECMP场景下用来做专线HealthCheck的Packet的Target IP。只对本端是VRouter而且对端是VBR的Router Interface有效。通常可以用专线用户端CPE的IP(也就是对端RI所在的VBR上的PeerGatewayIp),用户也可以指定专线用户端的其他可以用来做HealthCheck Target的IP。HealthCheckSourceIp与HealthCheckTargetIp必须同时指定或同时不指定。 |
返回参数
全是公共返回参数,详见公共返回参数
错误码
错误代码 | 描述 | Http 状态码 | 语义 |
---|---|---|---|
InvalidRegionId.NotFound | he specified RegionId does not exist in our records. | 404 | 指定的 RegionId 不存在 |
InvalidRouterInterfaceId.NotFound | The specified RouterInterfaceId does not exist in our records. | 404 | 指定的 RouterInterfaceId 不存在 |
InvalidName.Malformd | The specified ‘Name’ is not valid. | 400 | 指定的 Name 不合法 |
InvalidDescription.Malformed | The specifid ‘Description’ is not valid. | 400 | 指定的 Description 不合法 |
InvalidOppositeRouterType.ValueNotSupported | The specified OppositeRouterType is not valid. | 400 | 指定的 OppositeRouterType 不合法 |
IncorrectStatus | RouterInterface can be operated by this action only when the status is Active,idle or inactive. | 400 | 当路由器接口状态为 “Active”, “idle” 或者 “inactive” 时支持该操作 |
Forbidden.FinancileLocked | This RouterInterface is financiel locked because of bills outstanding. | 400 | 路由器接口被欠费锁定 |
Forbbiden | The Router instance owener error | 400 | 路由器不属于当前调用方 |
LinkRole.NotSupport | This linkrole is not supported | 400 | 连接角色不支持 |
Forbbiden.ModifyIdAndType | Opposite is VBR, cannot modify the ID and type | 400 | 对端为边界路由器,不能编辑ID和类型 |
InvalidParam.ModifyRouterInterface | Modify routerinterface param invalide | 400 | 编辑路由器接口参数不合法 |
最后更新:2016-11-23 16:03:50
上一篇:
新建路由器接口__高速通道相关接口_API 参考_云服务器 ECS-阿里云
下一篇:
查询路由器接口列表__高速通道相关接口_API 参考_云服务器 ECS-阿里云
阿里云汇聚畅捷通等合作伙伴开启智能“大航海时代”!轻公司方能弄潮新经济!
发送延时消息__Java SDK_TCP 接入(专业)_消息队列 MQ-阿里云
Redis命令支持__快速入门_云数据库 Redis 版-阿里云
日志采集__loghub-采集_用户指南_日志服务-阿里云
查询设备详情__查询相关_API 列表_OpenAPI 2.0_移动推送-阿里云
SSL 方式接入示例__Java 接入示例_MQTT 接入(物联)_消息队列 MQ-阿里云
DeleteBucketWebsite__关于Bucket的操作_API 参考_对象存储 OSS-阿里云
海通证券:阿里云全球化和AI产业实践日渐深化
DeleteObject__关于Object操作_API 参考_对象存储 OSS-阿里云
2.3 特色功能__第二章 基本概念_使用手册_分析型数据库-阿里云
相关内容
常见错误说明__附录_大数据计算服务-阿里云
发送短信接口__API使用手册_短信服务-阿里云
接口文档__Android_安全组件教程_移动安全-阿里云
运营商错误码(联通)__常见问题_短信服务-阿里云
设置短信模板__使用手册_短信服务-阿里云
OSS 权限问题及排查__常见错误及排除_最佳实践_对象存储 OSS-阿里云
消息通知__操作指南_批量计算-阿里云
设备端快速接入(MQTT)__快速开始_阿里云物联网套件-阿里云
查询API调用流量数据__API管理相关接口_API_API 网关-阿里云
使用STS访问__JavaScript-SDK_SDK 参考_对象存储 OSS-阿里云