阅读564 返回首页    go 微信


修改路由器接口属性__高速通道相关接口_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

  上一篇:go 新建路由器接口__高速通道相关接口_API 参考_云服务器 ECS-阿里云
  下一篇:go 查询路由器接口列表__高速通道相关接口_API 参考_云服务器 ECS-阿里云