@xen-orchestra/rest-api 0.11.0 → 0.12.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.
Files changed (30) hide show
  1. package/dist/abstract-classes/base-controller.mjs +2 -2
  2. package/dist/alarms/alarm.controller.mjs +10 -60
  3. package/dist/alarms/alarm.service.mjs +67 -0
  4. package/dist/backup-repositories/backup-repositories.controller.mjs +61 -0
  5. package/dist/groups/group.controller.mjs +15 -2
  6. package/dist/helpers/object-wrapper.helper.mjs +8 -1
  7. package/dist/helpers/utils.helper.mjs +74 -1
  8. package/dist/hosts/host.controller.mjs +57 -2
  9. package/dist/hosts/host.service.mjs +78 -0
  10. package/dist/ioc/ioc.mjs +25 -1
  11. package/dist/messages/message.controller.mjs +1 -1
  12. package/dist/networks/network.controller.mjs +34 -2
  13. package/dist/open-api/oa-examples/alarm.oa-example.mjs +12 -0
  14. package/dist/open-api/oa-examples/backup-repository.oa-example.mjs +31 -0
  15. package/dist/open-api/oa-examples/pool.oa-example.mjs +201 -0
  16. package/dist/open-api/oa-examples/user.oa-example.mjs +1 -0
  17. package/dist/open-api/routes/routes.js +585 -76
  18. package/dist/pifs/pif.controller.mjs +34 -2
  19. package/dist/pools/pool.controller.mjs +70 -3
  20. package/dist/pools/pool.service.mjs +212 -0
  21. package/dist/rest-api/rest-api.mjs +6 -1
  22. package/dist/srs/sr.controller.mjs +34 -2
  23. package/dist/users/user.controller.mjs +32 -3
  24. package/dist/vdi-snapshots/vdi-snapshot.controller.mjs +34 -2
  25. package/dist/vdis/vdi.controller.mjs +34 -2
  26. package/dist/vm-templates/vm-template.controller.mjs +34 -2
  27. package/dist/vms/vm.service.mjs +40 -0
  28. package/dist/xoa/xoa.service.mjs +96 -110
  29. package/open-api/spec/swagger.json +3248 -1133
  30. package/package.json +3 -3
@@ -7,6 +7,21 @@
7
7
  "requestBodies": {},
8
8
  "responses": {},
9
9
  "schemas": {
10
+ "PromiseWriteInStreamError": {
11
+ "properties": {
12
+ "error": {
13
+ "type": "boolean",
14
+ "enum": [
15
+ true
16
+ ],
17
+ "nullable": false
18
+ }
19
+ },
20
+ "required": [
21
+ "error"
22
+ ],
23
+ "type": "object"
24
+ },
10
25
  "DashboardBackupRepositoriesSizeInfo": {
11
26
  "properties": {
12
27
  "other": {
@@ -35,11 +50,7 @@
35
50
  }
36
51
  },
37
52
  "required": [
38
- "used",
39
- "total",
40
- "other",
41
- "backups",
42
- "available"
53
+ "backups"
43
54
  ],
44
55
  "type": "object"
45
56
  }
@@ -70,10 +81,6 @@
70
81
  "type": "object"
71
82
  }
72
83
  },
73
- "required": [
74
- "other",
75
- "s3"
76
- ],
77
84
  "type": "object"
78
85
  },
79
86
  "BACKUP_TYPE": {
@@ -229,50 +236,71 @@
229
236
  "type": "object"
230
237
  },
231
238
  "backups": {
232
- "$ref": "#/components/schemas/DashboardBackupsInfo"
239
+ "anyOf": [
240
+ {
241
+ "$ref": "#/components/schemas/DashboardBackupsInfo"
242
+ },
243
+ {
244
+ "$ref": "#/components/schemas/PromiseWriteInStreamError"
245
+ }
246
+ ]
233
247
  },
234
248
  "storageRepositories": {
235
- "properties": {
236
- "size": {
249
+ "anyOf": [
250
+ {
237
251
  "properties": {
238
- "used": {
239
- "type": "number",
240
- "format": "double"
241
- },
242
- "total": {
243
- "type": "number",
244
- "format": "double"
245
- },
246
- "replicated": {
247
- "type": "number",
248
- "format": "double"
249
- },
250
- "other": {
251
- "type": "number",
252
- "format": "double"
253
- },
254
- "available": {
255
- "type": "number",
256
- "format": "double"
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"
257
283
  }
258
284
  },
259
285
  "required": [
260
- "used",
261
- "total",
262
- "replicated",
263
- "other",
264
- "available"
286
+ "size"
265
287
  ],
266
288
  "type": "object"
289
+ },
290
+ {
291
+ "$ref": "#/components/schemas/PromiseWriteInStreamError"
267
292
  }
268
- },
269
- "required": [
270
- "size"
271
- ],
272
- "type": "object"
293
+ ]
273
294
  },
274
295
  "backupRepositories": {
275
- "$ref": "#/components/schemas/DashboardBackupRepositoriesSizeInfo"
296
+ "anyOf": [
297
+ {
298
+ "$ref": "#/components/schemas/DashboardBackupRepositoriesSizeInfo"
299
+ },
300
+ {
301
+ "$ref": "#/components/schemas/PromiseWriteInStreamError"
302
+ }
303
+ ]
276
304
  },
277
305
  "missingPatches": {
278
306
  "anyOf": [
@@ -378,8 +406,15 @@
378
406
  "type": "object"
379
407
  },
380
408
  "nHostsEol": {
381
- "type": "number",
382
- "format": "double"
409
+ "anyOf": [
410
+ {
411
+ "type": "number",
412
+ "format": "double"
413
+ },
414
+ {
415
+ "$ref": "#/components/schemas/PromiseWriteInStreamError"
416
+ }
417
+ ]
383
418
  },
384
419
  "nHosts": {
385
420
  "type": "number",
@@ -2294,6 +2329,135 @@
2294
2329
  ],
2295
2330
  "type": "object"
2296
2331
  },
2332
+ "Partial_Unbrand_XoAlarm__": {
2333
+ "properties": {
2334
+ "$pool": {
2335
+ "type": "string"
2336
+ },
2337
+ "$poolId": {
2338
+ "type": "string",
2339
+ "deprecated": true
2340
+ },
2341
+ "_xapiRef": {
2342
+ "type": "string"
2343
+ },
2344
+ "uuid": {
2345
+ "type": "string"
2346
+ },
2347
+ "id": {
2348
+ "type": "string"
2349
+ },
2350
+ "type": {
2351
+ "type": "string",
2352
+ "enum": [
2353
+ "message"
2354
+ ]
2355
+ },
2356
+ "name": {
2357
+ "type": "string"
2358
+ },
2359
+ "time": {
2360
+ "type": "number",
2361
+ "format": "double"
2362
+ },
2363
+ "body": {
2364
+ "properties": {
2365
+ "name": {
2366
+ "type": "string"
2367
+ },
2368
+ "value": {
2369
+ "type": "string"
2370
+ }
2371
+ },
2372
+ "required": [
2373
+ "name"
2374
+ ],
2375
+ "type": "object"
2376
+ },
2377
+ "object": {
2378
+ "properties": {
2379
+ "href": {
2380
+ "type": "string"
2381
+ },
2382
+ "uuid": {
2383
+ "type": "string"
2384
+ },
2385
+ "type": {
2386
+ "type": "string",
2387
+ "enum": [
2388
+ "pool",
2389
+ "VBD",
2390
+ "host",
2391
+ "VIF",
2392
+ "VTPM",
2393
+ "VM",
2394
+ "VM-snapshot",
2395
+ "SR",
2396
+ "VM-template",
2397
+ "message",
2398
+ "vgpu",
2399
+ "gpuGroup",
2400
+ "network",
2401
+ "PCI",
2402
+ "PGPU",
2403
+ "PIF",
2404
+ "VDI",
2405
+ "VDI-snapshot",
2406
+ "VDI-unmanaged",
2407
+ "vgpuType",
2408
+ "VM-controller",
2409
+ "SM",
2410
+ "unknown"
2411
+ ]
2412
+ }
2413
+ },
2414
+ "required": [
2415
+ "uuid",
2416
+ "type"
2417
+ ],
2418
+ "type": "object"
2419
+ }
2420
+ },
2421
+ "type": "object",
2422
+ "description": "Make all properties in T optional"
2423
+ },
2424
+ "WithHref_Partial_Unbrand_XoAlarm___": {
2425
+ "allOf": [
2426
+ {
2427
+ "$ref": "#/components/schemas/Partial_Unbrand_XoAlarm__"
2428
+ },
2429
+ {
2430
+ "properties": {
2431
+ "href": {
2432
+ "type": "string"
2433
+ }
2434
+ },
2435
+ "required": [
2436
+ "href"
2437
+ ],
2438
+ "type": "object"
2439
+ }
2440
+ ]
2441
+ },
2442
+ "SendObjects_Partial_Unbrand_XoAlarm___": {
2443
+ "anyOf": [
2444
+ {
2445
+ "items": {
2446
+ "type": "string"
2447
+ },
2448
+ "type": "array"
2449
+ },
2450
+ {
2451
+ "items": {
2452
+ "$ref": "#/components/schemas/WithHref_Partial_Unbrand_XoAlarm___"
2453
+ },
2454
+ "type": "array"
2455
+ },
2456
+ {
2457
+ "$ref": "#/components/schemas/NdjsonStream"
2458
+ }
2459
+ ]
2460
+ },
2297
2461
  "Partial_Unbrand_XoVmSnapshot__": {
2298
2462
  "properties": {
2299
2463
  "$pool": {
@@ -4826,9 +4990,9 @@
4826
4990
  "allocationStrategy": {
4827
4991
  "type": "string",
4828
4992
  "enum": [
4993
+ "unknown",
4829
4994
  "thin",
4830
- "thick",
4831
- "unknown"
4995
+ "thick"
4832
4996
  ]
4833
4997
  },
4834
4998
  "content_type": {
@@ -4959,9 +5123,9 @@
4959
5123
  "allocationStrategy": {
4960
5124
  "type": "string",
4961
5125
  "enum": [
5126
+ "unknown",
4962
5127
  "thin",
4963
- "thick",
4964
- "unknown"
5128
+ "thick"
4965
5129
  ]
4966
5130
  },
4967
5131
  "content_type": {
@@ -5803,12 +5967,28 @@
5803
5967
  },
5804
5968
  "Unbrand_CreateVmBody_": {
5805
5969
  "properties": {
5970
+ "memory": {
5971
+ "type": "number",
5972
+ "format": "double"
5973
+ },
5974
+ "name_description": {
5975
+ "type": "string"
5976
+ },
5806
5977
  "name_label": {
5807
5978
  "type": "string"
5808
5979
  },
5809
5980
  "clone": {
5810
5981
  "type": "boolean"
5811
5982
  },
5983
+ "gpuGroup": {
5984
+ "type": "string"
5985
+ },
5986
+ "vgpuType": {
5987
+ "type": "string"
5988
+ },
5989
+ "autoPoweron": {
5990
+ "type": "boolean"
5991
+ },
5812
5992
  "vifs": {
5813
5993
  "items": {
5814
5994
  "anyOf": [
@@ -5868,12 +6048,6 @@
5868
6048
  },
5869
6049
  "type": "array"
5870
6050
  },
5871
- "vgpuType": {
5872
- "type": "string"
5873
- },
5874
- "gpuGroup": {
5875
- "type": "string"
5876
- },
5877
6051
  "copyHostBiosStrings": {
5878
6052
  "type": "boolean"
5879
6053
  },
@@ -6124,305 +6298,753 @@
6124
6298
  "XapiPoolStats": {
6125
6299
  "$ref": "#/components/schemas/Record_XoHost-at-id.XapiHostStats-or-_error-Record_string.unknown___"
6126
6300
  },
6127
- "Branded_PIF_": {
6128
- "allOf": [
6129
- {
6301
+ "XcpPatches": {
6302
+ "properties": {
6303
+ "version": {
6130
6304
  "type": "string"
6131
6305
  },
6132
- {
6306
+ "url": {
6307
+ "type": "string"
6308
+ },
6309
+ "size": {
6310
+ "type": "number",
6311
+ "format": "double"
6312
+ },
6313
+ "release": {
6314
+ "type": "string"
6315
+ },
6316
+ "name": {
6317
+ "type": "string"
6318
+ },
6319
+ "license": {
6320
+ "type": "string"
6321
+ },
6322
+ "description": {
6323
+ "type": "string"
6324
+ },
6325
+ "changelog": {
6133
6326
  "properties": {
6134
- "undefined": {
6135
- "type": "string",
6136
- "enum": [
6137
- "PIF"
6138
- ],
6139
- "nullable": false
6140
- }
6141
- },
6142
- "required": [
6143
- null
6327
+ "description": {
6328
+ "type": "string"
6329
+ },
6330
+ "date": {
6331
+ "type": "number",
6332
+ "format": "double"
6333
+ },
6334
+ "author": {
6335
+ "type": "string"
6336
+ }
6337
+ },
6338
+ "required": [
6339
+ "description",
6340
+ "date",
6341
+ "author"
6144
6342
  ],
6145
6343
  "type": "object"
6146
6344
  }
6147
- ]
6148
- },
6149
- "IPV6_CONFIGURATION_MODE": {
6150
- "type": "string",
6151
- "enum": [
6152
- "DHCP",
6153
- "Autoconf",
6154
- "None",
6155
- "Static"
6156
- ]
6157
- },
6158
- "IP_CONFIGURATION_MODE": {
6159
- "type": "string",
6160
- "enum": [
6161
- "DHCP",
6162
- "None",
6163
- "Static"
6164
- ]
6165
- },
6166
- "PRIMARY_ADDRESS_TYPE": {
6167
- "type": "string",
6168
- "enum": [
6169
- "IPv4",
6170
- "IPv6"
6171
- ]
6345
+ },
6346
+ "required": [
6347
+ "version",
6348
+ "url",
6349
+ "size",
6350
+ "release",
6351
+ "name",
6352
+ "license",
6353
+ "description"
6354
+ ],
6355
+ "type": "object"
6172
6356
  },
6173
- "Partial_UnbrandedXoPif_": {
6357
+ "XsPatches": {
6174
6358
  "properties": {
6175
- "$pool": {
6176
- "type": "string"
6177
- },
6178
- "$poolId": {
6179
- "type": "string",
6180
- "deprecated": true
6181
- },
6182
- "_xapiRef": {
6183
- "type": "string"
6184
- },
6185
6359
  "uuid": {
6186
6360
  "type": "string"
6187
6361
  },
6188
- "$host": {
6189
- "type": "string"
6190
- },
6191
- "$network": {
6362
+ "url": {
6192
6363
  "type": "string"
6193
6364
  },
6194
- "attached": {
6365
+ "upgrade": {
6195
6366
  "type": "boolean"
6196
6367
  },
6197
- "bondMaster": {
6198
- "type": "string"
6199
- },
6200
- "bondSalves": {
6368
+ "requirements": {
6201
6369
  "items": {
6202
- "$ref": "#/components/schemas/Branded_PIF_"
6370
+ "type": "string"
6203
6371
  },
6204
6372
  "type": "array"
6205
6373
  },
6206
- "carrier": {
6374
+ "paid": {
6207
6375
  "type": "boolean"
6208
6376
  },
6209
- "device": {
6377
+ "id": {
6210
6378
  "type": "string"
6211
6379
  },
6212
- "deviceName": {
6380
+ "name": {
6213
6381
  "type": "string"
6214
6382
  },
6215
- "disallowUnplug": {
6216
- "type": "boolean"
6217
- },
6218
- "dns": {
6383
+ "guidances": {
6219
6384
  "type": "string"
6220
6385
  },
6221
- "gateway": {
6386
+ "documentationUrl": {
6222
6387
  "type": "string"
6223
6388
  },
6224
- "id": {
6389
+ "description": {
6225
6390
  "type": "string"
6226
6391
  },
6227
- "ip": {
6392
+ "date": {
6228
6393
  "type": "string"
6229
6394
  },
6230
- "ipv6": {
6395
+ "conflicts": {
6231
6396
  "items": {
6232
6397
  "type": "string"
6233
6398
  },
6234
6399
  "type": "array"
6235
- },
6236
- "ipv6Mode": {
6237
- "$ref": "#/components/schemas/IPV6_CONFIGURATION_MODE"
6238
- },
6239
- "isBondMaster": {
6240
- "type": "boolean"
6241
- },
6242
- "isBondSlave": {
6243
- "type": "boolean"
6244
- },
6245
- "mac": {
6246
- "type": "string"
6247
- },
6248
- "management": {
6249
- "type": "boolean"
6250
- },
6251
- "mode": {
6252
- "$ref": "#/components/schemas/IP_CONFIGURATION_MODE"
6253
- },
6254
- "mtu": {
6255
- "type": "number",
6256
- "format": "double"
6257
- },
6258
- "netmask": {
6259
- "type": "string"
6260
- },
6261
- "physical": {
6262
- "type": "boolean"
6263
- },
6264
- "primaryAddressType": {
6265
- "$ref": "#/components/schemas/PRIMARY_ADDRESS_TYPE"
6266
- },
6267
- "speed": {
6268
- "type": "number",
6269
- "format": "double"
6270
- },
6271
- "type": {
6272
- "type": "string",
6273
- "enum": [
6274
- "PIF"
6275
- ]
6276
- },
6277
- "vlan": {
6278
- "type": "number",
6279
- "format": "double"
6280
6400
  }
6281
6401
  },
6282
- "type": "object",
6283
- "description": "Make all properties in T optional"
6402
+ "required": [
6403
+ "name",
6404
+ "guidances",
6405
+ "description",
6406
+ "date"
6407
+ ],
6408
+ "type": "object"
6284
6409
  },
6285
- "WithHref_Partial_UnbrandedXoPif__": {
6286
- "allOf": [
6287
- {
6288
- "$ref": "#/components/schemas/Partial_UnbrandedXoPif_"
6289
- },
6290
- {
6410
+ "PoolDashboard": {
6411
+ "properties": {
6412
+ "cpuProvisioning": {
6291
6413
  "properties": {
6292
- "href": {
6293
- "type": "string"
6414
+ "percent": {
6415
+ "type": "number",
6416
+ "format": "double"
6417
+ },
6418
+ "assigned": {
6419
+ "type": "number",
6420
+ "format": "double"
6421
+ },
6422
+ "total": {
6423
+ "type": "number",
6424
+ "format": "double"
6294
6425
  }
6295
6426
  },
6296
6427
  "required": [
6297
- "href"
6428
+ "percent",
6429
+ "assigned",
6430
+ "total"
6298
6431
  ],
6299
6432
  "type": "object"
6300
- }
6301
- ]
6302
- },
6303
- "SendObjects_Partial_UnbrandedXoPif__": {
6304
- "anyOf": [
6305
- {
6306
- "items": {
6307
- "type": "string"
6308
- },
6309
- "type": "array"
6310
6433
  },
6311
- {
6434
+ "alarms": {
6312
6435
  "items": {
6313
- "$ref": "#/components/schemas/WithHref_Partial_UnbrandedXoPif__"
6436
+ "type": "string"
6314
6437
  },
6315
6438
  "type": "array"
6316
6439
  },
6317
- {
6318
- "$ref": "#/components/schemas/NdjsonStream"
6319
- }
6320
- ]
6321
- },
6322
- "Unbrand_XoPif_": {
6323
- "properties": {
6324
- "$pool": {
6325
- "type": "string"
6326
- },
6327
- "$poolId": {
6328
- "type": "string",
6329
- "deprecated": true
6330
- },
6331
- "_xapiRef": {
6332
- "type": "string"
6333
- },
6334
- "uuid": {
6335
- "type": "string"
6336
- },
6337
- "$host": {
6338
- "type": "string"
6339
- },
6340
- "$network": {
6341
- "type": "string"
6342
- },
6343
- "attached": {
6344
- "type": "boolean"
6345
- },
6346
- "bondMaster": {
6347
- "type": "string"
6348
- },
6349
- "bondSalves": {
6350
- "items": {
6351
- "$ref": "#/components/schemas/Branded_PIF_"
6440
+ "srs": {
6441
+ "properties": {
6442
+ "topFiveUsage": {
6443
+ "items": {
6444
+ "properties": {
6445
+ "size": {
6446
+ "type": "number",
6447
+ "format": "double"
6448
+ },
6449
+ "physical_usage": {
6450
+ "type": "number",
6451
+ "format": "double"
6452
+ },
6453
+ "percent": {
6454
+ "type": "number",
6455
+ "format": "double"
6456
+ },
6457
+ "id": {
6458
+ "type": "string"
6459
+ },
6460
+ "name_label": {
6461
+ "type": "string"
6462
+ }
6463
+ },
6464
+ "required": [
6465
+ "size",
6466
+ "physical_usage",
6467
+ "percent",
6468
+ "id",
6469
+ "name_label"
6470
+ ],
6471
+ "type": "object"
6472
+ },
6473
+ "type": "array"
6474
+ }
6352
6475
  },
6353
- "type": "array"
6354
- },
6355
- "carrier": {
6356
- "type": "boolean"
6357
- },
6358
- "device": {
6359
- "type": "string"
6360
- },
6361
- "deviceName": {
6362
- "type": "string"
6363
- },
6364
- "disallowUnplug": {
6365
- "type": "boolean"
6366
- },
6367
- "dns": {
6368
- "type": "string"
6369
- },
6370
- "gateway": {
6371
- "type": "string"
6372
- },
6373
- "id": {
6374
- "type": "string"
6375
- },
6376
- "ip": {
6377
- "type": "string"
6476
+ "required": [
6477
+ "topFiveUsage"
6478
+ ],
6479
+ "type": "object"
6378
6480
  },
6379
- "ipv6": {
6380
- "items": {
6381
- "type": "string"
6382
- },
6383
- "type": "array"
6481
+ "vms": {
6482
+ "properties": {
6483
+ "topFiveUsage": {
6484
+ "properties": {
6485
+ "isExpired": {
6486
+ "type": "boolean"
6487
+ },
6488
+ "ram": {
6489
+ "items": {
6490
+ "properties": {
6491
+ "memoryFree": {
6492
+ "type": "number",
6493
+ "format": "double"
6494
+ },
6495
+ "memory": {
6496
+ "type": "number",
6497
+ "format": "double"
6498
+ },
6499
+ "percent": {
6500
+ "type": "number",
6501
+ "format": "double"
6502
+ },
6503
+ "name_label": {
6504
+ "type": "string"
6505
+ },
6506
+ "id": {
6507
+ "type": "string"
6508
+ }
6509
+ },
6510
+ "required": [
6511
+ "memoryFree",
6512
+ "memory",
6513
+ "percent",
6514
+ "name_label",
6515
+ "id"
6516
+ ],
6517
+ "type": "object"
6518
+ },
6519
+ "type": "array"
6520
+ },
6521
+ "cpu": {
6522
+ "items": {
6523
+ "properties": {
6524
+ "percent": {
6525
+ "type": "number",
6526
+ "format": "double"
6527
+ },
6528
+ "name_label": {
6529
+ "type": "string"
6530
+ },
6531
+ "id": {
6532
+ "type": "string"
6533
+ }
6534
+ },
6535
+ "required": [
6536
+ "percent",
6537
+ "name_label",
6538
+ "id"
6539
+ ],
6540
+ "type": "object"
6541
+ },
6542
+ "type": "array"
6543
+ }
6544
+ },
6545
+ "required": [
6546
+ "ram",
6547
+ "cpu"
6548
+ ],
6549
+ "type": "object"
6550
+ },
6551
+ "status": {
6552
+ "properties": {
6553
+ "suspended": {
6554
+ "type": "number",
6555
+ "format": "double"
6556
+ },
6557
+ "total": {
6558
+ "type": "number",
6559
+ "format": "double"
6560
+ },
6561
+ "paused": {
6562
+ "type": "number",
6563
+ "format": "double"
6564
+ },
6565
+ "halted": {
6566
+ "type": "number",
6567
+ "format": "double"
6568
+ },
6569
+ "running": {
6570
+ "type": "number",
6571
+ "format": "double"
6572
+ }
6573
+ },
6574
+ "required": [
6575
+ "suspended",
6576
+ "total",
6577
+ "paused",
6578
+ "halted",
6579
+ "running"
6580
+ ],
6581
+ "type": "object"
6582
+ }
6583
+ },
6584
+ "required": [
6585
+ "status"
6586
+ ],
6587
+ "type": "object"
6384
6588
  },
6385
- "ipv6Mode": {
6386
- "$ref": "#/components/schemas/IPV6_CONFIGURATION_MODE"
6589
+ "hosts": {
6590
+ "properties": {
6591
+ "missingPatches": {
6592
+ "anyOf": [
6593
+ {
6594
+ "properties": {
6595
+ "hasAuthorization": {
6596
+ "type": "boolean",
6597
+ "enum": [
6598
+ false
6599
+ ],
6600
+ "nullable": false
6601
+ }
6602
+ },
6603
+ "required": [
6604
+ "hasAuthorization"
6605
+ ],
6606
+ "type": "object"
6607
+ },
6608
+ {
6609
+ "properties": {
6610
+ "missingPatches": {
6611
+ "items": {
6612
+ "anyOf": [
6613
+ {
6614
+ "$ref": "#/components/schemas/XcpPatches"
6615
+ },
6616
+ {
6617
+ "$ref": "#/components/schemas/XsPatches"
6618
+ }
6619
+ ]
6620
+ },
6621
+ "type": "array"
6622
+ },
6623
+ "hasAuthorization": {
6624
+ "type": "boolean",
6625
+ "enum": [
6626
+ true
6627
+ ],
6628
+ "nullable": false
6629
+ }
6630
+ },
6631
+ "required": [
6632
+ "missingPatches",
6633
+ "hasAuthorization"
6634
+ ],
6635
+ "type": "object"
6636
+ }
6637
+ ]
6638
+ },
6639
+ "topFiveUsage": {
6640
+ "properties": {
6641
+ "cpu": {
6642
+ "items": {
6643
+ "properties": {
6644
+ "id": {
6645
+ "type": "string"
6646
+ },
6647
+ "percent": {
6648
+ "type": "number",
6649
+ "format": "double"
6650
+ },
6651
+ "name_label": {
6652
+ "type": "string"
6653
+ }
6654
+ },
6655
+ "required": [
6656
+ "id",
6657
+ "percent",
6658
+ "name_label"
6659
+ ],
6660
+ "type": "object"
6661
+ },
6662
+ "type": "array"
6663
+ },
6664
+ "ram": {
6665
+ "items": {
6666
+ "properties": {
6667
+ "id": {
6668
+ "type": "string"
6669
+ },
6670
+ "percent": {
6671
+ "type": "number",
6672
+ "format": "double"
6673
+ },
6674
+ "usage": {
6675
+ "type": "number",
6676
+ "format": "double"
6677
+ },
6678
+ "size": {
6679
+ "type": "number",
6680
+ "format": "double"
6681
+ },
6682
+ "name_label": {
6683
+ "type": "string"
6684
+ }
6685
+ },
6686
+ "required": [
6687
+ "id",
6688
+ "percent",
6689
+ "usage",
6690
+ "size",
6691
+ "name_label"
6692
+ ],
6693
+ "type": "object"
6694
+ },
6695
+ "type": "array"
6696
+ }
6697
+ },
6698
+ "required": [
6699
+ "cpu",
6700
+ "ram"
6701
+ ],
6702
+ "type": "object"
6703
+ },
6704
+ "status": {
6705
+ "properties": {
6706
+ "total": {
6707
+ "type": "number",
6708
+ "format": "double"
6709
+ },
6710
+ "halted": {
6711
+ "type": "number",
6712
+ "format": "double"
6713
+ },
6714
+ "disabled": {
6715
+ "type": "number",
6716
+ "format": "double"
6717
+ },
6718
+ "running": {
6719
+ "type": "number",
6720
+ "format": "double"
6721
+ }
6722
+ },
6723
+ "required": [
6724
+ "total",
6725
+ "halted",
6726
+ "disabled",
6727
+ "running"
6728
+ ],
6729
+ "type": "object"
6730
+ }
6731
+ },
6732
+ "required": [
6733
+ "missingPatches",
6734
+ "topFiveUsage",
6735
+ "status"
6736
+ ],
6737
+ "type": "object"
6738
+ }
6739
+ },
6740
+ "required": [
6741
+ "cpuProvisioning",
6742
+ "alarms",
6743
+ "srs",
6744
+ "vms",
6745
+ "hosts"
6746
+ ],
6747
+ "type": "object"
6748
+ },
6749
+ "Branded_PIF_": {
6750
+ "allOf": [
6751
+ {
6752
+ "type": "string"
6387
6753
  },
6388
- "isBondMaster": {
6389
- "type": "boolean"
6754
+ {
6755
+ "properties": {
6756
+ "undefined": {
6757
+ "type": "string",
6758
+ "enum": [
6759
+ "PIF"
6760
+ ],
6761
+ "nullable": false
6762
+ }
6763
+ },
6764
+ "required": [
6765
+ null
6766
+ ],
6767
+ "type": "object"
6768
+ }
6769
+ ]
6770
+ },
6771
+ "IPV6_CONFIGURATION_MODE": {
6772
+ "type": "string",
6773
+ "enum": [
6774
+ "DHCP",
6775
+ "Autoconf",
6776
+ "None",
6777
+ "Static"
6778
+ ]
6779
+ },
6780
+ "IP_CONFIGURATION_MODE": {
6781
+ "type": "string",
6782
+ "enum": [
6783
+ "DHCP",
6784
+ "None",
6785
+ "Static"
6786
+ ]
6787
+ },
6788
+ "PRIMARY_ADDRESS_TYPE": {
6789
+ "type": "string",
6790
+ "enum": [
6791
+ "IPv4",
6792
+ "IPv6"
6793
+ ]
6794
+ },
6795
+ "Partial_UnbrandedXoPif_": {
6796
+ "properties": {
6797
+ "$pool": {
6798
+ "type": "string"
6390
6799
  },
6391
- "isBondSlave": {
6392
- "type": "boolean"
6800
+ "$poolId": {
6801
+ "type": "string",
6802
+ "deprecated": true
6393
6803
  },
6394
- "mac": {
6804
+ "_xapiRef": {
6395
6805
  "type": "string"
6396
6806
  },
6397
- "management": {
6398
- "type": "boolean"
6399
- },
6400
- "mode": {
6401
- "$ref": "#/components/schemas/IP_CONFIGURATION_MODE"
6807
+ "uuid": {
6808
+ "type": "string"
6402
6809
  },
6403
- "mtu": {
6404
- "type": "number",
6405
- "format": "double"
6810
+ "$host": {
6811
+ "type": "string"
6406
6812
  },
6407
- "netmask": {
6813
+ "$network": {
6408
6814
  "type": "string"
6409
6815
  },
6410
- "physical": {
6816
+ "attached": {
6411
6817
  "type": "boolean"
6412
6818
  },
6413
- "primaryAddressType": {
6414
- "$ref": "#/components/schemas/PRIMARY_ADDRESS_TYPE"
6819
+ "bondMaster": {
6820
+ "type": "string"
6415
6821
  },
6416
- "speed": {
6417
- "type": "number",
6418
- "format": "double"
6822
+ "bondSalves": {
6823
+ "items": {
6824
+ "$ref": "#/components/schemas/Branded_PIF_"
6825
+ },
6826
+ "type": "array"
6419
6827
  },
6420
- "type": {
6421
- "type": "string",
6422
- "enum": [
6423
- "PIF"
6424
- ],
6425
- "nullable": false
6828
+ "carrier": {
6829
+ "type": "boolean"
6830
+ },
6831
+ "device": {
6832
+ "type": "string"
6833
+ },
6834
+ "deviceName": {
6835
+ "type": "string"
6836
+ },
6837
+ "disallowUnplug": {
6838
+ "type": "boolean"
6839
+ },
6840
+ "dns": {
6841
+ "type": "string"
6842
+ },
6843
+ "gateway": {
6844
+ "type": "string"
6845
+ },
6846
+ "id": {
6847
+ "type": "string"
6848
+ },
6849
+ "ip": {
6850
+ "type": "string"
6851
+ },
6852
+ "ipv6": {
6853
+ "items": {
6854
+ "type": "string"
6855
+ },
6856
+ "type": "array"
6857
+ },
6858
+ "ipv6Mode": {
6859
+ "$ref": "#/components/schemas/IPV6_CONFIGURATION_MODE"
6860
+ },
6861
+ "isBondMaster": {
6862
+ "type": "boolean"
6863
+ },
6864
+ "isBondSlave": {
6865
+ "type": "boolean"
6866
+ },
6867
+ "mac": {
6868
+ "type": "string"
6869
+ },
6870
+ "management": {
6871
+ "type": "boolean"
6872
+ },
6873
+ "mode": {
6874
+ "$ref": "#/components/schemas/IP_CONFIGURATION_MODE"
6875
+ },
6876
+ "mtu": {
6877
+ "type": "number",
6878
+ "format": "double"
6879
+ },
6880
+ "netmask": {
6881
+ "type": "string"
6882
+ },
6883
+ "physical": {
6884
+ "type": "boolean"
6885
+ },
6886
+ "primaryAddressType": {
6887
+ "$ref": "#/components/schemas/PRIMARY_ADDRESS_TYPE"
6888
+ },
6889
+ "speed": {
6890
+ "type": "number",
6891
+ "format": "double"
6892
+ },
6893
+ "type": {
6894
+ "type": "string",
6895
+ "enum": [
6896
+ "PIF"
6897
+ ]
6898
+ },
6899
+ "vlan": {
6900
+ "type": "number",
6901
+ "format": "double"
6902
+ }
6903
+ },
6904
+ "type": "object",
6905
+ "description": "Make all properties in T optional"
6906
+ },
6907
+ "WithHref_Partial_UnbrandedXoPif__": {
6908
+ "allOf": [
6909
+ {
6910
+ "$ref": "#/components/schemas/Partial_UnbrandedXoPif_"
6911
+ },
6912
+ {
6913
+ "properties": {
6914
+ "href": {
6915
+ "type": "string"
6916
+ }
6917
+ },
6918
+ "required": [
6919
+ "href"
6920
+ ],
6921
+ "type": "object"
6922
+ }
6923
+ ]
6924
+ },
6925
+ "SendObjects_Partial_UnbrandedXoPif__": {
6926
+ "anyOf": [
6927
+ {
6928
+ "items": {
6929
+ "type": "string"
6930
+ },
6931
+ "type": "array"
6932
+ },
6933
+ {
6934
+ "items": {
6935
+ "$ref": "#/components/schemas/WithHref_Partial_UnbrandedXoPif__"
6936
+ },
6937
+ "type": "array"
6938
+ },
6939
+ {
6940
+ "$ref": "#/components/schemas/NdjsonStream"
6941
+ }
6942
+ ]
6943
+ },
6944
+ "Unbrand_XoPif_": {
6945
+ "properties": {
6946
+ "$pool": {
6947
+ "type": "string"
6948
+ },
6949
+ "$poolId": {
6950
+ "type": "string",
6951
+ "deprecated": true
6952
+ },
6953
+ "_xapiRef": {
6954
+ "type": "string"
6955
+ },
6956
+ "uuid": {
6957
+ "type": "string"
6958
+ },
6959
+ "$host": {
6960
+ "type": "string"
6961
+ },
6962
+ "$network": {
6963
+ "type": "string"
6964
+ },
6965
+ "attached": {
6966
+ "type": "boolean"
6967
+ },
6968
+ "bondMaster": {
6969
+ "type": "string"
6970
+ },
6971
+ "bondSalves": {
6972
+ "items": {
6973
+ "$ref": "#/components/schemas/Branded_PIF_"
6974
+ },
6975
+ "type": "array"
6976
+ },
6977
+ "carrier": {
6978
+ "type": "boolean"
6979
+ },
6980
+ "device": {
6981
+ "type": "string"
6982
+ },
6983
+ "deviceName": {
6984
+ "type": "string"
6985
+ },
6986
+ "disallowUnplug": {
6987
+ "type": "boolean"
6988
+ },
6989
+ "dns": {
6990
+ "type": "string"
6991
+ },
6992
+ "gateway": {
6993
+ "type": "string"
6994
+ },
6995
+ "id": {
6996
+ "type": "string"
6997
+ },
6998
+ "ip": {
6999
+ "type": "string"
7000
+ },
7001
+ "ipv6": {
7002
+ "items": {
7003
+ "type": "string"
7004
+ },
7005
+ "type": "array"
7006
+ },
7007
+ "ipv6Mode": {
7008
+ "$ref": "#/components/schemas/IPV6_CONFIGURATION_MODE"
7009
+ },
7010
+ "isBondMaster": {
7011
+ "type": "boolean"
7012
+ },
7013
+ "isBondSlave": {
7014
+ "type": "boolean"
7015
+ },
7016
+ "mac": {
7017
+ "type": "string"
7018
+ },
7019
+ "management": {
7020
+ "type": "boolean"
7021
+ },
7022
+ "mode": {
7023
+ "$ref": "#/components/schemas/IP_CONFIGURATION_MODE"
7024
+ },
7025
+ "mtu": {
7026
+ "type": "number",
7027
+ "format": "double"
7028
+ },
7029
+ "netmask": {
7030
+ "type": "string"
7031
+ },
7032
+ "physical": {
7033
+ "type": "boolean"
7034
+ },
7035
+ "primaryAddressType": {
7036
+ "$ref": "#/components/schemas/PRIMARY_ADDRESS_TYPE"
7037
+ },
7038
+ "speed": {
7039
+ "type": "number",
7040
+ "format": "double"
7041
+ },
7042
+ "type": {
7043
+ "type": "string",
7044
+ "enum": [
7045
+ "PIF"
7046
+ ],
7047
+ "nullable": false
6426
7048
  },
6427
7049
  "vlan": {
6428
7050
  "type": "number",
@@ -7016,7 +7638,7 @@
7016
7638
  ],
7017
7639
  "type": "object"
7018
7640
  },
7019
- "Partial_UnbrandedXoAlarm_": {
7641
+ "Partial_UnbrandedXoMessage_": {
7020
7642
  "properties": {
7021
7643
  "$pool": {
7022
7644
  "type": "string"
@@ -7031,14 +7653,14 @@
7031
7653
  "uuid": {
7032
7654
  "type": "string"
7033
7655
  },
7034
- "id": {
7656
+ "$object": {
7035
7657
  "type": "string"
7036
7658
  },
7037
- "type": {
7038
- "type": "string",
7039
- "enum": [
7040
- "message"
7041
- ]
7659
+ "body": {
7660
+ "type": "string"
7661
+ },
7662
+ "id": {
7663
+ "type": "string"
7042
7664
  },
7043
7665
  "name": {
7044
7666
  "type": "string"
@@ -7047,262 +7669,24 @@
7047
7669
  "type": "number",
7048
7670
  "format": "double"
7049
7671
  },
7050
- "body": {
7672
+ "type": {
7673
+ "type": "string",
7674
+ "enum": [
7675
+ "message"
7676
+ ]
7677
+ }
7678
+ },
7679
+ "type": "object",
7680
+ "description": "Make all properties in T optional"
7681
+ },
7682
+ "WithHref_Partial_UnbrandedXoMessage__": {
7683
+ "allOf": [
7684
+ {
7685
+ "$ref": "#/components/schemas/Partial_UnbrandedXoMessage_"
7686
+ },
7687
+ {
7051
7688
  "properties": {
7052
- "name": {
7053
- "type": "string"
7054
- },
7055
- "value": {
7056
- "type": "string"
7057
- }
7058
- },
7059
- "required": [
7060
- "name",
7061
- "value"
7062
- ],
7063
- "type": "object"
7064
- },
7065
- "object": {
7066
- "properties": {
7067
- "href": {
7068
- "type": "string"
7069
- },
7070
- "uuid": {
7071
- "type": "string"
7072
- },
7073
- "type": {
7074
- "type": "string",
7075
- "enum": [
7076
- "pool",
7077
- "VBD",
7078
- "host",
7079
- "VIF",
7080
- "VTPM",
7081
- "VM",
7082
- "VM-snapshot",
7083
- "SR",
7084
- "VM-template",
7085
- "VDI",
7086
- "VM-controller",
7087
- "network",
7088
- "VDI-unmanaged",
7089
- "VDI-snapshot",
7090
- "unknown",
7091
- "SM",
7092
- "vgpuType",
7093
- "gpuGroup",
7094
- "PIF",
7095
- "PGPU",
7096
- "PCI",
7097
- "message",
7098
- "vgpu"
7099
- ]
7100
- }
7101
- },
7102
- "required": [
7103
- "uuid",
7104
- "type"
7105
- ],
7106
- "type": "object"
7107
- }
7108
- },
7109
- "type": "object",
7110
- "description": "Make all properties in T optional"
7111
- },
7112
- "WithHref_Partial_UnbrandedXoAlarm__": {
7113
- "allOf": [
7114
- {
7115
- "$ref": "#/components/schemas/Partial_UnbrandedXoAlarm_"
7116
- },
7117
- {
7118
- "properties": {
7119
- "href": {
7120
- "type": "string"
7121
- }
7122
- },
7123
- "required": [
7124
- "href"
7125
- ],
7126
- "type": "object"
7127
- }
7128
- ]
7129
- },
7130
- "SendObjects_Partial_UnbrandedXoAlarm__": {
7131
- "anyOf": [
7132
- {
7133
- "items": {
7134
- "type": "string"
7135
- },
7136
- "type": "array"
7137
- },
7138
- {
7139
- "items": {
7140
- "$ref": "#/components/schemas/WithHref_Partial_UnbrandedXoAlarm__"
7141
- },
7142
- "type": "array"
7143
- },
7144
- {
7145
- "$ref": "#/components/schemas/NdjsonStream"
7146
- }
7147
- ]
7148
- },
7149
- "Unbrand_XoAlarm_": {
7150
- "properties": {
7151
- "$pool": {
7152
- "type": "string"
7153
- },
7154
- "$poolId": {
7155
- "type": "string",
7156
- "deprecated": true
7157
- },
7158
- "_xapiRef": {
7159
- "type": "string"
7160
- },
7161
- "uuid": {
7162
- "type": "string"
7163
- },
7164
- "id": {
7165
- "type": "string"
7166
- },
7167
- "type": {
7168
- "type": "string",
7169
- "enum": [
7170
- "message"
7171
- ],
7172
- "nullable": false
7173
- },
7174
- "name": {
7175
- "type": "string"
7176
- },
7177
- "time": {
7178
- "type": "number",
7179
- "format": "double"
7180
- },
7181
- "body": {
7182
- "properties": {
7183
- "name": {
7184
- "type": "string"
7185
- },
7186
- "value": {
7187
- "type": "string"
7188
- }
7189
- },
7190
- "required": [
7191
- "name",
7192
- "value"
7193
- ],
7194
- "type": "object"
7195
- },
7196
- "object": {
7197
- "properties": {
7198
- "href": {
7199
- "type": "string"
7200
- },
7201
- "uuid": {
7202
- "type": "string"
7203
- },
7204
- "type": {
7205
- "type": "string",
7206
- "enum": [
7207
- "pool",
7208
- "VBD",
7209
- "host",
7210
- "VIF",
7211
- "VTPM",
7212
- "VM",
7213
- "VM-snapshot",
7214
- "SR",
7215
- "VM-template",
7216
- "VDI",
7217
- "VM-controller",
7218
- "network",
7219
- "VDI-unmanaged",
7220
- "VDI-snapshot",
7221
- "unknown",
7222
- "SM",
7223
- "vgpuType",
7224
- "gpuGroup",
7225
- "PIF",
7226
- "PGPU",
7227
- "PCI",
7228
- "message",
7229
- "vgpu"
7230
- ]
7231
- }
7232
- },
7233
- "required": [
7234
- "uuid",
7235
- "type"
7236
- ],
7237
- "type": "object"
7238
- }
7239
- },
7240
- "required": [
7241
- "$pool",
7242
- "$poolId",
7243
- "_xapiRef",
7244
- "uuid",
7245
- "id",
7246
- "type",
7247
- "name",
7248
- "time",
7249
- "body",
7250
- "object"
7251
- ],
7252
- "type": "object"
7253
- },
7254
- "UnbrandedXoAlarm": {
7255
- "$ref": "#/components/schemas/Unbrand_XoAlarm_"
7256
- },
7257
- "Partial_UnbrandedXoMessage_": {
7258
- "properties": {
7259
- "$pool": {
7260
- "type": "string"
7261
- },
7262
- "$poolId": {
7263
- "type": "string",
7264
- "deprecated": true
7265
- },
7266
- "_xapiRef": {
7267
- "type": "string"
7268
- },
7269
- "uuid": {
7270
- "type": "string"
7271
- },
7272
- "$object": {
7273
- "type": "string"
7274
- },
7275
- "body": {
7276
- "type": "string"
7277
- },
7278
- "id": {
7279
- "type": "string"
7280
- },
7281
- "name": {
7282
- "type": "string"
7283
- },
7284
- "time": {
7285
- "type": "number",
7286
- "format": "double"
7287
- },
7288
- "type": {
7289
- "type": "string",
7290
- "enum": [
7291
- "message"
7292
- ]
7293
- }
7294
- },
7295
- "type": "object",
7296
- "description": "Make all properties in T optional"
7297
- },
7298
- "WithHref_Partial_UnbrandedXoMessage__": {
7299
- "allOf": [
7300
- {
7301
- "$ref": "#/components/schemas/Partial_UnbrandedXoMessage_"
7302
- },
7303
- {
7304
- "properties": {
7305
- "href": {
7689
+ "href": {
7306
7690
  "type": "string"
7307
7691
  }
7308
7692
  },
@@ -8239,481 +8623,863 @@
8239
8623
  "users"
8240
8624
  ],
8241
8625
  "type": "object"
8242
- }
8243
- },
8244
- "securitySchemes": {
8245
- "token": {
8246
- "type": "apiKey",
8247
- "name": "authenticationToken",
8248
- "in": "cookie"
8249
- }
8250
- }
8251
- },
8252
- "info": {
8253
- "title": "@xen-orchestra/rest-api",
8254
- "version": "0.11.0",
8255
- "description": "REST API to manage your XOA",
8256
- "license": {
8257
- "name": "AGPL-3.0-or-later"
8258
- },
8259
- "contact": {
8260
- "name": "Vates SAS",
8261
- "url": "https://vates.fr"
8262
- }
8263
- },
8264
- "servers": [
8265
- {
8266
- "url": "/rest/v0"
8267
- }
8268
- ],
8269
- "paths": {
8270
- "/dashboard": {
8271
- "get": {
8272
- "operationId": "GetDashboard",
8273
- "responses": {
8274
- "200": {
8275
- "description": "Ok",
8276
- "content": {
8277
- "application/json": {
8278
- "schema": {
8279
- "$ref": "#/components/schemas/XoaDashboard"
8626
+ },
8627
+ "Partial_Unbrand_XoBackupRepository__": {
8628
+ "properties": {
8629
+ "benchmarks": {
8630
+ "items": {
8631
+ "properties": {
8632
+ "writeRate": {
8633
+ "type": "number",
8634
+ "format": "double"
8280
8635
  },
8281
- "examples": {
8282
- "Example 1": {
8283
- "value": {
8284
- "nPools": 2,
8285
- "nHosts": 5,
8286
- "backupRepositories": {
8287
- "s3": {
8288
- "size": {
8289
- "backups": 286295393792
8290
- }
8291
- },
8292
- "other": {
8293
- "size": {
8294
- "available": 62630354944,
8295
- "backups": 20684251648,
8296
- "other": 66875031040,
8297
- "total": 150189637632,
8298
- "used": 87559282688
8299
- }
8300
- }
8301
- },
8302
- "resourcesOverview": {
8303
- "nCpus": 52,
8304
- "memorySize": 107374182400,
8305
- "srSize": 751123595264
8306
- },
8307
- "poolsStatus": {
8308
- "connected": 2,
8309
- "unreachable": 7,
8310
- "unknown": 0
8311
- },
8312
- "nHostsEol": 0,
8313
- "missingPatches": {
8314
- "hasAuthorization": true,
8315
- "nHostsFailed": 1,
8316
- "nHostsWithMissingPatches": 4,
8317
- "nPoolsWithMissingPatches": 2
8318
- },
8319
- "storageRepositories": {
8320
- "size": {
8321
- "available": 628454834176,
8322
- "other": 122641256960,
8323
- "replicated": 27504128,
8324
- "total": 751123595264,
8325
- "used": 122668761088
8326
- }
8327
- },
8328
- "backups": {
8329
- "jobs": {
8330
- "disabled": 8,
8331
- "failed": 0,
8332
- "skipped": 0,
8333
- "successful": 0,
8334
- "total": 8
8335
- },
8336
- "issues": [],
8337
- "vmsProtection": {
8338
- "protected": 0,
8339
- "unprotected": 0,
8340
- "notInJob": 20
8341
- }
8342
- }
8343
- }
8344
- }
8636
+ "timestamp": {
8637
+ "type": "number",
8638
+ "format": "double"
8639
+ },
8640
+ "readRate": {
8641
+ "type": "number",
8642
+ "format": "double"
8345
8643
  }
8346
- }
8347
- }
8644
+ },
8645
+ "required": [
8646
+ "writeRate",
8647
+ "timestamp",
8648
+ "readRate"
8649
+ ],
8650
+ "type": "object"
8651
+ },
8652
+ "type": "array"
8348
8653
  },
8349
- "401": {
8350
- "description": "Authentication required"
8654
+ "enabled": {
8655
+ "type": "boolean"
8656
+ },
8657
+ "error": {
8658
+ "$ref": "#/components/schemas/Record_string.unknown_"
8659
+ },
8660
+ "id": {
8661
+ "type": "string"
8662
+ },
8663
+ "name": {
8664
+ "type": "string"
8665
+ },
8666
+ "options": {
8667
+ "type": "string"
8668
+ },
8669
+ "proxy": {
8670
+ "type": "string"
8671
+ },
8672
+ "url": {
8673
+ "type": "string"
8351
8674
  }
8352
8675
  },
8353
- "tags": [
8354
- "xoa"
8355
- ],
8356
- "security": [
8357
- {
8358
- "*": []
8359
- }
8360
- ],
8361
- "parameters": [
8676
+ "type": "object",
8677
+ "description": "Make all properties in T optional"
8678
+ },
8679
+ "WithHref_Partial_Unbrand_XoBackupRepository___": {
8680
+ "allOf": [
8362
8681
  {
8363
- "in": "query",
8364
- "name": "ndjson",
8365
- "required": false,
8366
- "schema": {
8367
- "type": "boolean"
8368
- }
8369
- }
8370
- ]
8371
- }
8372
- },
8373
- "/vms": {
8374
- "get": {
8375
- "operationId": "GetVms",
8376
- "responses": {
8377
- "200": {
8378
- "description": "Ok",
8379
- "content": {
8380
- "application/json": {
8381
- "schema": {
8382
- "$ref": "#/components/schemas/SendObjects_Partial_Unbrand_XoVm___"
8383
- },
8384
- "examples": {
8385
- "Example 1": {
8386
- "value": [
8387
- "/rest/v0/vms/f07ab729-c0e8-721c-45ec-f11276377030",
8388
- "/rest/v0/vms/d5d1c4a3-4c5e-ca7b-6be8-33c824f87571"
8389
- ]
8390
- },
8391
- "Example 2": {
8392
- "value": [
8393
- {
8394
- "name_label": "foo",
8395
- "power_state": "Running",
8396
- "uuid": "f07ab729-c0e8-721c-45ec-f11276377030",
8397
- "href": "/rest/v0/vms/f07ab729-c0e8-721c-45ec-f11276377030"
8398
- },
8399
- {
8400
- "name_label": "foo_bar",
8401
- "power_state": "Halted",
8402
- "uuid": "d5d1c4a3-4c5e-ca7b-6be8-33c824f87571",
8403
- "href": "/rest/v0/vms/d5d1c4a3-4c5e-ca7b-6be8-33c824f87571"
8404
- }
8405
- ]
8406
- }
8407
- }
8408
- }
8409
- }
8682
+ "$ref": "#/components/schemas/Partial_Unbrand_XoBackupRepository__"
8410
8683
  },
8411
- "401": {
8412
- "description": "Authentication required"
8413
- }
8414
- },
8415
- "tags": [
8416
- "vms"
8417
- ],
8418
- "security": [
8419
8684
  {
8420
- "*": []
8685
+ "properties": {
8686
+ "href": {
8687
+ "type": "string"
8688
+ }
8689
+ },
8690
+ "required": [
8691
+ "href"
8692
+ ],
8693
+ "type": "object"
8421
8694
  }
8422
- ],
8423
- "parameters": [
8695
+ ]
8696
+ },
8697
+ "SendObjects_Partial_Unbrand_XoBackupRepository___": {
8698
+ "anyOf": [
8424
8699
  {
8425
- "in": "query",
8426
- "name": "fields",
8427
- "required": false,
8428
- "schema": {
8700
+ "items": {
8429
8701
  "type": "string"
8430
8702
  },
8431
- "example": "name_label,power_state,uuid"
8432
- },
8433
- {
8434
- "in": "query",
8435
- "name": "ndjson",
8436
- "required": false,
8437
- "schema": {
8438
- "type": "boolean"
8439
- }
8703
+ "type": "array"
8440
8704
  },
8441
8705
  {
8442
- "in": "query",
8443
- "name": "filter",
8444
- "required": false,
8445
- "schema": {
8446
- "type": "string"
8706
+ "items": {
8707
+ "$ref": "#/components/schemas/WithHref_Partial_Unbrand_XoBackupRepository___"
8447
8708
  },
8448
- "example": "power_state:Running"
8709
+ "type": "array"
8449
8710
  },
8450
8711
  {
8451
- "in": "query",
8452
- "name": "limit",
8453
- "required": false,
8454
- "schema": {
8455
- "format": "double",
8456
- "type": "number"
8457
- },
8458
- "example": 42
8712
+ "$ref": "#/components/schemas/NdjsonStream"
8459
8713
  }
8460
8714
  ]
8461
- }
8462
- },
8463
- "/vms/{id}": {
8464
- "get": {
8465
- "operationId": "GetVm",
8466
- "responses": {
8467
- "200": {
8468
- "description": "Ok",
8469
- "content": {
8470
- "application/json": {
8471
- "schema": {
8472
- "$ref": "#/components/schemas/Unbrand_XoVm_"
8473
- },
8474
- "examples": {
8475
- "Example 1": {
8476
- "value": {
8477
- "type": "VM",
8478
- "addresses": {},
8479
- "auto_poweron": false,
8480
- "bios_strings": {
8481
- "bios-vendor": "Xen",
8482
- "bios-version": "",
8483
- "system-manufacturer": "Xen",
8484
- "system-product-name": "HVM domU",
8485
- "system-version": "",
8486
- "system-serial-number": "",
8487
- "hp-rombios": "",
8488
- "oem-1": "Xen",
8489
- "oem-2": "MS_VM_CERT/SHA1/bdbeb6e0a816d43fa6d3fe8aaef04c2bad9d3e3d"
8490
- },
8491
- "blockedOperations": {},
8492
- "boot": {
8493
- "firmware": "bios",
8494
- "order": "cd"
8495
- },
8496
- "CPUs": {
8497
- "max": 2,
8498
- "number": 2
8499
- },
8500
- "creation": {
8501
- "date": "2024-12-18T15:08:43.142Z",
8502
- "template": "bfa83003-ac1a-dde9-6a44-6cca5fd3e735",
8503
- "user": "d558dd75-c928-45f6-b8e3-4375bdda59f8"
8504
- },
8505
- "current_operations": {},
8506
- "expNestedHvm": false,
8507
- "viridian": false,
8508
- "high_availability": "",
8509
- "isFirmwareSupported": true,
8510
- "memory": {
8511
- "dynamic": [
8512
- 4294967296,
8513
- 4294967296
8514
- ],
8515
- "static": [
8516
- 2147483648,
8517
- 4294967296
8518
- ],
8519
- "size": 4294967296
8520
- },
8521
- "installTime": 1734534522,
8522
- "name_description": "Debian 12 Cloud-Init Ready Hub Template",
8523
- "name_label": "MRA XOA",
8524
- "needsVtpm": false,
8525
- "other": {
8526
- "xo:f07ab729": "{\"creation\":{\"date\":\"2024-12-18T15:08:43.142Z\",\"template\":\"bfa83003-ac1a-dde9-6a44-6cca5fd3e735\",\"user\":\"d558dd75-c928-45f6-b8e3-4375bdda59f8\"}}",
8527
- "xo:resource:namespace": "Debian12",
8528
- "xo:resource:xva:version": "1.0.0",
8529
- "xo:resource:xva:id": "e2fb63ba-1a5d-7527-bfca-14fef610bf6f",
8530
- "xo:resource:installedTemplate:uuid": "bfa83003-ac1a-dde9-6a44-6cca5fd3e735",
8531
- "import_task": "OpaqueRef:7c274dba-70ef-1f28-ab31-9c7ef5b26c51",
8532
- "mac_seed": "ebcb83b9-b96d-6341-931c-9d5105656bf2",
8533
- "vgpu_pci": "",
8534
- "base_template_name": "Debian Jessie 8.0",
8535
- "install-methods": "cdrom,nfs,http,ftp",
8536
- "linux_template": "true"
8537
- },
8538
- "os_version": null,
8539
- "power_state": "Halted",
8540
- "hasVendorDevice": false,
8541
- "snapshots": [],
8542
- "startDelay": 0,
8543
- "startTime": null,
8544
- "secureBoot": false,
8545
- "tags": [],
8546
- "VIFs": [
8547
- "803382fb-9d69-fbf7-8fef-2b3a8adfce5a"
8548
- ],
8549
- "VTPMs": [],
8550
- "virtualizationMode": "hvm",
8551
- "$container": "b7569d99-30f8-178a-7d94-801de3e29b5b",
8552
- "$VBDs": [
8553
- "43ecda28-e716-a60e-5322-ee6597d07aec",
8554
- "a30d24aa-188c-dc6d-6ee3-5bf1e504a3e9"
8555
- ],
8556
- "VGPUs": [],
8557
- "$VGPUs": [],
8558
- "xenStoreData": {
8559
- "vm-data/mmio-hole-size": "268435456",
8560
- "vm-data": ""
8561
- },
8562
- "vga": "cirrus",
8563
- "videoram": 4,
8564
- "id": "f07ab729-c0e8-721c-45ec-f11276377030",
8565
- "uuid": "f07ab729-c0e8-721c-45ec-f11276377030",
8566
- "$pool": "b7569d99-30f8-178a-7d94-801de3e29b5b",
8567
- "$poolId": "b7569d99-30f8-178a-7d94-801de3e29b5b",
8568
- "_xapiRef": "OpaqueRef:ffdf8863-5331-9394-5c1b-d1db7de20a76"
8569
- }
8570
- }
8715
+ },
8716
+ "Unbrand_XoBackupRepository_": {
8717
+ "properties": {
8718
+ "benchmarks": {
8719
+ "items": {
8720
+ "properties": {
8721
+ "writeRate": {
8722
+ "type": "number",
8723
+ "format": "double"
8724
+ },
8725
+ "timestamp": {
8726
+ "type": "number",
8727
+ "format": "double"
8728
+ },
8729
+ "readRate": {
8730
+ "type": "number",
8731
+ "format": "double"
8571
8732
  }
8572
- }
8573
- }
8733
+ },
8734
+ "required": [
8735
+ "writeRate",
8736
+ "timestamp",
8737
+ "readRate"
8738
+ ],
8739
+ "type": "object"
8740
+ },
8741
+ "type": "array"
8574
8742
  },
8575
- "401": {
8576
- "description": "Authentication required"
8743
+ "enabled": {
8744
+ "type": "boolean"
8577
8745
  },
8578
- "404": {
8579
- "description": "Resource not found"
8746
+ "error": {
8747
+ "$ref": "#/components/schemas/Record_string.unknown_"
8748
+ },
8749
+ "id": {
8750
+ "type": "string"
8751
+ },
8752
+ "name": {
8753
+ "type": "string"
8754
+ },
8755
+ "options": {
8756
+ "type": "string"
8757
+ },
8758
+ "proxy": {
8759
+ "type": "string"
8760
+ },
8761
+ "url": {
8762
+ "type": "string"
8580
8763
  }
8581
8764
  },
8582
- "tags": [
8583
- "vms"
8765
+ "required": [
8766
+ "enabled",
8767
+ "id",
8768
+ "name",
8769
+ "url"
8584
8770
  ],
8585
- "security": [
8586
- {
8587
- "*": []
8771
+ "type": "object"
8772
+ },
8773
+ "Partial_UnbrandedXoAlarm_": {
8774
+ "properties": {
8775
+ "$pool": {
8776
+ "type": "string"
8777
+ },
8778
+ "$poolId": {
8779
+ "type": "string",
8780
+ "deprecated": true
8781
+ },
8782
+ "_xapiRef": {
8783
+ "type": "string"
8784
+ },
8785
+ "uuid": {
8786
+ "type": "string"
8787
+ },
8788
+ "id": {
8789
+ "type": "string"
8790
+ },
8791
+ "type": {
8792
+ "type": "string",
8793
+ "enum": [
8794
+ "message"
8795
+ ]
8796
+ },
8797
+ "name": {
8798
+ "type": "string"
8799
+ },
8800
+ "time": {
8801
+ "type": "number",
8802
+ "format": "double"
8803
+ },
8804
+ "body": {
8805
+ "properties": {
8806
+ "name": {
8807
+ "type": "string"
8808
+ },
8809
+ "value": {
8810
+ "type": "string"
8811
+ }
8812
+ },
8813
+ "required": [
8814
+ "name"
8815
+ ],
8816
+ "type": "object"
8817
+ },
8818
+ "object": {
8819
+ "properties": {
8820
+ "href": {
8821
+ "type": "string"
8822
+ },
8823
+ "uuid": {
8824
+ "type": "string"
8825
+ },
8826
+ "type": {
8827
+ "type": "string",
8828
+ "enum": [
8829
+ "pool",
8830
+ "VBD",
8831
+ "host",
8832
+ "VIF",
8833
+ "VTPM",
8834
+ "VM",
8835
+ "VM-snapshot",
8836
+ "SR",
8837
+ "VM-template",
8838
+ "message",
8839
+ "vgpu",
8840
+ "gpuGroup",
8841
+ "network",
8842
+ "PCI",
8843
+ "PGPU",
8844
+ "PIF",
8845
+ "VDI",
8846
+ "VDI-snapshot",
8847
+ "VDI-unmanaged",
8848
+ "vgpuType",
8849
+ "VM-controller",
8850
+ "SM",
8851
+ "unknown"
8852
+ ]
8853
+ }
8854
+ },
8855
+ "required": [
8856
+ "uuid",
8857
+ "type"
8858
+ ],
8859
+ "type": "object"
8588
8860
  }
8589
- ],
8590
- "parameters": [
8861
+ },
8862
+ "type": "object",
8863
+ "description": "Make all properties in T optional"
8864
+ },
8865
+ "WithHref_Partial_UnbrandedXoAlarm__": {
8866
+ "allOf": [
8591
8867
  {
8592
- "in": "path",
8593
- "name": "id",
8594
- "required": true,
8595
- "schema": {
8596
- "type": "string"
8868
+ "$ref": "#/components/schemas/Partial_UnbrandedXoAlarm_"
8869
+ },
8870
+ {
8871
+ "properties": {
8872
+ "href": {
8873
+ "type": "string"
8874
+ }
8597
8875
  },
8598
- "example": "f07ab729-c0e8-721c-45ec-f11276377030"
8876
+ "required": [
8877
+ "href"
8878
+ ],
8879
+ "type": "object"
8599
8880
  }
8600
8881
  ]
8601
- }
8602
- },
8603
- "/vms/{id}/stats": {
8882
+ },
8883
+ "SendObjects_Partial_UnbrandedXoAlarm__": {
8884
+ "anyOf": [
8885
+ {
8886
+ "items": {
8887
+ "type": "string"
8888
+ },
8889
+ "type": "array"
8890
+ },
8891
+ {
8892
+ "items": {
8893
+ "$ref": "#/components/schemas/WithHref_Partial_UnbrandedXoAlarm__"
8894
+ },
8895
+ "type": "array"
8896
+ },
8897
+ {
8898
+ "$ref": "#/components/schemas/NdjsonStream"
8899
+ }
8900
+ ]
8901
+ },
8902
+ "Unbrand_XoAlarm_": {
8903
+ "properties": {
8904
+ "$pool": {
8905
+ "type": "string"
8906
+ },
8907
+ "$poolId": {
8908
+ "type": "string",
8909
+ "deprecated": true
8910
+ },
8911
+ "_xapiRef": {
8912
+ "type": "string"
8913
+ },
8914
+ "uuid": {
8915
+ "type": "string"
8916
+ },
8917
+ "id": {
8918
+ "type": "string"
8919
+ },
8920
+ "type": {
8921
+ "type": "string",
8922
+ "enum": [
8923
+ "message"
8924
+ ],
8925
+ "nullable": false
8926
+ },
8927
+ "name": {
8928
+ "type": "string"
8929
+ },
8930
+ "time": {
8931
+ "type": "number",
8932
+ "format": "double"
8933
+ },
8934
+ "body": {
8935
+ "properties": {
8936
+ "name": {
8937
+ "type": "string"
8938
+ },
8939
+ "value": {
8940
+ "type": "string"
8941
+ }
8942
+ },
8943
+ "required": [
8944
+ "name"
8945
+ ],
8946
+ "type": "object"
8947
+ },
8948
+ "object": {
8949
+ "properties": {
8950
+ "href": {
8951
+ "type": "string"
8952
+ },
8953
+ "uuid": {
8954
+ "type": "string"
8955
+ },
8956
+ "type": {
8957
+ "type": "string",
8958
+ "enum": [
8959
+ "pool",
8960
+ "VBD",
8961
+ "host",
8962
+ "VIF",
8963
+ "VTPM",
8964
+ "VM",
8965
+ "VM-snapshot",
8966
+ "SR",
8967
+ "VM-template",
8968
+ "message",
8969
+ "vgpu",
8970
+ "gpuGroup",
8971
+ "network",
8972
+ "PCI",
8973
+ "PGPU",
8974
+ "PIF",
8975
+ "VDI",
8976
+ "VDI-snapshot",
8977
+ "VDI-unmanaged",
8978
+ "vgpuType",
8979
+ "VM-controller",
8980
+ "SM",
8981
+ "unknown"
8982
+ ]
8983
+ }
8984
+ },
8985
+ "required": [
8986
+ "uuid",
8987
+ "type"
8988
+ ],
8989
+ "type": "object"
8990
+ }
8991
+ },
8992
+ "required": [
8993
+ "$pool",
8994
+ "$poolId",
8995
+ "_xapiRef",
8996
+ "uuid",
8997
+ "id",
8998
+ "type",
8999
+ "name",
9000
+ "time",
9001
+ "body",
9002
+ "object"
9003
+ ],
9004
+ "type": "object"
9005
+ },
9006
+ "UnbrandedXoAlarm": {
9007
+ "$ref": "#/components/schemas/Unbrand_XoAlarm_"
9008
+ }
9009
+ },
9010
+ "securitySchemes": {
9011
+ "token": {
9012
+ "type": "apiKey",
9013
+ "name": "authenticationToken",
9014
+ "in": "cookie"
9015
+ }
9016
+ }
9017
+ },
9018
+ "info": {
9019
+ "title": "@xen-orchestra/rest-api",
9020
+ "version": "0.12.0",
9021
+ "description": "REST API to manage your XOA",
9022
+ "license": {
9023
+ "name": "AGPL-3.0-or-later"
9024
+ },
9025
+ "contact": {
9026
+ "name": "Vates SAS",
9027
+ "url": "https://vates.fr"
9028
+ }
9029
+ },
9030
+ "servers": [
9031
+ {
9032
+ "url": "/rest/v0"
9033
+ }
9034
+ ],
9035
+ "paths": {
9036
+ "/dashboard": {
8604
9037
  "get": {
8605
- "operationId": "GetVmStats",
9038
+ "operationId": "GetDashboard",
8606
9039
  "responses": {
8607
9040
  "200": {
8608
9041
  "description": "Ok",
8609
9042
  "content": {
8610
9043
  "application/json": {
8611
9044
  "schema": {
8612
- "$ref": "#/components/schemas/XapiVmStats"
9045
+ "$ref": "#/components/schemas/XoaDashboard"
8613
9046
  },
8614
9047
  "examples": {
8615
9048
  "Example 1": {
8616
9049
  "value": {
8617
- "endTimestamp": 1739958540,
8618
- "interval": 60,
8619
- "stats": {
8620
- "cpus": {
8621
- "0": [
8622
- 0.10329,
8623
- 0.11014,
8624
- 0.11465,
8625
- 0.11352000000000001,
8626
- 0.10727,
8627
- 0.10522999999999999,
8628
- 0.14641,
8629
- 0.10748,
8630
- 0.12263,
8631
- 0.12427,
8632
- 0.10453000000000001,
8633
- 0.08896699999999999,
8634
- 0.10916000000000001,
8635
- 0.088654,
8636
- 0.10563,
8637
- 0.11789000000000001,
8638
- 0.15555,
8639
- 0.11686,
8640
- 0.12934,
8641
- 0.11566,
8642
- 0.11984999999999998,
8643
- 0.11495,
8644
- 0.11615,
8645
- 0.11151,
8646
- 0.10779,
8647
- 0.1222,
8648
- 0.14765,
8649
- 0.10556,
8650
- 0.094178,
8651
- 0.10196000000000001,
8652
- 0.11102,
8653
- 0.10920999999999999,
8654
- 0.11478000000000001,
8655
- 0.11789000000000001,
8656
- 0.11563000000000001,
8657
- 0.11739000000000001,
8658
- 0.1362,
8659
- 0.11498000000000001,
8660
- 0.11574000000000001,
8661
- 0.11762999999999998,
8662
- 0.13917000000000002,
8663
- 0.11061,
8664
- 0.13446,
8665
- 0.14161,
8666
- 0.12666000000000002,
8667
- 0.11344,
8668
- 0.1374,
8669
- 0.10191,
8670
- 0.10052,
8671
- 0.10721000000000001,
8672
- 0.1026,
8673
- 0.088527,
8674
- 0.11909,
8675
- 0.09958600000000001,
8676
- 0.11494000000000001,
8677
- 0.11477,
8678
- 0.12858,
8679
- 0.12194,
8680
- 0.09911099999999999,
8681
- 0.10887,
8682
- 0.10215999999999999,
8683
- 0.10981,
8684
- 0.12030999999999999,
8685
- 0.10596,
8686
- 0.09993999999999999,
8687
- 0.093929,
8688
- 0.12344999999999999,
8689
- 0.11797,
8690
- 0.10663999999999998,
8691
- 0.10486,
8692
- 0.12799,
8693
- 0.12128,
8694
- 0.12048,
8695
- 0.12692,
8696
- 0.14813,
8697
- 0.12057999999999999,
8698
- 0.15755999999999998,
8699
- 0.1343,
8700
- 0.10422000000000001,
8701
- 0.11711,
8702
- 0.12649,
8703
- 0.12182,
8704
- 0.12440000000000001,
8705
- 0.12294000000000001,
8706
- 0.11839999999999999,
8707
- 0.10195,
8708
- 0.1127,
8709
- 0.09663300000000001,
8710
- 0.11427,
8711
- 0.08722099999999999,
8712
- 0.098883,
8713
- 0.10908999999999999,
8714
- 0.10545000000000002,
8715
- 0.11312,
8716
- 0.11949,
9050
+ "nPools": 2,
9051
+ "nHosts": 5,
9052
+ "backupRepositories": {
9053
+ "s3": {
9054
+ "size": {
9055
+ "backups": 286295393792
9056
+ }
9057
+ },
9058
+ "other": {
9059
+ "size": {
9060
+ "available": 62630354944,
9061
+ "backups": 20684251648,
9062
+ "other": 66875031040,
9063
+ "total": 150189637632,
9064
+ "used": 87559282688
9065
+ }
9066
+ }
9067
+ },
9068
+ "resourcesOverview": {
9069
+ "nCpus": 52,
9070
+ "memorySize": 107374182400,
9071
+ "srSize": 751123595264
9072
+ },
9073
+ "poolsStatus": {
9074
+ "connected": 2,
9075
+ "unreachable": 7,
9076
+ "unknown": 0
9077
+ },
9078
+ "nHostsEol": 0,
9079
+ "missingPatches": {
9080
+ "hasAuthorization": true,
9081
+ "nHostsFailed": 1,
9082
+ "nHostsWithMissingPatches": 4,
9083
+ "nPoolsWithMissingPatches": 2
9084
+ },
9085
+ "storageRepositories": {
9086
+ "size": {
9087
+ "available": 628454834176,
9088
+ "other": 122641256960,
9089
+ "replicated": 27504128,
9090
+ "total": 751123595264,
9091
+ "used": 122668761088
9092
+ }
9093
+ },
9094
+ "backups": {
9095
+ "jobs": {
9096
+ "disabled": 8,
9097
+ "failed": 0,
9098
+ "skipped": 0,
9099
+ "successful": 0,
9100
+ "total": 8
9101
+ },
9102
+ "issues": [],
9103
+ "vmsProtection": {
9104
+ "protected": 0,
9105
+ "unprotected": 0,
9106
+ "notInJob": 20
9107
+ }
9108
+ }
9109
+ }
9110
+ }
9111
+ }
9112
+ }
9113
+ }
9114
+ },
9115
+ "401": {
9116
+ "description": "Authentication required"
9117
+ }
9118
+ },
9119
+ "tags": [
9120
+ "xoa"
9121
+ ],
9122
+ "security": [
9123
+ {
9124
+ "*": []
9125
+ }
9126
+ ],
9127
+ "parameters": [
9128
+ {
9129
+ "in": "query",
9130
+ "name": "ndjson",
9131
+ "required": false,
9132
+ "schema": {
9133
+ "type": "boolean"
9134
+ }
9135
+ }
9136
+ ]
9137
+ }
9138
+ },
9139
+ "/vms": {
9140
+ "get": {
9141
+ "operationId": "GetVms",
9142
+ "responses": {
9143
+ "200": {
9144
+ "description": "Ok",
9145
+ "content": {
9146
+ "application/json": {
9147
+ "schema": {
9148
+ "$ref": "#/components/schemas/SendObjects_Partial_Unbrand_XoVm___"
9149
+ },
9150
+ "examples": {
9151
+ "Example 1": {
9152
+ "value": [
9153
+ "/rest/v0/vms/f07ab729-c0e8-721c-45ec-f11276377030",
9154
+ "/rest/v0/vms/d5d1c4a3-4c5e-ca7b-6be8-33c824f87571"
9155
+ ]
9156
+ },
9157
+ "Example 2": {
9158
+ "value": [
9159
+ {
9160
+ "name_label": "foo",
9161
+ "power_state": "Running",
9162
+ "uuid": "f07ab729-c0e8-721c-45ec-f11276377030",
9163
+ "href": "/rest/v0/vms/f07ab729-c0e8-721c-45ec-f11276377030"
9164
+ },
9165
+ {
9166
+ "name_label": "foo_bar",
9167
+ "power_state": "Halted",
9168
+ "uuid": "d5d1c4a3-4c5e-ca7b-6be8-33c824f87571",
9169
+ "href": "/rest/v0/vms/d5d1c4a3-4c5e-ca7b-6be8-33c824f87571"
9170
+ }
9171
+ ]
9172
+ }
9173
+ }
9174
+ }
9175
+ }
9176
+ },
9177
+ "401": {
9178
+ "description": "Authentication required"
9179
+ }
9180
+ },
9181
+ "tags": [
9182
+ "vms"
9183
+ ],
9184
+ "security": [
9185
+ {
9186
+ "*": []
9187
+ }
9188
+ ],
9189
+ "parameters": [
9190
+ {
9191
+ "in": "query",
9192
+ "name": "fields",
9193
+ "required": false,
9194
+ "schema": {
9195
+ "type": "string"
9196
+ },
9197
+ "example": "name_label,power_state,uuid"
9198
+ },
9199
+ {
9200
+ "in": "query",
9201
+ "name": "ndjson",
9202
+ "required": false,
9203
+ "schema": {
9204
+ "type": "boolean"
9205
+ }
9206
+ },
9207
+ {
9208
+ "in": "query",
9209
+ "name": "filter",
9210
+ "required": false,
9211
+ "schema": {
9212
+ "type": "string"
9213
+ },
9214
+ "example": "power_state:Running"
9215
+ },
9216
+ {
9217
+ "in": "query",
9218
+ "name": "limit",
9219
+ "required": false,
9220
+ "schema": {
9221
+ "format": "double",
9222
+ "type": "number"
9223
+ },
9224
+ "example": 42
9225
+ }
9226
+ ]
9227
+ }
9228
+ },
9229
+ "/vms/{id}": {
9230
+ "get": {
9231
+ "operationId": "GetVm",
9232
+ "responses": {
9233
+ "200": {
9234
+ "description": "Ok",
9235
+ "content": {
9236
+ "application/json": {
9237
+ "schema": {
9238
+ "$ref": "#/components/schemas/Unbrand_XoVm_"
9239
+ },
9240
+ "examples": {
9241
+ "Example 1": {
9242
+ "value": {
9243
+ "type": "VM",
9244
+ "addresses": {},
9245
+ "auto_poweron": false,
9246
+ "bios_strings": {
9247
+ "bios-vendor": "Xen",
9248
+ "bios-version": "",
9249
+ "system-manufacturer": "Xen",
9250
+ "system-product-name": "HVM domU",
9251
+ "system-version": "",
9252
+ "system-serial-number": "",
9253
+ "hp-rombios": "",
9254
+ "oem-1": "Xen",
9255
+ "oem-2": "MS_VM_CERT/SHA1/bdbeb6e0a816d43fa6d3fe8aaef04c2bad9d3e3d"
9256
+ },
9257
+ "blockedOperations": {},
9258
+ "boot": {
9259
+ "firmware": "bios",
9260
+ "order": "cd"
9261
+ },
9262
+ "CPUs": {
9263
+ "max": 2,
9264
+ "number": 2
9265
+ },
9266
+ "creation": {
9267
+ "date": "2024-12-18T15:08:43.142Z",
9268
+ "template": "bfa83003-ac1a-dde9-6a44-6cca5fd3e735",
9269
+ "user": "d558dd75-c928-45f6-b8e3-4375bdda59f8"
9270
+ },
9271
+ "current_operations": {},
9272
+ "expNestedHvm": false,
9273
+ "viridian": false,
9274
+ "high_availability": "",
9275
+ "isFirmwareSupported": true,
9276
+ "memory": {
9277
+ "dynamic": [
9278
+ 4294967296,
9279
+ 4294967296
9280
+ ],
9281
+ "static": [
9282
+ 2147483648,
9283
+ 4294967296
9284
+ ],
9285
+ "size": 4294967296
9286
+ },
9287
+ "installTime": 1734534522,
9288
+ "name_description": "Debian 12 Cloud-Init Ready Hub Template",
9289
+ "name_label": "MRA XOA",
9290
+ "needsVtpm": false,
9291
+ "other": {
9292
+ "xo:f07ab729": "{\"creation\":{\"date\":\"2024-12-18T15:08:43.142Z\",\"template\":\"bfa83003-ac1a-dde9-6a44-6cca5fd3e735\",\"user\":\"d558dd75-c928-45f6-b8e3-4375bdda59f8\"}}",
9293
+ "xo:resource:namespace": "Debian12",
9294
+ "xo:resource:xva:version": "1.0.0",
9295
+ "xo:resource:xva:id": "e2fb63ba-1a5d-7527-bfca-14fef610bf6f",
9296
+ "xo:resource:installedTemplate:uuid": "bfa83003-ac1a-dde9-6a44-6cca5fd3e735",
9297
+ "import_task": "OpaqueRef:7c274dba-70ef-1f28-ab31-9c7ef5b26c51",
9298
+ "mac_seed": "ebcb83b9-b96d-6341-931c-9d5105656bf2",
9299
+ "vgpu_pci": "",
9300
+ "base_template_name": "Debian Jessie 8.0",
9301
+ "install-methods": "cdrom,nfs,http,ftp",
9302
+ "linux_template": "true"
9303
+ },
9304
+ "os_version": null,
9305
+ "power_state": "Halted",
9306
+ "hasVendorDevice": false,
9307
+ "snapshots": [],
9308
+ "startDelay": 0,
9309
+ "startTime": null,
9310
+ "secureBoot": false,
9311
+ "tags": [],
9312
+ "VIFs": [
9313
+ "803382fb-9d69-fbf7-8fef-2b3a8adfce5a"
9314
+ ],
9315
+ "VTPMs": [],
9316
+ "virtualizationMode": "hvm",
9317
+ "$container": "b7569d99-30f8-178a-7d94-801de3e29b5b",
9318
+ "$VBDs": [
9319
+ "43ecda28-e716-a60e-5322-ee6597d07aec",
9320
+ "a30d24aa-188c-dc6d-6ee3-5bf1e504a3e9"
9321
+ ],
9322
+ "VGPUs": [],
9323
+ "$VGPUs": [],
9324
+ "xenStoreData": {
9325
+ "vm-data/mmio-hole-size": "268435456",
9326
+ "vm-data": ""
9327
+ },
9328
+ "vga": "cirrus",
9329
+ "videoram": 4,
9330
+ "id": "f07ab729-c0e8-721c-45ec-f11276377030",
9331
+ "uuid": "f07ab729-c0e8-721c-45ec-f11276377030",
9332
+ "$pool": "b7569d99-30f8-178a-7d94-801de3e29b5b",
9333
+ "$poolId": "b7569d99-30f8-178a-7d94-801de3e29b5b",
9334
+ "_xapiRef": "OpaqueRef:ffdf8863-5331-9394-5c1b-d1db7de20a76"
9335
+ }
9336
+ }
9337
+ }
9338
+ }
9339
+ }
9340
+ },
9341
+ "401": {
9342
+ "description": "Authentication required"
9343
+ },
9344
+ "404": {
9345
+ "description": "Resource not found"
9346
+ }
9347
+ },
9348
+ "tags": [
9349
+ "vms"
9350
+ ],
9351
+ "security": [
9352
+ {
9353
+ "*": []
9354
+ }
9355
+ ],
9356
+ "parameters": [
9357
+ {
9358
+ "in": "path",
9359
+ "name": "id",
9360
+ "required": true,
9361
+ "schema": {
9362
+ "type": "string"
9363
+ },
9364
+ "example": "f07ab729-c0e8-721c-45ec-f11276377030"
9365
+ }
9366
+ ]
9367
+ }
9368
+ },
9369
+ "/vms/{id}/stats": {
9370
+ "get": {
9371
+ "operationId": "GetVmStats",
9372
+ "responses": {
9373
+ "200": {
9374
+ "description": "Ok",
9375
+ "content": {
9376
+ "application/json": {
9377
+ "schema": {
9378
+ "$ref": "#/components/schemas/XapiVmStats"
9379
+ },
9380
+ "examples": {
9381
+ "Example 1": {
9382
+ "value": {
9383
+ "endTimestamp": 1739958540,
9384
+ "interval": 60,
9385
+ "stats": {
9386
+ "cpus": {
9387
+ "0": [
9388
+ 0.10329,
9389
+ 0.11014,
9390
+ 0.11465,
9391
+ 0.11352000000000001,
9392
+ 0.10727,
9393
+ 0.10522999999999999,
9394
+ 0.14641,
9395
+ 0.10748,
9396
+ 0.12263,
9397
+ 0.12427,
9398
+ 0.10453000000000001,
9399
+ 0.08896699999999999,
9400
+ 0.10916000000000001,
9401
+ 0.088654,
9402
+ 0.10563,
9403
+ 0.11789000000000001,
9404
+ 0.15555,
9405
+ 0.11686,
9406
+ 0.12934,
9407
+ 0.11566,
9408
+ 0.11984999999999998,
9409
+ 0.11495,
9410
+ 0.11615,
9411
+ 0.11151,
9412
+ 0.10779,
9413
+ 0.1222,
9414
+ 0.14765,
9415
+ 0.10556,
9416
+ 0.094178,
9417
+ 0.10196000000000001,
9418
+ 0.11102,
9419
+ 0.10920999999999999,
9420
+ 0.11478000000000001,
9421
+ 0.11789000000000001,
9422
+ 0.11563000000000001,
9423
+ 0.11739000000000001,
9424
+ 0.1362,
9425
+ 0.11498000000000001,
9426
+ 0.11574000000000001,
9427
+ 0.11762999999999998,
9428
+ 0.13917000000000002,
9429
+ 0.11061,
9430
+ 0.13446,
9431
+ 0.14161,
9432
+ 0.12666000000000002,
9433
+ 0.11344,
9434
+ 0.1374,
9435
+ 0.10191,
9436
+ 0.10052,
9437
+ 0.10721000000000001,
9438
+ 0.1026,
9439
+ 0.088527,
9440
+ 0.11909,
9441
+ 0.09958600000000001,
9442
+ 0.11494000000000001,
9443
+ 0.11477,
9444
+ 0.12858,
9445
+ 0.12194,
9446
+ 0.09911099999999999,
9447
+ 0.10887,
9448
+ 0.10215999999999999,
9449
+ 0.10981,
9450
+ 0.12030999999999999,
9451
+ 0.10596,
9452
+ 0.09993999999999999,
9453
+ 0.093929,
9454
+ 0.12344999999999999,
9455
+ 0.11797,
9456
+ 0.10663999999999998,
9457
+ 0.10486,
9458
+ 0.12799,
9459
+ 0.12128,
9460
+ 0.12048,
9461
+ 0.12692,
9462
+ 0.14813,
9463
+ 0.12057999999999999,
9464
+ 0.15755999999999998,
9465
+ 0.1343,
9466
+ 0.10422000000000001,
9467
+ 0.11711,
9468
+ 0.12649,
9469
+ 0.12182,
9470
+ 0.12440000000000001,
9471
+ 0.12294000000000001,
9472
+ 0.11839999999999999,
9473
+ 0.10195,
9474
+ 0.1127,
9475
+ 0.09663300000000001,
9476
+ 0.11427,
9477
+ 0.08722099999999999,
9478
+ 0.098883,
9479
+ 0.10908999999999999,
9480
+ 0.10545000000000002,
9481
+ 0.11312,
9482
+ 0.11949,
8717
9483
  0.13102999999999998,
8718
9484
  0.13713,
8719
9485
  0.13815,
@@ -10905,9 +11671,104 @@
10905
11671
  "name": "id",
10906
11672
  "required": true,
10907
11673
  "schema": {
10908
- "type": "string"
11674
+ "type": "string"
11675
+ },
11676
+ "example": "b7569d99-30f8-178a-7d94-801de3e29b5b-f873abe0-b138-4995-8f6f-498b423d234d"
11677
+ }
11678
+ ]
11679
+ }
11680
+ },
11681
+ "/vm-templates/{id}/alarms": {
11682
+ "get": {
11683
+ "operationId": "GetVmTemplateAlarms",
11684
+ "responses": {
11685
+ "200": {
11686
+ "description": "Ok",
11687
+ "content": {
11688
+ "application/json": {
11689
+ "schema": {
11690
+ "$ref": "#/components/schemas/SendObjects_Partial_Unbrand_XoAlarm___"
11691
+ },
11692
+ "examples": {
11693
+ "Example 1": {
11694
+ "value": [
11695
+ {
11696
+ "id": "7e87b95e-8ebb-31c5-30ad-ff2eb079604b",
11697
+ "time": 1747053794,
11698
+ "href": "/rest/v0/alarms/7e87b95e-8ebb-31c5-30ad-ff2eb079604b"
11699
+ },
11700
+ {
11701
+ "id": "7e87b95e-8ebb-31c5-30ad-ff2eb079604c",
11702
+ "time": 1747053795,
11703
+ "href": "/rest/v0/alarms/7e87b95e-8ebb-31c5-30ad-ff2eb079604c"
11704
+ }
11705
+ ]
11706
+ }
11707
+ }
11708
+ }
11709
+ }
11710
+ },
11711
+ "401": {
11712
+ "description": "Authentication required"
11713
+ },
11714
+ "404": {
11715
+ "description": "Resource not found"
11716
+ }
11717
+ },
11718
+ "tags": [
11719
+ "alarms",
11720
+ "vms"
11721
+ ],
11722
+ "security": [
11723
+ {
11724
+ "*": []
11725
+ }
11726
+ ],
11727
+ "parameters": [
11728
+ {
11729
+ "in": "path",
11730
+ "name": "id",
11731
+ "required": true,
11732
+ "schema": {
11733
+ "type": "string"
11734
+ },
11735
+ "example": "b7569d99-30f8-178a-7d94-801de3e29b5b-f873abe0-b138-4995-8f6f-498b423d234d"
11736
+ },
11737
+ {
11738
+ "in": "query",
11739
+ "name": "fields",
11740
+ "required": false,
11741
+ "schema": {
11742
+ "type": "string"
11743
+ },
11744
+ "example": "id,time"
11745
+ },
11746
+ {
11747
+ "in": "query",
11748
+ "name": "ndjson",
11749
+ "required": false,
11750
+ "schema": {
11751
+ "type": "boolean"
11752
+ }
11753
+ },
11754
+ {
11755
+ "in": "query",
11756
+ "name": "filter",
11757
+ "required": false,
11758
+ "schema": {
11759
+ "type": "string"
11760
+ },
11761
+ "example": "time:>1747053793"
11762
+ },
11763
+ {
11764
+ "in": "query",
11765
+ "name": "limit",
11766
+ "required": false,
11767
+ "schema": {
11768
+ "format": "double",
11769
+ "type": "number"
10909
11770
  },
10910
- "example": "b7569d99-30f8-178a-7d94-801de3e29b5b-f873abe0-b138-4995-8f6f-498b423d234d"
11771
+ "example": 42
10911
11772
  }
10912
11773
  ]
10913
11774
  }
@@ -11790,6 +12651,101 @@
11790
12651
  ]
11791
12652
  }
11792
12653
  },
12654
+ "/vdis/{id}/alarms": {
12655
+ "get": {
12656
+ "operationId": "GetVdiAlarms",
12657
+ "responses": {
12658
+ "200": {
12659
+ "description": "Ok",
12660
+ "content": {
12661
+ "application/json": {
12662
+ "schema": {
12663
+ "$ref": "#/components/schemas/SendObjects_Partial_Unbrand_XoAlarm___"
12664
+ },
12665
+ "examples": {
12666
+ "Example 1": {
12667
+ "value": [
12668
+ {
12669
+ "id": "7e87b95e-8ebb-31c5-30ad-ff2eb079604b",
12670
+ "time": 1747053794,
12671
+ "href": "/rest/v0/alarms/7e87b95e-8ebb-31c5-30ad-ff2eb079604b"
12672
+ },
12673
+ {
12674
+ "id": "7e87b95e-8ebb-31c5-30ad-ff2eb079604c",
12675
+ "time": 1747053795,
12676
+ "href": "/rest/v0/alarms/7e87b95e-8ebb-31c5-30ad-ff2eb079604c"
12677
+ }
12678
+ ]
12679
+ }
12680
+ }
12681
+ }
12682
+ }
12683
+ },
12684
+ "401": {
12685
+ "description": "Authentication required"
12686
+ },
12687
+ "404": {
12688
+ "description": "Resource not found"
12689
+ }
12690
+ },
12691
+ "tags": [
12692
+ "alarms",
12693
+ "vdis"
12694
+ ],
12695
+ "security": [
12696
+ {
12697
+ "*": []
12698
+ }
12699
+ ],
12700
+ "parameters": [
12701
+ {
12702
+ "in": "path",
12703
+ "name": "id",
12704
+ "required": true,
12705
+ "schema": {
12706
+ "type": "string"
12707
+ },
12708
+ "example": "c77f9955-c1d2-4b39-aa1c-73cdb2dacb7e"
12709
+ },
12710
+ {
12711
+ "in": "query",
12712
+ "name": "fields",
12713
+ "required": false,
12714
+ "schema": {
12715
+ "type": "string"
12716
+ },
12717
+ "example": "id,time"
12718
+ },
12719
+ {
12720
+ "in": "query",
12721
+ "name": "ndjson",
12722
+ "required": false,
12723
+ "schema": {
12724
+ "type": "boolean"
12725
+ }
12726
+ },
12727
+ {
12728
+ "in": "query",
12729
+ "name": "filter",
12730
+ "required": false,
12731
+ "schema": {
12732
+ "type": "string"
12733
+ },
12734
+ "example": "time:>1747053793"
12735
+ },
12736
+ {
12737
+ "in": "query",
12738
+ "name": "limit",
12739
+ "required": false,
12740
+ "schema": {
12741
+ "format": "double",
12742
+ "type": "number"
12743
+ },
12744
+ "example": 42
12745
+ }
12746
+ ]
12747
+ }
12748
+ },
11793
12749
  "/vdi-snapshots": {
11794
12750
  "get": {
11795
12751
  "operationId": "GetVdiSnapshots",
@@ -11952,6 +12908,101 @@
11952
12908
  ]
11953
12909
  }
11954
12910
  },
12911
+ "/vdi-snapshots/{id}/alarms": {
12912
+ "get": {
12913
+ "operationId": "GetVdiSnapshotAlarms",
12914
+ "responses": {
12915
+ "200": {
12916
+ "description": "Ok",
12917
+ "content": {
12918
+ "application/json": {
12919
+ "schema": {
12920
+ "$ref": "#/components/schemas/SendObjects_Partial_Unbrand_XoAlarm___"
12921
+ },
12922
+ "examples": {
12923
+ "Example 1": {
12924
+ "value": [
12925
+ {
12926
+ "id": "7e87b95e-8ebb-31c5-30ad-ff2eb079604b",
12927
+ "time": 1747053794,
12928
+ "href": "/rest/v0/alarms/7e87b95e-8ebb-31c5-30ad-ff2eb079604b"
12929
+ },
12930
+ {
12931
+ "id": "7e87b95e-8ebb-31c5-30ad-ff2eb079604c",
12932
+ "time": 1747053795,
12933
+ "href": "/rest/v0/alarms/7e87b95e-8ebb-31c5-30ad-ff2eb079604c"
12934
+ }
12935
+ ]
12936
+ }
12937
+ }
12938
+ }
12939
+ }
12940
+ },
12941
+ "401": {
12942
+ "description": "Authentication required"
12943
+ },
12944
+ "404": {
12945
+ "description": "Resource not found"
12946
+ }
12947
+ },
12948
+ "tags": [
12949
+ "alarms",
12950
+ "vdis"
12951
+ ],
12952
+ "security": [
12953
+ {
12954
+ "*": []
12955
+ }
12956
+ ],
12957
+ "parameters": [
12958
+ {
12959
+ "in": "path",
12960
+ "name": "id",
12961
+ "required": true,
12962
+ "schema": {
12963
+ "type": "string"
12964
+ },
12965
+ "example": "d2727772-735b-478f-b6f9-11e7db56dfd0"
12966
+ },
12967
+ {
12968
+ "in": "query",
12969
+ "name": "fields",
12970
+ "required": false,
12971
+ "schema": {
12972
+ "type": "string"
12973
+ },
12974
+ "example": "id,time"
12975
+ },
12976
+ {
12977
+ "in": "query",
12978
+ "name": "ndjson",
12979
+ "required": false,
12980
+ "schema": {
12981
+ "type": "boolean"
12982
+ }
12983
+ },
12984
+ {
12985
+ "in": "query",
12986
+ "name": "filter",
12987
+ "required": false,
12988
+ "schema": {
12989
+ "type": "string"
12990
+ },
12991
+ "example": "time:>1747053793"
12992
+ },
12993
+ {
12994
+ "in": "query",
12995
+ "name": "limit",
12996
+ "required": false,
12997
+ "schema": {
12998
+ "format": "double",
12999
+ "type": "number"
13000
+ },
13001
+ "example": 42
13002
+ }
13003
+ ]
13004
+ }
13005
+ },
11955
13006
  "/vbds": {
11956
13007
  "get": {
11957
13008
  "operationId": "GetVbds",
@@ -12191,6 +13242,81 @@
12191
13242
  "example": 42
12192
13243
  }
12193
13244
  ]
13245
+ },
13246
+ "post": {
13247
+ "operationId": "CreateUser",
13248
+ "responses": {
13249
+ "201": {
13250
+ "description": "Resource created",
13251
+ "content": {
13252
+ "application/json": {
13253
+ "schema": {
13254
+ "properties": {
13255
+ "id": {
13256
+ "type": "string"
13257
+ }
13258
+ },
13259
+ "required": [
13260
+ "id"
13261
+ ],
13262
+ "type": "object"
13263
+ },
13264
+ "examples": {
13265
+ "Example 1": {
13266
+ "value": {
13267
+ "id": "722d17b9-699b-49d2-8193-be1ac573d3de"
13268
+ }
13269
+ }
13270
+ }
13271
+ }
13272
+ }
13273
+ },
13274
+ "401": {
13275
+ "description": "Authentication required"
13276
+ },
13277
+ "422": {
13278
+ "description": "Invalid parameters"
13279
+ }
13280
+ },
13281
+ "tags": [
13282
+ "users"
13283
+ ],
13284
+ "security": [
13285
+ {
13286
+ "*": []
13287
+ }
13288
+ ],
13289
+ "parameters": [],
13290
+ "requestBody": {
13291
+ "required": true,
13292
+ "content": {
13293
+ "application/json": {
13294
+ "schema": {
13295
+ "properties": {
13296
+ "permission": {
13297
+ "type": "string"
13298
+ },
13299
+ "password": {
13300
+ "type": "string"
13301
+ },
13302
+ "name": {
13303
+ "type": "string"
13304
+ }
13305
+ },
13306
+ "required": [
13307
+ "password",
13308
+ "name"
13309
+ ],
13310
+ "type": "object"
13311
+ },
13312
+ "example": {
13313
+ "name": "new user",
13314
+ "password": "password",
13315
+ "permission": "none"
13316
+ }
13317
+ }
13318
+ }
13319
+ }
12194
13320
  }
12195
13321
  },
12196
13322
  "/users/{id}": {
@@ -12249,6 +13375,39 @@
12249
13375
  "example": "722d17b9-699b-49d2-8193-be1ac573d3de"
12250
13376
  }
12251
13377
  ]
13378
+ },
13379
+ "delete": {
13380
+ "operationId": "DeleteUser",
13381
+ "responses": {
13382
+ "204": {
13383
+ "description": "No content"
13384
+ },
13385
+ "401": {
13386
+ "description": "Authentication required"
13387
+ },
13388
+ "404": {
13389
+ "description": "Resource not found"
13390
+ }
13391
+ },
13392
+ "tags": [
13393
+ "users"
13394
+ ],
13395
+ "security": [
13396
+ {
13397
+ "*": []
13398
+ }
13399
+ ],
13400
+ "parameters": [
13401
+ {
13402
+ "in": "path",
13403
+ "name": "id",
13404
+ "required": true,
13405
+ "schema": {
13406
+ "type": "string"
13407
+ },
13408
+ "example": "722d17b9-699b-49d2-8193-be1ac573d3de"
13409
+ }
13410
+ ]
12252
13411
  }
12253
13412
  },
12254
13413
  "/srs": {
@@ -12452,6 +13611,101 @@
12452
13611
  ]
12453
13612
  }
12454
13613
  },
13614
+ "/srs/{id}/alarms": {
13615
+ "get": {
13616
+ "operationId": "GetSrAlarms",
13617
+ "responses": {
13618
+ "200": {
13619
+ "description": "Ok",
13620
+ "content": {
13621
+ "application/json": {
13622
+ "schema": {
13623
+ "$ref": "#/components/schemas/SendObjects_Partial_Unbrand_XoAlarm___"
13624
+ },
13625
+ "examples": {
13626
+ "Example 1": {
13627
+ "value": [
13628
+ {
13629
+ "id": "7e87b95e-8ebb-31c5-30ad-ff2eb079604b",
13630
+ "time": 1747053794,
13631
+ "href": "/rest/v0/alarms/7e87b95e-8ebb-31c5-30ad-ff2eb079604b"
13632
+ },
13633
+ {
13634
+ "id": "7e87b95e-8ebb-31c5-30ad-ff2eb079604c",
13635
+ "time": 1747053795,
13636
+ "href": "/rest/v0/alarms/7e87b95e-8ebb-31c5-30ad-ff2eb079604c"
13637
+ }
13638
+ ]
13639
+ }
13640
+ }
13641
+ }
13642
+ }
13643
+ },
13644
+ "401": {
13645
+ "description": "Authentication required"
13646
+ },
13647
+ "404": {
13648
+ "description": "Resource not found"
13649
+ }
13650
+ },
13651
+ "tags": [
13652
+ "alarms",
13653
+ "srs"
13654
+ ],
13655
+ "security": [
13656
+ {
13657
+ "*": []
13658
+ }
13659
+ ],
13660
+ "parameters": [
13661
+ {
13662
+ "in": "path",
13663
+ "name": "id",
13664
+ "required": true,
13665
+ "schema": {
13666
+ "type": "string"
13667
+ },
13668
+ "example": "c4284e12-37c9-7967-b9e8-83ef229c3e03"
13669
+ },
13670
+ {
13671
+ "in": "query",
13672
+ "name": "fields",
13673
+ "required": false,
13674
+ "schema": {
13675
+ "type": "string"
13676
+ },
13677
+ "example": "id,time"
13678
+ },
13679
+ {
13680
+ "in": "query",
13681
+ "name": "ndjson",
13682
+ "required": false,
13683
+ "schema": {
13684
+ "type": "boolean"
13685
+ }
13686
+ },
13687
+ {
13688
+ "in": "query",
13689
+ "name": "filter",
13690
+ "required": false,
13691
+ "schema": {
13692
+ "type": "string"
13693
+ },
13694
+ "example": "time:>1747053793"
13695
+ },
13696
+ {
13697
+ "in": "query",
13698
+ "name": "limit",
13699
+ "required": false,
13700
+ "schema": {
13701
+ "format": "double",
13702
+ "type": "number"
13703
+ },
13704
+ "example": 42
13705
+ }
13706
+ ]
13707
+ }
13708
+ },
12455
13709
  "/sms": {
12456
13710
  "get": {
12457
13711
  "operationId": "GetSrs",
@@ -15817,15 +17071,370 @@
15817
17071
  "schema": {
15818
17072
  "type": "string"
15819
17073
  },
15820
- "example": "355ee47d-ff4c-4924-3db2-fd86ae629677"
17074
+ "example": "355ee47d-ff4c-4924-3db2-fd86ae629677"
17075
+ },
17076
+ {
17077
+ "in": "query",
17078
+ "name": "granularity",
17079
+ "required": false,
17080
+ "schema": {
17081
+ "$ref": "#/components/schemas/XapiStatsGranularity"
17082
+ }
17083
+ }
17084
+ ]
17085
+ }
17086
+ },
17087
+ "/pools/{id}/dashboard": {
17088
+ "get": {
17089
+ "operationId": "GetPoolDashboard",
17090
+ "responses": {
17091
+ "200": {
17092
+ "description": "Ok",
17093
+ "content": {
17094
+ "application/json": {
17095
+ "schema": {
17096
+ "anyOf": [
17097
+ {
17098
+ "$ref": "#/components/schemas/PoolDashboard"
17099
+ },
17100
+ {}
17101
+ ]
17102
+ },
17103
+ "examples": {
17104
+ "Example 1": {
17105
+ "value": {
17106
+ "hosts": {
17107
+ "status": {
17108
+ "running": 3,
17109
+ "disabled": 0,
17110
+ "halted": 0,
17111
+ "total": 3
17112
+ },
17113
+ "topFiveUsage": {
17114
+ "ram": [
17115
+ {
17116
+ "name_label": "XCP XO 8.3.0 master",
17117
+ "id": "b61a5c92-700e-4966-a13b-00633f03eea8",
17118
+ "size": 34359738368,
17119
+ "usage": 6254059520,
17120
+ "percent": 18.201708793640137
17121
+ },
17122
+ {
17123
+ "name_label": "XCP XO 8.3.0 slave",
17124
+ "id": "84e555d8-267a-4720-aa5f-fd19035aadae",
17125
+ "size": 34359738368,
17126
+ "usage": 3544117248,
17127
+ "percent": 10.314738750457764
17128
+ },
17129
+ {
17130
+ "name_label": "XCP XO 8.3.0 slave 2",
17131
+ "id": "669df518-4e5d-4d84-b93a-9be2cdcdfca1",
17132
+ "size": 34359738368,
17133
+ "usage": 3544117248,
17134
+ "percent": 10.314738750457764
17135
+ }
17136
+ ],
17137
+ "cpu": [
17138
+ {
17139
+ "percent": 6.471593483001921,
17140
+ "id": "b61a5c92-700e-4966-a13b-00633f03eea8",
17141
+ "name_label": "XCP XO 8.3.0 master"
17142
+ },
17143
+ {
17144
+ "percent": 2.340522127838084,
17145
+ "id": "84e555d8-267a-4720-aa5f-fd19035aadae",
17146
+ "name_label": "XCP XO 8.3.0 slave"
17147
+ },
17148
+ {
17149
+ "percent": 1.5935676943627188,
17150
+ "id": "669df518-4e5d-4d84-b93a-9be2cdcdfca1",
17151
+ "name_label": "XCP XO 8.3.0 slave 2"
17152
+ }
17153
+ ]
17154
+ },
17155
+ "missingPatches": {
17156
+ "hasAuthorization": true,
17157
+ "missingPatches": [
17158
+ {
17159
+ "url": "http://www.xen.org",
17160
+ "version": "25.6.0",
17161
+ "name": "xenopsd-xc",
17162
+ "license": "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception",
17163
+ "changelog": {
17164
+ "date": 1750852800,
17165
+ "description": "- Fix remote syslog configuration being broken on updates",
17166
+ "author": "Andrii Sultanov <andriy.sultanov@vates.tech> - 25.6.0-1.9"
17167
+ },
17168
+ "release": "1.9.xcpng8.3",
17169
+ "size": 5421696,
17170
+ "description": "Xenopsd using xc"
17171
+ },
17172
+ {
17173
+ "url": "http://www.xen.org",
17174
+ "version": "25.6.0",
17175
+ "name": "forkexecd",
17176
+ "license": "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception",
17177
+ "changelog": {
17178
+ "date": 1750852800,
17179
+ "description": "- Fix remote syslog configuration being broken on updates",
17180
+ "author": "Andrii Sultanov <andriy.sultanov@vates.tech> - 25.6.0-1.9"
17181
+ },
17182
+ "release": "1.9.xcpng8.3",
17183
+ "size": 2498124,
17184
+ "description": "A subprocess management service"
17185
+ }
17186
+ ]
17187
+ }
17188
+ },
17189
+ "vms": {
17190
+ "status": {
17191
+ "running": 2,
17192
+ "halted": 38,
17193
+ "paused": 0,
17194
+ "total": 40,
17195
+ "suspended": 0
17196
+ },
17197
+ "topFiveUsage": {
17198
+ "ram": [
17199
+ {
17200
+ "id": "db822c15-6f7d-8920-10bd-68d40fb12ac6",
17201
+ "name_label": "MRA alpine",
17202
+ "memory": 536858624,
17203
+ "memoryFree": 423256064,
17204
+ "percent": 21.160610060349892
17205
+ },
17206
+ {
17207
+ "id": "fe10b378-db7b-d2a4-eef6-0f1cde75d409",
17208
+ "name_label": "pbt_test",
17209
+ "memory": 2147471360,
17210
+ "memoryFree": 1813676032,
17211
+ "percent": 15.54364515482991
17212
+ }
17213
+ ],
17214
+ "cpu": [
17215
+ {
17216
+ "id": "db822c15-6f7d-8920-10bd-68d40fb12ac6",
17217
+ "name_label": "MRA alpine",
17218
+ "percent": 1.04830558411777
17219
+ },
17220
+ {
17221
+ "id": "fe10b378-db7b-d2a4-eef6-0f1cde75d409",
17222
+ "name_label": "pbt_test",
17223
+ "percent": 0.3743608540389682
17224
+ }
17225
+ ]
17226
+ }
17227
+ },
17228
+ "srs": {
17229
+ "topFiveUsage": [
17230
+ {
17231
+ "name_label": "Local storage",
17232
+ "id": "4cb0d74e-a7c1-0b7d-46e3-09382c012abb",
17233
+ "percent": 45.51916716586373,
17234
+ "physical_usage": 33539653632,
17235
+ "size": 73682485248
17236
+ },
17237
+ {
17238
+ "name_label": "Local storage",
17239
+ "id": "c4284e12-37c9-7967-b9e8-83ef229c3e03",
17240
+ "percent": 23.527768920458005,
17241
+ "physical_usage": 17335844864,
17242
+ "size": 73682485248
17243
+ },
17244
+ {
17245
+ "name_label": "XOSTOR NVME",
17246
+ "id": "c787b75c-3e0d-70fa-d0c3-cbfd382d7e33",
17247
+ "percent": 18.56945625131877,
17248
+ "physical_usage": 95048891392,
17249
+ "size": 511856082944
17250
+ },
17251
+ {
17252
+ "name_label": "Local storage",
17253
+ "id": "8aa2fb4a-143e-c2bc-05d4-c68bbb101d41",
17254
+ "percent": 16.016159531372924,
17255
+ "physical_usage": 11801104384,
17256
+ "size": 73682485248
17257
+ }
17258
+ ]
17259
+ },
17260
+ "alarms": [
17261
+ {
17262
+ "name": "ALARM",
17263
+ "time": 1749572297,
17264
+ "id": "71ef8836-56e4-97ca-02d1-e118ee1aad98",
17265
+ "type": "message",
17266
+ "uuid": "71ef8836-56e4-97ca-02d1-e118ee1aad98",
17267
+ "$pool": "b7569d99-30f8-178a-7d94-801de3e29b5b",
17268
+ "$poolId": "b7569d99-30f8-178a-7d94-801de3e29b5b",
17269
+ "_xapiRef": "OpaqueRef:fed2a9e5-6c72-dada-6f27-7475583ff3e7",
17270
+ "body": {
17271
+ "value": "1.054742",
17272
+ "name": "mem_usage"
17273
+ },
17274
+ "object": {
17275
+ "type": "VM-controller",
17276
+ "uuid": "9b4775bd-9493-490a-9afa-f786a44caa4f",
17277
+ "href": "/rest/v0/vm-controllers/9b4775bd-9493-490a-9afa-f786a44caa4f"
17278
+ }
17279
+ },
17280
+ {
17281
+ "name": "ALARM",
17282
+ "time": 1748688413,
17283
+ "id": "ef9008da-e244-9875-4b83-12de733c8aa9",
17284
+ "type": "message",
17285
+ "uuid": "ef9008da-e244-9875-4b83-12de733c8aa9",
17286
+ "$pool": "b7569d99-30f8-178a-7d94-801de3e29b5b",
17287
+ "$poolId": "b7569d99-30f8-178a-7d94-801de3e29b5b",
17288
+ "_xapiRef": "OpaqueRef:d03c24dc-037d-ac8b-80ea-c5a1106cd678",
17289
+ "body": {
17290
+ "value": "0.962104",
17291
+ "name": "mem_usage"
17292
+ },
17293
+ "object": {
17294
+ "type": "VM-controller",
17295
+ "uuid": "9b4775bd-9493-490a-9afa-f786a44caa4f",
17296
+ "href": "/rest/v0/vm-controllers/9b4775bd-9493-490a-9afa-f786a44caa4f"
17297
+ }
17298
+ }
17299
+ ],
17300
+ "cpuProvisioning": {
17301
+ "total": 48,
17302
+ "assigned": 4,
17303
+ "percent": 8.333333333333334
17304
+ }
17305
+ }
17306
+ }
17307
+ }
17308
+ }
17309
+ }
17310
+ },
17311
+ "401": {
17312
+ "description": "Authentication required"
17313
+ },
17314
+ "404": {
17315
+ "description": "Resource not found"
17316
+ }
17317
+ },
17318
+ "tags": [
17319
+ "pools"
17320
+ ],
17321
+ "security": [
17322
+ {
17323
+ "*": []
17324
+ }
17325
+ ],
17326
+ "parameters": [
17327
+ {
17328
+ "in": "path",
17329
+ "name": "id",
17330
+ "required": true,
17331
+ "schema": {
17332
+ "type": "string"
17333
+ },
17334
+ "example": "355ee47d-ff4c-4924-3db2-fd86ae629677"
17335
+ },
17336
+ {
17337
+ "in": "query",
17338
+ "name": "ndjson",
17339
+ "required": false,
17340
+ "schema": {
17341
+ "type": "boolean"
17342
+ }
17343
+ }
17344
+ ]
17345
+ }
17346
+ },
17347
+ "/pools/{id}/alarms": {
17348
+ "get": {
17349
+ "operationId": "GetPoolAlarms",
17350
+ "responses": {
17351
+ "200": {
17352
+ "description": "Ok",
17353
+ "content": {
17354
+ "application/json": {
17355
+ "schema": {
17356
+ "$ref": "#/components/schemas/SendObjects_Partial_Unbrand_XoAlarm___"
17357
+ },
17358
+ "examples": {
17359
+ "Example 1": {
17360
+ "value": [
17361
+ {
17362
+ "id": "7e87b95e-8ebb-31c5-30ad-ff2eb079604b",
17363
+ "time": 1747053794,
17364
+ "href": "/rest/v0/alarms/7e87b95e-8ebb-31c5-30ad-ff2eb079604b"
17365
+ },
17366
+ {
17367
+ "id": "7e87b95e-8ebb-31c5-30ad-ff2eb079604c",
17368
+ "time": 1747053795,
17369
+ "href": "/rest/v0/alarms/7e87b95e-8ebb-31c5-30ad-ff2eb079604c"
17370
+ }
17371
+ ]
17372
+ }
17373
+ }
17374
+ }
17375
+ }
17376
+ },
17377
+ "401": {
17378
+ "description": "Authentication required"
17379
+ },
17380
+ "404": {
17381
+ "description": "Resource not found"
17382
+ }
17383
+ },
17384
+ "tags": [
17385
+ "alarms",
17386
+ "pools"
17387
+ ],
17388
+ "security": [
17389
+ {
17390
+ "*": []
17391
+ }
17392
+ ],
17393
+ "parameters": [
17394
+ {
17395
+ "in": "path",
17396
+ "name": "id",
17397
+ "required": true,
17398
+ "schema": {
17399
+ "type": "string"
17400
+ },
17401
+ "example": "355ee47d-ff4c-4924-3db2-fd86ae629676"
15821
17402
  },
15822
17403
  {
15823
17404
  "in": "query",
15824
- "name": "granularity",
17405
+ "name": "fields",
15825
17406
  "required": false,
15826
17407
  "schema": {
15827
- "$ref": "#/components/schemas/XapiStatsGranularity"
17408
+ "type": "string"
17409
+ },
17410
+ "example": "id,time"
17411
+ },
17412
+ {
17413
+ "in": "query",
17414
+ "name": "ndjson",
17415
+ "required": false,
17416
+ "schema": {
17417
+ "type": "boolean"
15828
17418
  }
17419
+ },
17420
+ {
17421
+ "in": "query",
17422
+ "name": "filter",
17423
+ "required": false,
17424
+ "schema": {
17425
+ "type": "string"
17426
+ },
17427
+ "example": "time:>1747053793"
17428
+ },
17429
+ {
17430
+ "in": "query",
17431
+ "name": "limit",
17432
+ "required": false,
17433
+ "schema": {
17434
+ "format": "double",
17435
+ "type": "number"
17436
+ },
17437
+ "example": 42
15829
17438
  }
15830
17439
  ]
15831
17440
  }
@@ -15999,6 +17608,101 @@
15999
17608
  ]
16000
17609
  }
16001
17610
  },
17611
+ "/pifs/{id}/alarms": {
17612
+ "get": {
17613
+ "operationId": "GetPifAlarms",
17614
+ "responses": {
17615
+ "200": {
17616
+ "description": "Ok",
17617
+ "content": {
17618
+ "application/json": {
17619
+ "schema": {
17620
+ "$ref": "#/components/schemas/SendObjects_Partial_Unbrand_XoAlarm___"
17621
+ },
17622
+ "examples": {
17623
+ "Example 1": {
17624
+ "value": [
17625
+ {
17626
+ "id": "7e87b95e-8ebb-31c5-30ad-ff2eb079604b",
17627
+ "time": 1747053794,
17628
+ "href": "/rest/v0/alarms/7e87b95e-8ebb-31c5-30ad-ff2eb079604b"
17629
+ },
17630
+ {
17631
+ "id": "7e87b95e-8ebb-31c5-30ad-ff2eb079604c",
17632
+ "time": 1747053795,
17633
+ "href": "/rest/v0/alarms/7e87b95e-8ebb-31c5-30ad-ff2eb079604c"
17634
+ }
17635
+ ]
17636
+ }
17637
+ }
17638
+ }
17639
+ }
17640
+ },
17641
+ "401": {
17642
+ "description": "Authentication required"
17643
+ },
17644
+ "404": {
17645
+ "description": "Resource not found"
17646
+ }
17647
+ },
17648
+ "tags": [
17649
+ "alarms",
17650
+ "pifs"
17651
+ ],
17652
+ "security": [
17653
+ {
17654
+ "*": []
17655
+ }
17656
+ ],
17657
+ "parameters": [
17658
+ {
17659
+ "in": "path",
17660
+ "name": "id",
17661
+ "required": true,
17662
+ "schema": {
17663
+ "type": "string"
17664
+ },
17665
+ "example": "d9e42451-3794-089f-de81-4ee0e6137bee"
17666
+ },
17667
+ {
17668
+ "in": "query",
17669
+ "name": "fields",
17670
+ "required": false,
17671
+ "schema": {
17672
+ "type": "string"
17673
+ },
17674
+ "example": "id,time"
17675
+ },
17676
+ {
17677
+ "in": "query",
17678
+ "name": "ndjson",
17679
+ "required": false,
17680
+ "schema": {
17681
+ "type": "boolean"
17682
+ }
17683
+ },
17684
+ {
17685
+ "in": "query",
17686
+ "name": "filter",
17687
+ "required": false,
17688
+ "schema": {
17689
+ "type": "string"
17690
+ },
17691
+ "example": "time:>1747053793"
17692
+ },
17693
+ {
17694
+ "in": "query",
17695
+ "name": "limit",
17696
+ "required": false,
17697
+ "schema": {
17698
+ "format": "double",
17699
+ "type": "number"
17700
+ },
17701
+ "example": 42
17702
+ }
17703
+ ]
17704
+ }
17705
+ },
16002
17706
  "/pgpus": {
16003
17707
  "get": {
16004
17708
  "operationId": "GetPgpus",
@@ -16502,50 +18206,29 @@
16502
18206
  ]
16503
18207
  }
16504
18208
  },
16505
- "/alarms": {
18209
+ "/networks/{id}/alarms": {
16506
18210
  "get": {
16507
- "operationId": "GetAlarms",
18211
+ "operationId": "GetNetworkAlarms",
16508
18212
  "responses": {
16509
18213
  "200": {
16510
18214
  "description": "Ok",
16511
18215
  "content": {
16512
18216
  "application/json": {
16513
18217
  "schema": {
16514
- "$ref": "#/components/schemas/SendObjects_Partial_UnbrandedXoAlarm__"
18218
+ "$ref": "#/components/schemas/SendObjects_Partial_Unbrand_XoAlarm___"
16515
18219
  },
16516
18220
  "examples": {
16517
18221
  "Example 1": {
16518
- "value": [
16519
- "/rest/v0/alarms/0c98c71c-2f9c-d5c2-b9b6-2c8371730eab",
16520
- "/rest/v0/alarms/6a4cc401-6cba-0d41-3b02-b848c5017343"
16521
- ]
16522
- },
16523
- "Example 2": {
16524
18222
  "value": [
16525
18223
  {
16526
- "body": {
16527
- "value": "0.0",
16528
- "name": "physical_utilisation"
16529
- },
16530
- "id": "0c98c71c-2f9c-d5c2-b9b6-2c8371730eab",
16531
- "object": {
16532
- "type": "unknown",
16533
- "uuid": "3f607494-26f1-b328-b626-d81cf007de37"
16534
- },
16535
- "href": "/rest/v0/alarms/0c98c71c-2f9c-d5c2-b9b6-2c8371730eab"
18224
+ "id": "7e87b95e-8ebb-31c5-30ad-ff2eb079604b",
18225
+ "time": 1747053794,
18226
+ "href": "/rest/v0/alarms/7e87b95e-8ebb-31c5-30ad-ff2eb079604b"
16536
18227
  },
16537
18228
  {
16538
- "body": {
16539
- "value": "0.2",
16540
- "name": "physical_utilisation"
16541
- },
16542
- "id": "6a4cc401-6cba-0d41-3b02-b848c5017343",
16543
- "object": {
16544
- "type": "SR",
16545
- "uuid": "8aa2fb4a-143e-c2bc-05d4-c68bbb101d41",
16546
- "href": "/rest/v0/srs/8aa2fb4a-143e-c2bc-05d4-c68bbb101d41"
16547
- },
16548
- "href": "/rest/v0/alarms/6a4cc401-6cba-0d41-3b02-b848c5017343"
18229
+ "id": "7e87b95e-8ebb-31c5-30ad-ff2eb079604c",
18230
+ "time": 1747053795,
18231
+ "href": "/rest/v0/alarms/7e87b95e-8ebb-31c5-30ad-ff2eb079604c"
16549
18232
  }
16550
18233
  ]
16551
18234
  }
@@ -16555,10 +18238,14 @@
16555
18238
  },
16556
18239
  "401": {
16557
18240
  "description": "Authentication required"
18241
+ },
18242
+ "404": {
18243
+ "description": "Resource not found"
16558
18244
  }
16559
18245
  },
16560
18246
  "tags": [
16561
- "alarms"
18247
+ "alarms",
18248
+ "networks"
16562
18249
  ],
16563
18250
  "security": [
16564
18251
  {
@@ -16566,6 +18253,15 @@
16566
18253
  }
16567
18254
  ],
16568
18255
  "parameters": [
18256
+ {
18257
+ "in": "path",
18258
+ "name": "id",
18259
+ "required": true,
18260
+ "schema": {
18261
+ "type": "string"
18262
+ },
18263
+ "example": "9fe12ca3-d75d-cfb0-492e-cfd2bc6c568f"
18264
+ },
16569
18265
  {
16570
18266
  "in": "query",
16571
18267
  "name": "fields",
@@ -16573,7 +18269,7 @@
16573
18269
  "schema": {
16574
18270
  "type": "string"
16575
18271
  },
16576
- "example": "body,id,object"
18272
+ "example": "id,time"
16577
18273
  },
16578
18274
  {
16579
18275
  "in": "query",
@@ -16590,7 +18286,7 @@
16590
18286
  "schema": {
16591
18287
  "type": "string"
16592
18288
  },
16593
- "example": "body:name:physical_utilisation"
18289
+ "example": "time:>1747053793"
16594
18290
  },
16595
18291
  {
16596
18292
  "in": "query",
@@ -16605,70 +18301,6 @@
16605
18301
  ]
16606
18302
  }
16607
18303
  },
16608
- "/alarms/{id}": {
16609
- "get": {
16610
- "operationId": "GetAlarm",
16611
- "responses": {
16612
- "200": {
16613
- "description": "Ok",
16614
- "content": {
16615
- "application/json": {
16616
- "schema": {
16617
- "$ref": "#/components/schemas/UnbrandedXoAlarm"
16618
- },
16619
- "examples": {
16620
- "Example 1": {
16621
- "value": {
16622
- "name": "ALARM",
16623
- "time": 1724862780,
16624
- "type": "message",
16625
- "uuid": "0c98c71c-2f9c-d5c2-b9b6-2c8371730eab",
16626
- "$pool": "b7569d99-30f8-178a-7d94-801de3e29b5b",
16627
- "$poolId": "b7569d99-30f8-178a-7d94-801de3e29b5b",
16628
- "_xapiRef": "OpaqueRef:87ccf385-4197-11aa-3ca0-32213c4cb56d",
16629
- "id": "0c98c71c-2f9c-d5c2-b9b6-2c8371730eab",
16630
- "body": {
16631
- "value": "0.0",
16632
- "name": "physical_utilisation"
16633
- },
16634
- "object": {
16635
- "type": "unknown",
16636
- "uuid": "3f607494-26f1-b328-b626-d81cf007de37"
16637
- }
16638
- }
16639
- }
16640
- }
16641
- }
16642
- }
16643
- },
16644
- "401": {
16645
- "description": "Authentication required"
16646
- },
16647
- "404": {
16648
- "description": "Resource not found"
16649
- }
16650
- },
16651
- "tags": [
16652
- "alarms"
16653
- ],
16654
- "security": [
16655
- {
16656
- "*": []
16657
- }
16658
- ],
16659
- "parameters": [
16660
- {
16661
- "in": "path",
16662
- "name": "id",
16663
- "required": true,
16664
- "schema": {
16665
- "type": "string"
16666
- },
16667
- "example": "0c98c71c-2f9c-d5c2-b9b6-2c8371730eab"
16668
- }
16669
- ]
16670
- }
16671
- },
16672
18304
  "/messages": {
16673
18305
  "get": {
16674
18306
  "operationId": "GetMessages",
@@ -23357,16 +24989,378 @@
23357
24989
  "404": {
23358
24990
  "description": "Resource not found"
23359
24991
  },
23360
- "422": {
23361
- "description": "Invalid granularity"
24992
+ "422": {
24993
+ "description": "Invalid granularity"
24994
+ },
24995
+ "500": {
24996
+ "description": "Internal server error, XenServer/XCP-ng error"
24997
+ }
24998
+ },
24999
+ "description": "Host must be running",
25000
+ "tags": [
25001
+ "hosts"
25002
+ ],
25003
+ "security": [
25004
+ {
25005
+ "*": []
25006
+ }
25007
+ ],
25008
+ "parameters": [
25009
+ {
25010
+ "in": "path",
25011
+ "name": "id",
25012
+ "required": true,
25013
+ "schema": {
25014
+ "type": "string"
25015
+ },
25016
+ "example": "b61a5c92-700e-4966-a13b-00633f03eea8"
25017
+ },
25018
+ {
25019
+ "in": "query",
25020
+ "name": "granularity",
25021
+ "required": false,
25022
+ "schema": {
25023
+ "$ref": "#/components/schemas/XapiStatsGranularity"
25024
+ }
25025
+ }
25026
+ ]
25027
+ }
25028
+ },
25029
+ "/hosts/{id}/audit.txt": {
25030
+ "get": {
25031
+ "operationId": "GetAuditLog",
25032
+ "responses": {
25033
+ "200": {
25034
+ "description": "Download started"
25035
+ },
25036
+ "401": {
25037
+ "description": "Authentication required"
25038
+ },
25039
+ "404": {
25040
+ "description": "Resource not found"
25041
+ },
25042
+ "500": {
25043
+ "description": "Internal server error, XenServer/XCP-ng error"
25044
+ }
25045
+ },
25046
+ "description": "Host must be running\n\nDownload the audit log of a host.",
25047
+ "tags": [
25048
+ "hosts"
25049
+ ],
25050
+ "security": [
25051
+ {
25052
+ "*": []
25053
+ }
25054
+ ],
25055
+ "parameters": [
25056
+ {
25057
+ "in": "path",
25058
+ "name": "id",
25059
+ "required": true,
25060
+ "schema": {
25061
+ "type": "string"
25062
+ },
25063
+ "example": "b61a5c92-700e-4966-a13b-00633f03eea8"
25064
+ }
25065
+ ]
25066
+ }
25067
+ },
25068
+ "/hosts/{id}/logs.tgz": {
25069
+ "get": {
25070
+ "operationId": "GetHostLogs",
25071
+ "responses": {
25072
+ "200": {
25073
+ "description": "Download started"
25074
+ },
25075
+ "401": {
25076
+ "description": "Authentication required"
25077
+ },
25078
+ "404": {
25079
+ "description": "Resource not found"
25080
+ },
25081
+ "500": {
25082
+ "description": "Internal server error, XenServer/XCP-ng error"
25083
+ }
25084
+ },
25085
+ "description": "Host must be running\n\nDownload all logs of a host.",
25086
+ "tags": [
25087
+ "hosts"
25088
+ ],
25089
+ "security": [
25090
+ {
25091
+ "*": []
25092
+ }
25093
+ ],
25094
+ "parameters": [
25095
+ {
25096
+ "in": "path",
25097
+ "name": "id",
25098
+ "required": true,
25099
+ "schema": {
25100
+ "type": "string"
25101
+ },
25102
+ "example": "b61a5c92-700e-4966-a13b-00633f03eea8"
25103
+ }
25104
+ ]
25105
+ }
25106
+ },
25107
+ "/hosts/{id}/alarms": {
25108
+ "get": {
25109
+ "operationId": "GetHostAlarms",
25110
+ "responses": {
25111
+ "200": {
25112
+ "description": "Ok",
25113
+ "content": {
25114
+ "application/json": {
25115
+ "schema": {
25116
+ "$ref": "#/components/schemas/SendObjects_Partial_Unbrand_XoAlarm___"
25117
+ },
25118
+ "examples": {
25119
+ "Example 1": {
25120
+ "value": [
25121
+ {
25122
+ "id": "7e87b95e-8ebb-31c5-30ad-ff2eb079604b",
25123
+ "time": 1747053794,
25124
+ "href": "/rest/v0/alarms/7e87b95e-8ebb-31c5-30ad-ff2eb079604b"
25125
+ },
25126
+ {
25127
+ "id": "7e87b95e-8ebb-31c5-30ad-ff2eb079604c",
25128
+ "time": 1747053795,
25129
+ "href": "/rest/v0/alarms/7e87b95e-8ebb-31c5-30ad-ff2eb079604c"
25130
+ }
25131
+ ]
25132
+ }
25133
+ }
25134
+ }
25135
+ }
25136
+ },
25137
+ "401": {
25138
+ "description": "Authentication required"
25139
+ },
25140
+ "404": {
25141
+ "description": "Resource not found"
25142
+ }
25143
+ },
25144
+ "tags": [
25145
+ "alarms",
25146
+ "hosts"
25147
+ ],
25148
+ "security": [
25149
+ {
25150
+ "*": []
25151
+ }
25152
+ ],
25153
+ "parameters": [
25154
+ {
25155
+ "in": "path",
25156
+ "name": "id",
25157
+ "required": true,
25158
+ "schema": {
25159
+ "type": "string"
25160
+ },
25161
+ "example": "b61a5c92-700e-4966-a13b-00633f03eea8"
25162
+ },
25163
+ {
25164
+ "in": "query",
25165
+ "name": "fields",
25166
+ "required": false,
25167
+ "schema": {
25168
+ "type": "string"
25169
+ },
25170
+ "example": "id,time"
25171
+ },
25172
+ {
25173
+ "in": "query",
25174
+ "name": "ndjson",
25175
+ "required": false,
25176
+ "schema": {
25177
+ "type": "boolean"
25178
+ }
25179
+ },
25180
+ {
25181
+ "in": "query",
25182
+ "name": "filter",
25183
+ "required": false,
25184
+ "schema": {
25185
+ "type": "string"
25186
+ },
25187
+ "example": "time:>1747053793"
25188
+ },
25189
+ {
25190
+ "in": "query",
25191
+ "name": "limit",
25192
+ "required": false,
25193
+ "schema": {
25194
+ "format": "double",
25195
+ "type": "number"
25196
+ },
25197
+ "example": 42
25198
+ }
25199
+ ]
25200
+ }
25201
+ },
25202
+ "/groups": {
25203
+ "get": {
25204
+ "operationId": "GetGroups",
25205
+ "responses": {
25206
+ "200": {
25207
+ "description": "Ok",
25208
+ "content": {
25209
+ "application/json": {
25210
+ "schema": {
25211
+ "$ref": "#/components/schemas/SendObjects_Partial_Unbrand_XoGroup___"
25212
+ },
25213
+ "examples": {
25214
+ "Example 1": {
25215
+ "value": [
25216
+ "/rest/v0/groups/7d98fee4-3357-41a7-ac3f-9124212badb7",
25217
+ "/rest/v0/groups/7981ba62-c395-4546-bfa4-d1261653a77f"
25218
+ ]
25219
+ },
25220
+ "Example 2": {
25221
+ "value": [
25222
+ {
25223
+ "name": "group 1",
25224
+ "id": "7d98fee4-3357-41a7-ac3f-9124212badb7",
25225
+ "users": [
25226
+ "722d17b9-699b-49d2-8193-be1ac573d3de"
25227
+ ],
25228
+ "href": "/rest/v0/groups/7d98fee4-3357-41a7-ac3f-9124212badb7"
25229
+ },
25230
+ {
25231
+ "name": "group 2",
25232
+ "id": "7981ba62-c395-4546-bfa4-d1261653a77f",
25233
+ "users": [
25234
+ "722d17b9-699b-49d2-8193-be1ac573d3de",
25235
+ "088124f3-41b6-4258-9653-6eedc7b46111"
25236
+ ],
25237
+ "href": "/rest/v0/groups/7981ba62-c395-4546-bfa4-d1261653a77f"
25238
+ }
25239
+ ]
25240
+ }
25241
+ }
25242
+ }
25243
+ }
25244
+ },
25245
+ "401": {
25246
+ "description": "Authentication required"
25247
+ }
25248
+ },
25249
+ "tags": [
25250
+ "groups"
25251
+ ],
25252
+ "security": [
25253
+ {
25254
+ "*": []
25255
+ }
25256
+ ],
25257
+ "parameters": [
25258
+ {
25259
+ "in": "query",
25260
+ "name": "fields",
25261
+ "required": false,
25262
+ "schema": {
25263
+ "type": "string"
25264
+ },
25265
+ "example": "name,id,users"
25266
+ },
25267
+ {
25268
+ "in": "query",
25269
+ "name": "ndjson",
25270
+ "required": false,
25271
+ "schema": {
25272
+ "type": "boolean"
25273
+ }
25274
+ },
25275
+ {
25276
+ "in": "query",
25277
+ "name": "filter",
25278
+ "required": false,
25279
+ "schema": {
25280
+ "type": "string"
25281
+ },
25282
+ "example": "users:length:>0"
25283
+ },
25284
+ {
25285
+ "in": "query",
25286
+ "name": "limit",
25287
+ "required": false,
25288
+ "schema": {
25289
+ "format": "double",
25290
+ "type": "number"
25291
+ },
25292
+ "example": 42
25293
+ }
25294
+ ]
25295
+ }
25296
+ },
25297
+ "/groups/{id}": {
25298
+ "get": {
25299
+ "operationId": "GetGroup",
25300
+ "responses": {
25301
+ "200": {
25302
+ "description": "Ok",
25303
+ "content": {
25304
+ "application/json": {
25305
+ "schema": {
25306
+ "$ref": "#/components/schemas/Unbrand_XoGroup_"
25307
+ },
25308
+ "examples": {
25309
+ "Example 1": {
25310
+ "value": {
25311
+ "name": "group 1",
25312
+ "users": [
25313
+ "722d17b9-699b-49d2-8193-be1ac573d3de"
25314
+ ],
25315
+ "id": "7d98fee4-3357-41a7-ac3f-9124212badb7"
25316
+ }
25317
+ }
25318
+ }
25319
+ }
25320
+ }
25321
+ },
25322
+ "401": {
25323
+ "description": "Authentication required"
25324
+ },
25325
+ "404": {
25326
+ "description": "Resource not found"
25327
+ }
25328
+ },
25329
+ "tags": [
25330
+ "groups"
25331
+ ],
25332
+ "security": [
25333
+ {
25334
+ "*": []
25335
+ }
25336
+ ],
25337
+ "parameters": [
25338
+ {
25339
+ "in": "path",
25340
+ "name": "id",
25341
+ "required": true,
25342
+ "schema": {
25343
+ "type": "string"
25344
+ },
25345
+ "example": "7d98fee4-3357-41a7-ac3f-9124212badb7"
25346
+ }
25347
+ ]
25348
+ },
25349
+ "delete": {
25350
+ "operationId": "DeleteGroup",
25351
+ "responses": {
25352
+ "204": {
25353
+ "description": "No content"
25354
+ },
25355
+ "401": {
25356
+ "description": "Authentication required"
23362
25357
  },
23363
- "500": {
23364
- "description": "Internal server error, XenServer/XCP-ng error"
25358
+ "404": {
25359
+ "description": "Resource not found"
23365
25360
  }
23366
25361
  },
23367
- "description": "Host must be running",
23368
25362
  "tags": [
23369
- "hosts"
25363
+ "groups"
23370
25364
  ],
23371
25365
  "security": [
23372
25366
  {
@@ -23381,39 +25375,141 @@
23381
25375
  "schema": {
23382
25376
  "type": "string"
23383
25377
  },
23384
- "example": "b61a5c92-700e-4966-a13b-00633f03eea8"
25378
+ "example": "7d98fee4-3357-41a7-ac3f-9124212badb7"
25379
+ }
25380
+ ]
25381
+ }
25382
+ },
25383
+ "/backup-repositories": {
25384
+ "get": {
25385
+ "operationId": "GetRepositories",
25386
+ "responses": {
25387
+ "200": {
25388
+ "description": "Ok",
25389
+ "content": {
25390
+ "application/json": {
25391
+ "schema": {
25392
+ "$ref": "#/components/schemas/SendObjects_Partial_Unbrand_XoBackupRepository___"
25393
+ },
25394
+ "examples": {
25395
+ "Example 1": {
25396
+ "value": [
25397
+ "/rest/v0/backup-repositories/7497c970-6780-4462-a452-fcb8a406ee64",
25398
+ "/rest/v0/backup-repositories/f681cef1-617e-4650-ac31-ffdaead076bf"
25399
+ ]
25400
+ },
25401
+ "Example 2": {
25402
+ "value": [
25403
+ {
25404
+ "id": "7497c970-6780-4462-a452-fcb8a406ee64",
25405
+ "name": "test",
25406
+ "enabled": true,
25407
+ "href": "/rest/v0/backup-repositories/7497c970-6780-4462-a452-fcb8a406ee64"
25408
+ },
25409
+ {
25410
+ "id": "f681cef1-617e-4650-ac31-ffdaead076bf",
25411
+ "name": "S3_Remote",
25412
+ "enabled": true,
25413
+ "href": "/rest/v0/backup-repositories/f681cef1-617e-4650-ac31-ffdaead076bf"
25414
+ }
25415
+ ]
25416
+ }
25417
+ }
25418
+ }
25419
+ }
25420
+ },
25421
+ "401": {
25422
+ "description": "Authentication required"
25423
+ }
25424
+ },
25425
+ "tags": [
25426
+ "backup-repositories"
25427
+ ],
25428
+ "security": [
25429
+ {
25430
+ "*": []
25431
+ }
25432
+ ],
25433
+ "parameters": [
25434
+ {
25435
+ "in": "query",
25436
+ "name": "fields",
25437
+ "required": false,
25438
+ "schema": {
25439
+ "type": "string"
25440
+ },
25441
+ "example": "id,name,enabled"
23385
25442
  },
23386
25443
  {
23387
25444
  "in": "query",
23388
- "name": "granularity",
25445
+ "name": "ndjson",
23389
25446
  "required": false,
23390
25447
  "schema": {
23391
- "$ref": "#/components/schemas/XapiStatsGranularity"
25448
+ "type": "boolean"
23392
25449
  }
25450
+ },
25451
+ {
25452
+ "in": "query",
25453
+ "name": "filter",
25454
+ "required": false,
25455
+ "schema": {
25456
+ "type": "string"
25457
+ },
25458
+ "example": "enabled?"
25459
+ },
25460
+ {
25461
+ "in": "query",
25462
+ "name": "limit",
25463
+ "required": false,
25464
+ "schema": {
25465
+ "format": "double",
25466
+ "type": "number"
25467
+ },
25468
+ "example": 42
23393
25469
  }
23394
25470
  ]
23395
25471
  }
23396
25472
  },
23397
- "/hosts/{id}/audit.txt": {
25473
+ "/backup-repositories/{id}": {
23398
25474
  "get": {
23399
- "operationId": "GetAuditLog",
25475
+ "operationId": "GetRepository",
23400
25476
  "responses": {
23401
25477
  "200": {
23402
- "description": "Download started"
25478
+ "description": "Ok",
25479
+ "content": {
25480
+ "application/json": {
25481
+ "schema": {
25482
+ "$ref": "#/components/schemas/Unbrand_XoBackupRepository_"
25483
+ },
25484
+ "examples": {
25485
+ "Example 1": {
25486
+ "value": {
25487
+ "enabled": true,
25488
+ "name": "S3_Remote",
25489
+ "benchmarks": [
25490
+ {
25491
+ "readRate": 7999965.197905305,
25492
+ "timestamp": 1751469269245,
25493
+ "writeRate": 7767798.704316632
25494
+ }
25495
+ ],
25496
+ "id": "677e50c5-8d8a-4c89-b1ac-e2f4593d0ebb",
25497
+ "url": "s3://FOIS5DY532RGXD62TJ52:obfuscated-q3oi6d9X8uenGvdLnHk2@s3.us-east-2.amazonaws.com/with-lock/backup?useVhdDirectory=true"
25498
+ }
25499
+ }
25500
+ }
25501
+ }
25502
+ }
23403
25503
  },
23404
25504
  "401": {
23405
25505
  "description": "Authentication required"
23406
25506
  },
23407
25507
  "404": {
23408
25508
  "description": "Resource not found"
23409
- },
23410
- "500": {
23411
- "description": "Internal server error, XenServer/XCP-ng error"
23412
25509
  }
23413
25510
  },
23414
- "description": "Host must be running\n\nDownload the audit log of a host.",
23415
25511
  "tags": [
23416
- "hosts"
25512
+ "backup-repositories"
23417
25513
  ],
23418
25514
  "security": [
23419
25515
  {
@@ -23428,47 +25524,55 @@
23428
25524
  "schema": {
23429
25525
  "type": "string"
23430
25526
  },
23431
- "example": "b61a5c92-700e-4966-a13b-00633f03eea8"
25527
+ "example": "c4284e12-37c9-7967-b9e8-83ef229c3e03"
23432
25528
  }
23433
25529
  ]
23434
25530
  }
23435
25531
  },
23436
- "/groups": {
25532
+ "/alarms": {
23437
25533
  "get": {
23438
- "operationId": "GetGroups",
25534
+ "operationId": "GetAlarms",
23439
25535
  "responses": {
23440
25536
  "200": {
23441
25537
  "description": "Ok",
23442
25538
  "content": {
23443
25539
  "application/json": {
23444
25540
  "schema": {
23445
- "$ref": "#/components/schemas/SendObjects_Partial_Unbrand_XoGroup___"
25541
+ "$ref": "#/components/schemas/SendObjects_Partial_UnbrandedXoAlarm__"
23446
25542
  },
23447
25543
  "examples": {
23448
25544
  "Example 1": {
23449
25545
  "value": [
23450
- "/rest/v0/groups/7d98fee4-3357-41a7-ac3f-9124212badb7",
23451
- "/rest/v0/groups/7981ba62-c395-4546-bfa4-d1261653a77f"
25546
+ "/rest/v0/alarms/0c98c71c-2f9c-d5c2-b9b6-2c8371730eab",
25547
+ "/rest/v0/alarms/6a4cc401-6cba-0d41-3b02-b848c5017343"
23452
25548
  ]
23453
25549
  },
23454
25550
  "Example 2": {
23455
25551
  "value": [
23456
25552
  {
23457
- "name": "group 1",
23458
- "id": "7d98fee4-3357-41a7-ac3f-9124212badb7",
23459
- "users": [
23460
- "722d17b9-699b-49d2-8193-be1ac573d3de"
23461
- ],
23462
- "href": "/rest/v0/groups/7d98fee4-3357-41a7-ac3f-9124212badb7"
25553
+ "body": {
25554
+ "value": "0.0",
25555
+ "name": "physical_utilisation"
25556
+ },
25557
+ "id": "0c98c71c-2f9c-d5c2-b9b6-2c8371730eab",
25558
+ "object": {
25559
+ "type": "unknown",
25560
+ "uuid": "3f607494-26f1-b328-b626-d81cf007de37"
25561
+ },
25562
+ "href": "/rest/v0/alarms/0c98c71c-2f9c-d5c2-b9b6-2c8371730eab"
23463
25563
  },
23464
25564
  {
23465
- "name": "group 2",
23466
- "id": "7981ba62-c395-4546-bfa4-d1261653a77f",
23467
- "users": [
23468
- "722d17b9-699b-49d2-8193-be1ac573d3de",
23469
- "088124f3-41b6-4258-9653-6eedc7b46111"
23470
- ],
23471
- "href": "/rest/v0/groups/7981ba62-c395-4546-bfa4-d1261653a77f"
25565
+ "body": {
25566
+ "value": "0.2",
25567
+ "name": "physical_utilisation"
25568
+ },
25569
+ "id": "6a4cc401-6cba-0d41-3b02-b848c5017343",
25570
+ "object": {
25571
+ "type": "SR",
25572
+ "uuid": "8aa2fb4a-143e-c2bc-05d4-c68bbb101d41",
25573
+ "href": "/rest/v0/srs/8aa2fb4a-143e-c2bc-05d4-c68bbb101d41"
25574
+ },
25575
+ "href": "/rest/v0/alarms/6a4cc401-6cba-0d41-3b02-b848c5017343"
23472
25576
  }
23473
25577
  ]
23474
25578
  }
@@ -23481,7 +25585,7 @@
23481
25585
  }
23482
25586
  },
23483
25587
  "tags": [
23484
- "groups"
25588
+ "alarms"
23485
25589
  ],
23486
25590
  "security": [
23487
25591
  {
@@ -23496,7 +25600,7 @@
23496
25600
  "schema": {
23497
25601
  "type": "string"
23498
25602
  },
23499
- "example": "name,id,users"
25603
+ "example": "body,id,object"
23500
25604
  },
23501
25605
  {
23502
25606
  "in": "query",
@@ -23513,7 +25617,7 @@
23513
25617
  "schema": {
23514
25618
  "type": "string"
23515
25619
  },
23516
- "example": "users:length:>0"
25620
+ "example": "body:name:physical_utilisation"
23517
25621
  },
23518
25622
  {
23519
25623
  "in": "query",
@@ -23528,25 +25632,36 @@
23528
25632
  ]
23529
25633
  }
23530
25634
  },
23531
- "/groups/{id}": {
25635
+ "/alarms/{id}": {
23532
25636
  "get": {
23533
- "operationId": "GetGroup",
25637
+ "operationId": "GetAlarm",
23534
25638
  "responses": {
23535
25639
  "200": {
23536
25640
  "description": "Ok",
23537
25641
  "content": {
23538
25642
  "application/json": {
23539
25643
  "schema": {
23540
- "$ref": "#/components/schemas/Unbrand_XoGroup_"
25644
+ "$ref": "#/components/schemas/UnbrandedXoAlarm"
23541
25645
  },
23542
25646
  "examples": {
23543
25647
  "Example 1": {
23544
25648
  "value": {
23545
- "name": "group 1",
23546
- "users": [
23547
- "722d17b9-699b-49d2-8193-be1ac573d3de"
23548
- ],
23549
- "id": "7d98fee4-3357-41a7-ac3f-9124212badb7"
25649
+ "name": "ALARM",
25650
+ "time": 1724862780,
25651
+ "type": "message",
25652
+ "uuid": "0c98c71c-2f9c-d5c2-b9b6-2c8371730eab",
25653
+ "$pool": "b7569d99-30f8-178a-7d94-801de3e29b5b",
25654
+ "$poolId": "b7569d99-30f8-178a-7d94-801de3e29b5b",
25655
+ "_xapiRef": "OpaqueRef:87ccf385-4197-11aa-3ca0-32213c4cb56d",
25656
+ "id": "0c98c71c-2f9c-d5c2-b9b6-2c8371730eab",
25657
+ "body": {
25658
+ "value": "0.0",
25659
+ "name": "physical_utilisation"
25660
+ },
25661
+ "object": {
25662
+ "type": "unknown",
25663
+ "uuid": "3f607494-26f1-b328-b626-d81cf007de37"
25664
+ }
23550
25665
  }
23551
25666
  }
23552
25667
  }
@@ -23561,7 +25676,7 @@
23561
25676
  }
23562
25677
  },
23563
25678
  "tags": [
23564
- "groups"
25679
+ "alarms"
23565
25680
  ],
23566
25681
  "security": [
23567
25682
  {
@@ -23576,7 +25691,7 @@
23576
25691
  "schema": {
23577
25692
  "type": "string"
23578
25693
  },
23579
- "example": "7d98fee4-3357-41a7-ac3f-9124212badb7"
25694
+ "example": "0c98c71c-2f9c-d5c2-b9b6-2c8371730eab"
23580
25695
  }
23581
25696
  ]
23582
25697
  }