查询流量突发服务包详情
更新时间:2022-05-16
描述
- 根据流量突发服务包id查询指定流量突发服务包的详细信息。
请求结构
Java
1GET /v{version}/tbsp/{id} HTTP/1.1
2Host: eip.bj.baidubce.com
3Authorization: authorization string
请求头域
除了公共头域外,无其他特殊头域
请求参数
参数名称 | 类型 | 是否必需 | 参数位置 | 描述 |
---|---|---|---|---|
version | String | 是 | URL参数 | API版本号,当前取值1 |
id | String | 是 | URL参数 | 流量突发服务包id |
返回头域
除公共头域,无其它特殊头域。
返回参数
参数名称 | 类型 | 描述 |
---|---|---|
name | String | 流量突发服务包名称 |
id | String | 流量突发服务包id |
defenseLineType | String | 流量突发服务包线路类型 |
defenseCountQuota | Int | 流量突发服务包容量 |
ipList | List<TbspIpModel> | 流量突发服务包绑定的IP列表 |
ipTotalCount | Int | 流量突发服务包绑定的IP数量 |
autoRenewSwitch | Int | 流量突发服务包是否开启自动续费,1代表开启 |
productStatus | String | 流量突发服务包状态 |
createTime | String | 流量突发服务包创建时间 |
expireTime | String | 流量突发服务包到期时间 |
defenseEnable | Int | 流量突发服务包防护能力,0代表尽力防护 |
attackingRecordList | List<TbspAttackRecordModel> | 流量突发服务包攻击记录列表 |
attackingRecordTotalCount | Int | 流量突发服务包攻击记录总数 |
请求示例
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
返回示例
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{
8 "attackingRecordList": [],
9 "attackingRecordTotalCount": 0,
10 "autoRenewSwitch": 1,
11 "createTime": "2021-11-06T10:53:11Z",
12 "defenseCountQuota": 100,
13 "defenseEnable": 0,
14 "defenseLineType": "BGP_S",
15 "expireTime": "2022-02-06T10:53:11Z",
16 "id": "ipDdos-440f572b",
17 "ipList": [
18 {
19 "ip": "100.88.6.253",
20 "status": "available"
21 },
22 {
23 "ip": "100.88.2.155",
24 "status": "available"
25 }
26 ],
27 "ipTotalCount": 2,
28 "name": "test",
29 "productStatus": "RUNNING"
30}