Aliyun How to modify bandwidth for shared bandwidth packets

Source: Internet
Author: User
Tags error code json aliyun

  Modify shared bandwidth Packet bandwidth

Describe

To modify the bandwidth of a specified shared bandwidth packet

Request parameters

tr>
name type must describe
action system parameters, values: Modifybandwidthpackagespec
regionid string
bandwidthpackageid string
bandwidth string is the bandwidth packetBandwidth value (the value of n is currently only 1)
Value range: 5-5000
clienttoken string no See appendix for details

return parameters

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

Error code

tr> "/table>
error code Description Http status code semantics
invalidregionid.notfound specified value of "RegionID" is not supported. 404
invalidbandwidthpackageid.notfound 404
invalidbandwidth.valuenotsupported 400 Bandwidth value illegal

Example

Request sample

https://ecs.aliyuncs.com/? signatureversion=1.0&bandwidthpackageid=bwp-11odxu2k7&format=json&timestamp=2016-05-23t04%3a03% 3a08z&regionid=cn-shanghai&bandwidth=200&accesskeyid=jzgi0oyrq6ihgkp9&signaturemethod= hmac-sha1&version=2014-05-26&signature=tozpphadtyvhoi%2bw%2fjjw7wapn70%3d&action= Modifybandwidthpackagespec&signaturenonce=42429561-209b-11e6-b869-2cf0ee28adf2

Return sample

JSON format

{"RequestID": "079874cd-aec1-43e6-ac03-add96b6e4907"}

XML format

temporary;

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.