更新时间:2025-02-08 GMT+08:00
查询带宽加油包列表
功能介绍
查询带宽加油包列表信息
URI
GET /v2/{project_id}/bandwidthpkgs
参数 | 是否必选 | 参数类型 | 描述 |
|---|---|---|---|
project_id | 是 | String | 项目ID |
请求参数
无
响应参数
状态码: 200
参数 | 参数类型 | 描述 |
|---|---|---|
bandwidthpkgs | Array of BandwidthPkgResp objects | bandwidthpkg对象列表 |
bandwidthpkgs_links | Array of BandwidthPkgPage objects | 翻页展示 |
参数 | 参数类型 | 描述 |
|---|---|---|
resourceId | String |
|
resourceName | String |
|
processedTime | String |
|
bandwidthId | String |
|
pkgSize | Integer |
|
tenantId | String |
|
billingInfo | String |
|
startTime | String |
|
endTime | String |
|
status | String |
|
请求示例
GET /v2/{project_id}/bandwidthpkgs 响应示例
状态码: 200
GET操作正常返回
{
"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"
} ]
} 状态码
请参见状态码。
错误码
请参见错误码。
父主题:带宽加油包

