Querying Bandwidth Add-On Packages
Function
This API is used to query bandwidth add-on packages.
URI
GET /v2/{project_id}/bandwidthpkgs
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID |
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
bandwidthpkgs |
Array of BandwidthPkgResp objects |
List of bandwidth add-on packages |
bandwidthpkgs_links |
Array of BandwidthPkgPage objects |
Page turning display |
Parameter |
Type |
Description |
---|---|---|
resourceId |
String |
|
resourceName |
String |
|
processedTime |
String |
|
bandwidthId |
String |
|
pkgSize |
Integer |
|
tenantId |
String |
|
billingInfo |
String |
|
startTime |
String |
|
endTime |
String |
|
status |
String |
|
Example Request
GET /v2/{project_id}/bandwidthpkgs
Example Response
Status code: 200
Normal response to the GET operation
{ "bandwidthpkgs" : [ { "resourceId" : "0003cb59-eaa4-4c05-85bd-4b4cc806992c", "resourceName" : "bandwidthpkg-test", "pkgSize" : "5", "processedTime" : "2018-10-13 20:21:17.465126", "bandwidthId" : "6c50f312-2eab-4f08-9da2-b41b0801d8be", "tenantId" : "e136ddf186a84dff9c5d5364de79f4e4", "billingInfo" : "CS1810091953KI13V:edcb94a885a84ed3a3fdf8ea4d2741da", "startTime" : "2018-10-24 21:2:17.465126", "endTime" : "2018-10-28 21:2:17.465126", "status" : "pending" } ], "bandwidthpkgs_links" : [ { "href" : "https://vpc.br-iaas-odin1.ulanqab.huawei.com:443/v2/0605767f6f00d5762ff9c001c70e7359/bandwidthpkgs?limit=2000&marker=4fc74637-753f-46cb-af8c-b58528887a79&page_reverse=true", "rel" : "previous" } ] }
Status Code
See Status Codes.
Error Code
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.