You can obtain an ACL backup 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 a transit router. |
vfw-tr-8b268ce1b26e4c68**** |
| TrFirewallRoutePolicyId |
string |
No |
The ID of the firewall routing policy. |
policy-5dcafb12ff794a56**** |
| CandidateList |
array<object> |
No |
The list of traffic redirection instances. |
|
|
object |
No |
|||
| CandidateId |
string |
No |
The ID of the traffic redirection instance. |
vpc-wz9grb8ng3y7h7lf2**** |
| CandidateType |
string |
No |
The type of the traffic redirection instance. |
VPC |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| PolicyAssociationBackupConfigs |
array<object> |
The list of route tables to recover. |
|
|
object |
The route table to be restored. |
||
| CandidateType |
string |
The type of the traffic redirection instance. |
VPC |
| CandidateId |
string |
The ID of the traffic redirection instance. |
vpc-wz9grb8ng3y7h7lf2**** |
| OriginalRouteTableId |
string |
The ID of the original route table. |
vtb-wz9slp3s7m4qrzvnq**** |
| CurrentRouteTableId |
string |
The ID of the route table used after traffic redirection. |
vtb-wz9898grickmh5j09**** |
| CandidateName |
string |
The name of the traffic redirection instance. |
VPC引流实例 |
| RequestId |
string |
The ID of the request. |
C264A756-9B48-57E3-B312-716941E146C6 |
Examples
Success response
JSON format
{
"PolicyAssociationBackupConfigs": [
{
"CandidateType": "VPC",
"CandidateId": "vpc-wz9grb8ng3y7h7lf2****",
"OriginalRouteTableId": "vtb-wz9slp3s7m4qrzvnq****",
"CurrentRouteTableId": "vtb-wz9898grickmh5j09****",
"CandidateName": "VPC引流实例"
}
],
"RequestId": "C264A756-9B48-57E3-B312-716941E146C6"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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 | ErrorUserCredentials | User credentials failed. | Unauthorized, not accessible, please first authorize firewall permissions. |
| 400 | ErrorTrFwBackUpAssocationNotExist | Tr firewall back up association not Exist. | The routing table configuration before the drainage scenario is enabled cannot be obtained. The routing table before the drainage scenario is enabled may have been deleted. |
| 400 | ErrorTrFirewallPolicyNotFound | TR firewall policy does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.