Query the specified bandwidth package details
Updated at:2025-11-11
Description
Query the details of a specified Cloud Smart Network bandwidth package.
Request structure
Plain Text
1GET /v{version}/csn/bp/{csnBpId} HTTP/1.1
2Host: csn.baidubce.com
3Authorization: authorization string
Request headers
There are no special headers required beyond the common headers.
Request parameters
| Parameter name | Types | Required or not | Parameter location | Description |
|---|---|---|---|---|
| version | String | Yes | URL parameter | API version number, current value is 1. |
| csnBpId | String | Yes | URL parameter | ID of the bandwidth package |
Response headers
No additional headers beyond standard ones.
Response parameters
| Parameter name | Types | Description |
|---|---|---|
| csnBpId | String | ID of the bandwidth package |
| name | String | Name of the bandwidth package |
| bandwidth | String | Total bandwidth of the bandwidth packagewidth package minimum guaranteed bandwidth |
| usedBandwidth | String | Allocated bandwidth of the bandwidth package |
| csnId | String | Bound Cloud Smart Network instance |
| interworkType | String | Connection type of the bandwidth package. Value range: [center | center-edge | edge-edge], representing inter-cloud connection, cloud-edge connection, and edge-edge connection respectively |
| interworkRegion | String | Connection region of the bandwidth package. Value range: [chinesemainland | asiapacific | crossregional] representing Chinese mainland, Asia-Pacific region, and cross-region connection respectively |
| status | String | Status of the bandwidth package |
| paymentTiming | String | Charge type of the bandwidth package. Value range: [PrePaid | PostPaid], representing prepaid and post-paid respectively |
| expireTime | String | Expiration time of the prepaid bandwidth package |
| createdTime | String | Creation time of the bandwidth package |
| tags | List<[TagModel](CSN/API Reference/Appendix.md#TagModel)> | Bound tag information |
Request example
Plain Text
1GET /v1/csn/bp/csnBp-gdrf6fukb36u
2Host: csn.baidubce.com
3Authorization: bce-auth-v1/bf427691810a11e8a106475a8496ca04/2018-07-06T11:02:49Z/3600/host;x-bce-account;x-bce-client-ip;x-bce-date;x-bce-request-id;x-bce-security-token/e84ee938f6466428ff5c16b3562a1cbf3db5928e7f863cedec8820b5d98aa474
Response example
Plain Text
1HTTP/1.1 200 OK
2Date: Fri, 06 Jul 2018 11:12:34 GMT
3Content-Type: application/json;charset=UTF-8
4Server: BWS
5{
6 "csnBpId":"csnBp-gdrf6fukb36u",
7 "name":"csnBp",
8 "bandwidth":100,
9 "usedBandwidth":10,
10 "csnId":"",
11 "interworkType":"center",
12 "interworkRegion":"chinesemainland",
13 "status":"available",
14 "paymentTiming":"Prepaid",
15 "expireTime":"2022-08-13T08:10:59Z",
16 "createdTime":"2021-04-25T17:22:34Z",
17 "tags": [
18 {
19 "tagKey": "tagKey",
20 "tagValue": "tagValue"
21 }
22 ]
23}
