Queries advertised BGP networks.


By using API Explorer, you can easily debug APIs, automatically generate SDK code examples, and quickly search for APIs.

Request parameters

Parameter Type Required? Example value Description
Action String Yes DescribeBgpNetworks

The name of this action. Value: 


RegionId String Yes cn-hangzhou

The region to which the BGP network belongs.

To query the region ID, call DescribeRegions.

PageNumber Integer No 2

The current page number.

PageSize Integer No 10

The number of entries on the current page. Maximum value: 50. Default value: 10.

RouterId String No vrt-2zeazning6tbzkm5c0jj2

The ID of the VBR.

Response parameters

Parameter Type Example value Description

A list of BGP networks.

└DstCidrBlock String

The advertised BGP network.

└RouterId String vrt-bp1el837xkkakub7ci0tj

The ID of the router.

└VpcId String vpc-bp1qpo0kug3a20qqe9h7v The ID of the VPC.
PageNumber Integer 2

The current page number.

PageSize Integer 12

The number of entries per page.

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

The ID of the request.

TotalCount Integer 2

The total number of advertised BGP networks.


Request example

Response example
  • XML format

  • JSON format


Error codes

HTTP status code Error code Error message Description
500 InternalError The request processing has failed due to some unknown error. An error occurred while the request was being processed.
404 InvalidRegionId.NotFound The specified RegionId does not exist in our records. The specified region ID does not exist.

See common error codes