This topic describes the differences in API operations between enhanced Internet NAT gateways and standard Internet NAT gateways.
CreateNatGateway
Before you call the CreateNatGateway operation to create an enhanced Internet NAT gateway, you must call the ListEnhanhcedNatGatewayAvailableZones operation to query the zones that support enhanced Internet NAT gateways in a specified
region. Then, create a vSwitch or select a vSwitch that has idle IP addresses in the
zone.
Item | Enhanced Internet NAT gateway | Standard Internet NAT gateway |
---|---|---|
How the API operation is called | The operation is asynchronous.
CreateNatGateway is an asynchronous operation. After you make a request, the ID of an enhanced Internet
NAT gateway is returned but the enhanced Internet NAT gateway is not created. The
system creates the enhanced Internet NAT gateway in the background. You can call the
DescribeNatGateways operation to query the status of enhanced Internet NAT gateways:
|
The operation is synchronous. |
Request parameters | The following parameters are added:
|
N/A |
DescribeNatGateways
The following table describes the differences in response parameters of the DescribeNatGateways operation between enhanced Internet NAT gateways and standard Internet NAT gateways.
Parameter | Enhanced Internet NAT gateway | Standard Internet NAT gateway |
---|---|---|
NatGatewayPrivateInfo | Information about the private network of an enhanced Internet NAT gateway is returned
in this new parameter. The parameter includes the following parameters:
|
N/A |
Status | The following states are added:
|
Available: After an enhanced Internet NAT gateway is created, it enters the Available state. |
NatType | Enhanced: enhanced Internet NAT gateway | Normal: standard Internet NAT gateway |
InternetChargeType |
|
N/A |
ModifyNatGatewaySpec
The following table describes the differences in the ModifyNatGatewaySpec operation between enhanced Internet NAT gateways and standard Internet NAT gateways.
Enhanced Internet NAT gateway | Standard Internet NAT gateway |
---|---|
The operation is asynchronous.
ModifyNatGatewaySpec is an asynchronous operation. After you make a request, the ID of the request is
returned but the enhanced Internet NAT gateway is not modified. The system modifies
the enhanced Internet NAT gateway in the background. You can call the DescribeNatGateways operation to query the status of enhanced Internet NAT gateways:
|
The operation is synchronous. |
DeleteNatGateway
The following table describes the differences in the DeleteNatGateway operation between enhanced Internet NAT gateways and standard Internet NAT gateways.
Enhanced Internet NAT gateway | Standard Internet NAT gateway |
---|---|
The operation is asynchronous.
DeleteNatGateway is an asynchronous operation. After you make a request, the ID of the request is
returned but the enhanced Internet NAT gateway is not deleted. The system deletes
the enhanced Internet NAT gateway in the background. You can call the DescribeNatGateways operation to query the status of enhanced Internet NAT gateways:
|
The operation is synchronous. |
New API operations supported by enhanced Internet NAT gateways
API | Description |
---|---|
ListEnhanhcedNatGatewayAvailableZones | Queries the zones that support enhanced Internet NAT gateways. |
UpdateNatGatewayNatType | Upgrades a standard Internet NAT gateway to an enhanced Internet NAT gateway. |
GetNatGatewayConvertStatus | Queries the upgrade status of an enhanced Internet NAT gateway. |