All Products
Search
Document Center

Express Connect:DescribeBgpNetworks

Last Updated:Aug 28, 2026

Queries advertised Border Gateway Protocol (BGP) networks.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

RouterId

string

No

The ID of the VBR.

vbr-bp1ctxy813985gkuk****

RegionId

string

Yes

The region ID of the BGP group.

You can call the DescribeRegions operation to query the most recent region list.

cn-hangzhou

PageNumber

integer

No

The number of the returned page. Default value: 1.

1

PageSize

integer

No

The number of entries per page. The maximum value is 50. Default value: 10.

10

Response elements

Element

Type

Description

Example

object

The number of entries per page.

PageSize

integer

The number of entries per page.

10

RequestId

string

The request ID.

6F513A15-669F-419D-B511-08A85292059B

PageNumber

integer

The page number.

1

TotalCount

integer

The total number of advertised BGP networks.

2

BgpNetworks

object

BgpNetwork

array<object>

BGP networks.

object

BGP networks.

Status

string

The status of the advertised BGP network.

Enabled

VpcId

string

The ID of the virtual private cloud (VPC) in which the master instance resides.

vpc-bp1qpo0kug3a2*****

DstCidrBlock

string

The CIDR block of the advertised BGP network.

10.1.XX.XX/24

RouterId

string

The ID of the VBR.

vbr-bp1ctxy813985gkuk****

Examples

Success response

JSON format

{
  "PageSize": 10,
  "RequestId": "6F513A15-669F-419D-B511-08A85292059B",
  "PageNumber": 1,
  "TotalCount": 2,
  "BgpNetworks": {
    "BgpNetwork": [
      {
        "Status": "Enabled",
        "VpcId": "vpc-bp1qpo0kug3a2*****",
        "DstCidrBlock": "10.1.XX.XX/24",
        "RouterId": "vbr-bp1ctxy813985gkuk****"
      }
    ]
  }
}

Error codes

HTTP status code

Error code

Error message

Description

500 InternalError The request processing has failed due to some unknown error.
404 InvalidRegionId.NotFound The specified RegionId does not exist in our records.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.