DescribeVpcFirewallPrecheckDetail
Retrieves the details of a VPC firewall precheck.
Operation description
Rate limits
The rate limit for this API operation is 10 queries per second (QPS) per user. If you exceed the limit, API calls are throttled, which may affect your services. Call this API operation at a reasonable frequency.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:DescribeVpcFirewallPrecheckDetail |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the request and response. Valid values:
|
zh |
| NetworkInstanceType |
string |
No |
The type of the network instance. Valid values:
|
cen_firewall |
| VpcId |
string |
No |
The VPC-connected instance ID. You must specify at least one of VpcId and TransitRouterId. Specify VpcId to query the Basic Edition firewall, and specify TransitRouterId to query the transit router (TR) firewall for forward routing. If neither parameter is specified, ErrorParameters is returned. |
vpc-2zev8s8rxao33xt**** |
| Region |
string |
No |
The region ID. This parameter is required. If this parameter is missing or invalid, ErrorRegionNoError (Region is error, please reselect) is returned. |
cn-hangzhou |
| CenId |
string |
No |
The Cloud Enterprise Network (CEN) instance ID. |
cen-hxsqf2bv6di1a**** |
| TransitRouterId |
string |
No |
The transit router instance ID. You must specify at least one of VpcId and TransitRouterId. Specify VpcId to query the Basic Edition firewall, and specify TransitRouterId to query the transit router (TR) firewall for forward routing. If neither parameter is specified, ErrorParameters is returned. |
tr-2vcn4u2g86tm72**** |
| MemberUid |
string |
No |
The UID of the Cloud Firewall member accounts. |
134388541648**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| IsFound |
boolean |
Indicates whether the task exists. |
false |
| PrecheckDetail |
object |
The details of the precheck. |
|
| NetworkInstanceId |
string |
The network instance ID. |
vpc-m5emh0w6v2e15**** |
| RegionNo |
string |
The ID of the region. |
cn-shanghai |
| FirewallId |
string |
The firewall instance ID. |
vfw-tr-7a9c8901ed394**** |
| PrecheckTimestamp |
string |
The timestamp of the precheck. |
1715136000 |
| PrecheckStatus |
string |
The precheck status. Valid values:
|
failed |
| PrecheckEntityGroups |
array<object> |
The list of precheck entity groups. |
|
|
array<object> |
The list of precheck entity groups. |
||
| Name |
string |
The name of the precheck instance. |
test |
| PrecheckEntities |
array<object> |
The execution status of each precheck item. |
|
|
object |
The execution status of each precheck item. |
||
| Name |
string |
The name of the precheck item. |
Precheck test |
| Status |
string |
The status of the precheck item. Valid values:
|
passed |
| Info |
string |
The information about the failed check. |
VPC Firewall Quota Full |
| Suggestion |
string |
The troubleshooting suggestion. |
The VPC firewall quota is full. We recommend that you increase the firewall quota |
| PrecheckEntityGroupStatus |
string |
The status of the precheck. Valid values:
|
running |
| FailedCount |
integer |
The number of rules that failed the precheck. |
3 |
| RequestId |
string |
The ID of the request. |
4FB718F0-CC04-5A12-B17B-188CFC3F**** |
Examples
Success response
JSON format
{
"IsFound": false,
"PrecheckDetail": {
"NetworkInstanceId": "vpc-m5emh0w6v2e15****",
"RegionNo": "cn-shanghai",
"FirewallId": "vfw-tr-7a9c8901ed394****",
"PrecheckTimestamp": "1715136000",
"PrecheckStatus": "failed",
"PrecheckEntityGroups": [
{
"Name": "test",
"PrecheckEntities": [
{
"Name": "Precheck test",
"Status": "passed",
"Info": "VPC Firewall Quota Full",
"Suggestion": "The VPC firewall quota is full. We recommend that you increase the firewall quota"
}
],
"PrecheckEntityGroupStatus": "running",
"FailedCount": 3
}
]
},
"RequestId": "4FB718F0-CC04-5A12-B17B-188CFC3F****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorAliUid | Aliuid invalid. | The aliuid is invalid. |
| 400 | ErrorInvalidMemberUid | Member uid is invalid | The member is invalid. |
| 400 | ErrorRegionNoError | Region is error, please reselect | The specified region is invalid. Enter another value. |
| 400 | ErrorParameters | A parameter error occurred. | A parameter error occurred. |
| 400 | ErrorDBSelectError | A database select error occurred. | The error message returned because an internal error has occurred in querying the database. |
| 400 | ErrorPreCheckDoing | Pre-check in progress, please try again later. | Cloud Firewall pre-check is in progress. Please try again later to view the check result. |
| 400 | MissingParameter.VpcIdOrTransitRouterId | Either VpcId or TransitRouterId must be provided. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.