Query the advertised BGP networks.

Request parameters

Name Type Required Description
Action String Yes

The action to perform. Valid value: 

DescribeBgpNetworks

RegionId String Yes

The region of the BGP network.

You can obtain the region ID by calling the DescribeRegions API.

dstCidrBlock String No

The advertised BGP network.

routeId String No

The ID of the VBR.

Response parameters

Name Type Description
RequestId String The ID of the request.

Examples

Request example

https://vpc.aliyuncs.com/?Action=DescribeBgpNetworks
&RegionId=cn-beijing
&CommonParameters
Response example
  • XML format

    <? xml version="1.0" encoding="UTF-8"? >
                            <DescribeBgpNetworksResponse>
                            <BgpNetworks>
                            <BgpNetwork>
                            <DstCidrBlock>10.1.1.0/24</DstCidrBlock>
                            <VpcId></VpcId>
                            </BgpNetwork>
                            </BgpNetworks>
                            <RequestId>6F513A15-669F-419D-B511-08A85292059B</RequestId>
                            <PageSize>10</PageSize>
                            <TotalCount>1</TotalCount>
                            </DescribeBgpNetworksResponse>
  • JSON format

    
      "BgpNetworks": {
        "BgpNetwork": [
          
            "DstCidrBlock": "10.1.1.0/24",
            "VpcId": ""
          
        
      
      "RequestId": "6F513A15-669F-419D-B511-08A85292059B",
      "PageSize": 10,
      "TotalCount": 1