DescribeVpcFirewallList
Queries the information about virtual private cloud (VPC) border firewalls that protect traffic between two VPCs connected by Express Connect.
Operation description
This operation is generally used to perform a paging query on the information about virtual private cloud (VPC) border firewalls. The virtual private cloud (VPC) border firewalls protect traffic between two VPCs connected by Express Connect.
QPS limits
The QPS limit for a single user is 10 queries per second. If the limit is exceeded, API invocations are throttled, which may affect your services. Invoke the API operation at a reasonable frequency.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:DescribeVpcFirewallList |
get |
*VpcFirewall
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the request and response. Valid values:
|
zh |
| RegionNo |
string |
No |
The region ID of the VPC. Note
For more information about the regions supported by Cloud Firewall, see Supported regions. |
cn-hangzhou |
| VpcId |
string |
No |
The instance ID of the VPC. |
vpc-8vbwbo90rq0anm6t**** |
| FirewallSwitchStatus |
string |
No |
The status of the virtual private cloud (VPC) border firewall. Valid values:
Note
If you do not specify the Settings for this parameter, virtual private cloud (VPC) border firewalls in all states are queried. |
opened |
| VpcFirewallId |
string |
No |
The instance ID of the virtual private cloud (VPC) border firewall. |
vfw-m5e7dbc4y**** |
| VpcFirewallName |
string |
No |
The instance name of the virtual private cloud (VPC) border firewall. |
test-vpc-firewall |
| CurrentPage |
string |
No |
The page number Settings for a paging query. Default value: 1, which indicates the first page. |
1 |
| PageSize |
string |
No |
The number Settings of virtual private cloud (VPC) border firewalls per page for a paging query. Default value: 10. Maximum value: 50. |
10 |
| MemberUid |
string |
No |
The UID of the member accounts of the current Alibaba Cloud account. |
258039427902**** |
| ConnectSubType |
string |
No |
The connection subtype. Valid values:
|
vpcpeer |
| PeerUid |
string |
No |
The UID of the Alibaba Cloud account to which the peer VPC belongs. |
258039427902**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The list of VPC firewalls. |
||
| TotalCount |
integer |
The total number of virtual private cloud (VPC) border firewalls. |
10 |
| RequestId |
string |
The ID of the request. |
850A84D6-0DE4-4797-A1E8-00090125k8g2 |
| VpcFirewalls |
array<object> |
The details of the virtual private cloud (VPC) border firewalls. |
|
|
array<object> |
The details of the virtual private cloud (VPC) border firewalls. |
||
| ConnectType |
string |
The interconnection type of the virtual private cloud (VPC) border firewall. Valid values: expressconnect, which indicates Express Connect. |
expressconnect |
| VpcFirewallId |
string |
The instance ID of the virtual private cloud (VPC) border firewall. |
vfw-m5e7dbc4y**** |
| RegionStatus |
string |
The availability status of the region. Valid values:
|
enable |
| Bandwidth |
integer |
The bandwidth of the Express Connect circuit. Unit: Mbit/s. |
2 |
| VpcFirewallName |
string |
The instance name of the virtual private cloud (VPC) border firewall. |
test-firewall |
| FirewallSwitchStatus |
string |
The switch status of the virtual private cloud (VPC) border firewall. Valid values:
|
opened |
| LocalVpc |
object |
The details of the local VPC. |
|
| VpcName |
string |
The name of the local VPC. |
test-vpc1 |
| VpcId |
string |
The instance ID of the local VPC. |
vpc-8vbwbo90rq0anm6t**** |
| AuthorizationStatus |
string |
The authorization status of the local VPC. Valid values: authorized, which indicates that the VPC is authorized. |
authorized |
| OwnerId |
integer |
The UID of the Alibaba Cloud account to which the local VPC belongs. |
158039427902**** |
| RegionNo |
string |
The region ID of the local VPC. |
cn-hangzhou |
| VpcCidrTableList |
array<object> |
The CIDR block list of the local VPC. |
|
|
array<object> |
The CIDR block list of the local VPC. |
||
| RouteTableId |
string |
The ID of the route table of the local VPC. |
vtb-1234 |
| RouteEntryList |
array<object> |
The routing entry list of the local VPC. |
|
|
object |
The routing entry list of the local VPC. |
||
| NextHopInstanceId |
string |
The next hop instance ID of the local VPC. |
vrt-m5eb5me6c3l5sezae**** |
| DestinationCidr |
string |
The destination CIDR block of the local VPC. |
192.168.XX.XX/24 |
| PeerVpc |
object |
The details of the peer VPC. |
|
| VpcName |
string |
The name of the peer VPC. |
test-vpc2 |
| VpcId |
string |
The instance ID of the peer VPC. |
vpc-8vbwbo90rq0anm6t**** |
| AuthorizationStatus |
string |
The authorization status of the peer VPC. Valid values: authorized, which indicates that the VPC is authorized. |
authorized |
| OwnerId |
integer |
The UID of the Alibaba Cloud account to which the peer VPC belongs. |
158039427902**** |
| RegionNo |
string |
The region ID of the peer VPC. |
cn-hangzhou |
| VpcCidrTableList |
array<object> |
The CIDR block list of the peer VPC. |
|
|
array<object> |
The CIDR block list of the peer VPC. |
||
| RouteTableId |
string |
The ID of the route table of the peer VPC. |
vtb-1256 |
| RouteEntryList |
array<object> |
The routing entry list of the peer VPC. |
|
|
object |
The routing entry list of the peer VPC. |
||
| NextHopInstanceId |
string |
The next hop instance ID of the peer VPC. |
vrt-m5eb5me6c3l5sezae**** |
| DestinationCidr |
string |
The destination CIDR block of the peer VPC. |
192.168.XX.XX/24 |
| IpsConfig |
object |
The IPS configuration. |
|
| BasicRules |
integer |
The switch for Basic Policies. Valid values:
|
1 |
| EnableAllPatch |
integer |
The switch for virtual patches. Valid values:
|
1 |
| RunMode |
integer |
The IPS defense mode. Valid values:
|
0 |
| RuleClass |
integer |
The IPS rules group. Valid values:
|
1 |
| MemberUid |
string |
The UID of the member accounts. |
258039427902**** |
| ResultCode |
string |
The operation result code when you create a VPC border firewall. Valid values:
|
Unauthorized |
| ConnectSubType |
string |
The connection subtype. Valid values:
|
vpcpeer |
| AclConfig |
object |
The ACL engine mode. |
|
| StrictMode |
integer |
Specifies whether strict mode is enabled. Valid values:
|
1 |
Examples
Success response
JSON format
{
"TotalCount": 10,
"RequestId": "850A84D6-0DE4-4797-A1E8-00090125k8g2",
"VpcFirewalls": [
{
"ConnectType": "expressconnect",
"VpcFirewallId": "vfw-m5e7dbc4y****",
"RegionStatus": "enable",
"Bandwidth": 2,
"VpcFirewallName": "test-firewall",
"FirewallSwitchStatus": "opened",
"LocalVpc": {
"VpcName": "test-vpc1",
"VpcId": "vpc-8vbwbo90rq0anm6t****",
"AuthorizationStatus": "authorized",
"OwnerId": 0,
"RegionNo": "cn-hangzhou",
"VpcCidrTableList": [
{
"RouteTableId": "vtb-1234",
"RouteEntryList": [
{
"NextHopInstanceId": "vrt-m5eb5me6c3l5sezae****",
"DestinationCidr": "192.168.XX.XX/24"
}
]
}
]
},
"PeerVpc": {
"VpcName": "test-vpc2",
"VpcId": "vpc-8vbwbo90rq0anm6t****",
"AuthorizationStatus": "authorized",
"OwnerId": 0,
"RegionNo": "cn-hangzhou",
"VpcCidrTableList": [
{
"RouteTableId": "vtb-1256",
"RouteEntryList": [
{
"NextHopInstanceId": "vrt-m5eb5me6c3l5sezae****",
"DestinationCidr": "192.168.XX.XX/24"
}
]
}
]
},
"IpsConfig": {
"BasicRules": 1,
"EnableAllPatch": 1,
"RunMode": 0,
"RuleClass": 1
},
"MemberUid": "258039427902****",
"ResultCode": "Unauthorized",
"ConnectSubType": "vpcpeer",
"AclConfig": {
"StrictMode": 1
}
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorDBSelectError | A database select error occurred. | The error message returned because an internal error has occurred in querying the database. |
| 400 | ErrorPageNo | Either page number or page size is invalid. | Either page number or page size is invalid. |
| 400 | ErrorUnmarshalJSON | An error occurred while parsing JSON. | An error occurred while decoding JSON. |
| 400 | ErrorAliUid | Aliuid invalid. | The aliuid is invalid. |
| 400 | ErrorFirewallStatus | Firewall status error, please try again later. | Firewall status error, please try again later. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.