检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Deleting an SNAT Rule Function This API is used to delete a specified SNAT rule. Calling Method For details, see Calling APIs.
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.
Batch Adding or Deleting Tags to or from a Transit IP Address Batch add or delete tags to or from a transit IP address. Deleting a Tag from a Transit IP Address Delete a tag from a transit IP address.
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}/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-gateways/{resource_id}/tags/{key} nat:privateNatGatewayTags:delete √ √ 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
Request None Response None Examples Example request DELETE https://{VPC_endpoint}/v2.0/9ad601814ac94c80bf7bb9073ded66fc/nat_gateways/fe1a4cf0-27fe-4b97-a9b1-2c67c127f0e0/tags/key1 Example response None (STATUS CODE 204) Status Code See Status Codes.
/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 Lists tag values. Each value can contain a maximum of 255 Unicode characters. Before verifying and using values, delete single-byte character spaces before and after each value.
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.