阿里云如何使用查詢路由器列表接口
來源:技術(shù)員聯(lián)盟┆發(fā)布時(shí)間:2017-11-27 18:05┆點(diǎn)擊:
查詢路由器列表
描述
查詢指定地域的路由器列表。此接口支持分頁查詢,每頁的數(shù)量默認(rèn)為 10 條。
請求參數(shù)
名稱
類型
是否必須
描述
Action
String
是
系統(tǒng)規(guī)定參數(shù),取值:DescribeVRouters
VRouterId
String
否
需要查詢的 VRouter 的 Id
RegionId
String
是
查詢指定地域的 VRouter
PageNumber
Integer
否
實(shí)例狀態(tài)列表的頁碼,起始值為 1,默認(rèn)值為 1
PageSize
Integer
否
分頁查詢時(shí)設(shè)置的每頁行數(shù),最大值 50 行,默認(rèn)為 10
返回參數(shù)
名稱
類型
描述
VRouters
VRouterSetType
VRouter 詳情 VRouterSetType 組成的集合
TotalCount
Integer
列表?xiàng)l條目數(shù)
PageNumber
Integer
當(dāng)前頁碼
PageSize
Integer
當(dāng)前分頁包含多少條目
錯誤碼
錯誤代碼
描述
Http 狀態(tài)碼
語義
Forbidden.RegionNotFound
Specified region is not found during access authentication.
404
指定的 Region 不存在
示例
請求示例
https://ecs.aliyuncs.com/?Action=DescribeVRouters
&RegionId=cn-beijing
&<公共請求參數(shù)>
返回示例