Query TBSP Details
Updated at:2025-10-16
Description
- Retrieve detailed information of a specific TBSP using its ID.
Request structure
Java
1GET /v{version}/tbsp/{id} HTTP/1.1
2Host: eip.bj.baidubce.com
3Authorization: authorization string
Request headers
No special headers beyond common headers.
Request parameters
| Parameter name | Types | Whether required | Parameter location | Description |
|---|---|---|---|---|
| version | String | Yes | URL parameter | API version number, current value is 1. |
| id | String | Yes | URL parameter | ID of the TBSP |
Response headers
No special headers are required beyond the standard ones.
Response parameters
| Parameter name | Type | Description |
|---|---|---|
| name | String | Name of the TBSP |
| id | String | ID of the TBSP |
| defenseLineType | String | Internet connection type of the TBSP |
| defenseCountQuota | Int | Capacity of the TBSP |
| ipList | List<[TbspIpModel](EIP/API Reference/Appendix 1.md#TbspIpModel)> | List of IPs bound to the TBSP |
| ipTotalCount | Int | Count of IPs bound to the TBSP |
| autoRenewSwitch | Int | Whether TBSP enables auto-renewal (1 indicates enabled) |
| productStatus | String | Status of the TBSP |
| createTime | String | Creation time of the TBSP |
| expireTime | String | Expiration time of the TBSP |
| defenseEnable | Int | Protection capability of the TBSP, with 0 indicating best-effort protection |
| attackingRecordList | List<[TbspAttackRecordModel](EIP/API Reference/Appendix 1.md#TbspAttackRecordModel)> | Attack record list of the TBSP |
| attackingRecordTotalCount | Int | Total attack records of the TBSP |
Request example
Java
1GET /v1/tbsp/ipDdos-440f572b HTTP/1.1
2Host: eip.bj.baidubce.com
3Authorization:bce-auth-v1/a43eea003308400587496785f7f5d9ee/2021-11-06T12:28:04Z/3600/host;x-bce-date/25ec3d4baba54ad7397cb31c96cb5e364088ff79f9b853ffb8dc6c11ebcdcf16
Response example
Java
1HTTP/1.1 200 OK
2Server: nginx/1.19.0
3Date: Sat, 06 Nov 2021 12:28:05 GMT
4Content-Type: application/json; charset=UTF-8
5X-Bce-Request-Id: 70b6324a-7b10-4736-8872-4c29be8ef474
6{
7 "attackingRecordList": [],
8 "attackingRecordTotalCount": 0,
9 "autoRenewSwitch": 1,
10 "createTime": "2021-11-06T10:53:11Z",
11 "defenseCountQuota": 100,
12 "defenseEnable": 0,
13 "defenseLineType": "BGP_S",
14 "expireTime": "2022-02-06T10:53:11Z",
15 "id": "ipDdos-440f572b",
16 "ipList": [
17 {
18 "ip": "100.88.6.253",
19 "status": "available"
20 },
21 {
22 "ip": "100.88.2.155",
23 "status": "available"
24 }
25 ],
26 "ipTotalCount": 2,
27 "name": "test",
28 "productStatus": "RUNNING"
29}
