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 Resizes a NAT gateway.
ListEnhanhcedNatGatewayAvailableZones Queries the zones that support NAT gateways.
GetNatGatewayAttribute Queries information about a specified NAT gateway.
DescribeNatGateways Queries NAT gateways.
DeleteNatGateway Deletes a NAT gateway.

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 an SNAT entry.
ModifySnatEntry Modifies an SNAT entry.
DescribeSnatTableEntries Queries SNAT entries.
DeleteSnatEntry Deletes an SNAT entry.

VPC NAT gateway

Note The following table lists the API operations available for VPC NAT gateways. For more information about the differences between the API operations available for Internet NAT gateways and VPC NAT gateways, see Comparison of API operations 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.