Updated on 2026-01-08 GMT+08:00

API Overview

NAT Gateway APIs allow you to use all NAT Gateway functions.

API v2

Table 1 NAT gateway API v2

Type

Description

NAT Gateway Service

Create, query, update, and delete NAT gateways, including creating a NAT gateway, querying NAT gateways, querying details of a NAT gateway, updating a NAT gateway, and deleting a NAT gateway.

SNAT Rules

Create, query, update, and delete SNAT rules, including creating an SNAT rule, querying SNAT rules, querying details of an SNAT rule, updating an SNAT rule, and deleting an SNAT rule.

DNAT Rules

Create, query, update, and delete DNAT rules, including creating a DNAT rule, creating DNAT rules in batches, querying DNAT rules, querying details of a DNAT rule, updating a DNAT rule, and deleting a DNAT rule.

Table 2 NAT gateway API (v2) description

Type

API

Description

NAT Gateway Service

Creating a NAT Gateway

This API is used to create a NAT gateway.

Querying NAT Gateways

This API is used to query NAT gateways.

Querying Details of a Specified NAT Gateway

This API is used to query details of a NAT gateway.

Updating a NAT Gateway

This API is used to update a NAT gateway.

Deleting a NAT Gateway

This API is used to delete a NAT gateway.

SNAT Rules

Creating an SNAT Rule

This API is used to create an SNAT rule.

Querying SNAT Rules

This API is used to query SNAT rules.

Querying Details About a Specified SNAT Rule

This API is used to query details of an SNAT rule.

Updating an SNAT Rule

This API is used to update an SNAT rule.

Deleting an SNAT Rule

This API is used to delete an SNAT rule.

DNAT Rules

Creating a DNAT Rule

This API is used to create a DNAT rule.

Creating DNAT Rules in Batches

This API is used to create DNAT rules in batches.

Querying DNAT Rules

This API is used to query DNAT rules.

Querying Details About a Specified DNAT Rule

This API is used to query details of a DNAT rule.

Updating a DNAT Rule

This API is used to update a DNAT rule.

Deleting a DNAT Rule

This API is used to delete a DNAT rule.