企业路由器 ER-查询有效路由列表:响应参数

时间:2023-12-06 15:04:42

响应参数

状态码: 200

表3 响应Body参数

参数

参数类型

描述

routes

Array of EffectiveRoute objects

路由列表

request_id

String

请求ID

page_info

PageInfo object

分页查询的信息

表4 EffectiveRoute

参数

参数类型

描述

route_id

String

路由ID

destination

String

路由目的地

next_hops

Array of RouteAttachment objects

路由下一跳列表

is_blackhole

Boolean

是否黑洞路由

route_type

String

路由类型:static,propagation

表5 RouteAttachment

参数

参数类型

描述

resource_id

String

连接关联的资源ID

resource_type

String

连接关联的资源类型:

  • vpc:虚拟私有云

  • vpn:vpn网关

  • vgw:云专线的虚拟网关

  • peering:对等连接,通过云连接CC加载不同区域的企业路由器来创建“对等连接(Peering)”连接

attachment_id

String

连接ID

表6 PageInfo

参数

参数类型

描述

next_marker

String

下一个marker标识,为空时表示最后一页

current_count

Integer

当前列表中资源数量

support.huaweicloud.com/api-er/ListEffectiveRoutes.html