检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
This section describes how to view the used NAT Gateway quota and the total NAT Gateway quota in a specified region. How Do I View My Quotas? Log in to the management console. Click in the upper left corner and select the desired region and project.
API v2.0 Public NAT Gateways SNAT Rules DNAT Rules Parent Topic: Out-of-Date APIs
Monitoring Supported Metrics Creating Alarm Rules Viewing Metrics Viewing Metrics of Resources Using a NAT Gateway
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 1 Parameter description Parameter Type Description id String Specifies the DNAT rule ID. limit Integer Specifies the number of records on each page. tenant_id String Specifies the project ID. nat_gateway_id String Specifies the public NAT gateway ID. port_id String Specifies
Table 1 Parameter description Parameter Mandatory Type Description id No String Specifies the SNAT rule ID. limit No Integer Specifies the number of records on each page. tenant_id No String Specifies the project ID. nat_gateway_id No String Specifies the public NAT gateway ID. network_id
Table 3 Description of the dnat_rule field Parameter Type Description id String Specifies the DNAT rule ID. tenant_id String Specifies the project ID. nat_gateway_id String Specifies the public NAT gateway ID. port_id String Specifies the port ID of an ECS or BMS. private_ip String
Table 3 Description of the snat_rule field Parameter Type Description id String Specifies the SNAT rule ID. tenant_id String Specifies the project ID. nat_gateway_id String Specifies the public NAT gateway ID. network_id String Specifies the network ID used by the SNAT rule. cidr
DNAT Rules Why Do I Need DNAT? Can I Modify DNAT Rules? Can I Configure a DNAT Rule for a Server to Access a Specified Website?
SNAT Rules Creating an SNAT Rule Querying SNAT Rules Querying Details About an SNAT Rule Deleting an SNAT Rule Parent Topic: API v2.0
DNAT Rules Creating a DNAT Rule Querying DNAT Rules Querying Details About a DNAT Rule Deleting a DNAT Rule Parent Topic: API v2.0
Deleting an SNAT Rule Function This API is used to delete an SNAT rule. URI DELETE /v2.0/snat_rules/{snat_rule_id} Table 1 Parameter description Parameter Mandatory Type Description snat_rule_id Yes String Specifies the SNAT rule ID. Request None Response None Examples Example request
Deleting a DNAT Rule Function This API is used to delete a DNAT rule. URI DELETE /v2.0/dnat_rules/{dnat_rule_id} Table 1 Parameter description Parameter Mandatory Type Description dnat_rule_id Yes String Specifies the DNAT rule ID. Request None Response None Examples Example request