All Products
Search
Document Center

Cloud Firewall:CreateNatFirewallPreCheck

Last Updated:Oct 15, 2025

Runs a precheck for NAT firewall creation.

Operation description

This operation runs a precheck to verify that a NAT firewall can be created.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

Lang

string

No

The language of the response message. Valid values:

  • zh (default): Chinese

  • en: English

zh

RegionNo

string

Yes

The region ID of the NAT Gateway.

Note

For more information about the regions where Cloud Firewall is available, see Supported regions.

cn-hangzhou

VpcId

string

Yes

The ID of the VPC instance.

vpc-2zeiljdml8pble168****

NatGatewayId

string

Yes

The ID of the NAT Gateway.

ngw-uf69hlxv5c817iqrk****

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The ID of the request.

A426611F-04FA-5205-8D04-4F6DCF09****

PreCheckId

string

The ID of the precheck.

2122

Examples

Success response

JSON format

{
  "RequestId": "A426611F-04FA-5205-8D04-4F6DCF09****",
  "PreCheckId": "2122"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.