检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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
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