检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Deleting an SNAT Rule Function This API is used to delete an SNAT rule. Calling Method For details, see Calling APIs.
Deleting a DNAT Rule Function This API is used to delete a DNAT rule. Calling Method For details, see Calling APIs.
Deleting a Private NAT Gateway Function This API is used to delete a private NAT gateway. Calling Method For details, see Calling APIs.
Deleting a DNAT Rule Delete a DNAT rule.
For details about how to delete SNAT and DNAT rules, see Deleting an SNAT Rule and Deleting a DNAT Rule. Go to the private NAT gateway list page. On the Private NAT Gateways page, locate the private NAT gateway that you want to delete and click Delete in the Operation column.
/v3/{project_id}/private-nat-gateways/{resource_id}/tags/{key} nat:privateNatGatewayTags:delete √ √ Parent Topic: Permissions Policies and Supported Actions
/v3/{project_id}/transit-ips/{resource_id}/tags/{key} nat:transitIpTags:delete √ √ Querying Tags of All Transit IP Addresses in a Project GET /v3/{project_id}/transit-ips/tags nat:transitIpTags:list √ × Parent Topic: Permissions Policies and Supported Actions
/v3/{project_id}/private-nat/transit-ips/{transit_ip_id} nat:transitIps:delete √ √ Parent Topic: Permissions Policies and Supported Actions
/v2/{project_id}/nat_gateways/{nat_gateway_id} nat:natGateways:delete √ √ Parent Topic: Permissions Policies and Supported Actions
/v2/{project_id}/nat_gateways/{nat_gateway_id}/snat_rules/{snat_rule_id} nat:snatRules:delete √ √ Updating an SNAT Rule PUT /v2/{project_id}/snat_rules/{snat_rule_id} nat:snatRules:update √ √ Parent Topic: Permissions Policies and Supported Actions
/v3/{project_id}/private-nat/gateways/{gateway_id} nat:privateNatGateways:delete √ √ Parent Topic: Permissions Policies and Supported Actions
/v3/{project_id}/private-nat/snat-rules/{snat_rule_id} nat:privateNatSnatRules:delete √ √ Parent Topic: Permissions Policies and Supported Actions
/v3/{project_id}/private-nat/dnat-rules/{dnat_rule_id} nat:privateNatDnatRules:delete √ √ Parent Topic: Permissions Policies and Supported Actions
/v2/{project_id}/nat_gateways/{nat_gateway_id}/dnat_rules/{dnat_rule_id} nat:dnatRules:delete √ √ Updating a DNAT Rule PUT /v2/{project_id}/dnat_rules/{dnat_rule_id} nat:dnatRules:update √ √ Parent Topic: Permissions Policies and Supported Actions
"nat:natGateways:delete" ] } ] } Example 2: Grant permissions to deny NAT gateway deletion.
To release such a transit IP address, delete all rules associated with it first. Parent Topic: Managing Transit IP Addresses
Before using the value of key, delete spaces before and after the value. values Array of strings Specifies the list of tag values. Each value can contain a maximum of 255 Unicode characters and cannot contain spaces.
Status Codes Normal Response Code Type Description 200 OK Specifies the normal response code for the GET and PUT operations. 201 Created Specifies the normal response code for the POST operation. 204 No Content Specifies the normal response for the DELETE operation.
DELETE Requests the server to delete specified resources, for example, an object. HEAD Same as GET except that the server must return only the response header. PATCH Requests the server to update partial content of a resource.
None Example Requests This API is used to delete a tag from a private NAT gateway.