@xen-orchestra/rest-api 0.22.1 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hosts/host.controller.mjs +48 -3
- package/dist/open-api/oa-examples/vbd.oa-example.mjs +3 -0
- package/dist/open-api/oa-examples/xoa.oa-example.mjs +30 -40
- package/dist/open-api/routes/routes.js +263 -21
- package/dist/pools/pool.controller.mjs +46 -1
- package/dist/vbds/vbd.controller.mjs +115 -4
- package/dist/vdis/vdi.controller.mjs +39 -4
- package/dist/vms/vm.controller.mjs +3 -1
- package/dist/vms/vm.service.mjs +11 -5
- package/dist/xoa/xoa.service.mjs +112 -91
- package/open-api/spec/swagger.json +1183 -635
- package/package.json +4 -4
|
@@ -7,6 +7,88 @@
|
|
|
7
7
|
"requestBodies": {},
|
|
8
8
|
"responses": {},
|
|
9
9
|
"schemas": {
|
|
10
|
+
"IsEmptyData": {
|
|
11
|
+
"properties": {
|
|
12
|
+
"isEmpty": {
|
|
13
|
+
"type": "boolean",
|
|
14
|
+
"enum": [
|
|
15
|
+
true
|
|
16
|
+
],
|
|
17
|
+
"nullable": false
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": [
|
|
21
|
+
"isEmpty"
|
|
22
|
+
],
|
|
23
|
+
"type": "object"
|
|
24
|
+
},
|
|
25
|
+
"MissingPatchesInfo": {
|
|
26
|
+
"properties": {
|
|
27
|
+
"nPoolsWithMissingPatches": {
|
|
28
|
+
"type": "number",
|
|
29
|
+
"format": "double"
|
|
30
|
+
},
|
|
31
|
+
"nPools": {
|
|
32
|
+
"type": "number",
|
|
33
|
+
"format": "double"
|
|
34
|
+
},
|
|
35
|
+
"nHostsFailed": {
|
|
36
|
+
"type": "number",
|
|
37
|
+
"format": "double"
|
|
38
|
+
},
|
|
39
|
+
"nHostsWithMissingPatches": {
|
|
40
|
+
"type": "number",
|
|
41
|
+
"format": "double"
|
|
42
|
+
},
|
|
43
|
+
"nHostsEol": {
|
|
44
|
+
"anyOf": [
|
|
45
|
+
{
|
|
46
|
+
"type": "number",
|
|
47
|
+
"format": "double"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"$ref": "#/components/schemas/IsEmptyData"
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
"nHosts": {
|
|
55
|
+
"type": "number",
|
|
56
|
+
"format": "double"
|
|
57
|
+
},
|
|
58
|
+
"hasAuthorization": {
|
|
59
|
+
"type": "boolean",
|
|
60
|
+
"enum": [
|
|
61
|
+
true
|
|
62
|
+
],
|
|
63
|
+
"nullable": false
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"required": [
|
|
67
|
+
"nPoolsWithMissingPatches",
|
|
68
|
+
"nPools",
|
|
69
|
+
"nHostsFailed",
|
|
70
|
+
"nHostsWithMissingPatches",
|
|
71
|
+
"nHostsEol",
|
|
72
|
+
"nHosts",
|
|
73
|
+
"hasAuthorization"
|
|
74
|
+
],
|
|
75
|
+
"type": "object"
|
|
76
|
+
},
|
|
77
|
+
"HasNoAuthorization": {
|
|
78
|
+
"properties": {
|
|
79
|
+
"hasAuthorization": {
|
|
80
|
+
"type": "boolean",
|
|
81
|
+
"enum": [
|
|
82
|
+
false
|
|
83
|
+
],
|
|
84
|
+
"nullable": false
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"required": [
|
|
88
|
+
"hasAuthorization"
|
|
89
|
+
],
|
|
90
|
+
"type": "object"
|
|
91
|
+
},
|
|
10
92
|
"PromiseWriteInStreamError": {
|
|
11
93
|
"properties": {
|
|
12
94
|
"error": {
|
|
@@ -83,6 +165,84 @@
|
|
|
83
165
|
},
|
|
84
166
|
"type": "object"
|
|
85
167
|
},
|
|
168
|
+
"IsMaybeExpired_DashboardBackupRepositoriesSizeInfo_": {
|
|
169
|
+
"allOf": [
|
|
170
|
+
{
|
|
171
|
+
"$ref": "#/components/schemas/DashboardBackupRepositoriesSizeInfo"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"properties": {
|
|
175
|
+
"isExpired": {
|
|
176
|
+
"type": "boolean",
|
|
177
|
+
"enum": [
|
|
178
|
+
true
|
|
179
|
+
],
|
|
180
|
+
"nullable": false
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"type": "object"
|
|
184
|
+
}
|
|
185
|
+
]
|
|
186
|
+
},
|
|
187
|
+
"IsMaybeExpired_IsEmptyData_": {
|
|
188
|
+
"allOf": [
|
|
189
|
+
{
|
|
190
|
+
"$ref": "#/components/schemas/IsEmptyData"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"properties": {
|
|
194
|
+
"isExpired": {
|
|
195
|
+
"type": "boolean",
|
|
196
|
+
"enum": [
|
|
197
|
+
true
|
|
198
|
+
],
|
|
199
|
+
"nullable": false
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"type": "object"
|
|
203
|
+
}
|
|
204
|
+
]
|
|
205
|
+
},
|
|
206
|
+
"SrSizeInfo": {
|
|
207
|
+
"properties": {
|
|
208
|
+
"size": {
|
|
209
|
+
"properties": {
|
|
210
|
+
"used": {
|
|
211
|
+
"type": "number",
|
|
212
|
+
"format": "double"
|
|
213
|
+
},
|
|
214
|
+
"total": {
|
|
215
|
+
"type": "number",
|
|
216
|
+
"format": "double"
|
|
217
|
+
},
|
|
218
|
+
"replicated": {
|
|
219
|
+
"type": "number",
|
|
220
|
+
"format": "double"
|
|
221
|
+
},
|
|
222
|
+
"other": {
|
|
223
|
+
"type": "number",
|
|
224
|
+
"format": "double"
|
|
225
|
+
},
|
|
226
|
+
"available": {
|
|
227
|
+
"type": "number",
|
|
228
|
+
"format": "double"
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
"required": [
|
|
232
|
+
"used",
|
|
233
|
+
"total",
|
|
234
|
+
"replicated",
|
|
235
|
+
"other",
|
|
236
|
+
"available"
|
|
237
|
+
],
|
|
238
|
+
"type": "object"
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
"required": [
|
|
242
|
+
"size"
|
|
243
|
+
],
|
|
244
|
+
"type": "object"
|
|
245
|
+
},
|
|
86
246
|
"BACKUP_TYPE": {
|
|
87
247
|
"type": "string",
|
|
88
248
|
"enum": [
|
|
@@ -163,6 +323,10 @@
|
|
|
163
323
|
"type": "number",
|
|
164
324
|
"format": "double"
|
|
165
325
|
},
|
|
326
|
+
"noRecentRun": {
|
|
327
|
+
"type": "number",
|
|
328
|
+
"format": "double"
|
|
329
|
+
},
|
|
166
330
|
"failed": {
|
|
167
331
|
"type": "number",
|
|
168
332
|
"format": "double"
|
|
@@ -176,6 +340,7 @@
|
|
|
176
340
|
"total",
|
|
177
341
|
"successful",
|
|
178
342
|
"skipped",
|
|
343
|
+
"noRecentRun",
|
|
179
344
|
"failed",
|
|
180
345
|
"disabled"
|
|
181
346
|
],
|
|
@@ -189,10 +354,33 @@
|
|
|
189
354
|
],
|
|
190
355
|
"type": "object"
|
|
191
356
|
},
|
|
357
|
+
"IsMaybeExpired_DashboardBackupsInfo_": {
|
|
358
|
+
"allOf": [
|
|
359
|
+
{
|
|
360
|
+
"$ref": "#/components/schemas/DashboardBackupsInfo"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"properties": {
|
|
364
|
+
"isExpired": {
|
|
365
|
+
"type": "boolean",
|
|
366
|
+
"enum": [
|
|
367
|
+
true
|
|
368
|
+
],
|
|
369
|
+
"nullable": false
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
"type": "object"
|
|
373
|
+
}
|
|
374
|
+
]
|
|
375
|
+
},
|
|
192
376
|
"XoaDashboard": {
|
|
193
377
|
"properties": {
|
|
194
378
|
"poolsStatus": {
|
|
195
379
|
"properties": {
|
|
380
|
+
"total": {
|
|
381
|
+
"type": "number",
|
|
382
|
+
"format": "double"
|
|
383
|
+
},
|
|
196
384
|
"unknown": {
|
|
197
385
|
"type": "number",
|
|
198
386
|
"format": "double"
|
|
@@ -201,44 +389,60 @@
|
|
|
201
389
|
"type": "number",
|
|
202
390
|
"format": "double"
|
|
203
391
|
},
|
|
392
|
+
"disconnected": {
|
|
393
|
+
"type": "number",
|
|
394
|
+
"format": "double"
|
|
395
|
+
},
|
|
204
396
|
"connected": {
|
|
205
397
|
"type": "number",
|
|
206
398
|
"format": "double"
|
|
207
399
|
}
|
|
208
400
|
},
|
|
209
401
|
"required": [
|
|
402
|
+
"total",
|
|
210
403
|
"unknown",
|
|
211
404
|
"unreachable",
|
|
405
|
+
"disconnected",
|
|
212
406
|
"connected"
|
|
213
407
|
],
|
|
214
408
|
"type": "object"
|
|
215
409
|
},
|
|
216
410
|
"resourcesOverview": {
|
|
217
|
-
"
|
|
218
|
-
|
|
219
|
-
"
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
411
|
+
"anyOf": [
|
|
412
|
+
{
|
|
413
|
+
"properties": {
|
|
414
|
+
"srSize": {
|
|
415
|
+
"type": "number",
|
|
416
|
+
"format": "double"
|
|
417
|
+
},
|
|
418
|
+
"memorySize": {
|
|
419
|
+
"type": "number",
|
|
420
|
+
"format": "double"
|
|
421
|
+
},
|
|
422
|
+
"nCpus": {
|
|
423
|
+
"type": "number",
|
|
424
|
+
"format": "double"
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
"required": [
|
|
428
|
+
"srSize",
|
|
429
|
+
"memorySize",
|
|
430
|
+
"nCpus"
|
|
431
|
+
],
|
|
432
|
+
"type": "object"
|
|
225
433
|
},
|
|
226
|
-
|
|
227
|
-
"
|
|
228
|
-
"format": "double"
|
|
434
|
+
{
|
|
435
|
+
"$ref": "#/components/schemas/IsEmptyData"
|
|
229
436
|
}
|
|
230
|
-
|
|
231
|
-
"required": [
|
|
232
|
-
"srSize",
|
|
233
|
-
"memorySize",
|
|
234
|
-
"nCpus"
|
|
235
|
-
],
|
|
236
|
-
"type": "object"
|
|
437
|
+
]
|
|
237
438
|
},
|
|
238
439
|
"backups": {
|
|
239
440
|
"anyOf": [
|
|
240
441
|
{
|
|
241
|
-
"$ref": "#/components/schemas/
|
|
442
|
+
"$ref": "#/components/schemas/IsMaybeExpired_DashboardBackupsInfo_"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"$ref": "#/components/schemas/IsMaybeExpired_IsEmptyData_"
|
|
242
446
|
},
|
|
243
447
|
{
|
|
244
448
|
"$ref": "#/components/schemas/PromiseWriteInStreamError"
|
|
@@ -248,54 +452,23 @@
|
|
|
248
452
|
"storageRepositories": {
|
|
249
453
|
"anyOf": [
|
|
250
454
|
{
|
|
251
|
-
"
|
|
252
|
-
"size": {
|
|
253
|
-
"properties": {
|
|
254
|
-
"used": {
|
|
255
|
-
"type": "number",
|
|
256
|
-
"format": "double"
|
|
257
|
-
},
|
|
258
|
-
"total": {
|
|
259
|
-
"type": "number",
|
|
260
|
-
"format": "double"
|
|
261
|
-
},
|
|
262
|
-
"replicated": {
|
|
263
|
-
"type": "number",
|
|
264
|
-
"format": "double"
|
|
265
|
-
},
|
|
266
|
-
"other": {
|
|
267
|
-
"type": "number",
|
|
268
|
-
"format": "double"
|
|
269
|
-
},
|
|
270
|
-
"available": {
|
|
271
|
-
"type": "number",
|
|
272
|
-
"format": "double"
|
|
273
|
-
}
|
|
274
|
-
},
|
|
275
|
-
"required": [
|
|
276
|
-
"used",
|
|
277
|
-
"total",
|
|
278
|
-
"replicated",
|
|
279
|
-
"other",
|
|
280
|
-
"available"
|
|
281
|
-
],
|
|
282
|
-
"type": "object"
|
|
283
|
-
}
|
|
284
|
-
},
|
|
285
|
-
"required": [
|
|
286
|
-
"size"
|
|
287
|
-
],
|
|
288
|
-
"type": "object"
|
|
455
|
+
"$ref": "#/components/schemas/SrSizeInfo"
|
|
289
456
|
},
|
|
290
457
|
{
|
|
291
458
|
"$ref": "#/components/schemas/PromiseWriteInStreamError"
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
"$ref": "#/components/schemas/IsEmptyData"
|
|
292
462
|
}
|
|
293
463
|
]
|
|
294
464
|
},
|
|
295
465
|
"backupRepositories": {
|
|
296
466
|
"anyOf": [
|
|
297
467
|
{
|
|
298
|
-
"$ref": "#/components/schemas/
|
|
468
|
+
"$ref": "#/components/schemas/IsMaybeExpired_DashboardBackupRepositoriesSizeInfo_"
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"$ref": "#/components/schemas/IsMaybeExpired_IsEmptyData_"
|
|
299
472
|
},
|
|
300
473
|
{
|
|
301
474
|
"$ref": "#/components/schemas/PromiseWriteInStreamError"
|
|
@@ -305,49 +478,13 @@
|
|
|
305
478
|
"missingPatches": {
|
|
306
479
|
"anyOf": [
|
|
307
480
|
{
|
|
308
|
-
"
|
|
309
|
-
"hasAuthorization": {
|
|
310
|
-
"type": "boolean",
|
|
311
|
-
"enum": [
|
|
312
|
-
false
|
|
313
|
-
],
|
|
314
|
-
"nullable": false
|
|
315
|
-
}
|
|
316
|
-
},
|
|
317
|
-
"required": [
|
|
318
|
-
"hasAuthorization"
|
|
319
|
-
],
|
|
320
|
-
"type": "object"
|
|
481
|
+
"$ref": "#/components/schemas/MissingPatchesInfo"
|
|
321
482
|
},
|
|
322
483
|
{
|
|
323
|
-
"
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
},
|
|
328
|
-
"nPoolsWithMissingPatches": {
|
|
329
|
-
"type": "number",
|
|
330
|
-
"format": "double"
|
|
331
|
-
},
|
|
332
|
-
"nHostsWithMissingPatches": {
|
|
333
|
-
"type": "number",
|
|
334
|
-
"format": "double"
|
|
335
|
-
},
|
|
336
|
-
"hasAuthorization": {
|
|
337
|
-
"type": "boolean",
|
|
338
|
-
"enum": [
|
|
339
|
-
true
|
|
340
|
-
],
|
|
341
|
-
"nullable": false
|
|
342
|
-
}
|
|
343
|
-
},
|
|
344
|
-
"required": [
|
|
345
|
-
"nHostsFailed",
|
|
346
|
-
"nPoolsWithMissingPatches",
|
|
347
|
-
"nHostsWithMissingPatches",
|
|
348
|
-
"hasAuthorization"
|
|
349
|
-
],
|
|
350
|
-
"type": "object"
|
|
484
|
+
"$ref": "#/components/schemas/HasNoAuthorization"
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
"$ref": "#/components/schemas/PromiseWriteInStreamError"
|
|
351
488
|
}
|
|
352
489
|
]
|
|
353
490
|
},
|
|
@@ -361,10 +498,26 @@
|
|
|
361
498
|
"type": "number",
|
|
362
499
|
"format": "double"
|
|
363
500
|
},
|
|
501
|
+
"suspended": {
|
|
502
|
+
"type": "number",
|
|
503
|
+
"format": "double"
|
|
504
|
+
},
|
|
505
|
+
"running": {
|
|
506
|
+
"type": "number",
|
|
507
|
+
"format": "double"
|
|
508
|
+
},
|
|
509
|
+
"paused": {
|
|
510
|
+
"type": "number",
|
|
511
|
+
"format": "double"
|
|
512
|
+
},
|
|
364
513
|
"inactive": {
|
|
365
514
|
"type": "number",
|
|
366
515
|
"format": "double"
|
|
367
516
|
},
|
|
517
|
+
"halted": {
|
|
518
|
+
"type": "number",
|
|
519
|
+
"format": "double"
|
|
520
|
+
},
|
|
368
521
|
"active": {
|
|
369
522
|
"type": "number",
|
|
370
523
|
"format": "double"
|
|
@@ -373,7 +526,11 @@
|
|
|
373
526
|
"required": [
|
|
374
527
|
"total",
|
|
375
528
|
"unknown",
|
|
529
|
+
"suspended",
|
|
530
|
+
"running",
|
|
531
|
+
"paused",
|
|
376
532
|
"inactive",
|
|
533
|
+
"halted",
|
|
377
534
|
"active"
|
|
378
535
|
],
|
|
379
536
|
"type": "object"
|
|
@@ -395,27 +552,21 @@
|
|
|
395
552
|
"running": {
|
|
396
553
|
"type": "number",
|
|
397
554
|
"format": "double"
|
|
555
|
+
},
|
|
556
|
+
"disabled": {
|
|
557
|
+
"type": "number",
|
|
558
|
+
"format": "double"
|
|
398
559
|
}
|
|
399
560
|
},
|
|
400
561
|
"required": [
|
|
401
562
|
"total",
|
|
402
563
|
"unknown",
|
|
403
564
|
"halted",
|
|
404
|
-
"running"
|
|
565
|
+
"running",
|
|
566
|
+
"disabled"
|
|
405
567
|
],
|
|
406
568
|
"type": "object"
|
|
407
569
|
},
|
|
408
|
-
"nHostsEol": {
|
|
409
|
-
"anyOf": [
|
|
410
|
-
{
|
|
411
|
-
"type": "number",
|
|
412
|
-
"format": "double"
|
|
413
|
-
},
|
|
414
|
-
{
|
|
415
|
-
"$ref": "#/components/schemas/PromiseWriteInStreamError"
|
|
416
|
-
}
|
|
417
|
-
]
|
|
418
|
-
},
|
|
419
570
|
"nHosts": {
|
|
420
571
|
"type": "number",
|
|
421
572
|
"format": "double"
|
|
@@ -2557,23 +2708,31 @@
|
|
|
2557
2708
|
"type": "object"
|
|
2558
2709
|
},
|
|
2559
2710
|
"Unbrand_VmDashboard-at-backupsInfo_91_replication_93__": {
|
|
2560
|
-
"
|
|
2561
|
-
|
|
2562
|
-
"
|
|
2563
|
-
|
|
2564
|
-
"timestamp": {
|
|
2565
|
-
"type": "number",
|
|
2566
|
-
"format": "double"
|
|
2711
|
+
"anyOf": [
|
|
2712
|
+
{
|
|
2713
|
+
"properties": {},
|
|
2714
|
+
"type": "object"
|
|
2567
2715
|
},
|
|
2568
|
-
|
|
2569
|
-
"
|
|
2716
|
+
{
|
|
2717
|
+
"properties": {
|
|
2718
|
+
"id": {
|
|
2719
|
+
"type": "string"
|
|
2720
|
+
},
|
|
2721
|
+
"timestamp": {
|
|
2722
|
+
"type": "number",
|
|
2723
|
+
"format": "double"
|
|
2724
|
+
},
|
|
2725
|
+
"sr": {
|
|
2726
|
+
"type": "string"
|
|
2727
|
+
}
|
|
2728
|
+
},
|
|
2729
|
+
"required": [
|
|
2730
|
+
"id",
|
|
2731
|
+
"timestamp"
|
|
2732
|
+
],
|
|
2733
|
+
"type": "object"
|
|
2570
2734
|
}
|
|
2571
|
-
|
|
2572
|
-
"required": [
|
|
2573
|
-
"id",
|
|
2574
|
-
"timestamp"
|
|
2575
|
-
],
|
|
2576
|
-
"type": "object"
|
|
2735
|
+
]
|
|
2577
2736
|
},
|
|
2578
2737
|
"Unbrand_VmDashboardBackupArchive_": {
|
|
2579
2738
|
"properties": {
|
|
@@ -2618,7 +2777,7 @@
|
|
|
2618
2777
|
"enum": [
|
|
2619
2778
|
"protected",
|
|
2620
2779
|
"unprotected",
|
|
2621
|
-
"not-in-job"
|
|
2780
|
+
"not-in-active-job"
|
|
2622
2781
|
]
|
|
2623
2782
|
},
|
|
2624
2783
|
"lastRuns": {
|
|
@@ -2630,6 +2789,7 @@
|
|
|
2630
2789
|
},
|
|
2631
2790
|
"required": [
|
|
2632
2791
|
"backupArchives",
|
|
2792
|
+
"replication",
|
|
2633
2793
|
"vmProtection",
|
|
2634
2794
|
"lastRuns"
|
|
2635
2795
|
],
|
|
@@ -5185,188 +5345,92 @@
|
|
|
5185
5345
|
],
|
|
5186
5346
|
"type": "object"
|
|
5187
5347
|
},
|
|
5188
|
-
"
|
|
5189
|
-
"
|
|
5190
|
-
|
|
5191
|
-
|
|
5192
|
-
|
|
5193
|
-
|
|
5194
|
-
|
|
5195
|
-
|
|
5196
|
-
|
|
5197
|
-
|
|
5198
|
-
|
|
5199
|
-
|
|
5200
|
-
|
|
5201
|
-
|
|
5202
|
-
|
|
5203
|
-
|
|
5204
|
-
|
|
5205
|
-
|
|
5206
|
-
|
|
5207
|
-
|
|
5208
|
-
|
|
5209
|
-
|
|
5210
|
-
|
|
5211
|
-
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
|
|
5215
|
-
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
"
|
|
5221
|
-
"$ref": "#/components/schemas/Record_string.VDI_OPERATIONS_"
|
|
5222
|
-
},
|
|
5223
|
-
"missing": {
|
|
5224
|
-
"type": "boolean"
|
|
5225
|
-
},
|
|
5226
|
-
"name_description": {
|
|
5227
|
-
"type": "string"
|
|
5228
|
-
},
|
|
5229
|
-
"name_label": {
|
|
5230
|
-
"type": "string"
|
|
5231
|
-
},
|
|
5232
|
-
"other_config": {
|
|
5233
|
-
"$ref": "#/components/schemas/Record_string.string_"
|
|
5234
|
-
},
|
|
5235
|
-
"parent": {
|
|
5236
|
-
"type": "string"
|
|
5237
|
-
},
|
|
5238
|
-
"image_format": {
|
|
5239
|
-
"type": "string"
|
|
5240
|
-
},
|
|
5241
|
-
"size": {
|
|
5242
|
-
"type": "number",
|
|
5243
|
-
"format": "double"
|
|
5244
|
-
},
|
|
5245
|
-
"snapshots": {
|
|
5246
|
-
"items": {
|
|
5247
|
-
"type": "string"
|
|
5248
|
-
},
|
|
5249
|
-
"type": "array"
|
|
5250
|
-
},
|
|
5251
|
-
"tags": {
|
|
5252
|
-
"items": {
|
|
5253
|
-
"type": "string"
|
|
5254
|
-
},
|
|
5255
|
-
"type": "array"
|
|
5256
|
-
},
|
|
5257
|
-
"usage": {
|
|
5258
|
-
"type": "number",
|
|
5259
|
-
"format": "double"
|
|
5260
|
-
},
|
|
5261
|
-
"id": {
|
|
5262
|
-
"type": "string"
|
|
5263
|
-
},
|
|
5264
|
-
"type": {
|
|
5265
|
-
"type": "string",
|
|
5266
|
-
"enum": [
|
|
5267
|
-
"VDI"
|
|
5268
|
-
]
|
|
5269
|
-
}
|
|
5348
|
+
"VIF_LOCKING_MODE": {
|
|
5349
|
+
"type": "string",
|
|
5350
|
+
"enum": [
|
|
5351
|
+
"disabled",
|
|
5352
|
+
"locked",
|
|
5353
|
+
"network_default",
|
|
5354
|
+
"unlocked"
|
|
5355
|
+
]
|
|
5356
|
+
},
|
|
5357
|
+
"Partial_UnbrandedXoVif_": {
|
|
5358
|
+
"properties": {
|
|
5359
|
+
"$pool": {
|
|
5360
|
+
"type": "string"
|
|
5361
|
+
},
|
|
5362
|
+
"$poolId": {
|
|
5363
|
+
"type": "string",
|
|
5364
|
+
"deprecated": true
|
|
5365
|
+
},
|
|
5366
|
+
"_xapiRef": {
|
|
5367
|
+
"type": "string"
|
|
5368
|
+
},
|
|
5369
|
+
"uuid": {
|
|
5370
|
+
"type": "string"
|
|
5371
|
+
},
|
|
5372
|
+
"$VM": {
|
|
5373
|
+
"type": "string"
|
|
5374
|
+
},
|
|
5375
|
+
"$network": {
|
|
5376
|
+
"type": "string"
|
|
5377
|
+
},
|
|
5378
|
+
"allowedIpv4Addresses": {
|
|
5379
|
+
"items": {
|
|
5380
|
+
"type": "string"
|
|
5270
5381
|
},
|
|
5271
|
-
"type": "
|
|
5382
|
+
"type": "array"
|
|
5272
5383
|
},
|
|
5273
|
-
{
|
|
5274
|
-
"
|
|
5275
|
-
"
|
|
5276
|
-
"type": "string"
|
|
5277
|
-
},
|
|
5278
|
-
"$poolId": {
|
|
5279
|
-
"type": "string",
|
|
5280
|
-
"deprecated": true
|
|
5281
|
-
},
|
|
5282
|
-
"_xapiRef": {
|
|
5283
|
-
"type": "string"
|
|
5284
|
-
},
|
|
5285
|
-
"uuid": {
|
|
5286
|
-
"type": "string"
|
|
5287
|
-
},
|
|
5288
|
-
"$SR": {
|
|
5289
|
-
"type": "string"
|
|
5290
|
-
},
|
|
5291
|
-
"$VBDs": {
|
|
5292
|
-
"items": {
|
|
5293
|
-
"type": "string"
|
|
5294
|
-
},
|
|
5295
|
-
"type": "array"
|
|
5296
|
-
},
|
|
5297
|
-
"VDI_type": {
|
|
5298
|
-
"$ref": "#/components/schemas/VDI_TYPE"
|
|
5299
|
-
},
|
|
5300
|
-
"cbt_enabled": {
|
|
5301
|
-
"type": "boolean"
|
|
5302
|
-
},
|
|
5303
|
-
"current_operations": {
|
|
5304
|
-
"$ref": "#/components/schemas/Record_string.VDI_OPERATIONS_"
|
|
5305
|
-
},
|
|
5306
|
-
"missing": {
|
|
5307
|
-
"type": "boolean"
|
|
5308
|
-
},
|
|
5309
|
-
"name_description": {
|
|
5310
|
-
"type": "string"
|
|
5311
|
-
},
|
|
5312
|
-
"name_label": {
|
|
5313
|
-
"type": "string"
|
|
5314
|
-
},
|
|
5315
|
-
"other_config": {
|
|
5316
|
-
"$ref": "#/components/schemas/Record_string.string_"
|
|
5317
|
-
},
|
|
5318
|
-
"parent": {
|
|
5319
|
-
"type": "string"
|
|
5320
|
-
},
|
|
5321
|
-
"image_format": {
|
|
5322
|
-
"type": "string"
|
|
5323
|
-
},
|
|
5324
|
-
"size": {
|
|
5325
|
-
"type": "number",
|
|
5326
|
-
"format": "double"
|
|
5327
|
-
},
|
|
5328
|
-
"snapshots": {
|
|
5329
|
-
"items": {
|
|
5330
|
-
"type": "string"
|
|
5331
|
-
},
|
|
5332
|
-
"type": "array"
|
|
5333
|
-
},
|
|
5334
|
-
"tags": {
|
|
5335
|
-
"items": {
|
|
5336
|
-
"type": "string"
|
|
5337
|
-
},
|
|
5338
|
-
"type": "array"
|
|
5339
|
-
},
|
|
5340
|
-
"usage": {
|
|
5341
|
-
"type": "number",
|
|
5342
|
-
"format": "double"
|
|
5343
|
-
},
|
|
5344
|
-
"id": {
|
|
5345
|
-
"type": "string"
|
|
5346
|
-
},
|
|
5347
|
-
"snapshot_time": {
|
|
5348
|
-
"type": "number",
|
|
5349
|
-
"format": "double"
|
|
5350
|
-
},
|
|
5351
|
-
"$snapshot_of": {
|
|
5352
|
-
"type": "string"
|
|
5353
|
-
},
|
|
5354
|
-
"type": {
|
|
5355
|
-
"type": "string",
|
|
5356
|
-
"enum": [
|
|
5357
|
-
"VDI-snapshot"
|
|
5358
|
-
]
|
|
5359
|
-
}
|
|
5384
|
+
"allowedIpv6Addresses": {
|
|
5385
|
+
"items": {
|
|
5386
|
+
"type": "string"
|
|
5360
5387
|
},
|
|
5361
|
-
"type": "
|
|
5388
|
+
"type": "array"
|
|
5389
|
+
},
|
|
5390
|
+
"attached": {
|
|
5391
|
+
"type": "boolean"
|
|
5392
|
+
},
|
|
5393
|
+
"device": {
|
|
5394
|
+
"type": "string"
|
|
5395
|
+
},
|
|
5396
|
+
"id": {
|
|
5397
|
+
"type": "string"
|
|
5398
|
+
},
|
|
5399
|
+
"lockingMode": {
|
|
5400
|
+
"$ref": "#/components/schemas/VIF_LOCKING_MODE"
|
|
5401
|
+
},
|
|
5402
|
+
"MAC": {
|
|
5403
|
+
"type": "string"
|
|
5404
|
+
},
|
|
5405
|
+
"MTU": {
|
|
5406
|
+
"type": "number",
|
|
5407
|
+
"format": "double"
|
|
5408
|
+
},
|
|
5409
|
+
"other_config": {
|
|
5410
|
+
"$ref": "#/components/schemas/Record_string.string_"
|
|
5411
|
+
},
|
|
5412
|
+
"rateLimit": {
|
|
5413
|
+
"type": "number",
|
|
5414
|
+
"format": "double",
|
|
5415
|
+
"description": "In kB/s"
|
|
5416
|
+
},
|
|
5417
|
+
"txChecksumming": {
|
|
5418
|
+
"type": "boolean"
|
|
5419
|
+
},
|
|
5420
|
+
"type": {
|
|
5421
|
+
"type": "string",
|
|
5422
|
+
"enum": [
|
|
5423
|
+
"VIF"
|
|
5424
|
+
]
|
|
5362
5425
|
}
|
|
5363
|
-
|
|
5426
|
+
},
|
|
5427
|
+
"type": "object",
|
|
5364
5428
|
"description": "Make all properties in T optional"
|
|
5365
5429
|
},
|
|
5366
|
-
"
|
|
5430
|
+
"WithHref_Partial_UnbrandedXoVif__": {
|
|
5367
5431
|
"allOf": [
|
|
5368
5432
|
{
|
|
5369
|
-
"$ref": "#/components/schemas/
|
|
5433
|
+
"$ref": "#/components/schemas/Partial_UnbrandedXoVif_"
|
|
5370
5434
|
},
|
|
5371
5435
|
{
|
|
5372
5436
|
"properties": {
|
|
@@ -5381,7 +5445,7 @@
|
|
|
5381
5445
|
}
|
|
5382
5446
|
]
|
|
5383
5447
|
},
|
|
5384
|
-
"
|
|
5448
|
+
"SendObjects_Partial_UnbrandedXoVif__": {
|
|
5385
5449
|
"anyOf": [
|
|
5386
5450
|
{
|
|
5387
5451
|
"items": {
|
|
@@ -5391,7 +5455,7 @@
|
|
|
5391
5455
|
},
|
|
5392
5456
|
{
|
|
5393
5457
|
"items": {
|
|
5394
|
-
"$ref": "#/components/schemas/
|
|
5458
|
+
"$ref": "#/components/schemas/WithHref_Partial_UnbrandedXoVif__"
|
|
5395
5459
|
},
|
|
5396
5460
|
"type": "array"
|
|
5397
5461
|
},
|
|
@@ -5400,126 +5464,7 @@
|
|
|
5400
5464
|
}
|
|
5401
5465
|
]
|
|
5402
5466
|
},
|
|
5403
|
-
"
|
|
5404
|
-
"type": "string",
|
|
5405
|
-
"enum": [
|
|
5406
|
-
"disabled",
|
|
5407
|
-
"locked",
|
|
5408
|
-
"network_default",
|
|
5409
|
-
"unlocked"
|
|
5410
|
-
]
|
|
5411
|
-
},
|
|
5412
|
-
"Partial_UnbrandedXoVif_": {
|
|
5413
|
-
"properties": {
|
|
5414
|
-
"$pool": {
|
|
5415
|
-
"type": "string"
|
|
5416
|
-
},
|
|
5417
|
-
"$poolId": {
|
|
5418
|
-
"type": "string",
|
|
5419
|
-
"deprecated": true
|
|
5420
|
-
},
|
|
5421
|
-
"_xapiRef": {
|
|
5422
|
-
"type": "string"
|
|
5423
|
-
},
|
|
5424
|
-
"uuid": {
|
|
5425
|
-
"type": "string"
|
|
5426
|
-
},
|
|
5427
|
-
"$VM": {
|
|
5428
|
-
"type": "string"
|
|
5429
|
-
},
|
|
5430
|
-
"$network": {
|
|
5431
|
-
"type": "string"
|
|
5432
|
-
},
|
|
5433
|
-
"allowedIpv4Addresses": {
|
|
5434
|
-
"items": {
|
|
5435
|
-
"type": "string"
|
|
5436
|
-
},
|
|
5437
|
-
"type": "array"
|
|
5438
|
-
},
|
|
5439
|
-
"allowedIpv6Addresses": {
|
|
5440
|
-
"items": {
|
|
5441
|
-
"type": "string"
|
|
5442
|
-
},
|
|
5443
|
-
"type": "array"
|
|
5444
|
-
},
|
|
5445
|
-
"attached": {
|
|
5446
|
-
"type": "boolean"
|
|
5447
|
-
},
|
|
5448
|
-
"device": {
|
|
5449
|
-
"type": "string"
|
|
5450
|
-
},
|
|
5451
|
-
"id": {
|
|
5452
|
-
"type": "string"
|
|
5453
|
-
},
|
|
5454
|
-
"lockingMode": {
|
|
5455
|
-
"$ref": "#/components/schemas/VIF_LOCKING_MODE"
|
|
5456
|
-
},
|
|
5457
|
-
"MAC": {
|
|
5458
|
-
"type": "string"
|
|
5459
|
-
},
|
|
5460
|
-
"MTU": {
|
|
5461
|
-
"type": "number",
|
|
5462
|
-
"format": "double"
|
|
5463
|
-
},
|
|
5464
|
-
"other_config": {
|
|
5465
|
-
"$ref": "#/components/schemas/Record_string.string_"
|
|
5466
|
-
},
|
|
5467
|
-
"rateLimit": {
|
|
5468
|
-
"type": "number",
|
|
5469
|
-
"format": "double",
|
|
5470
|
-
"description": "In kB/s"
|
|
5471
|
-
},
|
|
5472
|
-
"txChecksumming": {
|
|
5473
|
-
"type": "boolean"
|
|
5474
|
-
},
|
|
5475
|
-
"type": {
|
|
5476
|
-
"type": "string",
|
|
5477
|
-
"enum": [
|
|
5478
|
-
"VIF"
|
|
5479
|
-
]
|
|
5480
|
-
}
|
|
5481
|
-
},
|
|
5482
|
-
"type": "object",
|
|
5483
|
-
"description": "Make all properties in T optional"
|
|
5484
|
-
},
|
|
5485
|
-
"WithHref_Partial_UnbrandedXoVif__": {
|
|
5486
|
-
"allOf": [
|
|
5487
|
-
{
|
|
5488
|
-
"$ref": "#/components/schemas/Partial_UnbrandedXoVif_"
|
|
5489
|
-
},
|
|
5490
|
-
{
|
|
5491
|
-
"properties": {
|
|
5492
|
-
"href": {
|
|
5493
|
-
"type": "string"
|
|
5494
|
-
}
|
|
5495
|
-
},
|
|
5496
|
-
"required": [
|
|
5497
|
-
"href"
|
|
5498
|
-
],
|
|
5499
|
-
"type": "object"
|
|
5500
|
-
}
|
|
5501
|
-
]
|
|
5502
|
-
},
|
|
5503
|
-
"SendObjects_Partial_UnbrandedXoVif__": {
|
|
5504
|
-
"anyOf": [
|
|
5505
|
-
{
|
|
5506
|
-
"items": {
|
|
5507
|
-
"type": "string"
|
|
5508
|
-
},
|
|
5509
|
-
"type": "array"
|
|
5510
|
-
},
|
|
5511
|
-
{
|
|
5512
|
-
"items": {
|
|
5513
|
-
"$ref": "#/components/schemas/WithHref_Partial_UnbrandedXoVif__"
|
|
5514
|
-
},
|
|
5515
|
-
"type": "array"
|
|
5516
|
-
},
|
|
5517
|
-
{
|
|
5518
|
-
"$ref": "#/components/schemas/NdjsonStream"
|
|
5519
|
-
}
|
|
5520
|
-
]
|
|
5521
|
-
},
|
|
5522
|
-
"Unbrand_XoVif_": {
|
|
5467
|
+
"Unbrand_XoVif_": {
|
|
5523
5468
|
"properties": {
|
|
5524
5469
|
"$pool": {
|
|
5525
5470
|
"type": "string"
|
|
@@ -5726,6 +5671,32 @@
|
|
|
5726
5671
|
],
|
|
5727
5672
|
"type": "object"
|
|
5728
5673
|
},
|
|
5674
|
+
"CreateActionReturnType__id-Unbrand_XoVdi__91_id_93___": {
|
|
5675
|
+
"anyOf": [
|
|
5676
|
+
{
|
|
5677
|
+
"properties": {
|
|
5678
|
+
"taskId": {
|
|
5679
|
+
"type": "string"
|
|
5680
|
+
}
|
|
5681
|
+
},
|
|
5682
|
+
"required": [
|
|
5683
|
+
"taskId"
|
|
5684
|
+
],
|
|
5685
|
+
"type": "object"
|
|
5686
|
+
},
|
|
5687
|
+
{
|
|
5688
|
+
"properties": {
|
|
5689
|
+
"id": {
|
|
5690
|
+
"type": "string"
|
|
5691
|
+
}
|
|
5692
|
+
},
|
|
5693
|
+
"required": [
|
|
5694
|
+
"id"
|
|
5695
|
+
],
|
|
5696
|
+
"type": "object"
|
|
5697
|
+
}
|
|
5698
|
+
]
|
|
5699
|
+
},
|
|
5729
5700
|
"Unbrand_XoVdiSnapshot_": {
|
|
5730
5701
|
"properties": {
|
|
5731
5702
|
"$pool": {
|
|
@@ -5838,6 +5809,58 @@
|
|
|
5838
5809
|
],
|
|
5839
5810
|
"type": "object"
|
|
5840
5811
|
},
|
|
5812
|
+
"VBD_TYPE": {
|
|
5813
|
+
"type": "string",
|
|
5814
|
+
"enum": [
|
|
5815
|
+
"CD",
|
|
5816
|
+
"Disk",
|
|
5817
|
+
"Floppy"
|
|
5818
|
+
]
|
|
5819
|
+
},
|
|
5820
|
+
"VBD_MODE": {
|
|
5821
|
+
"type": "string",
|
|
5822
|
+
"enum": [
|
|
5823
|
+
"RO",
|
|
5824
|
+
"RW"
|
|
5825
|
+
]
|
|
5826
|
+
},
|
|
5827
|
+
"Pick_Unbrand_Parameters_Xapi_91_VBD_create_93___91_0_93__.Exclude_keyofUnbrand_Parameters_Xapi_91_VBD_create_93___91_0_93__.VM-or-VDI__": {
|
|
5828
|
+
"properties": {
|
|
5829
|
+
"type": {
|
|
5830
|
+
"$ref": "#/components/schemas/VBD_TYPE"
|
|
5831
|
+
},
|
|
5832
|
+
"other_config": {
|
|
5833
|
+
"$ref": "#/components/schemas/Record_string.string_"
|
|
5834
|
+
},
|
|
5835
|
+
"mode": {
|
|
5836
|
+
"$ref": "#/components/schemas/VBD_MODE"
|
|
5837
|
+
},
|
|
5838
|
+
"bootable": {
|
|
5839
|
+
"type": "boolean"
|
|
5840
|
+
},
|
|
5841
|
+
"empty": {
|
|
5842
|
+
"type": "boolean"
|
|
5843
|
+
},
|
|
5844
|
+
"qos_algorithm_params": {
|
|
5845
|
+
"$ref": "#/components/schemas/Record_string.string_"
|
|
5846
|
+
},
|
|
5847
|
+
"qos_algorithm_type": {
|
|
5848
|
+
"type": "string"
|
|
5849
|
+
},
|
|
5850
|
+
"unpluggable": {
|
|
5851
|
+
"type": "boolean"
|
|
5852
|
+
},
|
|
5853
|
+
"userdevice": {
|
|
5854
|
+
"type": "string"
|
|
5855
|
+
}
|
|
5856
|
+
},
|
|
5857
|
+
"type": "object",
|
|
5858
|
+
"description": "From T, pick a set of properties whose keys are in the union K"
|
|
5859
|
+
},
|
|
5860
|
+
"Omit_Unbrand_Parameters_Xapi_91_VBD_create_93___91_0_93__.VM-or-VDI_": {
|
|
5861
|
+
"$ref": "#/components/schemas/Pick_Unbrand_Parameters_Xapi_91_VBD_create_93___91_0_93__.Exclude_keyofUnbrand_Parameters_Xapi_91_VBD_create_93___91_0_93__.VM-or-VDI__",
|
|
5862
|
+
"description": "Construct a type with the properties of T except for those in type K."
|
|
5863
|
+
},
|
|
5841
5864
|
"Partial_Unbrand_XoVbd__": {
|
|
5842
5865
|
"properties": {
|
|
5843
5866
|
"$pool": {
|
|
@@ -7665,6 +7688,9 @@
|
|
|
7665
7688
|
"name_label": {
|
|
7666
7689
|
"type": "string"
|
|
7667
7690
|
},
|
|
7691
|
+
"secureBoot": {
|
|
7692
|
+
"type": "boolean"
|
|
7693
|
+
},
|
|
7668
7694
|
"clone": {
|
|
7669
7695
|
"type": "boolean"
|
|
7670
7696
|
},
|
|
@@ -7855,6 +7881,9 @@
|
|
|
7855
7881
|
},
|
|
7856
7882
|
"destroy_cloud_config_vdi": {
|
|
7857
7883
|
"type": "boolean"
|
|
7884
|
+
},
|
|
7885
|
+
"createVtpm": {
|
|
7886
|
+
"type": "boolean"
|
|
7858
7887
|
}
|
|
7859
7888
|
},
|
|
7860
7889
|
"required": [
|
|
@@ -12023,7 +12052,7 @@
|
|
|
12023
12052
|
},
|
|
12024
12053
|
"info": {
|
|
12025
12054
|
"title": "@xen-orchestra/rest-api",
|
|
12026
|
-
"version": "0.
|
|
12055
|
+
"version": "0.24.0",
|
|
12027
12056
|
"description": "REST API to manage your XOA",
|
|
12028
12057
|
"license": {
|
|
12029
12058
|
"name": "AGPL-3.0-or-later"
|
|
@@ -12056,61 +12085,51 @@
|
|
|
12056
12085
|
"nPools": 2,
|
|
12057
12086
|
"nHosts": 5,
|
|
12058
12087
|
"backupRepositories": {
|
|
12059
|
-
"
|
|
12060
|
-
"size": {
|
|
12061
|
-
"backups": 286295393792
|
|
12062
|
-
}
|
|
12063
|
-
},
|
|
12064
|
-
"other": {
|
|
12065
|
-
"size": {
|
|
12066
|
-
"available": 62630354944,
|
|
12067
|
-
"backups": 20684251648,
|
|
12068
|
-
"other": 66875031040,
|
|
12069
|
-
"total": 150189637632,
|
|
12070
|
-
"used": 87559282688
|
|
12071
|
-
}
|
|
12072
|
-
}
|
|
12088
|
+
"isEmpty": true
|
|
12073
12089
|
},
|
|
12074
12090
|
"resourcesOverview": {
|
|
12075
12091
|
"nCpus": 52,
|
|
12076
|
-
"memorySize":
|
|
12077
|
-
"srSize":
|
|
12092
|
+
"memorySize": 111669149696,
|
|
12093
|
+
"srSize": 1132693933056
|
|
12078
12094
|
},
|
|
12079
12095
|
"poolsStatus": {
|
|
12080
12096
|
"connected": 2,
|
|
12081
|
-
"
|
|
12082
|
-
"
|
|
12097
|
+
"disconnected": 1,
|
|
12098
|
+
"unreachable": 0,
|
|
12099
|
+
"unknown": 0,
|
|
12100
|
+
"total": 3
|
|
12083
12101
|
},
|
|
12084
|
-
"nHostsEol": 0,
|
|
12085
12102
|
"missingPatches": {
|
|
12086
|
-
"hasAuthorization":
|
|
12087
|
-
"nHostsFailed": 1,
|
|
12088
|
-
"nHostsWithMissingPatches": 4,
|
|
12089
|
-
"nPoolsWithMissingPatches": 2
|
|
12103
|
+
"hasAuthorization": false
|
|
12090
12104
|
},
|
|
12091
12105
|
"storageRepositories": {
|
|
12092
12106
|
"size": {
|
|
12093
|
-
"available":
|
|
12094
|
-
"other":
|
|
12095
|
-
"replicated":
|
|
12096
|
-
"total":
|
|
12097
|
-
"used":
|
|
12107
|
+
"available": 622560659456,
|
|
12108
|
+
"other": 494094312448,
|
|
12109
|
+
"replicated": 16038961152,
|
|
12110
|
+
"total": 1132693933056,
|
|
12111
|
+
"used": 510133273600
|
|
12098
12112
|
}
|
|
12099
12113
|
},
|
|
12100
12114
|
"backups": {
|
|
12101
|
-
"
|
|
12102
|
-
|
|
12103
|
-
|
|
12104
|
-
|
|
12105
|
-
|
|
12106
|
-
|
|
12107
|
-
|
|
12108
|
-
"
|
|
12109
|
-
|
|
12110
|
-
|
|
12111
|
-
|
|
12112
|
-
|
|
12113
|
-
|
|
12115
|
+
"isEmpty": true
|
|
12116
|
+
},
|
|
12117
|
+
"hostsStatus": {
|
|
12118
|
+
"disabled": 0,
|
|
12119
|
+
"running": 4,
|
|
12120
|
+
"halted": 1,
|
|
12121
|
+
"unknown": 0,
|
|
12122
|
+
"total": 5
|
|
12123
|
+
},
|
|
12124
|
+
"vmsStatus": {
|
|
12125
|
+
"active": 11,
|
|
12126
|
+
"inactive": 39,
|
|
12127
|
+
"running": 11,
|
|
12128
|
+
"halted": 39,
|
|
12129
|
+
"paused": 0,
|
|
12130
|
+
"suspended": 0,
|
|
12131
|
+
"unknown": 0,
|
|
12132
|
+
"total": 50
|
|
12114
12133
|
}
|
|
12115
12134
|
}
|
|
12116
12135
|
}
|
|
@@ -17520,7 +17539,7 @@
|
|
|
17520
17539
|
"content": {
|
|
17521
17540
|
"application/json": {
|
|
17522
17541
|
"schema": {
|
|
17523
|
-
"$ref": "#/components/schemas/
|
|
17542
|
+
"$ref": "#/components/schemas/SendObjects_Partial_Unbrand_XoVdi___"
|
|
17524
17543
|
},
|
|
17525
17544
|
"examples": {
|
|
17526
17545
|
"Example 1": {
|
|
@@ -18988,6 +19007,99 @@
|
|
|
18988
19007
|
]
|
|
18989
19008
|
}
|
|
18990
19009
|
},
|
|
19010
|
+
"/vdis/{id}/actions/migrate": {
|
|
19011
|
+
"post": {
|
|
19012
|
+
"operationId": "MigrateVdi",
|
|
19013
|
+
"responses": {
|
|
19014
|
+
"200": {
|
|
19015
|
+
"description": "Ok"
|
|
19016
|
+
},
|
|
19017
|
+
"202": {
|
|
19018
|
+
"description": "Action executed asynchronously",
|
|
19019
|
+
"content": {
|
|
19020
|
+
"application/json": {
|
|
19021
|
+
"schema": {
|
|
19022
|
+
"$ref": "#/components/schemas/CreateActionReturnType__id-Unbrand_XoVdi__91_id_93___"
|
|
19023
|
+
},
|
|
19024
|
+
"examples": {
|
|
19025
|
+
"Example 1": {
|
|
19026
|
+
"value": {
|
|
19027
|
+
"taskId": "0m7kl0j9l"
|
|
19028
|
+
}
|
|
19029
|
+
},
|
|
19030
|
+
"Example 2": {
|
|
19031
|
+
"value": {
|
|
19032
|
+
"id": "5e13f673-760e-41be-826e-620d16b7f43b"
|
|
19033
|
+
}
|
|
19034
|
+
}
|
|
19035
|
+
}
|
|
19036
|
+
}
|
|
19037
|
+
}
|
|
19038
|
+
},
|
|
19039
|
+
"400": {
|
|
19040
|
+
"description": "Bad request"
|
|
19041
|
+
},
|
|
19042
|
+
"401": {
|
|
19043
|
+
"description": "Authentication required"
|
|
19044
|
+
},
|
|
19045
|
+
"404": {
|
|
19046
|
+
"description": "Resource not found"
|
|
19047
|
+
},
|
|
19048
|
+
"500": {
|
|
19049
|
+
"description": "Internal server error, XenServer/XCP-ng error"
|
|
19050
|
+
}
|
|
19051
|
+
},
|
|
19052
|
+
"description": "Migrate a VDI to another SR.\n\nNote: After migration, the VDI will have a new ID. The new ID is returned in the response.",
|
|
19053
|
+
"tags": [
|
|
19054
|
+
"vdis"
|
|
19055
|
+
],
|
|
19056
|
+
"security": [
|
|
19057
|
+
{
|
|
19058
|
+
"*": []
|
|
19059
|
+
}
|
|
19060
|
+
],
|
|
19061
|
+
"parameters": [
|
|
19062
|
+
{
|
|
19063
|
+
"in": "path",
|
|
19064
|
+
"name": "id",
|
|
19065
|
+
"required": true,
|
|
19066
|
+
"schema": {
|
|
19067
|
+
"type": "string"
|
|
19068
|
+
},
|
|
19069
|
+
"example": "c77f9955-c1d2-4b39-aa1c-73cdb2dacb7e"
|
|
19070
|
+
},
|
|
19071
|
+
{
|
|
19072
|
+
"in": "query",
|
|
19073
|
+
"name": "sync",
|
|
19074
|
+
"required": false,
|
|
19075
|
+
"schema": {
|
|
19076
|
+
"type": "boolean"
|
|
19077
|
+
}
|
|
19078
|
+
}
|
|
19079
|
+
],
|
|
19080
|
+
"requestBody": {
|
|
19081
|
+
"required": true,
|
|
19082
|
+
"content": {
|
|
19083
|
+
"application/json": {
|
|
19084
|
+
"schema": {
|
|
19085
|
+
"properties": {
|
|
19086
|
+
"srId": {
|
|
19087
|
+
"type": "string"
|
|
19088
|
+
}
|
|
19089
|
+
},
|
|
19090
|
+
"required": [
|
|
19091
|
+
"srId"
|
|
19092
|
+
],
|
|
19093
|
+
"type": "object"
|
|
19094
|
+
},
|
|
19095
|
+
"example": {
|
|
19096
|
+
"srId": "4cb0d74e-a7c1-0b7d-46e3-09382c012abb"
|
|
19097
|
+
}
|
|
19098
|
+
}
|
|
19099
|
+
}
|
|
19100
|
+
}
|
|
19101
|
+
}
|
|
19102
|
+
},
|
|
18991
19103
|
"/vdis/{id}/tags/{tag}": {
|
|
18992
19104
|
"put": {
|
|
18993
19105
|
"operationId": "PutVdiTag",
|
|
@@ -19759,6 +19871,93 @@
|
|
|
19759
19871
|
}
|
|
19760
19872
|
},
|
|
19761
19873
|
"/vbds": {
|
|
19874
|
+
"post": {
|
|
19875
|
+
"operationId": "CreateVbd",
|
|
19876
|
+
"responses": {
|
|
19877
|
+
"201": {
|
|
19878
|
+
"description": "Resource created",
|
|
19879
|
+
"content": {
|
|
19880
|
+
"application/json": {
|
|
19881
|
+
"schema": {
|
|
19882
|
+
"properties": {
|
|
19883
|
+
"id": {
|
|
19884
|
+
"type": "string"
|
|
19885
|
+
}
|
|
19886
|
+
},
|
|
19887
|
+
"required": [
|
|
19888
|
+
"id"
|
|
19889
|
+
],
|
|
19890
|
+
"type": "object"
|
|
19891
|
+
},
|
|
19892
|
+
"examples": {
|
|
19893
|
+
"Example 1": {
|
|
19894
|
+
"value": {
|
|
19895
|
+
"id": "5f9a4c0b-3548-6171-4396-699a0e56cc60"
|
|
19896
|
+
}
|
|
19897
|
+
}
|
|
19898
|
+
}
|
|
19899
|
+
}
|
|
19900
|
+
}
|
|
19901
|
+
},
|
|
19902
|
+
"400": {
|
|
19903
|
+
"description": "Bad request"
|
|
19904
|
+
},
|
|
19905
|
+
"401": {
|
|
19906
|
+
"description": "Authentication required"
|
|
19907
|
+
},
|
|
19908
|
+
"404": {
|
|
19909
|
+
"description": "Resource not found"
|
|
19910
|
+
},
|
|
19911
|
+
"422": {
|
|
19912
|
+
"description": "Invalid parameters"
|
|
19913
|
+
}
|
|
19914
|
+
},
|
|
19915
|
+
"description": "Create a VBD to attach a VDI to a VM",
|
|
19916
|
+
"tags": [
|
|
19917
|
+
"vbds"
|
|
19918
|
+
],
|
|
19919
|
+
"security": [
|
|
19920
|
+
{
|
|
19921
|
+
"*": []
|
|
19922
|
+
}
|
|
19923
|
+
],
|
|
19924
|
+
"parameters": [],
|
|
19925
|
+
"requestBody": {
|
|
19926
|
+
"required": true,
|
|
19927
|
+
"content": {
|
|
19928
|
+
"application/json": {
|
|
19929
|
+
"schema": {
|
|
19930
|
+
"allOf": [
|
|
19931
|
+
{
|
|
19932
|
+
"$ref": "#/components/schemas/Omit_Unbrand_Parameters_Xapi_91_VBD_create_93___91_0_93__.VM-or-VDI_"
|
|
19933
|
+
},
|
|
19934
|
+
{
|
|
19935
|
+
"properties": {
|
|
19936
|
+
"VDI": {
|
|
19937
|
+
"type": "string"
|
|
19938
|
+
},
|
|
19939
|
+
"VM": {
|
|
19940
|
+
"type": "string"
|
|
19941
|
+
}
|
|
19942
|
+
},
|
|
19943
|
+
"required": [
|
|
19944
|
+
"VDI",
|
|
19945
|
+
"VM"
|
|
19946
|
+
],
|
|
19947
|
+
"type": "object"
|
|
19948
|
+
}
|
|
19949
|
+
]
|
|
19950
|
+
},
|
|
19951
|
+
"example": {
|
|
19952
|
+
"VM": "4fe90510-8da4-1530-38e2-a7876ef374c7",
|
|
19953
|
+
"VDI": "656052a2-2e3e-467b-88ba-63a9ea5e4a54",
|
|
19954
|
+
"bootable": false,
|
|
19955
|
+
"mode": "RW"
|
|
19956
|
+
}
|
|
19957
|
+
}
|
|
19958
|
+
}
|
|
19959
|
+
}
|
|
19960
|
+
},
|
|
19762
19961
|
"get": {
|
|
19763
19962
|
"operationId": "GetVbds",
|
|
19764
19963
|
"responses": {
|
|
@@ -19914,6 +20113,43 @@
|
|
|
19914
20113
|
"example": "f07ab729-c0e8-721c-45ec-f11276377030"
|
|
19915
20114
|
}
|
|
19916
20115
|
]
|
|
20116
|
+
},
|
|
20117
|
+
"delete": {
|
|
20118
|
+
"operationId": "DeleteVbd",
|
|
20119
|
+
"responses": {
|
|
20120
|
+
"204": {
|
|
20121
|
+
"description": "No content"
|
|
20122
|
+
},
|
|
20123
|
+
"400": {
|
|
20124
|
+
"description": "Bad request"
|
|
20125
|
+
},
|
|
20126
|
+
"401": {
|
|
20127
|
+
"description": "Authentication required"
|
|
20128
|
+
},
|
|
20129
|
+
"404": {
|
|
20130
|
+
"description": "Resource not found"
|
|
20131
|
+
}
|
|
20132
|
+
},
|
|
20133
|
+
"description": "Delete a VBD\n\nRemoves the virtual block device, detaching the VDI from the VM.\nThe VDI itself is NOT deleted.",
|
|
20134
|
+
"tags": [
|
|
20135
|
+
"vbds"
|
|
20136
|
+
],
|
|
20137
|
+
"security": [
|
|
20138
|
+
{
|
|
20139
|
+
"*": []
|
|
20140
|
+
}
|
|
20141
|
+
],
|
|
20142
|
+
"parameters": [
|
|
20143
|
+
{
|
|
20144
|
+
"in": "path",
|
|
20145
|
+
"name": "id",
|
|
20146
|
+
"required": true,
|
|
20147
|
+
"schema": {
|
|
20148
|
+
"type": "string"
|
|
20149
|
+
},
|
|
20150
|
+
"example": "f07ab729-c0e8-721c-45ec-f11276377030"
|
|
20151
|
+
}
|
|
20152
|
+
]
|
|
19917
20153
|
}
|
|
19918
20154
|
},
|
|
19919
20155
|
"/vbds/{id}/alarms": {
|
|
@@ -20240,6 +20476,140 @@
|
|
|
20240
20476
|
]
|
|
20241
20477
|
}
|
|
20242
20478
|
},
|
|
20479
|
+
"/vbds/{id}/actions/connect": {
|
|
20480
|
+
"post": {
|
|
20481
|
+
"operationId": "ConnectVbd",
|
|
20482
|
+
"responses": {
|
|
20483
|
+
"202": {
|
|
20484
|
+
"description": "Action executed asynchronously",
|
|
20485
|
+
"content": {
|
|
20486
|
+
"application/json": {
|
|
20487
|
+
"schema": {
|
|
20488
|
+
"$ref": "#/components/schemas/CreateActionReturnType_void_"
|
|
20489
|
+
},
|
|
20490
|
+
"examples": {
|
|
20491
|
+
"Example 1": {
|
|
20492
|
+
"value": {
|
|
20493
|
+
"taskId": "0m7kl0j9l"
|
|
20494
|
+
}
|
|
20495
|
+
}
|
|
20496
|
+
}
|
|
20497
|
+
}
|
|
20498
|
+
}
|
|
20499
|
+
},
|
|
20500
|
+
"204": {
|
|
20501
|
+
"description": "No content"
|
|
20502
|
+
},
|
|
20503
|
+
"400": {
|
|
20504
|
+
"description": "Bad request"
|
|
20505
|
+
},
|
|
20506
|
+
"401": {
|
|
20507
|
+
"description": "Authentication required"
|
|
20508
|
+
},
|
|
20509
|
+
"404": {
|
|
20510
|
+
"description": "Resource not found"
|
|
20511
|
+
},
|
|
20512
|
+
"500": {
|
|
20513
|
+
"description": "Internal server error, XenServer/XCP-ng error"
|
|
20514
|
+
}
|
|
20515
|
+
},
|
|
20516
|
+
"description": "Hotplug the VBD, dynamically attaching it to the running VM",
|
|
20517
|
+
"tags": [
|
|
20518
|
+
"vbds"
|
|
20519
|
+
],
|
|
20520
|
+
"security": [
|
|
20521
|
+
{
|
|
20522
|
+
"*": []
|
|
20523
|
+
}
|
|
20524
|
+
],
|
|
20525
|
+
"parameters": [
|
|
20526
|
+
{
|
|
20527
|
+
"in": "path",
|
|
20528
|
+
"name": "id",
|
|
20529
|
+
"required": true,
|
|
20530
|
+
"schema": {
|
|
20531
|
+
"type": "string"
|
|
20532
|
+
},
|
|
20533
|
+
"example": "f07ab729-c0e8-721c-45ec-f11276377030"
|
|
20534
|
+
},
|
|
20535
|
+
{
|
|
20536
|
+
"in": "query",
|
|
20537
|
+
"name": "sync",
|
|
20538
|
+
"required": false,
|
|
20539
|
+
"schema": {
|
|
20540
|
+
"type": "boolean"
|
|
20541
|
+
}
|
|
20542
|
+
}
|
|
20543
|
+
]
|
|
20544
|
+
}
|
|
20545
|
+
},
|
|
20546
|
+
"/vbds/{id}/actions/disconnect": {
|
|
20547
|
+
"post": {
|
|
20548
|
+
"operationId": "DisconnectVbd",
|
|
20549
|
+
"responses": {
|
|
20550
|
+
"202": {
|
|
20551
|
+
"description": "Action executed asynchronously",
|
|
20552
|
+
"content": {
|
|
20553
|
+
"application/json": {
|
|
20554
|
+
"schema": {
|
|
20555
|
+
"$ref": "#/components/schemas/CreateActionReturnType_void_"
|
|
20556
|
+
},
|
|
20557
|
+
"examples": {
|
|
20558
|
+
"Example 1": {
|
|
20559
|
+
"value": {
|
|
20560
|
+
"taskId": "0m7kl0j9l"
|
|
20561
|
+
}
|
|
20562
|
+
}
|
|
20563
|
+
}
|
|
20564
|
+
}
|
|
20565
|
+
}
|
|
20566
|
+
},
|
|
20567
|
+
"204": {
|
|
20568
|
+
"description": "No content"
|
|
20569
|
+
},
|
|
20570
|
+
"400": {
|
|
20571
|
+
"description": "Bad request"
|
|
20572
|
+
},
|
|
20573
|
+
"401": {
|
|
20574
|
+
"description": "Authentication required"
|
|
20575
|
+
},
|
|
20576
|
+
"404": {
|
|
20577
|
+
"description": "Resource not found"
|
|
20578
|
+
},
|
|
20579
|
+
"500": {
|
|
20580
|
+
"description": "Internal server error, XenServer/XCP-ng error"
|
|
20581
|
+
}
|
|
20582
|
+
},
|
|
20583
|
+
"description": "Hot-unplug the VBD, dynamically detaching it from the running VM",
|
|
20584
|
+
"tags": [
|
|
20585
|
+
"vbds"
|
|
20586
|
+
],
|
|
20587
|
+
"security": [
|
|
20588
|
+
{
|
|
20589
|
+
"*": []
|
|
20590
|
+
}
|
|
20591
|
+
],
|
|
20592
|
+
"parameters": [
|
|
20593
|
+
{
|
|
20594
|
+
"in": "path",
|
|
20595
|
+
"name": "id",
|
|
20596
|
+
"required": true,
|
|
20597
|
+
"schema": {
|
|
20598
|
+
"type": "string"
|
|
20599
|
+
},
|
|
20600
|
+
"example": "f07ab729-c0e8-721c-45ec-f11276377030"
|
|
20601
|
+
},
|
|
20602
|
+
{
|
|
20603
|
+
"in": "query",
|
|
20604
|
+
"name": "sync",
|
|
20605
|
+
"required": false,
|
|
20606
|
+
"schema": {
|
|
20607
|
+
"type": "boolean"
|
|
20608
|
+
}
|
|
20609
|
+
}
|
|
20610
|
+
]
|
|
20611
|
+
}
|
|
20612
|
+
},
|
|
20243
20613
|
"/users": {
|
|
20244
20614
|
"get": {
|
|
20245
20615
|
"operationId": "GetUsers",
|
|
@@ -20873,11 +21243,7 @@
|
|
|
20873
21243
|
"client": {
|
|
20874
21244
|
"properties": {
|
|
20875
21245
|
"id": {
|
|
20876
|
-
"type": "string"
|
|
20877
|
-
"enum": [
|
|
20878
|
-
"string"
|
|
20879
|
-
],
|
|
20880
|
-
"nullable": false
|
|
21246
|
+
"type": "string"
|
|
20881
21247
|
}
|
|
20882
21248
|
},
|
|
20883
21249
|
"type": "object"
|
|
@@ -26664,177 +27030,268 @@
|
|
|
26664
27030
|
"example": "355ee47d-ff4c-4924-3db2-fd86ae629676"
|
|
26665
27031
|
},
|
|
26666
27032
|
{
|
|
26667
|
-
"in": "path",
|
|
26668
|
-
"name": "tag",
|
|
26669
|
-
"required": true,
|
|
27033
|
+
"in": "path",
|
|
27034
|
+
"name": "tag",
|
|
27035
|
+
"required": true,
|
|
27036
|
+
"schema": {
|
|
27037
|
+
"type": "string"
|
|
27038
|
+
},
|
|
27039
|
+
"example": "from-rest-api"
|
|
27040
|
+
}
|
|
27041
|
+
]
|
|
27042
|
+
},
|
|
27043
|
+
"delete": {
|
|
27044
|
+
"operationId": "DeletePoolTag",
|
|
27045
|
+
"responses": {
|
|
27046
|
+
"204": {
|
|
27047
|
+
"description": "No content"
|
|
27048
|
+
},
|
|
27049
|
+
"400": {
|
|
27050
|
+
"description": "Bad request"
|
|
27051
|
+
},
|
|
27052
|
+
"401": {
|
|
27053
|
+
"description": "Authentication required"
|
|
27054
|
+
},
|
|
27055
|
+
"404": {
|
|
27056
|
+
"description": "Resource not found"
|
|
27057
|
+
}
|
|
27058
|
+
},
|
|
27059
|
+
"tags": [
|
|
27060
|
+
"pools"
|
|
27061
|
+
],
|
|
27062
|
+
"security": [
|
|
27063
|
+
{
|
|
27064
|
+
"*": []
|
|
27065
|
+
}
|
|
27066
|
+
],
|
|
27067
|
+
"parameters": [
|
|
27068
|
+
{
|
|
27069
|
+
"in": "path",
|
|
27070
|
+
"name": "id",
|
|
27071
|
+
"required": true,
|
|
27072
|
+
"schema": {
|
|
27073
|
+
"type": "string"
|
|
27074
|
+
},
|
|
27075
|
+
"example": "355ee47d-ff4c-4924-3db2-fd86ae629676"
|
|
27076
|
+
},
|
|
27077
|
+
{
|
|
27078
|
+
"in": "path",
|
|
27079
|
+
"name": "tag",
|
|
27080
|
+
"required": true,
|
|
27081
|
+
"schema": {
|
|
27082
|
+
"type": "string"
|
|
27083
|
+
},
|
|
27084
|
+
"example": "from-rest-api"
|
|
27085
|
+
}
|
|
27086
|
+
]
|
|
27087
|
+
}
|
|
27088
|
+
},
|
|
27089
|
+
"/pools/{id}/tasks": {
|
|
27090
|
+
"get": {
|
|
27091
|
+
"operationId": "GetPoolTasks",
|
|
27092
|
+
"responses": {
|
|
27093
|
+
"200": {
|
|
27094
|
+
"description": "Ok",
|
|
27095
|
+
"content": {
|
|
27096
|
+
"application/json": {
|
|
27097
|
+
"schema": {
|
|
27098
|
+
"$ref": "#/components/schemas/SendObjects_Partial_Unbrand_XoTask___"
|
|
27099
|
+
},
|
|
27100
|
+
"examples": {
|
|
27101
|
+
"Example 1": {
|
|
27102
|
+
"value": [
|
|
27103
|
+
"/rest/v0/tasks/0mdd1basu",
|
|
27104
|
+
"/rest/v0/tasks/0mdd1t24g"
|
|
27105
|
+
]
|
|
27106
|
+
},
|
|
27107
|
+
"Example 2": {
|
|
27108
|
+
"value": [
|
|
27109
|
+
{
|
|
27110
|
+
"status": "failure",
|
|
27111
|
+
"id": "0mdd1basu",
|
|
27112
|
+
"properties": {
|
|
27113
|
+
"method": "xoa.licenses.getSelf",
|
|
27114
|
+
"params": {},
|
|
27115
|
+
"name": "API call: xoa.licenses.getSelf",
|
|
27116
|
+
"userId": "e531b8c9-3876-4ed9-8fd2-0476d5f825c9",
|
|
27117
|
+
"type": "api.call"
|
|
27118
|
+
},
|
|
27119
|
+
"href": "/rest/v0/tasks/0mdd1basu"
|
|
27120
|
+
},
|
|
27121
|
+
{
|
|
27122
|
+
"status": "failure",
|
|
27123
|
+
"id": "0mdd1t24g",
|
|
27124
|
+
"properties": {
|
|
27125
|
+
"method": "xoa.licenses.getSelf",
|
|
27126
|
+
"params": {},
|
|
27127
|
+
"name": "API call: xoa.licenses.getSelf",
|
|
27128
|
+
"userId": "e531b8c9-3876-4ed9-8fd2-0476d5f825c9",
|
|
27129
|
+
"type": "api.call"
|
|
27130
|
+
},
|
|
27131
|
+
"href": "/rest/v0/tasks/0mdd1t24g"
|
|
27132
|
+
}
|
|
27133
|
+
]
|
|
27134
|
+
}
|
|
27135
|
+
}
|
|
27136
|
+
}
|
|
27137
|
+
}
|
|
27138
|
+
},
|
|
27139
|
+
"400": {
|
|
27140
|
+
"description": "Bad request"
|
|
27141
|
+
},
|
|
27142
|
+
"401": {
|
|
27143
|
+
"description": "Authentication required"
|
|
27144
|
+
},
|
|
27145
|
+
"404": {
|
|
27146
|
+
"description": "Resource not found"
|
|
27147
|
+
}
|
|
27148
|
+
},
|
|
27149
|
+
"tags": [
|
|
27150
|
+
"tasks",
|
|
27151
|
+
"pools"
|
|
27152
|
+
],
|
|
27153
|
+
"security": [
|
|
27154
|
+
{
|
|
27155
|
+
"*": []
|
|
27156
|
+
}
|
|
27157
|
+
],
|
|
27158
|
+
"parameters": [
|
|
27159
|
+
{
|
|
27160
|
+
"in": "path",
|
|
27161
|
+
"name": "id",
|
|
27162
|
+
"required": true,
|
|
27163
|
+
"schema": {
|
|
27164
|
+
"type": "string"
|
|
27165
|
+
}
|
|
27166
|
+
},
|
|
27167
|
+
{
|
|
27168
|
+
"in": "query",
|
|
27169
|
+
"name": "fields",
|
|
27170
|
+
"required": false,
|
|
27171
|
+
"schema": {
|
|
27172
|
+
"type": "string"
|
|
27173
|
+
},
|
|
27174
|
+
"example": "id,status,properties"
|
|
27175
|
+
},
|
|
27176
|
+
{
|
|
27177
|
+
"in": "query",
|
|
27178
|
+
"name": "ndjson",
|
|
27179
|
+
"required": false,
|
|
27180
|
+
"schema": {
|
|
27181
|
+
"type": "boolean"
|
|
27182
|
+
}
|
|
27183
|
+
},
|
|
27184
|
+
{
|
|
27185
|
+
"in": "query",
|
|
27186
|
+
"name": "filter",
|
|
27187
|
+
"required": false,
|
|
27188
|
+
"schema": {
|
|
27189
|
+
"type": "string"
|
|
27190
|
+
},
|
|
27191
|
+
"example": "status:failure"
|
|
27192
|
+
},
|
|
27193
|
+
{
|
|
27194
|
+
"in": "query",
|
|
27195
|
+
"name": "limit",
|
|
27196
|
+
"required": false,
|
|
27197
|
+
"schema": {
|
|
27198
|
+
"format": "double",
|
|
27199
|
+
"type": "number"
|
|
27200
|
+
},
|
|
27201
|
+
"example": 42
|
|
27202
|
+
}
|
|
27203
|
+
]
|
|
27204
|
+
}
|
|
27205
|
+
},
|
|
27206
|
+
"/pools/{id}/actions/management_reconfigure": {
|
|
27207
|
+
"post": {
|
|
27208
|
+
"operationId": "ManagementReconfigure",
|
|
27209
|
+
"responses": {
|
|
27210
|
+
"202": {
|
|
27211
|
+
"description": "Action executed asynchronously",
|
|
27212
|
+
"content": {
|
|
27213
|
+
"application/json": {
|
|
27214
|
+
"schema": {
|
|
27215
|
+
"$ref": "#/components/schemas/CreateActionReturnType_void_"
|
|
27216
|
+
},
|
|
27217
|
+
"examples": {
|
|
27218
|
+
"Example 1": {
|
|
27219
|
+
"value": {
|
|
27220
|
+
"taskId": "0m7kl0j9l"
|
|
27221
|
+
}
|
|
27222
|
+
}
|
|
27223
|
+
}
|
|
27224
|
+
}
|
|
27225
|
+
}
|
|
27226
|
+
},
|
|
27227
|
+
"204": {
|
|
27228
|
+
"description": "No content"
|
|
27229
|
+
},
|
|
27230
|
+
"400": {
|
|
27231
|
+
"description": "Bad request"
|
|
27232
|
+
},
|
|
27233
|
+
"401": {
|
|
27234
|
+
"description": "Authentication required"
|
|
27235
|
+
},
|
|
27236
|
+
"404": {
|
|
27237
|
+
"description": "Resource not found"
|
|
27238
|
+
},
|
|
27239
|
+
"422": {
|
|
27240
|
+
"description": "Invalid parameters"
|
|
27241
|
+
},
|
|
27242
|
+
"500": {
|
|
27243
|
+
"description": "Internal server error, XenServer/XCP-ng error"
|
|
27244
|
+
}
|
|
27245
|
+
},
|
|
27246
|
+
"description": "Reconfigure the management interface for all hosts in the pool to use the given network.\n\nEach host in the pool will switch their management interface to a PIF on the specified network.\nThe PIFs on the target network must already have IP addresses configured.",
|
|
27247
|
+
"tags": [
|
|
27248
|
+
"pools"
|
|
27249
|
+
],
|
|
27250
|
+
"security": [
|
|
27251
|
+
{
|
|
27252
|
+
"*": []
|
|
27253
|
+
}
|
|
27254
|
+
],
|
|
27255
|
+
"parameters": [
|
|
27256
|
+
{
|
|
27257
|
+
"in": "path",
|
|
27258
|
+
"name": "id",
|
|
27259
|
+
"required": true,
|
|
27260
|
+
"schema": {
|
|
27261
|
+
"type": "string"
|
|
27262
|
+
},
|
|
27263
|
+
"example": "355ee47d-ff4c-4924-3db2-fd86ae629676"
|
|
27264
|
+
},
|
|
27265
|
+
{
|
|
27266
|
+
"in": "query",
|
|
27267
|
+
"name": "sync",
|
|
27268
|
+
"required": false,
|
|
26670
27269
|
"schema": {
|
|
26671
|
-
"type": "
|
|
26672
|
-
}
|
|
26673
|
-
"example": "from-rest-api"
|
|
26674
|
-
}
|
|
26675
|
-
]
|
|
26676
|
-
},
|
|
26677
|
-
"delete": {
|
|
26678
|
-
"operationId": "DeletePoolTag",
|
|
26679
|
-
"responses": {
|
|
26680
|
-
"204": {
|
|
26681
|
-
"description": "No content"
|
|
26682
|
-
},
|
|
26683
|
-
"400": {
|
|
26684
|
-
"description": "Bad request"
|
|
26685
|
-
},
|
|
26686
|
-
"401": {
|
|
26687
|
-
"description": "Authentication required"
|
|
26688
|
-
},
|
|
26689
|
-
"404": {
|
|
26690
|
-
"description": "Resource not found"
|
|
26691
|
-
}
|
|
26692
|
-
},
|
|
26693
|
-
"tags": [
|
|
26694
|
-
"pools"
|
|
26695
|
-
],
|
|
26696
|
-
"security": [
|
|
26697
|
-
{
|
|
26698
|
-
"*": []
|
|
27270
|
+
"type": "boolean"
|
|
27271
|
+
}
|
|
26699
27272
|
}
|
|
26700
27273
|
],
|
|
26701
|
-
"
|
|
26702
|
-
|
|
26703
|
-
|
|
26704
|
-
"
|
|
26705
|
-
|
|
26706
|
-
|
|
26707
|
-
|
|
26708
|
-
|
|
26709
|
-
"example": "355ee47d-ff4c-4924-3db2-fd86ae629676"
|
|
26710
|
-
},
|
|
26711
|
-
{
|
|
26712
|
-
"in": "path",
|
|
26713
|
-
"name": "tag",
|
|
26714
|
-
"required": true,
|
|
26715
|
-
"schema": {
|
|
26716
|
-
"type": "string"
|
|
26717
|
-
},
|
|
26718
|
-
"example": "from-rest-api"
|
|
26719
|
-
}
|
|
26720
|
-
]
|
|
26721
|
-
}
|
|
26722
|
-
},
|
|
26723
|
-
"/pools/{id}/tasks": {
|
|
26724
|
-
"get": {
|
|
26725
|
-
"operationId": "GetPoolTasks",
|
|
26726
|
-
"responses": {
|
|
26727
|
-
"200": {
|
|
26728
|
-
"description": "Ok",
|
|
26729
|
-
"content": {
|
|
26730
|
-
"application/json": {
|
|
26731
|
-
"schema": {
|
|
26732
|
-
"$ref": "#/components/schemas/SendObjects_Partial_Unbrand_XoTask___"
|
|
26733
|
-
},
|
|
26734
|
-
"examples": {
|
|
26735
|
-
"Example 1": {
|
|
26736
|
-
"value": [
|
|
26737
|
-
"/rest/v0/tasks/0mdd1basu",
|
|
26738
|
-
"/rest/v0/tasks/0mdd1t24g"
|
|
26739
|
-
]
|
|
26740
|
-
},
|
|
26741
|
-
"Example 2": {
|
|
26742
|
-
"value": [
|
|
26743
|
-
{
|
|
26744
|
-
"status": "failure",
|
|
26745
|
-
"id": "0mdd1basu",
|
|
26746
|
-
"properties": {
|
|
26747
|
-
"method": "xoa.licenses.getSelf",
|
|
26748
|
-
"params": {},
|
|
26749
|
-
"name": "API call: xoa.licenses.getSelf",
|
|
26750
|
-
"userId": "e531b8c9-3876-4ed9-8fd2-0476d5f825c9",
|
|
26751
|
-
"type": "api.call"
|
|
26752
|
-
},
|
|
26753
|
-
"href": "/rest/v0/tasks/0mdd1basu"
|
|
26754
|
-
},
|
|
26755
|
-
{
|
|
26756
|
-
"status": "failure",
|
|
26757
|
-
"id": "0mdd1t24g",
|
|
26758
|
-
"properties": {
|
|
26759
|
-
"method": "xoa.licenses.getSelf",
|
|
26760
|
-
"params": {},
|
|
26761
|
-
"name": "API call: xoa.licenses.getSelf",
|
|
26762
|
-
"userId": "e531b8c9-3876-4ed9-8fd2-0476d5f825c9",
|
|
26763
|
-
"type": "api.call"
|
|
26764
|
-
},
|
|
26765
|
-
"href": "/rest/v0/tasks/0mdd1t24g"
|
|
26766
|
-
}
|
|
26767
|
-
]
|
|
27274
|
+
"requestBody": {
|
|
27275
|
+
"required": true,
|
|
27276
|
+
"content": {
|
|
27277
|
+
"application/json": {
|
|
27278
|
+
"schema": {
|
|
27279
|
+
"properties": {
|
|
27280
|
+
"network": {
|
|
27281
|
+
"type": "string"
|
|
26768
27282
|
}
|
|
26769
|
-
}
|
|
27283
|
+
},
|
|
27284
|
+
"required": [
|
|
27285
|
+
"network"
|
|
27286
|
+
],
|
|
27287
|
+
"type": "object"
|
|
27288
|
+
},
|
|
27289
|
+
"example": {
|
|
27290
|
+
"network": "c787b75c-3e0d-70fa-d0c3-cbfd382d7e33"
|
|
26770
27291
|
}
|
|
26771
27292
|
}
|
|
26772
|
-
},
|
|
26773
|
-
"400": {
|
|
26774
|
-
"description": "Bad request"
|
|
26775
|
-
},
|
|
26776
|
-
"401": {
|
|
26777
|
-
"description": "Authentication required"
|
|
26778
|
-
},
|
|
26779
|
-
"404": {
|
|
26780
|
-
"description": "Resource not found"
|
|
26781
|
-
}
|
|
26782
|
-
},
|
|
26783
|
-
"tags": [
|
|
26784
|
-
"tasks",
|
|
26785
|
-
"pools"
|
|
26786
|
-
],
|
|
26787
|
-
"security": [
|
|
26788
|
-
{
|
|
26789
|
-
"*": []
|
|
26790
|
-
}
|
|
26791
|
-
],
|
|
26792
|
-
"parameters": [
|
|
26793
|
-
{
|
|
26794
|
-
"in": "path",
|
|
26795
|
-
"name": "id",
|
|
26796
|
-
"required": true,
|
|
26797
|
-
"schema": {
|
|
26798
|
-
"type": "string"
|
|
26799
|
-
}
|
|
26800
|
-
},
|
|
26801
|
-
{
|
|
26802
|
-
"in": "query",
|
|
26803
|
-
"name": "fields",
|
|
26804
|
-
"required": false,
|
|
26805
|
-
"schema": {
|
|
26806
|
-
"type": "string"
|
|
26807
|
-
},
|
|
26808
|
-
"example": "id,status,properties"
|
|
26809
|
-
},
|
|
26810
|
-
{
|
|
26811
|
-
"in": "query",
|
|
26812
|
-
"name": "ndjson",
|
|
26813
|
-
"required": false,
|
|
26814
|
-
"schema": {
|
|
26815
|
-
"type": "boolean"
|
|
26816
|
-
}
|
|
26817
|
-
},
|
|
26818
|
-
{
|
|
26819
|
-
"in": "query",
|
|
26820
|
-
"name": "filter",
|
|
26821
|
-
"required": false,
|
|
26822
|
-
"schema": {
|
|
26823
|
-
"type": "string"
|
|
26824
|
-
},
|
|
26825
|
-
"example": "status:failure"
|
|
26826
|
-
},
|
|
26827
|
-
{
|
|
26828
|
-
"in": "query",
|
|
26829
|
-
"name": "limit",
|
|
26830
|
-
"required": false,
|
|
26831
|
-
"schema": {
|
|
26832
|
-
"format": "double",
|
|
26833
|
-
"type": "number"
|
|
26834
|
-
},
|
|
26835
|
-
"example": 42
|
|
26836
27293
|
}
|
|
26837
|
-
|
|
27294
|
+
}
|
|
26838
27295
|
}
|
|
26839
27296
|
},
|
|
26840
27297
|
"/pifs": {
|
|
@@ -35838,6 +36295,97 @@
|
|
|
35838
36295
|
]
|
|
35839
36296
|
}
|
|
35840
36297
|
},
|
|
36298
|
+
"/hosts/{id}/actions/management_reconfigure": {
|
|
36299
|
+
"post": {
|
|
36300
|
+
"operationId": "ManagementReconfigure",
|
|
36301
|
+
"responses": {
|
|
36302
|
+
"202": {
|
|
36303
|
+
"description": "Action executed asynchronously",
|
|
36304
|
+
"content": {
|
|
36305
|
+
"application/json": {
|
|
36306
|
+
"schema": {
|
|
36307
|
+
"$ref": "#/components/schemas/CreateActionReturnType_void_"
|
|
36308
|
+
},
|
|
36309
|
+
"examples": {
|
|
36310
|
+
"Example 1": {
|
|
36311
|
+
"value": {
|
|
36312
|
+
"taskId": "0m7kl0j9l"
|
|
36313
|
+
}
|
|
36314
|
+
}
|
|
36315
|
+
}
|
|
36316
|
+
}
|
|
36317
|
+
}
|
|
36318
|
+
},
|
|
36319
|
+
"204": {
|
|
36320
|
+
"description": "No content"
|
|
36321
|
+
},
|
|
36322
|
+
"400": {
|
|
36323
|
+
"description": "Bad request"
|
|
36324
|
+
},
|
|
36325
|
+
"401": {
|
|
36326
|
+
"description": "Authentication required"
|
|
36327
|
+
},
|
|
36328
|
+
"404": {
|
|
36329
|
+
"description": "Resource not found"
|
|
36330
|
+
},
|
|
36331
|
+
"422": {
|
|
36332
|
+
"description": "Invalid parameters"
|
|
36333
|
+
},
|
|
36334
|
+
"500": {
|
|
36335
|
+
"description": "Internal server error, XenServer/XCP-ng error"
|
|
36336
|
+
}
|
|
36337
|
+
},
|
|
36338
|
+
"description": "Reconfigure the management interface of the host to use the given PIF.\n\nThe target PIF must already have an IP address configured.",
|
|
36339
|
+
"tags": [
|
|
36340
|
+
"hosts"
|
|
36341
|
+
],
|
|
36342
|
+
"security": [
|
|
36343
|
+
{
|
|
36344
|
+
"*": []
|
|
36345
|
+
}
|
|
36346
|
+
],
|
|
36347
|
+
"parameters": [
|
|
36348
|
+
{
|
|
36349
|
+
"in": "path",
|
|
36350
|
+
"name": "id",
|
|
36351
|
+
"required": true,
|
|
36352
|
+
"schema": {
|
|
36353
|
+
"type": "string"
|
|
36354
|
+
},
|
|
36355
|
+
"example": "b61a5c92-700e-4966-a13b-00633f03eea8"
|
|
36356
|
+
},
|
|
36357
|
+
{
|
|
36358
|
+
"in": "query",
|
|
36359
|
+
"name": "sync",
|
|
36360
|
+
"required": false,
|
|
36361
|
+
"schema": {
|
|
36362
|
+
"type": "boolean"
|
|
36363
|
+
}
|
|
36364
|
+
}
|
|
36365
|
+
],
|
|
36366
|
+
"requestBody": {
|
|
36367
|
+
"required": true,
|
|
36368
|
+
"content": {
|
|
36369
|
+
"application/json": {
|
|
36370
|
+
"schema": {
|
|
36371
|
+
"properties": {
|
|
36372
|
+
"pif": {
|
|
36373
|
+
"type": "string"
|
|
36374
|
+
}
|
|
36375
|
+
},
|
|
36376
|
+
"required": [
|
|
36377
|
+
"pif"
|
|
36378
|
+
],
|
|
36379
|
+
"type": "object"
|
|
36380
|
+
},
|
|
36381
|
+
"example": {
|
|
36382
|
+
"pif": "d9e42451-3794-089f-de81-4ee0e6137bee"
|
|
36383
|
+
}
|
|
36384
|
+
}
|
|
36385
|
+
}
|
|
36386
|
+
}
|
|
36387
|
+
}
|
|
36388
|
+
},
|
|
35841
36389
|
"/groups": {
|
|
35842
36390
|
"get": {
|
|
35843
36391
|
"operationId": "GetGroups",
|