检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
URI DELETE /v2/{project_id}/nat_gateways/{nat_gateway_id}/dnat_rules/{dnat_rule_id} Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String Specifies the project ID. nat_gateway_id Yes String Specifies the public NAT gateway ID. dnat_rule_id Yes String Specifies
Billing FAQs How Is Private NAT Gateway Billed? How Many Private NAT Gateways Can I Buy in a VPC?
Monitoring Supported Metrics Creating Alarm Rules Viewing Metrics Viewing Metrics of Resources Using a NAT Gateway
Modifying the VPC CIDR Block Scenarios If you use a cloud connection together with another cloud service, such as NAT Gateway, Direct Connect, or VPN, you need to add the CIDR block of the cloud service to the cloud connection, so that the VPCs you load to the cloud connection can
Procedure Go to the private NAT gateway list page. On the Private NAT Gateways page, click Transit IP Addresses. Figure 1 Assign Transit IP Address Configure required parameters. For details, see Table 1.
Buy an EIP (EIP-Test) in the CN-Hong Kong region, buy a public NAT gateway (NAT-Test), and add an SNAT rule for each of the following CIDR blocks: For details, see Assigning an EIP and Binding It to an ECS and Adding an SNAT Rule.
The protocol number of TCP, UDP, and ANY are 6, 17, and 0, respectively. private_ip_address String Specifies the port IP address that the NAT gateway uses.
Scenario 3: Unbinding an EIP from a NAT Gateway and Binding a New EIP to the NAT Gateway Assign an EIP by referring to 2. If you already have an EIP that you require, skip this step. Modify an SNAT rule. For details, see Modifying an SNAT Rule.
the transit IP address. network_interface_id No Array of strings Specifies the port ID of the resource that the NAT gateway is bound to.
NAT Gateway supports the following actions that can be defined in custom policies: Public NAT Gateways, including actions supported by all v2 APIs of the NAT gateway, such as creating, updating, and deleting NAT gateways.
The protocol number of TCP, UDP, and ANY are 6, 17, and 0, respectively. private_ip_address String Specifies the port IP address that the NAT gateway uses.
This will ensure you learn about NAT Gateway resource issues in a timely manner, so you can handle faults quickly and prevent services from being interrupted. For details about supported metrics and how to create alarm rules, see Supported Metrics. Parent topic: Security
A private NAT gateway is available. You have performed operations in Enabling Mutual Access Between Servers in Overlapping Subnets on the Cloud.
Table 5 PrivateSnat Parameter Type Description id String Specifies the SNAT rule ID. project_id String Specifies the project ID. gateway_id String Specifies the private NAT gateway ID. cidr String Specifies the CIDR block that matches the SNAT rule.
To enable servers in a VPC, regardless of if they are in the same AZ, to share an EIP, use a public NAT gateway. For more information, see NAT Gateway User Guide.
The time is in yyyy-mm-dd hh:mm:ss.SSSSSS format. nat_gateway_id No Array of strings Specifies the public NAT gateway ID. network_id No String Specifies the network ID used by the SNAT rule. Configure either network_id or cidr. source_type No Integer 0: VPC.
Supported range: 0 to 65535 nat_gateway_id String Specifies the public NAT gateway ID. global_eip_id String Specifies the global EIP ID.
Cost Composition NAT Gateway costs consist of costs of resources and resource packages, depending on the billing items of NAT gateways. For details, see Billing Items. Huawei Cloud Cost Center helps you manage resource costs with ease.
After the retention period ends, the NAT gateways will be released, and that data cannot be restored. Figure 1 Lifecycle of a pay-per-use NAT gateway For details about the grace period and retention period, see What Is a Grace Period of Huawei Cloud? How Long Is It?
Table 4 PrivateSnat Parameter Type Description id String Specifies the SNAT rule ID. project_id String Specifies the project ID. gateway_id String Specifies the private NAT gateway ID. cidr String Specifies the CIDR block that matches the SNAT rule.