DescribeNatFirewallPrecheckDetail
Queries the precheck results of a NAT firewall.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:DescribeNatFirewallPrecheckDetail |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language type of the request and response messages. |
zh |
| RegionNo |
string |
No |
The region ID. |
cn-hangzhou |
| NatGatewayId |
string |
No |
The ID of the NAT gateway. Although this parameter is marked as optional in the API definition, it is required when you call this operation. If this parameter is not specified or its value does not start with |
ngw-bp1okz6k7dge**** |
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 region ID. |
cn-shenzhen |
| 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. |
Account And Region Check |
| 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 each precheck item. Valid values:
|
passed |
| Info |
string |
The information about the check failure. |
VPC Firewall Quota Full |
| Suggestion |
string |
The recommended solution. |
The VPC firewall quota is full. We recommend that you increase the firewall quota |
| PrecheckEntityGroupStatus |
string |
The status of the precheck entity group. Valid values:
|
running |
| FailedCount |
integer |
The number of failed precheck items. |
9 |
| RequestId |
string |
The ID of the request. |
99A65AA0-C5B5-5092-BFCF-8111B436**** |
Examples
Success response
JSON format
{
"IsFound": false,
"PrecheckDetail": {
"NetworkInstanceId": "vpc-m5emh0w6v2e15****",
"RegionNo": "cn-shenzhen",
"FirewallId": "vfw-tr-7a9c8901ed394****",
"PrecheckTimestamp": "1715136000",
"PrecheckStatus": "failed",
"PrecheckEntityGroups": [
{
"Name": "Account And Region Check",
"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": 9
}
]
},
"RequestId": "99A65AA0-C5B5-5092-BFCF-8111B436****"
}
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 | ErrorDBSelectError | A database select error occurred. | The error message returned because an internal error has occurred in querying the database. |
| 400 | ErrorUnMarshalJSON | internal error. | Internal Error |
| 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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.