API Overview

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

API v2.0

Table 1 NAT gateway API v2.0

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, and delete SNAT rules, including creating an SNAT rule, querying SNAT rules, querying details of an SNAT rule, and deleting an SNAT rule.

DNAT Rules

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

Tags

Tag NAT gateways. Tags help you manage the NAT gateways. You can query, add, and delete tags of NAT gateways.

API Version

Query all API versions or an API version.

Table 2 NAT gateway API (v2.0) 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 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 of an SNAT Rule

This API is used to query details of 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.

Querying DNAT Rules

This API is used to query DNAT rules.

Querying Details of a DNAT Rule

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

Deleting a DNAT Rule

This API is used to delete a DNAT rule.

Tags

Querying NAT Gateways by Tag

This API is used to filter NAT gateways by tag.

Adding or Deleting NAT Gateway Tags in Batches

This API is used to add or remove tags to or from a NAT gateway.

Adding a NAT Gateway Tag

This API is used to add tags to a NAT gateway.

Deleting a NAT Gateway Tag

This API is used to delete NAT gateway tags.

Querying NAT Gateway Tags

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

Querying Tags in a Project

This API is used to query all tags of a resource type in a region.

API Version

Querying All API Versions

This API is used to query all API versions of NAT Gateway.

Querying an API Version

This API is used to query an API version of NAT Gateway.