TBSP Capacity dilatation
Updated at:2025-10-16
Description
- Specify the TBSP's IP capacity for scaling purposes.
Request structure
Java
1PUT /v{version}/tbsp/{id}?{action}&clientToken={clientToken} HTTP/1.1
2Host: eip.bj.baidubce.com
3Authorization: authorization string
4
5{
6 "ipCapacity": ipCapacity
7}
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. |
| clientToken | String | Yes | Query | Idempotence token, for details, refer to [Idempotence](EIP/API Reference/General Description.md#Idempotence) |
| id | String | Yes | URL parameter | ID of the TBSP |
| action | String | Yes | Query | Parameter value for this API: resize |
| ipCapacity | Int | Yes | RequestBody | The IP capacity of the TBSP must be greater than the IP capacity before scaling up (5/30/100) |
Response headers
No special headers are required beyond the standard ones.
Response parameters
There are no special response parameters
Request example
Java
1PUT /v1/tbsp/ipDdos-82562e17?resize&clientToken=be31b98c-5e41-4838-9830-9be700de5a20 HTTP/1.1
2Host: eip.bj.baidubce.com
3Authorization:bce-auth-v1/a43eea003308400587496785f7f5d9ee/2021-11-06T12:28:04Z/3600/host;x-bce-date/25ec3d4baba54ad7397cb31c96cb5e364088ff79f9b853ffb8dc6c11ebcdcf16
4{
5 "ipCapacity":5
6}
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: 06b2fa62-771c-41e1-b0b1-5bb3fc754c97
