All Products
Search
Document Center

Virtual Private Cloud:DescribeVirtualBorderRouters

Last Updated:Mar 22, 2024

Queries virtual border routers (VBRs).

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
vpc:DescribeVirtualBorderRoutersList
  • VirtualBorderRouter
    acs:vpc:{#regionId}:{#AccountId}:virtualborderrouter/{#VbrId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The ID of the region in which the VBR is deployed. You can call the DescribeRegions operation to obtain the region ID.

cn-shanghai
PageNumberintegerNo

The page number. Default value: 1.

1
PageSizeintegerNo

The number of entries per page. Valid values: 1 to 50. Default value: 10.

10
Filterobject []No

The information about the filter.

KeystringNo

The filter conditions. You can specify up to five filter conditions. Valid values:

  • PhysicalConnectionId: Filter by Express Connect circuit ID.
  • VbrId: Filter by VBR ID.
  • Status: Filter by VBR status.
  • Name: Filter by VBR name.
  • AccessPointId: Filter by access point ID.
  • eccId: Filter by Express Cloud Connect (ECC) instance ID.
  • type: Filter by Express Connect circuit type.
Status
ValuearrayNo

The filter values for keys. You can specify multiple filter values for one key. The logical operator between filter values is OR. If one filter value is matched, the filter condition is matched.

stringNo

The filter value for the key. You can specify multiple filter values for one key. The logical operator between filter values is OR. If one filter value is matched, the filter condition is matched.

Active
IncludeCrossAccountVbrbooleanNo

Specifies whether cross-account VBRs are included.

  • true
  • false (default)
false
ResourceGroupIdstringNo

The resource group ID.

For more information about resource groups, see What is a resource group?

rg-acfmxazb4ph6aiy****
Tagsobject []No

The list of tags.

KeystringNo

The tag key. You can specify at most 20 tag keys. The tag key cannot be an empty string.

The key cannot exceed 128 characters in length, and cannot start with aliyun or acs:. The key cannot contain http:// or https://.

FinanceDept
ValuestringNo

The tag value. You can specify at most 20 tag values. The tag value can be an empty string.

The tag value cannot exceed 128 characters in length, and cannot start with aliyun or acs:. It cannot contain http:// or https://.

FinanceJoshua

Response parameters

ParameterTypeDescriptionExample
object

The information about the VBR.

RequestIdstring

The request ID.

DE77A7F3-3B74-41C0-A5BC-CAFD188C28B6
PageNumberinteger

The page number. Default value: 1.

1
PageSizeinteger

The number of entries per page. Valid values: 1 to 50. Default value: 10.

10
TotalCountinteger

The number of entries returned.

1
VirtualBorderRouterSetobject []

The information about the queried VBR.

CreationTimestring

The time when the VBR was created.

2020-06-08T12:20:55
Statusstring

The status of the VBR. Valid values:

  • unconfirmed
  • active
  • terminating
  • terminated
  • recovering
  • deleting
active
Typestring

The type of the VBR.

pconnVBR
MinTxIntervallong

The time interval to send Bidirectional Forwarding Detection (BFD) packets. Valid values: 200 to 1000. Unit: milliseconds.

300
PeerIpv6GatewayIpstring

The IPv6 address of the gateway device on the user side.

2001:XXXX:3c4d:0015:0000:0000:0000:1a2b
PConnVbrExpireTimestring

The time when the VBR expires.

2021-06-08T12:20:55
PhysicalConnectionOwnerUidstring

The ID of the Alibaba Cloud account to which the Express Connect circuit belongs.

1688000000000****
ActivationTimestring

The time when the VBR was first activated.

2021-06-08T12:20:55
PhysicalConnectionBusinessStatusstring

The business status of the Express Connect circuit.

  • Normal: The Express Connect circuit is running asnormal.
  • FinancialLocked: The Express Connect circuit is locked due to overdue payments.
Normal
Descriptionstring

The description of the VBR.

desc
TerminationTimestring

The time when the VBR was last disabled.

2021-06-08T12:20:55
MinRxIntervallong

The time interval to receive BFD packets. Valid values: 200 to 1000. Unit: milliseconds.

300
PeerGatewayIpstring

The IPv4 address of the gateway device on the user side.

192.168.XX.XX
Namestring

The name of the VBR.

test
VbrIdstring

The VBR ID.

vbr-bp1jcg5cmxjbl9xgc****
VlanIdinteger

The VLAN ID of the VBR.

10
VlanInterfaceIdstring

The ID of the VBR interface.

ri-2zeo3xzyf38r4xx****
CircuitCodestring

The circuit code of the Express Connect circuit. The circuit code is provided by the Internet service provider (ISP).

longtel0****
LocalIpv6GatewayIpstring

The IPv6 address of the gateway device on the Alibaba Cloud side.

2001:XXXX:3c4d:0015:0000:0000:0000:1a2b
LocalGatewayIpstring

The IPv4 address of the gateway device on the Alibaba Cloud side.

192.168.XX.XX
PeeringSubnetMaskstring

The subnet mask of the IPv4 addresses configured on the user side and Alibaba Cloud side.

255.255.255.252
EnableIpv6boolean

Indicates whether IPv6 is enabled. Valid values:

  • true
  • false
false
RouteTableIdstring

The ID of the VBR route table.

rtb-bp1****
DetectMultiplierlong

The multiple of the detection time.

This value indicates the maximum number of dropped packets that is allowed by the receiver when the initiator transmits packets. This value can be used to check whether the connection works as expected.

Valid values: 3 to 10.

3
EccIdstring

The ID of the ECC instance.

ecc-h****
CloudBoxInstanceIdstring

The ID of the cloud box.

cb-****
RecoveryTimestring

The time when the status of the VBR last changed from terminated to active.

2021-05-08T12:20:55
PhysicalConnectionStatusstring

The status of the Express Connect circuit.

  • Initial: The application is under review.
  • Approved: The application is approved.
  • Allocating: The system is allocating resources.
  • Allocated: The Express Connect circuit is under construction.
  • Confirmed: The Express Connect circuit is to be confirmed.
  • Enabled: The Express Connect circuit is enabled.
  • Rejected: The application is rejected.
  • Canceled: The application is canceled.
  • Allocation Failed: The system failed to allocate resources.
  • Terminated: The Express Connect circuit is disabled.
Normal
PeeringIpv6SubnetMaskstring

The subnet mask of the IPv6 addresses configured on the user side and Alibaba Cloud side.

2000:1234:0:a000::/55
AccessPointIdstring

The ID of the access point.

ap-cn-kojok1x****
PConnVbrChargeTypestring

The billing method of the VBR. Valid values:

  • PrePaid: subscription. If you choose this billing method, make sure that your Alibaba Cloud account supports balance payments or credit payments.
  • PostPaid: pay-as-you-go
PrePaid
PhysicalConnectionIdstring

The ID of the Express Connect circuit to which the VBR belongs.

pc-119mfjzm7x****
AssociatedPhysicalConnectionsobject []

The information about the Express Connect circuit that is associated with the VBR.

Statusstring

The status of the VBR. Valid values:

  • unconfirmed
  • active
  • terminating
  • terminated
  • recovering
  • deleting
active
VlanInterfaceIdstring

The ID of the VBR interface, which can be used as the next hop of a VBR route.

ri-kojok19x3j0q6k****
CircuitCodestring

The circuit code of the Express Connect circuit. The circuit code is provided by the ISP.

longtel0**
PeerIpv6GatewayIpstring

The IPv6 address of the gateway device on the user side.

2001:XXXX:3c4d:0015:0000:0000:0000:1a2b
LocalIpv6GatewayIpstring

The IPv6 address of the gateway device on the Alibaba Cloud side.

2001:XXXX:3c4d:0015:0000:0000:0000:1a2b
PhysicalConnectionOwnerUidstring

The ID of the Alibaba Cloud account to which the Express Connect circuit belongs.

12345678****
LocalGatewayIpstring

The IPv4 address of the gateway device on the Alibaba Cloud side.

192.168.XX.XX
PhysicalConnectionBusinessStatusstring

The business status of the Express Connect circuit.

  • Normal: The Express Connect circuit is running as normal.
  • FinancialLocked: The Express Connect circuit is locked due to overdue payments.
Normal
PeeringSubnetMaskstring

The subnet mask for the IPv4 addresses of the gateway devices on the Alibaba Cloud side and on the user side.

The two IPv4 addresses must fall within the same subnet.

255.255.255.252
EnableIpv6boolean

Indicates whether IPv6 is enabled. Valid values:

  • true
  • false
true
PhysicalConnectionStatusstring

The status of the Express Connect circuit.

  • Initial: The application is under review.
  • Approved: The application is approved.
  • Allocating: The system is allocating resources.
  • Allocated: The Express Connect circuit is under construction.
  • Confirmed: The Express Connect circuit is to be confirmed.
  • Enabled: The Express Connect circuit is enabled.
  • Rejected: The application is rejected.
  • Canceled: The application is canceled.
  • Allocation Failed: The system failed to allocate resources.
  • Terminated: The Express Connect circuit is disabled.
Enabled
PeerGatewayIpstring

The IPv4 address of the gateway device on the user side.

116.62.XX.XX
PeeringIpv6SubnetMaskstring

The subnet mask for the IPv6 addresses of the gateway devices on the Alibaba Cloud side and on the user side.

The two IPv6 addresses must fall within the same subnet.

2408:4004:cc:400::/56
PhysicalConnectionIdstring

The ID of the Express Connect circuit.

pc-119mfjzm7****
VlanIdstring

The VLAN ID of the VBR.

0
AssociatedCensobject []

The information about the Cloud Enterprise Network (CEN) instance to which the VBR is attached.

CenOwnerIdlong

The ID of the Alibaba Cloud account to which the CEN instance belongs.

1688000000000****
CenIdstring

The ID of the CEN instance.

cen-kojok19xxx****
CenStatusstring

The status of the CEN instance. Valid values:

  • Attached: The VBR is attached to the CEN instance.
  • Attaching: The VBR is being attached to the CEN instance.
  • Detached: The VBR is detached from the CEN instance.
  • Detaching: The VBR is being detached from the CEN instance.
  • If no value is returned, the VBR is not attached to a CEN instance.
Attached
Bandwidthinteger

The bandwidth of the VBR. Unit: Mbit/s.

50
ResourceGroupIdstring

The ID of the resource group.

rg-acfmxazb4ph6aiy****
Tagsobject []

The tags.

Keystring

The tag key.

FinanceDept
Valuestring

The tag value.

FinanceJoshua

Examples

Sample success responses

JSONformat

{
  "RequestId": "DE77A7F3-3B74-41C0-A5BC-CAFD188C28B6",
  "PageNumber": 1,
  "PageSize": 10,
  "TotalCount": 1,
  "VirtualBorderRouterSet": {
    "VirtualBorderRouterType": [
      {
        "CreationTime": "2020-06-08T12:20:55",
        "Status": "active",
        "Type": "pconnVBR",
        "MinTxInterval": 300,
        "PeerIpv6GatewayIp": "2001:XXXX:3c4d:0015:0000:0000:0000:1a2b",
        "PConnVbrExpireTime": "2021-06-08T12:20:55",
        "PhysicalConnectionOwnerUid": "1688000000000****",
        "ActivationTime": "2021-06-08T12:20:55",
        "PhysicalConnectionBusinessStatus": "Normal",
        "Description": "desc",
        "TerminationTime": "2021-06-08T12:20:55",
        "MinRxInterval": 300,
        "PeerGatewayIp": "192.168.XX.XX",
        "Name": "test",
        "VbrId": "vbr-bp1jcg5cmxjbl9xgc****",
        "VlanId": 10,
        "VlanInterfaceId": "ri-2zeo3xzyf38r4xx****",
        "CircuitCode": "longtel0****",
        "LocalIpv6GatewayIp": "2001:XXXX:3c4d:0015:0000:0000:0000:1a2b",
        "LocalGatewayIp": "192.168.XX.XX",
        "PeeringSubnetMask": "255.255.255.252",
        "EnableIpv6": false,
        "RouteTableId": "rtb-bp1****",
        "DetectMultiplier": 3,
        "EccId": "ecc-h****",
        "CloudBoxInstanceId": "cb-****",
        "RecoveryTime": "2021-05-08T12:20:55",
        "PhysicalConnectionStatus": "Normal",
        "PeeringIpv6SubnetMask": "2000:1234:0:a000::/55",
        "AccessPointId": "ap-cn-kojok1x****",
        "PConnVbrChargeType": "PrePaid",
        "PhysicalConnectionId": "pc-119mfjzm7x****",
        "AssociatedPhysicalConnections": {
          "AssociatedPhysicalConnection": [
            {
              "Status": "active",
              "VlanInterfaceId": "ri-kojok19x3j0q6k****",
              "CircuitCode": "longtel0**",
              "PeerIpv6GatewayIp": "2001:XXXX:3c4d:0015:0000:0000:0000:1a2b",
              "LocalIpv6GatewayIp": "2001:XXXX:3c4d:0015:0000:0000:0000:1a2b",
              "PhysicalConnectionOwnerUid": "12345678****",
              "LocalGatewayIp": "192.168.XX.XX",
              "PhysicalConnectionBusinessStatus": "Normal",
              "PeeringSubnetMask": "255.255.255.252",
              "EnableIpv6": true,
              "PhysicalConnectionStatus": "Enabled",
              "PeerGatewayIp": "116.62.XX.XX",
              "PeeringIpv6SubnetMask": "2408:4004:cc:400::/56",
              "PhysicalConnectionId": "pc-119mfjzm7****",
              "VlanId": "0"
            }
          ]
        },
        "AssociatedCens": {
          "AssociatedCen": [
            {
              "CenOwnerId": 0,
              "CenId": "cen-kojok19xxx****",
              "CenStatus": "Attached"
            }
          ]
        },
        "Bandwidth": 50,
        "ResourceGroupId": "rg-acfmxazb4ph6aiy****",
        "Tags": {
          "Tags": [
            {
              "Key": "FinanceDept",
              "Value": "FinanceJoshua"
            }
          ]
        }
      }
    ]
  }
}

Error codes

HTTP status codeError codeError messageDescription
404InvalidRegionId.NotFoundThe RegionId provided does not exist in our records.The RegionId parameter is set to an invalid value. Specify a valid value and try again.
404InvalidFilterKey.ValueNotSupportedSpecified filter key is not supported: Filter.X.keyFilter.X.key is not supported.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-12-26The Error code has changed. The response structure of the API has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 404
Output ParametersThe response structure of the API has changed.
2023-09-11API Description Update. The Error code has changedsee changesets
Change itemChange content
API DescriptionAPI Description Update.
Error CodesThe Error code has changed.
    delete Error Codes: 404
2023-07-20The Error code has changed. The request parameters of the API has changed. The response structure of the API has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 404
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: ResourceGroupId
    Added Input Parameters: Tags
Output ParametersThe response structure of the API has changed.