检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
The value can be: true: The NAT gateway is unfrozen. false: The NAT gateway is frozen. created_at String Specifies when the public NAT gateway was created (UTC time). Its value rounds to 6 decimal places for seconds. The format is yyyy-mm-dd hh:mm:ss.
Deleting a Public NAT Gateway Function This API is used to delete a public NAT gateway. URI DELETE /v2.0/nat_gateways/{nat_gateway_id} Table 1 Parameter description Parameter Mandatory Type Description nat_gateway_id Yes String Specifies the public NAT gateway ID.
Response Parameters Status code: 204 Private NAT gateway deleted.
Parent Topic: Private NAT Gateway Tags
Public NAT Gateway Tags (V3) Querying Public NAT Gateways by Tag Batch Adding or Deleting Tags to or from a Public NAT Gateway Adding a Tag to a Public NAT Gateway Deleting a Tag from a Public NAT Gateway Querying Tags of a Public NAT Gateway Querying Tags of All Public NAT Gateways
Solution Advantages Only one public NAT gateway needs to be configured. Servers in the two VPCs can use the same public NAT gateway to communicate with the Internet, saving gateway resources.
Parent Topic: Public NAT Gateway Tags (V3)
Does Public NAT Gateway Support IPv6 Addresses? No. Parent topic: Public NAT Gateways
Can a Private NAT Gateway Be Used Across Accounts? Private NAT gateways cannot be used across accounts. However, you can use a VPC peering connection to connect the transit VPCs of two accounts.
What Are the Relationships and Differences Between the CIDR Blocks in a NAT Gateway and in an SNAT Rule? When creating a NAT gateway, you must specify the VPC and subnet CIDR block for the NAT gateway. This CIDR block can only be used by the system.
Parent Topic: Public NAT Gateway Tags
Private NAT Gateway - Transit IP Address Permission API Action IAM Project Enterprise Project Assigning a Transit IP Address POST /v3/{project_id}/private-nat/transit-ips nat:transitIps:create √ √ Querying a Transit IP Address GET /v3/{project_id}/private-nat/transit-ips/{transit_ip_id
The value can be: ACTIVE: The public NAT gateway is available. PENDING_CREATE: The public NAT gateway is being created. PENDING_UPDATE: The public NAT gateway is being updated. PENDING_DELETE: The public NAT gateway is being deleted.
Parent Topic: Private NAT Gateway Tags
You can create an SNAT rule only when status of the NAT gateway is ACTIVE and admin_state_up of the NAT gateway administrator is True. If you use a token for authentication, you must obtain the token and add X-Auth-Token to the request header when making an API call.
You can create a DNAT rule only when status of the NAT gateway is ACTIVE and admin_state_up of the NAT gateway administrator is True. If you use a token for authentication, you must obtain the token and add X-Auth-Token to the request header when making an API call.
What Should I Do If I Fail to Access the Internet Through a Public NAT Gateway? If your server cannot access the Internet through a public NAT gateway, you may have configured the VPC route table incorrectly.
Step 2: Create a Public NAT Gateway Go to the Buy Public NAT Gateway page. On the Buy Public NAT Gateway page, configure required parameters.
Associating an ECS with both an EIP and a public NAT gateway is not recommended. Parent topic: Public NAT Gateways
gateway 1 In this example, the name of the private NAT gateway is private_nat_gateway.