Updated on 2022-01-25 GMT+08:00

Overview

Welcome to NAT Gateway API Reference. The NAT Gateway service provides the network address translation (NAT) function for servers, such as Elastic Cloud Servers (ECSs), Bare Metal Servers (BMSs), and Workspace desktops, in a Virtual Private Cloud (VPC). It also supports this function for servers that connect to a VPC through Direct Connect or Virtual Private Network (VPN) in local data centers. It allows these servers to access the Internet using elastic IP addresses (EIPs) or to provide services for the Internet.

This document describes how to use application programming interfaces (APIs) to perform operations on NAT gateways, such as creating or deleting NAT gateways, or adding SNAT rules. For details about all supported operations, see API Overview.

If you plan to access NAT gateways through an API, ensure that you are familiar with NAT gateway concepts. For details, see "Service Overview".