查询资源池详情
更新时间:2025-10-24
描述
查询指定资源池详情。
请求结构
Plain Text
1GET ?action=DescribeResourcePool&resourcePoolId=xxx
2Host:aihc.bj.baidubce.com
3Authorization:authorization string
4ContentType: application/json
5version: v2
请求头域
除公共头域外,无其它特殊头域。
请求参数
| 参数名称 | 类型 | 是否必须 | 参数位置 | 说明 |
|---|---|---|---|---|
| resourcePoolId | String | 是 | Query 参数 | 资源池 ID |
返回头域
除公共头域外,无其他特殊头域。
返回参数
| 参数说明 | 类型 | 说明 |
|---|---|---|
| region | String | 地域 |
| resourcePoolId | String | 资源池 ID |
| type | String | 资源池类型:1、通用资源池:common,2、托管资源池:dedicatedV2 |
| name | String | 资源池名称 |
| description | String | 资源池描述 |
| exposedPublic | Boolean | 是否暴露公网,默认否 |
| forbidDelete | Boolean | 是否打开删除保护,默认是 |
| deschedulerEnabled | Boolean | 是否打开碎片治理,默认关闭 |
| unifiedSchedulerEnabled | Boolean | 是否打开仅使用百舸调度器,默认关闭 |
| network | Network | 网络配置 |
| bindingStorages | List<ProviderInfo> | 绑定的存储配置,支持延迟绑定/单个/一组 |
| bindingMonitors | List<ProviderInfo> | 绑定监控配置,支持延迟绑定/单个/一组 |
| phase | String | 资源池状态 |
| nodeNum | Number | 节点数 |
| createdAt | String | 创建时间 |
| updatedAt | String | 更新时间 |
返回示例
Plain Text
1{
2 "createdBy": "xiongyuzhu",
3 "resourcePoolId": "cce-fsjia104",
4 "type": "common",
5 "name": "xyz-test",
6 "region": "bj",
7 "configuration": {
8 "exposedPublic": true,
9 "forbidDelete": false,
10 "deschedulerEnabled": false,
11 "unifiedSchedulerEnabled": false,
12 "datasetPermissionEnabled": false,
13 "volumePermissionEnabled": false,
14 "imageNoAuthPullEnabled": false,
15 "publicNetInferenceServiceEnable": true
16 },
17 "createdAt": "2025-09-16T11:53:51+08:00",
18 "updatedAt": "2025-09-26T17:10:54+08:00",
19 "phase": "running",
20 "k8sVersion": "1.30.1",
21 "runtimeType": "containerd",
22 "runtimeVersion": "1.6.36-cce.1",
23 "associatedResources": [
24 {
25 "provider": "cce",
26 "id": "cce-fsjia104",
27 "region": "bj"
28 }
29 ],
30 "network": {
31 "mode": "vpc-eni",
32 "master": {
33 "region": "bj",
34 "vpcId": "vpc-d2mc0h3xuvuf",
35 "vpcCidr": "10.0.0.0/8",
36 "subnetIds": [
37 "sbn-y900qb0vpxc8"
38 ]
39 },
40 "nodes": {
41 "region": "bj",
42 "vpcId": "vpc-d2mc0h3xuvuf",
43 "vpcCidr": "10.0.0.0/8",
44 "securityGroups": [
45 {
46 "type": "normal",
47 "id": "g-6a72yp17dbqx",
48 "name": "cce-fsjia104-worker-slh3hik7"
49 }
50 ]
51 },
52 "pods": {
53 "region": "bj",
54 "vpcId": "vpc-d2mc0h3xuvuf",
55 "vpcCidr": "10.0.0.0/8",
56 "subnetIds": [
57 "sbn-y900qb0vpxc8"
58 ],
59 "securityGroups": [
60 {
61 "type": "normal",
62 "id": "g-j983mi8ax2g8",
63 "name": "cce-fsjia104-eni-7qcqrk64"
64 }
65 ]
66 },
67 "clusterIPCidr": "172.16.0.0/16",
68 "loadBalanceService": {
69 "region": "bj",
70 "vpcId": "vpc-d2mc0h3xuvuf",
71 "vpcCidr": "10.0.0.0/8",
72 "subnetIds": [
73 "sbn-y900qb0vpxc8"
74 ]
75 },
76 "maxPodsPerNode": 256
77 },
78 "nodeNum": 4
79}
