Queries the prefix routes of a virtual border router (VBR) that were used.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeVbrAllowPrefixesHistory

The operation that you want to perform. Set the value to DescribeVbrAllowPrefixesHistory.

RegionId String Yes cn-hangzhou

The ID of the region where you want to query prefix routes.

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

VbrId String Yes vbr-bp1jcg5cmxjbl9xgc****

The VBR ID.

Response parameters

Parameter Type Example Description
RequestId String DE77A7F3-3B74-41C0-A5BC-CAFD188C28B6

The request ID.

VbrId String vbr-bp1jcg5cmxjbl9xgc****

The VBR ID.

RegionId String cn-hangzhou

The region ID.

HistoryAllowPrefixes Array of HistoryAllowPrefixe

The prefix routes that were used.

AllowPrefixes Array of String 10.0.0.0/8

The prefix routes.

CreateTime String 2023-05-19 19:46:08

The time when the prefix route was created.

The time is displayed in UTC+8.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DescribeVbrAllowPrefixesHistory
&RegionId=cn-hangzhou
&VbrId=vbr-bp1jcg5cmxjbl9xgc****
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DescribeVbrAllowPrefixesHistoryResponse>
    <RequestId>DE77A7F3-3B74-41C0-A5BC-CAFD188C28B6</RequestId>
    <VbrId>vbr-bp1jcg5cmxjbl9xgc****</VbrId>
    <RegionId>cn-hangzhou</RegionId>
    <HistoryAllowPrefixes>
        <AllowPrefixes>10.0.0.0/8</AllowPrefixes>
        <CreateTime>2023-05-19 19:46:08</CreateTime>
    </HistoryAllowPrefixes>
</DescribeVbrAllowPrefixesHistoryResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "DE77A7F3-3B74-41C0-A5BC-CAFD188C28B6",
  "VbrId" : "vbr-bp1jcg5cmxjbl9xgc****",
  "RegionId" : "cn-hangzhou",
  "HistoryAllowPrefixes" : [ {
    "AllowPrefixes" : [ "10.0.0.0/8" ],
    "CreateTime" : "2023-05-19 19:46:08"
  } ]
}

Error codes

HttpCode Error code Error message Description
404 ResourceNotFound.Vbr The VBR resource is not found. The VBR resource is not found.

For a list of error codes, see Service error codes.