The following tables list the API operations available for use in NAT Gateway.

Note The endpoint of the NAT Gateway API is vpc.aliyuncs.com. For more information, see the Make API calls topic in API Reference for Virtual Private Cloud (VPC).

NAT gateway

API Description
CreateNatGateway Creates a NAT gateway.
ModifyNatGatewayAttribute Modifies the name and description of a NAT gateway.
ModifyNatGatewaySpec Changes the size of a NAT gateway.
ListEnhanhcedNatGatewayAvailableZones Queries the zones that support enhanced NAT gateways in a specified region.
UpdateNatGatewayNatType Upgrades a standard NAT gateway to an enhanced NAT gateway.
GetNatGatewayConvertStatus Queries the upgrade status of a NAT gateway.
DescribeNatGateways Queries NAT gateways.
DeleteNatGateway Deletes a NAT gateway.
EnableNatGatewayEcsMetric Enables the traffic monitoring feature for an enhanced NAT gateway.
ListNatGatewayEcsMetric Views the traffic monitoring data that is collected by a NAT gateway.
DisableNatGatewayEcsMetric Disables the traffic monitoring feature for a NAT gateway.
ConvertBandwidthPackage Converts a NAT service plan to an EIP bandwidth plan.

DNAT table

API Description
CreateForwardEntry Creates a DNAT entry.
ModifyForwardEntry Modifies a DNAT entry.
DescribeForwardTableEntries Queries DNAT entries in a DNAT table.
DeleteForwardEntry Deletes a DNAT entry.

SNAT table

API Description
CreateSnatEntry Creates a SNAT entry.
ModifySnatEntry Modifies a SNAT entry.
DescribeSnatTableEntries Queries SNAT entries in a SNAT table.
DeleteSnatEntry Deletes a SNAT entry.

VPC NAT gateway

Note The following table lists the API operations available only for virtual private cloud (VPC) NAT gateways. For more information about the differences in API operations between Internet NAT gateways and VPC NAT gateways, see Differences between Internet NAT gateways and VPC NAT gateways.
API Description
NAT CIDR block
CreateNatIpCidr Creates a NAT CIDR block.
DeleteNatIpCidr Deletes a NAT CIDR block.
ModifyNatIpCidrAttribute Modifies the name and description of a NAT CIDR block.
ListNatIpCidrs Queries NAT CIDR blocks.
NAT IP address
CreateNatIp Creates a NAT IP address.
DeleteNatIp Deletes a NAT IP address.
ModifyNatIpAttribute Modifies the name and description of a NAT IP address.
ListNatIps Queries NAT IP addresses.