Queries route learning correlations of an Enterprise Edition transit router.

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 No ListTransitRouterRouteTablePropagations

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

TransitRouterRouteTableId String Yes vtb-bp1dudbh2d5na6b50****

The ID of the route table of the Enterprise Edition transit router.

MaxResults Integer No 50

The number of entries to return on each page. Default value: 50.

NextToken String No dd20****

The token for returning the next page when the data is returned in more than one page.

TransitRouterAttachmentId String No tr-attach-vx6iwhjr1x1j78****

The ID of the network instance connection.

Response parameters

Parameter Type Example Description
MaxResults Integer 50

The number of entries returned per page.

NextToken String dd20****

The token for returning the next page when the data is returned in more than one page.

RequestId String 04C81E0D-945E-4D61-A561-3DEA322F243B

The ID of the request.

TotalCount Integer 2

The total number of entries returned.

TransitRouterPropagations Array of TransitRouterPropagation

The list of route learning correlations.

ResourceId String vpc-bp1h8vbrbcgohcju5****

The ID of the next hop.

ResourceType String VPC

The type of next hop. Valid values:

  • VPC: a virtual private cloud (VPC)
  • CCN: a Cloud Connect Network (CCN) instance
  • VBR: a VBR
  • TR: a transit router
Status String Active

The state of the route learning correlation. Valid values:

  • Enabling
  • Disabling
  • Active
  • Deleted
TransitRouterAttachmentId String tr-attach-vx6iwhjr1x1j78****

The ID of the network instance connection.

TransitRouterRouteTableId String vtb-bp1dudbh2d5na6b50****

The ID of the route table of the Enterprise Edition transit router.

Examples

Sample requests

http(s)://[Endpoint]/?Action=ListTransitRouterRouteTablePropagations
&TransitRouterRouteTableId=vtb-bp1dudbh2d5na6b50****
&<Common request parameters>

Sample success responses

XML format

<ListTransitRouterRouteTablePropagationsResponse> 
  <TotalCount>2</TotalCount>
  <RequestId>04C81E0D-945E-4D61-A561-3DEA322F243B</RequestId>
  <MaxResults>50</MaxResults>
  <TransitRouterPropagations>
        <Status>Active</Status>
        <TransitRouterAttachmentId>tr-attach-nls9fzkfat8934****</TransitRouterAttachmentId>
        <TransitRouterRouteTableId>vtb-bp1dudbh2d5na6b50****</TransitRouterRouteTableId>
        <ResourceId>vpc-bp1h8vbrbcgohcju5****</ResourceId>
        <ResourceType>VPC</ResourceType>
  </TransitRouterPropagations>
  <TransitRouterPropagations>
        <Status>Active</Status>
        <TransitRouterAttachmentId>tr-attach-vx6iwhjr1x1j78****</TransitRouterAttachmentId>
        <TransitRouterRouteTableId>vtb-bp1dudbh2d5na6b50****</TransitRouterRouteTableId>
        <ResourceId>vpc-bp1kbjcre9vtsebo1****</ResourceId>
        <ResourceType>VPC</ResourceType>
  </TransitRouterPropagations>
</ListTransitRouterRouteTablePropagationsResponse>

JSON format

{
  "TotalCount": 2,
  "RequestId": "04C81E0D-945E-4D61-A561-3DEA322F243B",
  "MaxResults": 50,
  "TransitRouterPropagations": [
    {
      "Status": "Active",
      "TransitRouterAttachmentId": "tr-attach-nls9fzkfat8934****",
      "TransitRouterRouteTableId": "vtb-bp1dudbh2d5na6b50****",
      "ResourceId": "vpc-bp1h8vbrbcgohcju5****",
      "ResourceType": "VPC"
    },
    {
      "Status": "Active",
      "TransitRouterAttachmentId": "tr-attach-vx6iwhjr1x1j78****",
      "TransitRouterRouteTableId": "vtb-bp1dudbh2d5na6b50****",
      "ResourceId": "vpc-bp1kbjcre9vtsebo1****",
      "ResourceType": "VPC"
    }
  ]
}

Error codes

HttpCode Error code Error message Description
400 IllegalParam.NextToken The parameter NextToken is invalid. The error message returned because the value of NextToken is invalid. Check the limits and change the value accordingly.

For a list of error codes, visit the API Error Center.