Aliyun How to modify a shared bandwidth packet-reduce public network IP

Source: Internet
Author: User

  Modify shared bandwidth packet-reduce public IP

Describe

When removing IP, specify the IP list to be removed;

Do not allow all IP to be removed, if the IP list in the request contains all existing IP, then the error; (the error means that this request is not legitimate, all IP has not occurred delete behavior)

If the IP is not in the bandwidth packet, the error occurs (the error means that this request is not valid, all IP has no delete behavior)

If an IP is snat, the Portmap rule refers to the situation, the error; (the error means that this request is not legitimate, all IP has not occurred delete behavior)

Request parameters

name type whether you must Description
Action String Is System specified parameters, values: removebandwidthpackageips
RegionID String Is The region where the shared bandwidth packet resides
Bandwidthpackageid String Is ID of the bandwidthpackage to be modified
Removedipaddresses.n Array Whether Allocationid of IP address to be removed (fill in IP allocationid instead of IP address)
n must be ranked starting from 1, with a maximum of 20;
If a non-existent IP is specified, the deletion behavior fails and all IP is not deleted;
If all IP in current bandwidth packet is specified, this deletion behavior fails--no IP in a bandwidth packet is allowed
Clienttoken String Whether Used to guarantee the power of the request. This parameter value is generated by the client to ensure that it is unique between requests and that the maximum is not worth 64 ASCII characters. See Appendix for details.

return parameters

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

Error code

tr>
error code Description Http status code semantics
invalidregionid.notfound specified value of "RegionID" is not supported. 404
invalidbandwidthpackageid.notfound 404
invalidremovedipaddresses.notfound 400 One of the specified IP addresses does not exist on the specified shared bandwidth packet.
it ' s forbidden that remove all IPs in Bandwidthpackage. 400 Remove all IP from a one-time bandwidth bundle
forbidden.someipreferredbyforwardentry 400

Example

Request sample

https://ecs.aliyuncs.com/? Removedipaddresses.2=nateip-11s2jempe&signatureversion=1.0&bandwidthpackageid=bwp-11odxu2k7&format =json&timestamp=2016-05-23t04%3a01%3a34z&regionid=cn-shanghai&removedipaddresses.1= nateip-1110a2l48&accesskeyid=jzgi0oyrq6ihgkp9&signaturemethod=hmac-sha1&version=2014-05-26& Signature=l4nbmqd5x1xklrgbzm34aj4uwii%3d&action=removebandwidthpackageips&signaturenonce= 0a34f3f3-209b-11e6-b183-2cf0ee28adf2

Return sample

XML format

Temporary slightly

JSON format

{"RequestID": "7D275A59-1EB0-4775-8A20-2A47055EAC5C"}

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.