调用DescribeVirtualBorderRouters接口查询已创建的VBR实例。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | DescribeVirtualBorderRouters | 要执行的操作。 取值:DescribeVirtualBorderRouters。 |
RegionId | String | 是 | cn-shanghai | VBR所属的地域ID。您可以通过调用DescribeRegions接口获取地域ID。 |
PageNumber | Integer | 否 | 1 | 列表的页码,默认值为1。 |
PageSize | Integer | 否 | 10 | 分页查询时每页的行数,最大值为50,默认值为10。 |
Filter.N.Key | String | 否 | Status | 过滤条件,最多可提供5个过滤条件。支持如下过滤条件:
|
Filter.N.Value.N | RepeatList | 否 | Active | 根据Key指定过滤值。一个Key支持指定多个过滤值,每个过滤值之间是或的关系,即只要符合其中一个过滤值,则视为匹配该过滤条件。 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
VirtualBorderRouterSet | Array of VirtualBorderRouterType | 查询到的VBR合集。 |
|
VirtualBorderRouterType | |||
AccessPointId | String | ap-cn-kojok1x****** | 物理专线接入点的ID。 |
ActivationTime | String | 2021-06-08T12:20:55 | VBR第一次激活的时间。 |
AssociatedCens | Array of AssociatedCen | 关联的云企业网实例信息。 |
|
AssociatedCen | |||
CenId | String | cen-kojok19xxx****** | 云企业网实例ID。 |
CenOwnerId | Long | 16880000000000000 | 云企业网实例所属账号的ID。 |
CenStatus | String | Attached | 云企业网状态。
|
AssociatedPhysicalConnections | Array of AssociatedPhysicalConnection | 关联的物理专线信息。 |
|
AssociatedPhysicalConnection | |||
CircuitCode | String | longtel0** | 运营商为物理专线提供的电路编码。 |
EnableIpv6 | Boolean | true | 是否启用IPv6。
|
LocalGatewayIp | String | 192.168.XX.XX | VBR实例的阿里云侧互联IPv4地址。 |
LocalIpv6GatewayIp | String | 2001:XXXX:3c4d:0015:0000:0000:0000:1a2b | VBR实例的阿里云侧互联IPv6地址。 |
PeerGatewayIp | String | 116.62.XX.XX | VBR实例的客户侧互联IPv4地址。 |
PeerIpv6GatewayIp | String | 2001:XXXX:3c4d:0015:0000:0000:0000:1a2b | VBR实例的客户侧互联IPv6地址。 该属性只允许VBR所有者指定或者修改。 为物理专线所有者创建VBR实例时必填,为其他账号创建VBR实例时无需填写。 |
PeeringIpv6SubnetMask | String | 2408:4004:cc:400::/56 | VBR实例的阿里云侧和客户侧互联IPv6的子网掩码。 两个IPv6地址必须位于同一个子网。 |
PeeringSubnetMask | String | 255.255.255.252 | VBR实例的阿里云侧和客户侧互联IPv4的子网掩码。 两个IPv4地址必须位于同一个子网。 |
PhysicalConnectionBusinessStatus | String | Normal | 物理专线业务状态。
|
PhysicalConnectionId | String | pc-119mfjzm7****** | 物理专线ID。 |
PhysicalConnectionOwnerUid | String | 12345678**** | 物理专线所有者的账号ID。 |
PhysicalConnectionStatus | String | Enabled | 物理专线状态。
|
Status | String | active | VBR实例状态。
|
VlanId | String | 0 | VBR实例的VLAN ID。 |
VlanInterfaceId | String | ri-kojok19x3j0q6k**** | VBR的路由器接口ID,可以作为VBR路由的下一跳。 |
CircuitCode | String | longtel0** | 运营商为物理专线提供的电路编码。 |
CloudBoxInstanceId | String | cb-********* | 云盒实例ID。 |
CreationTime | String | 2020-06-08T12:20:55 | VBR的创建时间。 |
Description | String | desc | VBR的描述信息。 |
DetectMultiplier | Long | 3 | 检测时间倍数。 即接收方允许发送方发送报文的最大连接丢包数,用来检测链路是否正常。 取值:3~10。 |
EccId | String | ecc-h********* | 高速上云服务实例ID。 |
EnableIpv6 | Boolean | false | 是否启用IPv6。
|
LocalGatewayIp | String | 192.168.XX.XX | VBR实例的阿里云侧互联IPv4地址。 |
LocalIpv6GatewayIp | String | 2001:XXXX:3c4d:0015:0000:0000:0000:1a2b | VBR实例的阿里云侧互联IPv6地址。 |
MinRxInterval | Long | 300 | 配置BFD报文的接收间隔,取值:200~1000,单位为ms。 |
MinTxInterval | Long | 300 | 配置BFD报文的发送间隔,取值:200~1000,单位为ms。 |
Name | String | test | VBR实例名称。 |
PConnVbrChargeType | String | PrePaid | 物理专线绑定的边界路由器付费类型。
|
PConnVbrExpireTime | String | 2021-06-08T12:20:55 | 计费VBR的超期时间。 |
PeerGatewayIp | String | 192.168.XX.XX | VBR实例的客户侧互联IPv4地址。 |
PeerIpv6GatewayIp | String | 2001:XXXX:3c4d:0015:0000:0000:0000:1a2b | VBR实例的客户侧互联IPv6地址。 |
PeeringIpv6SubnetMask | String | 2000:1234:0:a000::/55 | VBR实例的阿里云侧互联IPv6与客户侧互联IPv6的子网掩码。 |
PeeringSubnetMask | String | 255.255.255.252 | VBR实例的阿里云侧互联IPv4和客户侧互联IPv4的子网掩码。 |
PhysicalConnectionBusinessStatus | String | Normal | 物理专线业务状态。
|
PhysicalConnectionId | String | pc-119mfjzm7x****** | VBR所属的物理专线的ID。 |
PhysicalConnectionOwnerUid | String | 16880000000000000 | 物理专线所属的账号ID。 |
PhysicalConnectionStatus | String | Normal | 物理专线状态。
|
RecoveryTime | String | 2021-05-08T12:20:55 | VBR最近一次从Terminated状态恢复到Active状态的时间。 |
RouteTableId | String | rtb-bp1****** | VBR的路由表ID。 |
Status | String | active | VBR实例状态。
|
TerminationTime | String | 2021-06-08T12:20:55 | VBR最近一次被终止的时间。 |
Type | String | pconnVBR | VBR类型。 |
VbrId | String | vbr-bp1jcg5cmxjbl9xgc**** | VBR实例ID。 |
VlanId | Integer | 10 | VBR实例的VLAN ID。 |
VlanInterfaceId | String | ri-2zeo3xzyf38r4xx******* | VBR的路由器接口的ID。 |
TotalCount | Integer | 1 | 列表条目数。 |
PageNumber | Integer | 1 | 列表的页码,默认值为1。 |
PageSize | Integer | 10 | 分页查询时每页的行数,最大值为50,默认值为10。 |
RequestId | String | DE77A7F3-3B74-41C0-A5BC-CAFD188C28B6 | 请求ID。 |
示例
请求示例
1 2 3 | http(s): //[Endpoint]/?Action=DescribeVirtualBorderRouters &RegionId=cn-shanghai &<公共请求参数> |
正常返回示例
XML
格式
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | <DescribeVirtualBorderRoutersResponse> <TotalCount> 1 </TotalCount> <PageSize> 10 </PageSize> <RequestId>DE77A7F3-3B74-41C0-A5BC-CAFD188C28B6</RequestId> <PageNumber> 1 </PageNumber> <VirtualBorderRouterSet> <VirtualBorderRouterType> <MinRxInterval> 300 </MinRxInterval> <PeerGatewayIp> 192.168 .XX.XX</PeerGatewayIp> <Description>desc</Description> <RouteTableId>rtb-bp1******</RouteTableId> <ActivationTime> 2021 - 06 -08T12: 20 : 55 </ActivationTime> <PhysicalConnectionId>pc-119mfjzm7x******</PhysicalConnectionId> <PhysicalConnectionStatus>Normal</PhysicalConnectionStatus> <VlanInterfaceId>ri-2zeo3xzyf38r4xx*******</VlanInterfaceId> <VbrId>vbr-bp1jcg5cmxjbl9xgc****</VbrId> <PhysicalConnectionOwnerUid> 16880000000000000 </PhysicalConnectionOwnerUid> <PeeringSubnetMask> 255.255 . 255.252 </PeeringSubnetMask> <TerminationTime> 2021 - 06 -08T12: 20 : 55 </TerminationTime> <EnableIpv6> false </EnableIpv6> <PeeringIpv6SubnetMask> 2000 : 1234 : 0 :a000::/ 55 </PeeringIpv6SubnetMask> <Name>test</Name> <RecoveryTime> 2021 - 05 -08T12: 20 : 55 </RecoveryTime> <EccId>ecc-h*********</EccId> <LocalIpv6GatewayIp> 2001 :XXXX:3c4d: 0015 : 0000 : 0000 : 0000 :1a2b</LocalIpv6GatewayIp> <VlanId> 10 </VlanId> <Status>active</Status> <CircuitCode>longtel0**</CircuitCode> <MinTxInterval> 300 </MinTxInterval> <PeerIpv6GatewayIp> 2001 :XXXX:3c4d: 0015 : 0000 : 0000 : 0000 :1a2b</PeerIpv6GatewayIp> <DetectMultiplier> 3 </DetectMultiplier> <PConnVbrChargeType>PrePaid</PConnVbrChargeType> <Type>pconnVBR</Type> <LocalGatewayIp> 192.168 .XX.XX</LocalGatewayIp> <AccessPointId>ap-cn-kojok1x******</AccessPointId> <CreationTime> 2020 - 06 -08T12: 20 : 55 </CreationTime> <PConnVbrExpireTime> 2021 - 06 -08T12: 20 : 55 </PConnVbrExpireTime> <CloudBoxInstanceId>cb-*********</CloudBoxInstanceId> <PhysicalConnectionBusinessStatus>Normal</PhysicalConnectionBusinessStatus> <AssociatedPhysicalConnections> <AssociatedPhysicalConnection> <Status>active</Status> <PeerGatewayIp> 116.62 .XX.XX</PeerGatewayIp> <CircuitCode>longtel0**</CircuitCode> <PhysicalConnectionId>pc-119mfjzm7******</PhysicalConnectionId> <PhysicalConnectionStatus>Enabled</PhysicalConnectionStatus> <VlanInterfaceId>ri-kojok19x3j0q6k****</VlanInterfaceId> <PeerIpv6GatewayIp> 2001 :XXXX:3c4d: 0015 : 0000 : 0000 : 0000 :1a2b</PeerIpv6GatewayIp> <PhysicalConnectionOwnerUid> 12345678 ****</PhysicalConnectionOwnerUid> <PeeringSubnetMask> 255.255 . 255.252 </PeeringSubnetMask> <EnableIpv6> true </EnableIpv6> <PeeringIpv6SubnetMask> 2408 : 4004 :cc: 400 ::/ 56 </PeeringIpv6SubnetMask> <LocalGatewayIp> 192.168 .XX.XX</LocalGatewayIp> <LocalIpv6GatewayIp> 2001 :XXXX:3c4d: 0015 : 0000 : 0000 : 0000 :1a2b</LocalIpv6GatewayIp> <VlanId> 0 </VlanId> <PhysicalConnectionBusinessStatus>Normal</PhysicalConnectionBusinessStatus> </AssociatedPhysicalConnection> </AssociatedPhysicalConnections> <AssociatedCens> <AssociatedCen> <CenStatus>Attached</CenStatus> <CenOwnerId> 16880000000000000 </CenOwnerId> <CenId>cen-kojok19xxx******</CenId> </AssociatedCen> </AssociatedCens> </VirtualBorderRouterType> </VirtualBorderRouterSet> </DescribeVirtualBorderRoutersResponse> |
JSON
格式
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | { "TotalCount" : 1 , "PageSize" : 10 , "RequestId" : "DE77A7F3-3B74-41C0-A5BC-CAFD188C28B6" , "PageNumber" : 1 , "VirtualBorderRouterSet" : { "VirtualBorderRouterType" : { "MinRxInterval" : 300 , "PeerGatewayIp" : "192.168.XX.XX" , "Description" : "desc" , "RouteTableId" : "rtb-bp1******" , "ActivationTime" : "2021-06-08T12:20:55" , "PhysicalConnectionId" : "pc-119mfjzm7x******" , "PhysicalConnectionStatus" : "Normal" , "VlanInterfaceId" : "ri-2zeo3xzyf38r4xx*******" , "VbrId" : "vbr-bp1jcg5cmxjbl9xgc****" , "PhysicalConnectionOwnerUid" : 16880000000000000 , "PeeringSubnetMask" : "255.255.255.252" , "TerminationTime" : "2021-06-08T12:20:55" , "EnableIpv6" : false , "PeeringIpv6SubnetMask" : "2000:1234:0:a000::/55" , "Name" : "test" , "RecoveryTime" : "2021-05-08T12:20:55" , "EccId" : "ecc-h*********" , "LocalIpv6GatewayIp" : "2001:XXXX:3c4d:0015:0000:0000:0000:1a2b" , "VlanId" : 10 , "Status" : "active" , "CircuitCode" : "longtel0**" , "MinTxInterval" : 300 , "PeerIpv6GatewayIp" : "2001:XXXX:3c4d:0015:0000:0000:0000:1a2b" , "DetectMultiplier" : 3 , "PConnVbrChargeType" : "PrePaid" , "Type" : "pconnVBR" , "LocalGatewayIp" : "192.168.XX.XX" , "AccessPointId" : "ap-cn-kojok1x******" , "CreationTime" : "2020-06-08T12:20:55" , "PConnVbrExpireTime" : "2021-06-08T12:20:55" , "CloudBoxInstanceId" : "cb-*********" , "PhysicalConnectionBusinessStatus" : "Normal" , "AssociatedPhysicalConnections" : { "AssociatedPhysicalConnection" : { "Status" : "active" , "PeerGatewayIp" : "116.62.XX.XX" , "CircuitCode" : "longtel0**" , "PhysicalConnectionId" : "pc-119mfjzm7******" , "PhysicalConnectionStatus" : "Enabled" , "VlanInterfaceId" : "ri-kojok19x3j0q6k****" , "PeerIpv6GatewayIp" : "2001:XXXX:3c4d:0015:0000:0000:0000:1a2b" , "PhysicalConnectionOwnerUid" : "12345678****" , "PeeringSubnetMask" : "255.255.255.252" , "EnableIpv6" : true , "PeeringIpv6SubnetMask" : "2408:4004:cc:400::/56" , "LocalGatewayIp" : "192.168.XX.XX" , "LocalIpv6GatewayIp" : "2001:XXXX:3c4d:0015:0000:0000:0000:1a2b" , "VlanId" : 0 , "PhysicalConnectionBusinessStatus" : "Normal" } }, "AssociatedCens" : { "AssociatedCen" : { "CenStatus" : "Attached" , "CenOwnerId" : 16880000000000000 , "CenId" : "cen-kojok19xxx******" } } } } } |
错误码
HttpCode | 错误码 | 错误信息 | 描述 |
---|---|---|---|
404 | InvalidFilterKey.ValueNotSupported | Specified filter key is not supported: Filter.X.key | 该过滤器的Key不支持:Filter.X.key。 |
访问错误中心查看更多错误码。