查询BLB规格列表
更新时间:2026-11-30
该接口用于查询当前环境支持的 BLB 规格,返回的 key 即创建实例、变更实例规格和查询实例价格时 blbSpec 的取值。
该接口为只读,无请求参数,一次返回全部支持的 BLB 规格,顺序与平台配置一致。
请求结构
Plain Text
1POST /?action=DescribeBlbSpecs HTTP/1.1
2Host: apigw-control.bj.baidubce.com
3Authorization: authorization string
请求头域
除公共头域外,无其它特殊头域。
请求参数
无特殊请求参数。
返回头域
除公共头域,无其它特殊头域。
返回参数
| 参数名称 | 类型 | 描述 |
|---|---|---|
| key | String | BLB 规格 key,即 blbSpec 的取值 |
| name | String | BLB 规格名称 |
请求示例
Plain Text
1POST /?action=DescribeBlbSpecs HTTP/1.1
2Host: apigw-control.bj.baidubce.com
3Authorization: bce-auth-v1/f81d3b34e48048fbb2634dc7882d7e21/2015-08-11T04:17:29Z/3600/host/74c506f68c65e26c633bfa104c863fffac5190fdec1ec24b7c03eb5d67d2e1de
返回示例
Plain Text
1HTTP/1.1 200 OK
2x-bce-request-id: 1214cca7-4ad5-451d-9215-71cb844c0a50
3Date: Wed, 03 Dec 2014 06:42:19 GMT
4Content-Type: application/json;charset=UTF-8
5Server: BWS
6
7[
8 {
9 "key": "small1",
10 "name": "标准型1"
11 },
12 {
13 "key": "small2",
14 "name": "标准型2"
15 },
16 {
17 "key": "medium1",
18 "name": "增强型1"
19 },
20 {
21 "key": "medium2",
22 "name": "增强型2"
23 }
24]
评价此篇文章
