查询队列详情
更新时间:2025-09-10
描述
获取一个队列的详细信息.
请求结构
Plain Text
1GET ?action=DescribeQueue&queueId=xxxx
2Host:aihc.bj.baidubce.com
3Authorization:authorization string
4ContentType: application/json
5X-API-Version: v2
请求头域
除公共头域外,无其它特殊头域。
请求参数
参数名称 | 类型 | 是否必须 | 参数位置 | 说明 |
---|---|---|---|---|
queueId | String | 是 | Query 参数 | 标识队列的唯一标识符 |
返回头域
除公共头域,无其它特殊头域。
返回参数
参数名称 | 类型 | 说明 |
---|---|---|
queue | QueueItem | 队列详细信息 |
返回示例
Plain Text
1{
2 "queueId": "queue-h4rzqodsqgfv",
3 "queueName": "feold-backnew-gpu-phy-l1",
4 "queueType": "Physical",
5 "resourcePoolId": "cce-so2uum7z",
6 "createdAt": "2025-09-09T15:46:18+08:00",
7 "updatedAt": "2025-09-09T19:42:57+08:00",
8 "parentQueue": "63a9f0ea7bb98050796b649e85481845",
9 "children": [
10 {
11 "queueId": "queue-9zyv0dcqw5jh",
12 "queueName": "old-gpu-l2q-3",
13 "queueType": "Regular",
14 "resourcePoolId": "cce-so2uum7z",
15 "createdAt": "2025-09-09T15:49:39+08:00",
16 "updatedAt": "2025-09-09T19:42:57+08:00",
17 "parentQueue": "feold-backnew-gpu-phy-l1",
18 "opened": true,
19 "reclaimable": false,
20 "disableOversell": false,
21 "queueingStrategy": "BestEffortFIFO",
22 "enableVGPU": true,
23 "capability": {
24 "acceleratorCardList": [
25 {
26 "acceleratorCount": "0.5",
27 "acceleratorType": "NVIDIA L20",
28 "acceleratorDescription": "baidu.com/l20_cgpu"
29 }
30 ]
31 },
32 "deserved": {
33 "acceleratorCardList": [
34 {
35 "acceleratorCount": "0.5",
36 "acceleratorType": "NVIDIA L20",
37 "acceleratorDescription": "baidu.com/l20_cgpu"
38 }
39 ]
40 },
41 "allocated": {
42 "milliCPUcores": "0",
43 "cpuCores": "0",
44 "memoryGi": "0",
45 "acceleratorCardList": [
46 {
47 "acceleratorCount": "0.5",
48 "acceleratorType": "NVIDIA L20",
49 "acceleratorDescription": "baidu.com/l20_cgpu"
50 }
51 ]
52 },
53 "runningJobs": 1
54 },
55 {
56 "queueId": "queue-rp92t5b8izfy",
57 "queueName": "old-gpu-l2q-2",
58 "queueType": "Regular",
59 "resourcePoolId": "cce-so2uum7z",
60 "createdAt": "2025-09-09T15:48:14+08:00",
61 "updatedAt": "2025-09-09T19:42:57+08:00",
62 "parentQueue": "feold-backnew-gpu-phy-l1",
63 "opened": true,
64 "reclaimable": false,
65 "disableOversell": false,
66 "queueingStrategy": "BestEffortFIFO",
67 "enableVGPU": true,
68 "capability": {
69 "acceleratorCardList": [
70 {
71 "acceleratorCount": "2.5",
72 "acceleratorType": "NVIDIA L20",
73 "acceleratorDescription": "baidu.com/l20_cgpu"
74 }
75 ]
76 },
77 "deserved": {
78 "acceleratorCardList": [
79 {
80 "acceleratorCount": "2.5",
81 "acceleratorType": "NVIDIA L20",
82 "acceleratorDescription": "baidu.com/l20_cgpu"
83 }
84 ]
85 },
86 "allocated": {
87 "milliCPUcores": "0",
88 "cpuCores": "0",
89 "memoryGi": "0",
90 "acceleratorCardList": [
91 {
92 "acceleratorCount": "2.5",
93 "acceleratorType": "NVIDIA L20",
94 "acceleratorDescription": "baidu.com/l20_cgpu"
95 }
96 ]
97 },
98 "runningJobs": 2
99 },
100 {
101 "queueId": "queue-t1n9trr0nd3n",
102 "queueName": "old-gpu-l2q",
103 "queueType": "Regular",
104 "resourcePoolId": "cce-so2uum7z",
105 "createdAt": "2025-09-09T15:47:28+08:00",
106 "updatedAt": "2025-09-09T19:42:57+08:00",
107 "parentQueue": "feold-backnew-gpu-phy-l1",
108 "opened": true,
109 "reclaimable": false,
110 "disableOversell": false,
111 "queueingStrategy": "BestEffortFIFO",
112 "enableVGPU": true,
113 "capability": {
114 "acceleratorCardList": [
115 {
116 "acceleratorCount": "1",
117 "acceleratorType": "NVIDIA L20",
118 "acceleratorDescription": "baidu.com/l20_cgpu"
119 }
120 ]
121 },
122 "deserved": {
123 "acceleratorCardList": [
124 {
125 "acceleratorCount": "1",
126 "acceleratorType": "NVIDIA L20",
127 "acceleratorDescription": "baidu.com/l20_cgpu"
128 }
129 ]
130 },
131 "allocated": {
132 "milliCPUcores": "0",
133 "cpuCores": "0",
134 "memoryGi": "0",
135 "acceleratorCardList": [
136 {
137 "acceleratorCount": "0.8",
138 "acceleratorType": "NVIDIA L20",
139 "acceleratorDescription": "baidu.com/l20_cgpu"
140 }
141 ]
142 },
143 "runningJobs": 1
144 }
145 ],
146 "opened": true,
147 "reclaimable": false,
148 "disableOversell": false,
149 "queueingStrategy": "StrictFIFO",
150 "enableVGPU": true,
151 "capability": {
152 "milliCPUcores": "292000",
153 "cpuCores": "292",
154 "memoryGi": "3608148426752",
155 "acceleratorCardList": [
156 {
157 "acceleratorCount": "4",
158 "acceleratorType": "NVIDIA L20",
159 "acceleratorDescription": "baidu.com/l20_cgpu"
160 }
161 ]
162 },
163 "deserved": {
164 "milliCPUcores": "292000",
165 "cpuCores": "292",
166 "memoryGi": "3361",
167 "acceleratorCardList": [
168 {
169 "acceleratorCount": "4",
170 "acceleratorType": "NVIDIA L20",
171 "acceleratorDescription": "baidu.com/l20_cgpu"
172 }
173 ]
174 },
175 "guarantee": {
176 "milliCPUcores": "292000",
177 "cpuCores": "292",
178 "memoryGi": "3361",
179 "acceleratorCardList": [
180 {
181 "acceleratorCount": "4",
182 "acceleratorType": "NVIDIA L20",
183 "acceleratorDescription": "baidu.com/l20_cgpu"
184 }
185 ]
186 },
187 "allocated": {
188 "milliCPUcores": "0",
189 "cpuCores": "0",
190 "memoryGi": "0",
191 "acceleratorCardList": [
192 {
193 "acceleratorCount": "3.8",
194 "acceleratorType": "NVIDIA L20",
195 "acceleratorDescription": "baidu.com/l20_cgpu"
196 }
197 ]
198 },
199 "maxDeservedForSubqueue": {
200 "milliCPUcores": "292000000",
201 "cpuCores": "292000",
202 "memoryGi": "3361",
203 "acceleratorCardList": [
204 {
205 "acceleratorCount": "0",
206 "acceleratorType": "NVIDIA L20",
207 "acceleratorDescription": "baidu.com/l20_cgpu"
208 }
209 ]
210 },
211 "maxGuaranteeForSubqueue": {
212 "milliCPUcores": "292000000",
213 "cpuCores": "292000",
214 "memoryGi": "3361",
215 "acceleratorCardList": [
216 {
217 "acceleratorCount": "4",
218 "acceleratorType": "NVIDIA L20",
219 "acceleratorDescription": "baidu.com/l20_cgpu"
220 }
221 ]
222 },
223 "bindingNodes": [
224 {
225 "machineSpec": "llama2_13B_train/7k",
226 "nodeNameList": [
227 "10.0.1.72"
228 ],
229 "count": 1,
230 "acceleratorType": "NVIDIA H20Z"
231 },
232 {
233 "machineSpec": "bcc.gn5i.c112m476.4l20",
234 "nodeNameList": [
235 "10.0.5.30"
236 ],
237 "count": 1,
238 "acceleratorType": "NVIDIA L20"
239 }
240 ]
241}