DescribeTrFirewallV2RoutePolicyList
Retrieves the list of route policies for a VPC firewall for a transit router.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:DescribeTrFirewallV2RoutePolicyList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the response message. Valid values:
|
zh |
| FirewallId |
string |
No |
The ID of the virtual private cloud (VPC) firewall instance. This parameter is required. If this parameter is not specified, an ErrorParameters (400) error is returned. You can call the DescribeTrFirewallsV2List operation to obtain the ID. |
vfw-tr-d5ba592ac6c84aff**** |
| PageSize |
integer |
No |
The maximum number of entries to return per page for a paged query. Default value: 10. |
10 |
| CurrentPage |
integer |
No |
The page number for a paged query. Default value: 1. |
1 |
| PolicyId |
string |
No |
The ID of the firewall route policy. |
policy-7b66257c14e141fb**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TrFirewallRoutePolicies |
array<object> |
The list of firewall route policies. |
|
|
array<object> |
The firewall route policy. |
||
| PolicyType |
string |
The traffic redirection scenario type for virtual private cloud (VPC) firewalls in Cloud Enterprise Network (CEN) Enterprise Edition. Valid values:
|
fullmesh |
| PolicyName |
string |
The policy name. |
Singapore Point to Multipoint |
| PolicyDescription |
string |
The description of the policy. |
Point to multipoint |
| SrcCandidateList |
array<object> |
The list of primary traffic redirection instances. |
|
|
object |
The primary traffic redirection instance. |
||
| CandidateId |
string |
The ID of the traffic redirection instance. |
vpc-2ze9epancaw8t4sha**** |
| CandidateType |
string |
The type of the traffic redirection instance. |
VPC |
| DestCandidateList |
array<object> |
The list of secondary traffic redirection instances. |
|
|
object |
The secondary traffic redirection instance. |
||
| CandidateId |
string |
The ID of the traffic redirection instance. |
vpc-2ze9epancaw8t4sha**** |
| CandidateType |
string |
The type of the traffic redirection instance. |
VPC |
| TrFirewallRoutePolicyId |
string |
The ID of the firewall route policy. |
policy-7b66257c14e141fb**** |
| PolicyStatus |
string |
The status of the policy. Valid values:
|
opened |
| RequestId |
string |
The ID of the request. |
95EB5F3A-67FE-5780-92BD-5ECBA772AB7E |
| TotalCount |
string |
The total number of entries returned. |
1 |
Examples
Success response
JSON format
{
"TrFirewallRoutePolicies": [
{
"PolicyType": "fullmesh",
"PolicyName": "Singapore Point to Multipoint",
"PolicyDescription": "Point to multipoint",
"SrcCandidateList": [
{
"CandidateId": "vpc-2ze9epancaw8t4sha****",
"CandidateType": "VPC"
}
],
"DestCandidateList": [
{
"CandidateId": "vpc-2ze9epancaw8t4sha****",
"CandidateType": "VPC"
}
],
"TrFirewallRoutePolicyId": "policy-7b66257c14e141fb****",
"PolicyStatus": "opened"
}
],
"RequestId": "95EB5F3A-67FE-5780-92BD-5ECBA772AB7E",
"TotalCount": "1"
}
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 | ErrorDBSelectError | A database select error occurred. | The error message returned because an internal error has occurred in querying the database. |
| 400 | ErrorTrFirewallNotExist | Cen TR firewall not exist | Cen TR firewall not exist |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.