Aliyun how to query the shared Bandwidth pack list

Source: Internet
Author: User
Tags error code json pack aliyun

  Query Shared Bandwidth Pack list

Describe

Queries the Bandwidthpackage list for the specified region. This interface supports paging queries, with a default number of 10 per page.

Request parameters

no " tr>
name type must describe
action system specified parameters, values: Describebandwidthpackages
string
bandwidthpackageid String filter class parameter, that is, return only the result of the specified bandwidthpackage
do not specify this parameter is not filtered.      
string filter class parameters, that is, Returns only the Bandwidthpackage
     
pagenumber integer no example status list, the starting value is 1, and the default value is 1
pagesize integer no

return parameters

name type Description
Bandwidthpackages Bandwidthpackagesettype Bandwidthpackage List
TotalCount Integer Number of list bar entries
PageNumber Integer Current page number
PageSize Integer How many entries are present in the paging

Error code

Error code Description Http Status Code Semantics
Invalidregionid.notfound Specified value of "RegionID" is not supported. 60v The specified Region does not exist

Example

Request sample

https://ecs.aliyuncs.com/? signatureversion=1.0&format=json&timestamp=2016-05-23t03%3a33%3a30z&regionid=cn-shanghai& natgatewayid=ngw-112za33e4&accesskeyid=jzgi0oyrq6ihgkp9&signaturemethod=hmac-sha1&version= 2014-05-26&signature=kn0c2q4tuztfecbn1c2lodbzrb8%3d&action=describebandwidthpackages& Signaturenonce=1e8941ae-2097-11e6-acbb-2cf0ee28adf2

Return sample

JSON format

{"Bandwidthpackages": {"Bandwidthpackage": [{"Bandwidth": ""], "Bandwidthpackageid": "Bwp-11odxu2k7", " Businessstatus ": Normal", "CreationTime": "2016-05-23t03:26:24z", "Description": "", "Instancechargetype": "postpaid "," Internetchargetype ":" Paybybandwidth "," Ipcount ":" 5 "," Name ":" "," Natgatewayid ":" Ngw-112za33e4 "," Publicipaddresses ': {"Publicipaddresse": [{"Allocationid": "NATEIP-11IOPY3SL", "IPAddress": "139.224.22.107"}, {"All Ocationid ":" Nateip-11pt1f9ph "," IPAddress ":" 139.224.22.55 "}, {" Allocationid ":" nateip-111ul670c "," IPAddress ":" 139.224.22.79 "}, {" Allocationid ":" Nateip-11ogfjj85 "," IPAddress ":" 139.224.22.59 "}, {" Allocationid ":" Nateip-11s2jempe "," IPAddress ":" 139.224.22.99 "}]}," RegionID ":" Cn-shanghai "," Status ":" Available "," ZoneID ":" Cn-sh Anghai-a "}]}," PageNumber ": 1," PageSize ": Ten," RequestID ":" 14406b86-7ca1-4907-9755-86096f476a4f "," TotalCount ": 1}

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.