閱讀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-阿裏雲