Aliyun How to delete a port forwarding rule

Source: Internet
Author: User
Tags error code json aliyun

  Delete Port forwarding rules

Describe

Deletes a specified port forwarding rule.

The port forwarding rules are independent of the ECS lifecycle. That is, when you delete a port forwarding rule, ECS is not stopped, and the associated port forwarding rules are not deleted when you stop or even destroy ECS.

Each port forwarding rule has a state, value of available | Pending | modifying; When the status of any rule in the port is in pending or modifying, it is not allowed to delete the port transfer;

Request parameters

name type must describe
action system specified parameters, values: Deleteforwardentry
string region ID
forwardtableid string is the forwardtableid
f Orwardentryid forwardentryid

return parameters

All public return parameters, as detailed in the public return parameters

Error code

error code Description Http status code semantics
invalidregionid.notfound the specified RegionID is not found in our record. 404
invalidforwardtableid.notfound 404
incorretforwardentrystatus some Forward the status entry this blocked /td> 400 > the same VPC. Any of the forwarding entries in the forwarding table below are in the middle State (add , modify, delete, cannot create forwarding entry
incorretforwardentrystatus some Forward Entry status blocked this operation. 400 > the same VPC. Any of the forwarding entries in the forwarding table below are in the middle state (added, Modify, delete), cannot create forwarding entry
invalidforwardentryid.notfound specified forward entry ID does not exist 404 The forwarding entry ID specified does not exist

Example

Request sample

https://ecs.aliyuncs.com/? signatureversion=1.0&format=json&timestamp=2016-05-23t05%3a07%3a14z&regionid=cn-shanghai& forwardentryid=fwd-11iv34uj7&accesskeyid=jzgi0oyrq6ihgkp9&forwardtableid=ftb-11tc6xgmv& signaturemethod=hmac-sha1&version=2014-05-26&signature=dqe76byyb1fviq8btucjrytvtby%3d&action= Deleteforwardentry&signaturenonce=36754954-20a4-11e6-aa16-2cf0ee28adf2

Return sample

XML format

Temporary slightly

JSON format

{"RequestID": "4EC47282-1B74-4534-BD0E-403F3EE64CAF"}

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.