閱讀577 返回首頁    go 魔獸


將路由器接口狀態置為激活__路由器接口相關接口_API參考_專有網絡 VPC-阿裏雲

描述

將一個Inactive狀態的RouterInterface的狀態置為Active。

  • 這是一個異步操作,返回成功後,RouterInterface會進入Activating狀態;用戶可以通過輪詢RouterInterface狀態的方式得知是否已經進入Active狀態。
  • 若該RI處於欠費狀態,則不允許進行該操作

請求參數

名稱 類型 是否必須 描述
Action string 係統規定參數,取值:ActivateRouterInterface
RegionId string 實例所在的地域
RouterInterfaceId string 路由器接口ID

返回參數

全是公共返回參數,詳見公共返回參數

錯誤碼

錯誤代碼 描述 Http 狀態碼 語義
InvalidRegionId.NotFound The specified RegionId does not exist in our records. 404 指定的 RegionId 不存在
InvalidRouterInterfaceId.NotFound The specified RouterInterfaceId does not exist in our records. 404 指定的 RouterInterfaceId 不存在
IncorrectStatus RouterInterface can be operated by this action only when it’s status is Inactive. 400 當 RouterInterface 狀態為 “Inactive” 時才能執行操作
Forbidden.FinancileLocked This RouterInterface is financiel locked because of bills outstanding. 400 實例處於欠費鎖定狀態

最後更新:2016-11-23 16:04:14

  上一篇:go 查詢虛擬邊界路由器__虛擬邊界路由器相關接口_API參考_專有網絡 VPC-阿裏雲
  下一篇:go 將路由器接口狀態置為非激活__路由器接口相關接口_API參考_專有網絡 VPC-阿裏雲