Updated on 2025-09-12 GMT+08:00

NAT gateway types that can be created

Function

Specifies the NAT gateway types that can be created.

Calling Method

For details, see Calling APIs.

URI

GET /v2/{project_id}/nat_gateway_specs

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID.

Request Parameters

None

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

specs

Array of strings

Specifies the list of public NAT gateways that can be created.

Options:

  • 1: small, which supports up to 10,000 SNAT connections.

  • 2: medium, which supports up to 50,000 SNAT connections.

  • 3: large, which supports up to 200,000 SNAT connections.

  • 4: extra large, which supports up to 1,000,000 SNAT connections.

  • 5: enterprise-class, which supports up to 10,000,000 SNAT connections.

Example Requests

GET https://{NAT_endpoint}/v2/27e25061336f4af590faeabeb7fcd9a3/nat_gateway_specs

Example Responses

Status code: 200

The list of NAT gateway specifications that can be created is queried successfully.

[ "1", "2", "3", "4" ]

Status Codes

Status Code

Description

200

The list of NAT gateway specifications that can be created is queried successfully.

Error Codes

See Error Codes.