All Products
Search
Document Center

Cloud Firewall:DescribeTrFirewallsV2RouteList

Last Updated:Sep 02, 2024

Queries the route tables of the VPC firewalls that are created for transit routers.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-cloudfirewall:DescribeTrFirewallsV2RouteListget
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
LangstringNo

The language of the content within the response. Valid values:

  • zh (default): Chinese
  • en: English
zh
FirewallIdstringNo

The instance ID of the virtual private cloud (VPC) firewall.

vfw-tr-8bcfa0f2f12d411e****
TrFirewallRoutePolicyIdstringNo

The ID of the routing policy.

policy-7d5c672e37ee4175****
CurrentPagestringNo

The page number. Default value: 1.

1
PageSizestringNo

The number of entries per page. Default value: 10.

10

Response parameters

ParameterTypeDescriptionExample
object
FirewallRouteDetailListarray<object>

The route tables of Cloud Firewall.

object
TrFirewallRoutePolicyIdstring

The ID of the routing policy.

policy-04ecbbc6720d4f90****
TrFirewallRouteTableIdstring

The ID of the route table to which the route entry belongs.

vtb-2zeockxxxorv0mnhz****
TrFirewallRouteDestinationstring

The destination address of the route.

192.168.10.0/25
TrFirewallRouteNexthopstring

The ID of the next hop for the route.

tr-attach-hnxab1y0pxn16p****
RequestIdstring

The ID of the request.

ABF190A2-B4D0-53F6-995A-5690A721F91C

Examples

Sample success responses

JSONformat

{
  "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

For a list of error codes, visit the Service error codes.