Queries the route tables for a VPC firewall for a transit router.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the response. Valid values:
|
zh |
| FirewallId |
string |
No |
The instance ID of the VPC firewall for the transit router. |
vfw-tr-8bcfa0f2f12d411e**** |
| TrFirewallRoutePolicyId |
string |
No |
The ID of the firewall routing policy. |
policy-7d5c672e37ee4175**** |
| CurrentPage |
string |
No |
The page number. Default value: 1. |
1 |
| PageSize |
string |
No |
The number of entries per page. Default value: 10. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| FirewallRouteDetailList |
array<object> |
The list of route tables for the VPC firewall. |
|
|
object |
The route table for the VPC firewall. |
||
| TrFirewallRoutePolicyId |
string |
The ID of the firewall routing policy. |
policy-04ecbbc6720d4f90**** |
| TrFirewallRouteTableId |
string |
The ID of the route table to which the route belongs. |
vtb-2zeockxxxorv0mnhz**** |
| TrFirewallRouteDestination |
string |
The destination CIDR block of the route. |
192.168.10.0/25 |
| TrFirewallRouteNexthop |
string |
The ID of the next hop for the route. |
tr-attach-hnxab1y0pxn16p**** |
| RequestId |
string |
The ID of the request. |
ABF190A2-B4D0-53F6-995A-5690A721F91C |
Examples
Success response
JSON format
{
"FirewallRouteDetailList": [
{
"TrFirewallRoutePolicyId": "policy-04ecbbc6720d4f90****",
"TrFirewallRouteTableId": "vtb-2zeockxxxorv0mnhz****",
"TrFirewallRouteDestination": "192.168.10.0/25",
"TrFirewallRouteNexthop": "tr-attach-hnxab1y0pxn16p****"
}
],
"RequestId": "ABF190A2-B4D0-53F6-995A-5690A721F91C"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorAliUid | Aliuid invalid. | The aliuid is invalid. |
| 400 | ErrorParameters | Error Parameters | The parameter is invalid. |
| 400 | ErrorAuthentication | authentication error | The authentication failed. |
| 400 | ErrorDBTxError | A database transaction error occurred. | The error message returned because an internal error has occurred in the database transaction. |
| 400 | ErrorDBSelectError | A database select error occurred. | The error message returned because an internal error has occurred in querying the database. |
| 400 | ErrorDBNoRow | No rows in database. | No data found. |
| 400 | ErrorTrFirewallPolicyNotFound | TR firewall policy does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.