@xen-orchestra/rest-api 0.13.1 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abstract-classes/xo-controller.mjs +3 -9
- package/dist/helpers/object-wrapper.helper.mjs +10 -7
- package/dist/helpers/utils.helper.mjs +11 -0
- package/dist/hosts/host.controller.mjs +19 -1
- package/dist/open-api/oa-examples/host.oa-example.mjs +1 -0
- package/dist/open-api/oa-examples/vm-controller.oa-example.mjs +14 -0
- package/dist/open-api/oa-examples/vm-snapshot.oa-example.mjs +14 -0
- package/dist/open-api/oa-examples/vm-template.oa-example.mjs +14 -0
- package/dist/open-api/oa-examples/vm.oa-example.mjs +14 -0
- package/dist/open-api/routes/routes.js +211 -41
- package/dist/rest-api/rest-api.mjs +10 -2
- package/dist/users/user.controller.mjs +0 -3
- package/dist/vm-controller/vm-controller.controller.mjs +30 -4
- package/dist/vm-snapshots/vm-snapshot.controller.mjs +30 -4
- package/dist/vm-templates/vm-template.controller.mjs +30 -4
- package/dist/vms/vm.controller.mjs +30 -4
- package/dist/vms/vm.service.mjs +14 -1
- package/open-api/spec/swagger.json +1069 -406
- package/package.json +2 -2
|
@@ -1594,6 +1594,148 @@
|
|
|
1594
1594
|
}
|
|
1595
1595
|
]
|
|
1596
1596
|
},
|
|
1597
|
+
"VDI_TYPE": {
|
|
1598
|
+
"type": "string",
|
|
1599
|
+
"enum": [
|
|
1600
|
+
"metadata",
|
|
1601
|
+
"suspend",
|
|
1602
|
+
"cbt_metadata",
|
|
1603
|
+
"crashdump",
|
|
1604
|
+
"ephemeral",
|
|
1605
|
+
"ha_statefile",
|
|
1606
|
+
"pvs_cache",
|
|
1607
|
+
"redo_log",
|
|
1608
|
+
"rrd",
|
|
1609
|
+
"system",
|
|
1610
|
+
"user"
|
|
1611
|
+
]
|
|
1612
|
+
},
|
|
1613
|
+
"Record_string.VDI_OPERATIONS_": {
|
|
1614
|
+
"properties": {},
|
|
1615
|
+
"type": "object",
|
|
1616
|
+
"description": "Construct a type with a set of properties K of type T"
|
|
1617
|
+
},
|
|
1618
|
+
"Partial_Unbrand_XoVdi__": {
|
|
1619
|
+
"properties": {
|
|
1620
|
+
"$pool": {
|
|
1621
|
+
"type": "string"
|
|
1622
|
+
},
|
|
1623
|
+
"$poolId": {
|
|
1624
|
+
"type": "string",
|
|
1625
|
+
"deprecated": true
|
|
1626
|
+
},
|
|
1627
|
+
"_xapiRef": {
|
|
1628
|
+
"type": "string"
|
|
1629
|
+
},
|
|
1630
|
+
"uuid": {
|
|
1631
|
+
"type": "string"
|
|
1632
|
+
},
|
|
1633
|
+
"$SR": {
|
|
1634
|
+
"type": "string"
|
|
1635
|
+
},
|
|
1636
|
+
"$VBDs": {
|
|
1637
|
+
"items": {
|
|
1638
|
+
"type": "string"
|
|
1639
|
+
},
|
|
1640
|
+
"type": "array"
|
|
1641
|
+
},
|
|
1642
|
+
"VDI_type": {
|
|
1643
|
+
"$ref": "#/components/schemas/VDI_TYPE"
|
|
1644
|
+
},
|
|
1645
|
+
"cbt_enabled": {
|
|
1646
|
+
"type": "boolean"
|
|
1647
|
+
},
|
|
1648
|
+
"current_operations": {
|
|
1649
|
+
"$ref": "#/components/schemas/Record_string.VDI_OPERATIONS_"
|
|
1650
|
+
},
|
|
1651
|
+
"missing": {
|
|
1652
|
+
"type": "boolean"
|
|
1653
|
+
},
|
|
1654
|
+
"name_description": {
|
|
1655
|
+
"type": "string"
|
|
1656
|
+
},
|
|
1657
|
+
"name_label": {
|
|
1658
|
+
"type": "string"
|
|
1659
|
+
},
|
|
1660
|
+
"other_config": {
|
|
1661
|
+
"$ref": "#/components/schemas/Record_string.string_"
|
|
1662
|
+
},
|
|
1663
|
+
"parent": {
|
|
1664
|
+
"type": "string"
|
|
1665
|
+
},
|
|
1666
|
+
"image_format": {
|
|
1667
|
+
"type": "string"
|
|
1668
|
+
},
|
|
1669
|
+
"size": {
|
|
1670
|
+
"type": "number",
|
|
1671
|
+
"format": "double"
|
|
1672
|
+
},
|
|
1673
|
+
"snapshots": {
|
|
1674
|
+
"items": {
|
|
1675
|
+
"type": "string"
|
|
1676
|
+
},
|
|
1677
|
+
"type": "array"
|
|
1678
|
+
},
|
|
1679
|
+
"tags": {
|
|
1680
|
+
"items": {
|
|
1681
|
+
"type": "string"
|
|
1682
|
+
},
|
|
1683
|
+
"type": "array"
|
|
1684
|
+
},
|
|
1685
|
+
"usage": {
|
|
1686
|
+
"type": "number",
|
|
1687
|
+
"format": "double"
|
|
1688
|
+
},
|
|
1689
|
+
"id": {
|
|
1690
|
+
"type": "string"
|
|
1691
|
+
},
|
|
1692
|
+
"type": {
|
|
1693
|
+
"type": "string",
|
|
1694
|
+
"enum": [
|
|
1695
|
+
"VDI"
|
|
1696
|
+
]
|
|
1697
|
+
}
|
|
1698
|
+
},
|
|
1699
|
+
"type": "object",
|
|
1700
|
+
"description": "Make all properties in T optional"
|
|
1701
|
+
},
|
|
1702
|
+
"WithHref_Partial_Unbrand_XoVdi___": {
|
|
1703
|
+
"allOf": [
|
|
1704
|
+
{
|
|
1705
|
+
"$ref": "#/components/schemas/Partial_Unbrand_XoVdi__"
|
|
1706
|
+
},
|
|
1707
|
+
{
|
|
1708
|
+
"properties": {
|
|
1709
|
+
"href": {
|
|
1710
|
+
"type": "string"
|
|
1711
|
+
}
|
|
1712
|
+
},
|
|
1713
|
+
"required": [
|
|
1714
|
+
"href"
|
|
1715
|
+
],
|
|
1716
|
+
"type": "object"
|
|
1717
|
+
}
|
|
1718
|
+
]
|
|
1719
|
+
},
|
|
1720
|
+
"SendObjects_Partial_Unbrand_XoVdi___": {
|
|
1721
|
+
"anyOf": [
|
|
1722
|
+
{
|
|
1723
|
+
"items": {
|
|
1724
|
+
"type": "string"
|
|
1725
|
+
},
|
|
1726
|
+
"type": "array"
|
|
1727
|
+
},
|
|
1728
|
+
{
|
|
1729
|
+
"items": {
|
|
1730
|
+
"$ref": "#/components/schemas/WithHref_Partial_Unbrand_XoVdi___"
|
|
1731
|
+
},
|
|
1732
|
+
"type": "array"
|
|
1733
|
+
},
|
|
1734
|
+
{
|
|
1735
|
+
"$ref": "#/components/schemas/NdjsonStream"
|
|
1736
|
+
}
|
|
1737
|
+
]
|
|
1738
|
+
},
|
|
1597
1739
|
"Partial_Unbrand_XoVmTemplate__": {
|
|
1598
1740
|
"properties": {
|
|
1599
1741
|
"$pool": {
|
|
@@ -3232,7 +3374,7 @@
|
|
|
3232
3374
|
],
|
|
3233
3375
|
"type": "object"
|
|
3234
3376
|
},
|
|
3235
|
-
"
|
|
3377
|
+
"Partial_Unbrand_XoVdiSnapshot__": {
|
|
3236
3378
|
"properties": {
|
|
3237
3379
|
"$pool": {
|
|
3238
3380
|
"type": "string"
|
|
@@ -3247,116 +3389,244 @@
|
|
|
3247
3389
|
"uuid": {
|
|
3248
3390
|
"type": "string"
|
|
3249
3391
|
},
|
|
3392
|
+
"$SR": {
|
|
3393
|
+
"type": "string"
|
|
3394
|
+
},
|
|
3250
3395
|
"$VBDs": {
|
|
3251
3396
|
"items": {
|
|
3252
3397
|
"type": "string"
|
|
3253
3398
|
},
|
|
3254
3399
|
"type": "array"
|
|
3255
3400
|
},
|
|
3256
|
-
"
|
|
3257
|
-
"
|
|
3258
|
-
"type": "string"
|
|
3259
|
-
},
|
|
3260
|
-
"type": "array"
|
|
3401
|
+
"VDI_type": {
|
|
3402
|
+
"$ref": "#/components/schemas/VDI_TYPE"
|
|
3261
3403
|
},
|
|
3262
|
-
"
|
|
3404
|
+
"cbt_enabled": {
|
|
3405
|
+
"type": "boolean"
|
|
3406
|
+
},
|
|
3407
|
+
"current_operations": {
|
|
3408
|
+
"$ref": "#/components/schemas/Record_string.VDI_OPERATIONS_"
|
|
3409
|
+
},
|
|
3410
|
+
"missing": {
|
|
3411
|
+
"type": "boolean"
|
|
3412
|
+
},
|
|
3413
|
+
"name_description": {
|
|
3263
3414
|
"type": "string"
|
|
3264
3415
|
},
|
|
3265
|
-
"
|
|
3266
|
-
"
|
|
3267
|
-
"number": {
|
|
3268
|
-
"type": "number",
|
|
3269
|
-
"format": "double"
|
|
3270
|
-
},
|
|
3271
|
-
"max": {
|
|
3272
|
-
"type": "number",
|
|
3273
|
-
"format": "double"
|
|
3274
|
-
}
|
|
3275
|
-
},
|
|
3276
|
-
"required": [
|
|
3277
|
-
"number",
|
|
3278
|
-
"max"
|
|
3279
|
-
],
|
|
3280
|
-
"type": "object"
|
|
3416
|
+
"name_label": {
|
|
3417
|
+
"type": "string"
|
|
3281
3418
|
},
|
|
3282
|
-
"
|
|
3419
|
+
"other_config": {
|
|
3420
|
+
"$ref": "#/components/schemas/Record_string.string_"
|
|
3421
|
+
},
|
|
3422
|
+
"parent": {
|
|
3283
3423
|
"type": "string"
|
|
3284
3424
|
},
|
|
3285
|
-
"
|
|
3286
|
-
"
|
|
3287
|
-
"type": "string"
|
|
3288
|
-
},
|
|
3289
|
-
"type": "array"
|
|
3425
|
+
"image_format": {
|
|
3426
|
+
"type": "string"
|
|
3290
3427
|
},
|
|
3291
|
-
"
|
|
3292
|
-
"
|
|
3293
|
-
|
|
3294
|
-
},
|
|
3295
|
-
"type": "array"
|
|
3428
|
+
"size": {
|
|
3429
|
+
"type": "number",
|
|
3430
|
+
"format": "double"
|
|
3296
3431
|
},
|
|
3297
|
-
"
|
|
3432
|
+
"snapshots": {
|
|
3298
3433
|
"items": {
|
|
3299
3434
|
"type": "string"
|
|
3300
3435
|
},
|
|
3301
3436
|
"type": "array"
|
|
3302
3437
|
},
|
|
3303
|
-
"
|
|
3304
|
-
"$ref": "#/components/schemas/Record_string.string_"
|
|
3305
|
-
},
|
|
3306
|
-
"affinityHost": {
|
|
3307
|
-
"type": "string"
|
|
3308
|
-
},
|
|
3309
|
-
"attachedPcis": {
|
|
3438
|
+
"tags": {
|
|
3310
3439
|
"items": {
|
|
3311
3440
|
"type": "string"
|
|
3312
3441
|
},
|
|
3313
3442
|
"type": "array"
|
|
3314
3443
|
},
|
|
3315
|
-
"
|
|
3316
|
-
"type": "boolean"
|
|
3317
|
-
},
|
|
3318
|
-
"bios_strings": {
|
|
3319
|
-
"$ref": "#/components/schemas/Record_string.string_"
|
|
3320
|
-
},
|
|
3321
|
-
"blockedOperations": {
|
|
3322
|
-
"$ref": "#/components/schemas/Record_VM_OPERATIONS.string_"
|
|
3323
|
-
},
|
|
3324
|
-
"boot": {
|
|
3325
|
-
"$ref": "#/components/schemas/Record_string.string_"
|
|
3326
|
-
},
|
|
3327
|
-
"coresPerSocket": {
|
|
3328
|
-
"type": "number",
|
|
3329
|
-
"format": "double"
|
|
3330
|
-
},
|
|
3331
|
-
"cpuCap": {
|
|
3444
|
+
"usage": {
|
|
3332
3445
|
"type": "number",
|
|
3333
3446
|
"format": "double"
|
|
3334
3447
|
},
|
|
3335
|
-
"
|
|
3336
|
-
"
|
|
3337
|
-
"type": "number",
|
|
3338
|
-
"format": "double"
|
|
3339
|
-
},
|
|
3340
|
-
"type": "array"
|
|
3448
|
+
"id": {
|
|
3449
|
+
"type": "string"
|
|
3341
3450
|
},
|
|
3342
|
-
"
|
|
3451
|
+
"snapshot_time": {
|
|
3343
3452
|
"type": "number",
|
|
3344
3453
|
"format": "double"
|
|
3345
3454
|
},
|
|
3346
|
-
"
|
|
3347
|
-
"
|
|
3348
|
-
},
|
|
3349
|
-
"current_operations": {
|
|
3350
|
-
"$ref": "#/components/schemas/Record_string.VM_OPERATIONS_"
|
|
3455
|
+
"$snapshot_of": {
|
|
3456
|
+
"type": "string"
|
|
3351
3457
|
},
|
|
3352
|
-
"
|
|
3353
|
-
"
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3458
|
+
"type": {
|
|
3459
|
+
"type": "string",
|
|
3460
|
+
"enum": [
|
|
3461
|
+
"VDI-snapshot"
|
|
3462
|
+
]
|
|
3463
|
+
}
|
|
3464
|
+
},
|
|
3465
|
+
"type": "object",
|
|
3466
|
+
"description": "Make all properties in T optional"
|
|
3467
|
+
},
|
|
3468
|
+
"WithHref_Partial_Unbrand_XoVdiSnapshot___": {
|
|
3469
|
+
"allOf": [
|
|
3470
|
+
{
|
|
3471
|
+
"$ref": "#/components/schemas/Partial_Unbrand_XoVdiSnapshot__"
|
|
3472
|
+
},
|
|
3473
|
+
{
|
|
3474
|
+
"properties": {
|
|
3475
|
+
"href": {
|
|
3476
|
+
"type": "string"
|
|
3477
|
+
}
|
|
3478
|
+
},
|
|
3479
|
+
"required": [
|
|
3480
|
+
"href"
|
|
3481
|
+
],
|
|
3482
|
+
"type": "object"
|
|
3483
|
+
}
|
|
3484
|
+
]
|
|
3485
|
+
},
|
|
3486
|
+
"SendObjects_Partial_Unbrand_XoVdiSnapshot___": {
|
|
3487
|
+
"anyOf": [
|
|
3488
|
+
{
|
|
3489
|
+
"items": {
|
|
3490
|
+
"type": "string"
|
|
3491
|
+
},
|
|
3492
|
+
"type": "array"
|
|
3493
|
+
},
|
|
3494
|
+
{
|
|
3495
|
+
"items": {
|
|
3496
|
+
"$ref": "#/components/schemas/WithHref_Partial_Unbrand_XoVdiSnapshot___"
|
|
3497
|
+
},
|
|
3498
|
+
"type": "array"
|
|
3499
|
+
},
|
|
3500
|
+
{
|
|
3501
|
+
"$ref": "#/components/schemas/NdjsonStream"
|
|
3502
|
+
}
|
|
3503
|
+
]
|
|
3504
|
+
},
|
|
3505
|
+
"Partial_Unbrand_XoVmController__": {
|
|
3506
|
+
"properties": {
|
|
3507
|
+
"$pool": {
|
|
3508
|
+
"type": "string"
|
|
3509
|
+
},
|
|
3510
|
+
"$poolId": {
|
|
3511
|
+
"type": "string",
|
|
3512
|
+
"deprecated": true
|
|
3513
|
+
},
|
|
3514
|
+
"_xapiRef": {
|
|
3515
|
+
"type": "string"
|
|
3516
|
+
},
|
|
3517
|
+
"uuid": {
|
|
3518
|
+
"type": "string"
|
|
3519
|
+
},
|
|
3520
|
+
"$VBDs": {
|
|
3521
|
+
"items": {
|
|
3522
|
+
"type": "string"
|
|
3523
|
+
},
|
|
3524
|
+
"type": "array"
|
|
3525
|
+
},
|
|
3526
|
+
"$VGPUs": {
|
|
3527
|
+
"items": {
|
|
3528
|
+
"type": "string"
|
|
3529
|
+
},
|
|
3530
|
+
"type": "array"
|
|
3531
|
+
},
|
|
3532
|
+
"$container": {
|
|
3533
|
+
"type": "string"
|
|
3534
|
+
},
|
|
3535
|
+
"CPUs": {
|
|
3536
|
+
"properties": {
|
|
3537
|
+
"number": {
|
|
3538
|
+
"type": "number",
|
|
3539
|
+
"format": "double"
|
|
3540
|
+
},
|
|
3541
|
+
"max": {
|
|
3542
|
+
"type": "number",
|
|
3543
|
+
"format": "double"
|
|
3544
|
+
}
|
|
3545
|
+
},
|
|
3546
|
+
"required": [
|
|
3547
|
+
"number",
|
|
3548
|
+
"max"
|
|
3549
|
+
],
|
|
3550
|
+
"type": "object"
|
|
3551
|
+
},
|
|
3552
|
+
"PV_args": {
|
|
3553
|
+
"type": "string"
|
|
3554
|
+
},
|
|
3555
|
+
"VGPUs": {
|
|
3556
|
+
"items": {
|
|
3557
|
+
"type": "string"
|
|
3558
|
+
},
|
|
3559
|
+
"type": "array"
|
|
3560
|
+
},
|
|
3561
|
+
"VIFs": {
|
|
3562
|
+
"items": {
|
|
3563
|
+
"type": "string"
|
|
3564
|
+
},
|
|
3565
|
+
"type": "array"
|
|
3566
|
+
},
|
|
3567
|
+
"VTPMs": {
|
|
3568
|
+
"items": {
|
|
3569
|
+
"type": "string"
|
|
3570
|
+
},
|
|
3571
|
+
"type": "array"
|
|
3572
|
+
},
|
|
3573
|
+
"addresses": {
|
|
3574
|
+
"$ref": "#/components/schemas/Record_string.string_"
|
|
3575
|
+
},
|
|
3576
|
+
"affinityHost": {
|
|
3577
|
+
"type": "string"
|
|
3578
|
+
},
|
|
3579
|
+
"attachedPcis": {
|
|
3580
|
+
"items": {
|
|
3581
|
+
"type": "string"
|
|
3582
|
+
},
|
|
3583
|
+
"type": "array"
|
|
3584
|
+
},
|
|
3585
|
+
"auto_poweron": {
|
|
3586
|
+
"type": "boolean"
|
|
3587
|
+
},
|
|
3588
|
+
"bios_strings": {
|
|
3589
|
+
"$ref": "#/components/schemas/Record_string.string_"
|
|
3590
|
+
},
|
|
3591
|
+
"blockedOperations": {
|
|
3592
|
+
"$ref": "#/components/schemas/Record_VM_OPERATIONS.string_"
|
|
3593
|
+
},
|
|
3594
|
+
"boot": {
|
|
3595
|
+
"$ref": "#/components/schemas/Record_string.string_"
|
|
3596
|
+
},
|
|
3597
|
+
"coresPerSocket": {
|
|
3598
|
+
"type": "number",
|
|
3599
|
+
"format": "double"
|
|
3600
|
+
},
|
|
3601
|
+
"cpuCap": {
|
|
3602
|
+
"type": "number",
|
|
3603
|
+
"format": "double"
|
|
3604
|
+
},
|
|
3605
|
+
"cpuMask": {
|
|
3606
|
+
"items": {
|
|
3607
|
+
"type": "number",
|
|
3608
|
+
"format": "double"
|
|
3609
|
+
},
|
|
3610
|
+
"type": "array"
|
|
3611
|
+
},
|
|
3612
|
+
"cpuWeight": {
|
|
3613
|
+
"type": "number",
|
|
3614
|
+
"format": "double"
|
|
3615
|
+
},
|
|
3616
|
+
"creation": {
|
|
3617
|
+
"$ref": "#/components/schemas/Record_string.string_"
|
|
3618
|
+
},
|
|
3619
|
+
"current_operations": {
|
|
3620
|
+
"$ref": "#/components/schemas/Record_string.VM_OPERATIONS_"
|
|
3621
|
+
},
|
|
3622
|
+
"docker": {
|
|
3623
|
+
"properties": {
|
|
3624
|
+
"version": {
|
|
3625
|
+
"type": "string"
|
|
3626
|
+
},
|
|
3627
|
+
"process": {
|
|
3628
|
+
"type": "string"
|
|
3629
|
+
},
|
|
3360
3630
|
"info": {
|
|
3361
3631
|
"type": "string"
|
|
3362
3632
|
},
|
|
@@ -3984,92 +4254,188 @@
|
|
|
3984
4254
|
],
|
|
3985
4255
|
"type": "object"
|
|
3986
4256
|
},
|
|
3987
|
-
"
|
|
3988
|
-
"
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4257
|
+
"Partial_Unbrand_XoVdi_-or-Unbrand_XoVdiSnapshot__": {
|
|
4258
|
+
"anyOf": [
|
|
4259
|
+
{
|
|
4260
|
+
"properties": {
|
|
4261
|
+
"$pool": {
|
|
4262
|
+
"type": "string"
|
|
4263
|
+
},
|
|
4264
|
+
"$poolId": {
|
|
4265
|
+
"type": "string",
|
|
4266
|
+
"deprecated": true
|
|
4267
|
+
},
|
|
4268
|
+
"_xapiRef": {
|
|
4269
|
+
"type": "string"
|
|
4270
|
+
},
|
|
4271
|
+
"uuid": {
|
|
4272
|
+
"type": "string"
|
|
4273
|
+
},
|
|
4274
|
+
"$SR": {
|
|
4275
|
+
"type": "string"
|
|
4276
|
+
},
|
|
4277
|
+
"$VBDs": {
|
|
4278
|
+
"items": {
|
|
4279
|
+
"type": "string"
|
|
4280
|
+
},
|
|
4281
|
+
"type": "array"
|
|
4282
|
+
},
|
|
4283
|
+
"VDI_type": {
|
|
4284
|
+
"$ref": "#/components/schemas/VDI_TYPE"
|
|
4285
|
+
},
|
|
4286
|
+
"cbt_enabled": {
|
|
4287
|
+
"type": "boolean"
|
|
4288
|
+
},
|
|
4289
|
+
"current_operations": {
|
|
4290
|
+
"$ref": "#/components/schemas/Record_string.VDI_OPERATIONS_"
|
|
4291
|
+
},
|
|
4292
|
+
"missing": {
|
|
4293
|
+
"type": "boolean"
|
|
4294
|
+
},
|
|
4295
|
+
"name_description": {
|
|
4296
|
+
"type": "string"
|
|
4297
|
+
},
|
|
4298
|
+
"name_label": {
|
|
4299
|
+
"type": "string"
|
|
4300
|
+
},
|
|
4301
|
+
"other_config": {
|
|
4302
|
+
"$ref": "#/components/schemas/Record_string.string_"
|
|
4303
|
+
},
|
|
4304
|
+
"parent": {
|
|
4305
|
+
"type": "string"
|
|
4306
|
+
},
|
|
4307
|
+
"image_format": {
|
|
4308
|
+
"type": "string"
|
|
4309
|
+
},
|
|
4310
|
+
"size": {
|
|
4311
|
+
"type": "number",
|
|
4312
|
+
"format": "double"
|
|
4313
|
+
},
|
|
4314
|
+
"snapshots": {
|
|
4315
|
+
"items": {
|
|
4316
|
+
"type": "string"
|
|
4317
|
+
},
|
|
4318
|
+
"type": "array"
|
|
4319
|
+
},
|
|
4320
|
+
"tags": {
|
|
4321
|
+
"items": {
|
|
4322
|
+
"type": "string"
|
|
4323
|
+
},
|
|
4324
|
+
"type": "array"
|
|
4325
|
+
},
|
|
4326
|
+
"usage": {
|
|
4327
|
+
"type": "number",
|
|
4328
|
+
"format": "double"
|
|
4329
|
+
},
|
|
4330
|
+
"id": {
|
|
4331
|
+
"type": "string"
|
|
4332
|
+
},
|
|
4333
|
+
"type": {
|
|
4334
|
+
"type": "string",
|
|
4335
|
+
"enum": [
|
|
4336
|
+
"VDI"
|
|
4337
|
+
]
|
|
4338
|
+
}
|
|
4339
|
+
},
|
|
4340
|
+
"type": "object"
|
|
4007
4341
|
},
|
|
4008
|
-
|
|
4009
|
-
"
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4342
|
+
{
|
|
4343
|
+
"properties": {
|
|
4344
|
+
"$pool": {
|
|
4345
|
+
"type": "string"
|
|
4346
|
+
},
|
|
4347
|
+
"$poolId": {
|
|
4348
|
+
"type": "string",
|
|
4349
|
+
"deprecated": true
|
|
4350
|
+
},
|
|
4351
|
+
"_xapiRef": {
|
|
4352
|
+
"type": "string"
|
|
4353
|
+
},
|
|
4354
|
+
"uuid": {
|
|
4355
|
+
"type": "string"
|
|
4356
|
+
},
|
|
4357
|
+
"$SR": {
|
|
4358
|
+
"type": "string"
|
|
4359
|
+
},
|
|
4360
|
+
"$VBDs": {
|
|
4361
|
+
"items": {
|
|
4362
|
+
"type": "string"
|
|
4363
|
+
},
|
|
4364
|
+
"type": "array"
|
|
4365
|
+
},
|
|
4366
|
+
"VDI_type": {
|
|
4367
|
+
"$ref": "#/components/schemas/VDI_TYPE"
|
|
4368
|
+
},
|
|
4369
|
+
"cbt_enabled": {
|
|
4370
|
+
"type": "boolean"
|
|
4371
|
+
},
|
|
4372
|
+
"current_operations": {
|
|
4373
|
+
"$ref": "#/components/schemas/Record_string.VDI_OPERATIONS_"
|
|
4374
|
+
},
|
|
4375
|
+
"missing": {
|
|
4376
|
+
"type": "boolean"
|
|
4377
|
+
},
|
|
4378
|
+
"name_description": {
|
|
4379
|
+
"type": "string"
|
|
4380
|
+
},
|
|
4381
|
+
"name_label": {
|
|
4382
|
+
"type": "string"
|
|
4383
|
+
},
|
|
4384
|
+
"other_config": {
|
|
4385
|
+
"$ref": "#/components/schemas/Record_string.string_"
|
|
4386
|
+
},
|
|
4387
|
+
"parent": {
|
|
4388
|
+
"type": "string"
|
|
4389
|
+
},
|
|
4390
|
+
"image_format": {
|
|
4391
|
+
"type": "string"
|
|
4392
|
+
},
|
|
4393
|
+
"size": {
|
|
4394
|
+
"type": "number",
|
|
4395
|
+
"format": "double"
|
|
4396
|
+
},
|
|
4397
|
+
"snapshots": {
|
|
4398
|
+
"items": {
|
|
4399
|
+
"type": "string"
|
|
4400
|
+
},
|
|
4401
|
+
"type": "array"
|
|
4402
|
+
},
|
|
4403
|
+
"tags": {
|
|
4404
|
+
"items": {
|
|
4405
|
+
"type": "string"
|
|
4406
|
+
},
|
|
4407
|
+
"type": "array"
|
|
4408
|
+
},
|
|
4409
|
+
"usage": {
|
|
4410
|
+
"type": "number",
|
|
4411
|
+
"format": "double"
|
|
4412
|
+
},
|
|
4413
|
+
"id": {
|
|
4414
|
+
"type": "string"
|
|
4415
|
+
},
|
|
4416
|
+
"snapshot_time": {
|
|
4417
|
+
"type": "number",
|
|
4418
|
+
"format": "double"
|
|
4419
|
+
},
|
|
4420
|
+
"$snapshot_of": {
|
|
4421
|
+
"type": "string"
|
|
4422
|
+
},
|
|
4423
|
+
"type": {
|
|
4424
|
+
"type": "string",
|
|
4425
|
+
"enum": [
|
|
4426
|
+
"VDI-snapshot"
|
|
4427
|
+
]
|
|
4428
|
+
}
|
|
4026
4429
|
},
|
|
4027
|
-
"type": "
|
|
4028
|
-
},
|
|
4029
|
-
"attached": {
|
|
4030
|
-
"type": "boolean"
|
|
4031
|
-
},
|
|
4032
|
-
"device": {
|
|
4033
|
-
"type": "string"
|
|
4034
|
-
},
|
|
4035
|
-
"id": {
|
|
4036
|
-
"type": "string"
|
|
4037
|
-
},
|
|
4038
|
-
"lockingMode": {
|
|
4039
|
-
"$ref": "#/components/schemas/VIF_LOCKING_MODE"
|
|
4040
|
-
},
|
|
4041
|
-
"MAC": {
|
|
4042
|
-
"type": "string"
|
|
4043
|
-
},
|
|
4044
|
-
"MTU": {
|
|
4045
|
-
"type": "number",
|
|
4046
|
-
"format": "double"
|
|
4047
|
-
},
|
|
4048
|
-
"other_config": {
|
|
4049
|
-
"$ref": "#/components/schemas/Record_string.string_"
|
|
4050
|
-
},
|
|
4051
|
-
"rateLimit": {
|
|
4052
|
-
"type": "number",
|
|
4053
|
-
"format": "double",
|
|
4054
|
-
"description": "In kB/s"
|
|
4055
|
-
},
|
|
4056
|
-
"txChecksumming": {
|
|
4057
|
-
"type": "boolean"
|
|
4058
|
-
},
|
|
4059
|
-
"type": {
|
|
4060
|
-
"type": "string",
|
|
4061
|
-
"enum": [
|
|
4062
|
-
"VIF"
|
|
4063
|
-
]
|
|
4430
|
+
"type": "object"
|
|
4064
4431
|
}
|
|
4065
|
-
|
|
4066
|
-
"type": "object",
|
|
4432
|
+
],
|
|
4067
4433
|
"description": "Make all properties in T optional"
|
|
4068
4434
|
},
|
|
4069
|
-
"
|
|
4435
|
+
"WithHref_Partial_Unbrand_XoVdi_-or-Unbrand_XoVdiSnapshot___": {
|
|
4070
4436
|
"allOf": [
|
|
4071
4437
|
{
|
|
4072
|
-
"$ref": "#/components/schemas/
|
|
4438
|
+
"$ref": "#/components/schemas/Partial_Unbrand_XoVdi_-or-Unbrand_XoVdiSnapshot__"
|
|
4073
4439
|
},
|
|
4074
4440
|
{
|
|
4075
4441
|
"properties": {
|
|
@@ -4084,7 +4450,7 @@
|
|
|
4084
4450
|
}
|
|
4085
4451
|
]
|
|
4086
4452
|
},
|
|
4087
|
-
"
|
|
4453
|
+
"SendObjects_Partial_Unbrand_XoVdi_-or-Unbrand_XoVdiSnapshot___": {
|
|
4088
4454
|
"anyOf": [
|
|
4089
4455
|
{
|
|
4090
4456
|
"items": {
|
|
@@ -4094,7 +4460,7 @@
|
|
|
4094
4460
|
},
|
|
4095
4461
|
{
|
|
4096
4462
|
"items": {
|
|
4097
|
-
"$ref": "#/components/schemas/
|
|
4463
|
+
"$ref": "#/components/schemas/WithHref_Partial_Unbrand_XoVdi_-or-Unbrand_XoVdiSnapshot___"
|
|
4098
4464
|
},
|
|
4099
4465
|
"type": "array"
|
|
4100
4466
|
},
|
|
@@ -4103,7 +4469,16 @@
|
|
|
4103
4469
|
}
|
|
4104
4470
|
]
|
|
4105
4471
|
},
|
|
4106
|
-
"
|
|
4472
|
+
"VIF_LOCKING_MODE": {
|
|
4473
|
+
"type": "string",
|
|
4474
|
+
"enum": [
|
|
4475
|
+
"disabled",
|
|
4476
|
+
"locked",
|
|
4477
|
+
"network_default",
|
|
4478
|
+
"unlocked"
|
|
4479
|
+
]
|
|
4480
|
+
},
|
|
4481
|
+
"Partial_UnbrandedXoVif_": {
|
|
4107
4482
|
"properties": {
|
|
4108
4483
|
"$pool": {
|
|
4109
4484
|
"type": "string"
|
|
@@ -4170,143 +4545,16 @@
|
|
|
4170
4545
|
"type": "string",
|
|
4171
4546
|
"enum": [
|
|
4172
4547
|
"VIF"
|
|
4173
|
-
],
|
|
4174
|
-
"nullable": false
|
|
4175
|
-
}
|
|
4176
|
-
},
|
|
4177
|
-
"required": [
|
|
4178
|
-
"$pool",
|
|
4179
|
-
"$poolId",
|
|
4180
|
-
"_xapiRef",
|
|
4181
|
-
"uuid",
|
|
4182
|
-
"$VM",
|
|
4183
|
-
"$network",
|
|
4184
|
-
"allowedIpv4Addresses",
|
|
4185
|
-
"allowedIpv6Addresses",
|
|
4186
|
-
"attached",
|
|
4187
|
-
"device",
|
|
4188
|
-
"id",
|
|
4189
|
-
"lockingMode",
|
|
4190
|
-
"MAC",
|
|
4191
|
-
"MTU",
|
|
4192
|
-
"other_config",
|
|
4193
|
-
"txChecksumming",
|
|
4194
|
-
"type"
|
|
4195
|
-
],
|
|
4196
|
-
"type": "object"
|
|
4197
|
-
},
|
|
4198
|
-
"UnbrandedXoVif": {
|
|
4199
|
-
"$ref": "#/components/schemas/Unbrand_XoVif_"
|
|
4200
|
-
},
|
|
4201
|
-
"VDI_TYPE": {
|
|
4202
|
-
"type": "string",
|
|
4203
|
-
"enum": [
|
|
4204
|
-
"metadata",
|
|
4205
|
-
"suspend",
|
|
4206
|
-
"cbt_metadata",
|
|
4207
|
-
"crashdump",
|
|
4208
|
-
"ephemeral",
|
|
4209
|
-
"ha_statefile",
|
|
4210
|
-
"pvs_cache",
|
|
4211
|
-
"redo_log",
|
|
4212
|
-
"rrd",
|
|
4213
|
-
"system",
|
|
4214
|
-
"user"
|
|
4215
|
-
]
|
|
4216
|
-
},
|
|
4217
|
-
"Record_string.VDI_OPERATIONS_": {
|
|
4218
|
-
"properties": {},
|
|
4219
|
-
"type": "object",
|
|
4220
|
-
"description": "Construct a type with a set of properties K of type T"
|
|
4221
|
-
},
|
|
4222
|
-
"Partial_Unbrand_XoVdi__": {
|
|
4223
|
-
"properties": {
|
|
4224
|
-
"$pool": {
|
|
4225
|
-
"type": "string"
|
|
4226
|
-
},
|
|
4227
|
-
"$poolId": {
|
|
4228
|
-
"type": "string",
|
|
4229
|
-
"deprecated": true
|
|
4230
|
-
},
|
|
4231
|
-
"_xapiRef": {
|
|
4232
|
-
"type": "string"
|
|
4233
|
-
},
|
|
4234
|
-
"uuid": {
|
|
4235
|
-
"type": "string"
|
|
4236
|
-
},
|
|
4237
|
-
"$SR": {
|
|
4238
|
-
"type": "string"
|
|
4239
|
-
},
|
|
4240
|
-
"$VBDs": {
|
|
4241
|
-
"items": {
|
|
4242
|
-
"type": "string"
|
|
4243
|
-
},
|
|
4244
|
-
"type": "array"
|
|
4245
|
-
},
|
|
4246
|
-
"VDI_type": {
|
|
4247
|
-
"$ref": "#/components/schemas/VDI_TYPE"
|
|
4248
|
-
},
|
|
4249
|
-
"cbt_enabled": {
|
|
4250
|
-
"type": "boolean"
|
|
4251
|
-
},
|
|
4252
|
-
"current_operations": {
|
|
4253
|
-
"$ref": "#/components/schemas/Record_string.VDI_OPERATIONS_"
|
|
4254
|
-
},
|
|
4255
|
-
"missing": {
|
|
4256
|
-
"type": "boolean"
|
|
4257
|
-
},
|
|
4258
|
-
"name_description": {
|
|
4259
|
-
"type": "string"
|
|
4260
|
-
},
|
|
4261
|
-
"name_label": {
|
|
4262
|
-
"type": "string"
|
|
4263
|
-
},
|
|
4264
|
-
"other_config": {
|
|
4265
|
-
"$ref": "#/components/schemas/Record_string.string_"
|
|
4266
|
-
},
|
|
4267
|
-
"parent": {
|
|
4268
|
-
"type": "string"
|
|
4269
|
-
},
|
|
4270
|
-
"image_format": {
|
|
4271
|
-
"type": "string"
|
|
4272
|
-
},
|
|
4273
|
-
"size": {
|
|
4274
|
-
"type": "number",
|
|
4275
|
-
"format": "double"
|
|
4276
|
-
},
|
|
4277
|
-
"snapshots": {
|
|
4278
|
-
"items": {
|
|
4279
|
-
"type": "string"
|
|
4280
|
-
},
|
|
4281
|
-
"type": "array"
|
|
4282
|
-
},
|
|
4283
|
-
"tags": {
|
|
4284
|
-
"items": {
|
|
4285
|
-
"type": "string"
|
|
4286
|
-
},
|
|
4287
|
-
"type": "array"
|
|
4288
|
-
},
|
|
4289
|
-
"usage": {
|
|
4290
|
-
"type": "number",
|
|
4291
|
-
"format": "double"
|
|
4292
|
-
},
|
|
4293
|
-
"id": {
|
|
4294
|
-
"type": "string"
|
|
4295
|
-
},
|
|
4296
|
-
"type": {
|
|
4297
|
-
"type": "string",
|
|
4298
|
-
"enum": [
|
|
4299
|
-
"VDI"
|
|
4300
4548
|
]
|
|
4301
4549
|
}
|
|
4302
4550
|
},
|
|
4303
4551
|
"type": "object",
|
|
4304
4552
|
"description": "Make all properties in T optional"
|
|
4305
4553
|
},
|
|
4306
|
-
"
|
|
4554
|
+
"WithHref_Partial_UnbrandedXoVif__": {
|
|
4307
4555
|
"allOf": [
|
|
4308
4556
|
{
|
|
4309
|
-
"$ref": "#/components/schemas/
|
|
4557
|
+
"$ref": "#/components/schemas/Partial_UnbrandedXoVif_"
|
|
4310
4558
|
},
|
|
4311
4559
|
{
|
|
4312
4560
|
"properties": {
|
|
@@ -4321,7 +4569,7 @@
|
|
|
4321
4569
|
}
|
|
4322
4570
|
]
|
|
4323
4571
|
},
|
|
4324
|
-
"
|
|
4572
|
+
"SendObjects_Partial_UnbrandedXoVif__": {
|
|
4325
4573
|
"anyOf": [
|
|
4326
4574
|
{
|
|
4327
4575
|
"items": {
|
|
@@ -4331,7 +4579,7 @@
|
|
|
4331
4579
|
},
|
|
4332
4580
|
{
|
|
4333
4581
|
"items": {
|
|
4334
|
-
"$ref": "#/components/schemas/
|
|
4582
|
+
"$ref": "#/components/schemas/WithHref_Partial_UnbrandedXoVif__"
|
|
4335
4583
|
},
|
|
4336
4584
|
"type": "array"
|
|
4337
4585
|
},
|
|
@@ -4340,7 +4588,7 @@
|
|
|
4340
4588
|
}
|
|
4341
4589
|
]
|
|
4342
4590
|
},
|
|
4343
|
-
"
|
|
4591
|
+
"Unbrand_XoVif_": {
|
|
4344
4592
|
"properties": {
|
|
4345
4593
|
"$pool": {
|
|
4346
4594
|
"type": "string"
|
|
@@ -4355,69 +4603,58 @@
|
|
|
4355
4603
|
"uuid": {
|
|
4356
4604
|
"type": "string"
|
|
4357
4605
|
},
|
|
4358
|
-
"$
|
|
4606
|
+
"$VM": {
|
|
4359
4607
|
"type": "string"
|
|
4360
4608
|
},
|
|
4361
|
-
"$
|
|
4609
|
+
"$network": {
|
|
4610
|
+
"type": "string"
|
|
4611
|
+
},
|
|
4612
|
+
"allowedIpv4Addresses": {
|
|
4362
4613
|
"items": {
|
|
4363
4614
|
"type": "string"
|
|
4364
4615
|
},
|
|
4365
4616
|
"type": "array"
|
|
4366
4617
|
},
|
|
4367
|
-
"
|
|
4368
|
-
"
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
"type": "
|
|
4372
|
-
},
|
|
4373
|
-
"current_operations": {
|
|
4374
|
-
"$ref": "#/components/schemas/Record_string.VDI_OPERATIONS_"
|
|
4618
|
+
"allowedIpv6Addresses": {
|
|
4619
|
+
"items": {
|
|
4620
|
+
"type": "string"
|
|
4621
|
+
},
|
|
4622
|
+
"type": "array"
|
|
4375
4623
|
},
|
|
4376
|
-
"
|
|
4624
|
+
"attached": {
|
|
4377
4625
|
"type": "boolean"
|
|
4378
4626
|
},
|
|
4379
|
-
"
|
|
4627
|
+
"device": {
|
|
4380
4628
|
"type": "string"
|
|
4381
4629
|
},
|
|
4382
|
-
"
|
|
4630
|
+
"id": {
|
|
4383
4631
|
"type": "string"
|
|
4384
4632
|
},
|
|
4385
|
-
"
|
|
4386
|
-
"$ref": "#/components/schemas/
|
|
4387
|
-
},
|
|
4388
|
-
"parent": {
|
|
4389
|
-
"type": "string"
|
|
4633
|
+
"lockingMode": {
|
|
4634
|
+
"$ref": "#/components/schemas/VIF_LOCKING_MODE"
|
|
4390
4635
|
},
|
|
4391
|
-
"
|
|
4636
|
+
"MAC": {
|
|
4392
4637
|
"type": "string"
|
|
4393
4638
|
},
|
|
4394
|
-
"
|
|
4639
|
+
"MTU": {
|
|
4395
4640
|
"type": "number",
|
|
4396
4641
|
"format": "double"
|
|
4397
4642
|
},
|
|
4398
|
-
"
|
|
4399
|
-
"
|
|
4400
|
-
"type": "string"
|
|
4401
|
-
},
|
|
4402
|
-
"type": "array"
|
|
4403
|
-
},
|
|
4404
|
-
"tags": {
|
|
4405
|
-
"items": {
|
|
4406
|
-
"type": "string"
|
|
4407
|
-
},
|
|
4408
|
-
"type": "array"
|
|
4643
|
+
"other_config": {
|
|
4644
|
+
"$ref": "#/components/schemas/Record_string.string_"
|
|
4409
4645
|
},
|
|
4410
|
-
"
|
|
4646
|
+
"rateLimit": {
|
|
4411
4647
|
"type": "number",
|
|
4412
|
-
"format": "double"
|
|
4648
|
+
"format": "double",
|
|
4649
|
+
"description": "In kB/s"
|
|
4413
4650
|
},
|
|
4414
|
-
"
|
|
4415
|
-
"type": "
|
|
4651
|
+
"txChecksumming": {
|
|
4652
|
+
"type": "boolean"
|
|
4416
4653
|
},
|
|
4417
4654
|
"type": {
|
|
4418
4655
|
"type": "string",
|
|
4419
4656
|
"enum": [
|
|
4420
|
-
"
|
|
4657
|
+
"VIF"
|
|
4421
4658
|
],
|
|
4422
4659
|
"nullable": false
|
|
4423
4660
|
}
|
|
@@ -4427,24 +4664,26 @@
|
|
|
4427
4664
|
"$poolId",
|
|
4428
4665
|
"_xapiRef",
|
|
4429
4666
|
"uuid",
|
|
4430
|
-
"$
|
|
4431
|
-
"$
|
|
4432
|
-
"
|
|
4433
|
-
"
|
|
4434
|
-
"
|
|
4435
|
-
"
|
|
4436
|
-
"name_label",
|
|
4437
|
-
"other_config",
|
|
4438
|
-
"size",
|
|
4439
|
-
"snapshots",
|
|
4440
|
-
"tags",
|
|
4441
|
-
"usage",
|
|
4667
|
+
"$VM",
|
|
4668
|
+
"$network",
|
|
4669
|
+
"allowedIpv4Addresses",
|
|
4670
|
+
"allowedIpv6Addresses",
|
|
4671
|
+
"attached",
|
|
4672
|
+
"device",
|
|
4442
4673
|
"id",
|
|
4674
|
+
"lockingMode",
|
|
4675
|
+
"MAC",
|
|
4676
|
+
"MTU",
|
|
4677
|
+
"other_config",
|
|
4678
|
+
"txChecksumming",
|
|
4443
4679
|
"type"
|
|
4444
4680
|
],
|
|
4445
4681
|
"type": "object"
|
|
4446
4682
|
},
|
|
4447
|
-
"
|
|
4683
|
+
"UnbrandedXoVif": {
|
|
4684
|
+
"$ref": "#/components/schemas/Unbrand_XoVif_"
|
|
4685
|
+
},
|
|
4686
|
+
"Unbrand_XoVdi_": {
|
|
4448
4687
|
"properties": {
|
|
4449
4688
|
"$pool": {
|
|
4450
4689
|
"type": "string"
|
|
@@ -4518,59 +4757,35 @@
|
|
|
4518
4757
|
"id": {
|
|
4519
4758
|
"type": "string"
|
|
4520
4759
|
},
|
|
4521
|
-
"snapshot_time": {
|
|
4522
|
-
"type": "number",
|
|
4523
|
-
"format": "double"
|
|
4524
|
-
},
|
|
4525
|
-
"$snapshot_of": {
|
|
4526
|
-
"type": "string"
|
|
4527
|
-
},
|
|
4528
4760
|
"type": {
|
|
4529
4761
|
"type": "string",
|
|
4530
4762
|
"enum": [
|
|
4531
|
-
"VDI
|
|
4532
|
-
]
|
|
4533
|
-
}
|
|
4534
|
-
},
|
|
4535
|
-
"type": "object",
|
|
4536
|
-
"description": "Make all properties in T optional"
|
|
4537
|
-
},
|
|
4538
|
-
"WithHref_Partial_Unbrand_XoVdiSnapshot___": {
|
|
4539
|
-
"allOf": [
|
|
4540
|
-
{
|
|
4541
|
-
"$ref": "#/components/schemas/Partial_Unbrand_XoVdiSnapshot__"
|
|
4542
|
-
},
|
|
4543
|
-
{
|
|
4544
|
-
"properties": {
|
|
4545
|
-
"href": {
|
|
4546
|
-
"type": "string"
|
|
4547
|
-
}
|
|
4548
|
-
},
|
|
4549
|
-
"required": [
|
|
4550
|
-
"href"
|
|
4763
|
+
"VDI"
|
|
4551
4764
|
],
|
|
4552
|
-
"
|
|
4553
|
-
}
|
|
4554
|
-
]
|
|
4555
|
-
},
|
|
4556
|
-
"SendObjects_Partial_Unbrand_XoVdiSnapshot___": {
|
|
4557
|
-
"anyOf": [
|
|
4558
|
-
{
|
|
4559
|
-
"items": {
|
|
4560
|
-
"type": "string"
|
|
4561
|
-
},
|
|
4562
|
-
"type": "array"
|
|
4563
|
-
},
|
|
4564
|
-
{
|
|
4565
|
-
"items": {
|
|
4566
|
-
"$ref": "#/components/schemas/WithHref_Partial_Unbrand_XoVdiSnapshot___"
|
|
4567
|
-
},
|
|
4568
|
-
"type": "array"
|
|
4569
|
-
},
|
|
4570
|
-
{
|
|
4571
|
-
"$ref": "#/components/schemas/NdjsonStream"
|
|
4765
|
+
"nullable": false
|
|
4572
4766
|
}
|
|
4573
|
-
|
|
4767
|
+
},
|
|
4768
|
+
"required": [
|
|
4769
|
+
"$pool",
|
|
4770
|
+
"$poolId",
|
|
4771
|
+
"_xapiRef",
|
|
4772
|
+
"uuid",
|
|
4773
|
+
"$SR",
|
|
4774
|
+
"$VBDs",
|
|
4775
|
+
"VDI_type",
|
|
4776
|
+
"current_operations",
|
|
4777
|
+
"missing",
|
|
4778
|
+
"name_description",
|
|
4779
|
+
"name_label",
|
|
4780
|
+
"other_config",
|
|
4781
|
+
"size",
|
|
4782
|
+
"snapshots",
|
|
4783
|
+
"tags",
|
|
4784
|
+
"usage",
|
|
4785
|
+
"id",
|
|
4786
|
+
"type"
|
|
4787
|
+
],
|
|
4788
|
+
"type": "object"
|
|
4574
4789
|
},
|
|
4575
4790
|
"Unbrand_XoVdiSnapshot_": {
|
|
4576
4791
|
"properties": {
|
|
@@ -4838,7 +5053,6 @@
|
|
|
4838
5053
|
"position",
|
|
4839
5054
|
"read_only",
|
|
4840
5055
|
"type",
|
|
4841
|
-
"VDI",
|
|
4842
5056
|
"VM"
|
|
4843
5057
|
],
|
|
4844
5058
|
"type": "object"
|
|
@@ -9044,7 +9258,7 @@
|
|
|
9044
9258
|
},
|
|
9045
9259
|
"info": {
|
|
9046
9260
|
"title": "@xen-orchestra/rest-api",
|
|
9047
|
-
"version": "0.
|
|
9261
|
+
"version": "0.14.0",
|
|
9048
9262
|
"description": "REST API to manage your XOA",
|
|
9049
9263
|
"license": {
|
|
9050
9264
|
"name": "AGPL-3.0-or-later"
|
|
@@ -11580,6 +11794,103 @@
|
|
|
11580
11794
|
]
|
|
11581
11795
|
}
|
|
11582
11796
|
},
|
|
11797
|
+
"/vms/{id}/vdis": {
|
|
11798
|
+
"get": {
|
|
11799
|
+
"operationId": "GetVmVdis",
|
|
11800
|
+
"responses": {
|
|
11801
|
+
"200": {
|
|
11802
|
+
"description": "Ok",
|
|
11803
|
+
"content": {
|
|
11804
|
+
"application/json": {
|
|
11805
|
+
"schema": {
|
|
11806
|
+
"$ref": "#/components/schemas/SendObjects_Partial_Unbrand_XoVdi___"
|
|
11807
|
+
},
|
|
11808
|
+
"examples": {
|
|
11809
|
+
"Example 1": {
|
|
11810
|
+
"value": [
|
|
11811
|
+
{
|
|
11812
|
+
"VDI_type": "user",
|
|
11813
|
+
"id": "11045407-4764-4c1c-8865-63f89d686b1b",
|
|
11814
|
+
"name_label": "Debian Bookworm 12_ogupi",
|
|
11815
|
+
"href": "/rest/v0/vdis/11045407-4764-4c1c-8865-63f89d686b1b"
|
|
11816
|
+
},
|
|
11817
|
+
{
|
|
11818
|
+
"VDI_type": "user",
|
|
11819
|
+
"id": "0eb73d40-e5f8-443d-b611-a52e03858a6a",
|
|
11820
|
+
"name_label": "MRA TrueNAS_emodi",
|
|
11821
|
+
"href": "/rest/v0/vdis/0eb73d40-e5f8-443d-b611-a52e03858a6a"
|
|
11822
|
+
}
|
|
11823
|
+
]
|
|
11824
|
+
}
|
|
11825
|
+
}
|
|
11826
|
+
}
|
|
11827
|
+
}
|
|
11828
|
+
},
|
|
11829
|
+
"401": {
|
|
11830
|
+
"description": "Authentication required"
|
|
11831
|
+
},
|
|
11832
|
+
"404": {
|
|
11833
|
+
"description": "Resource not found"
|
|
11834
|
+
}
|
|
11835
|
+
},
|
|
11836
|
+
"tags": [
|
|
11837
|
+
"vdis",
|
|
11838
|
+
"vms"
|
|
11839
|
+
],
|
|
11840
|
+
"security": [
|
|
11841
|
+
{
|
|
11842
|
+
"*": []
|
|
11843
|
+
}
|
|
11844
|
+
],
|
|
11845
|
+
"parameters": [
|
|
11846
|
+
{
|
|
11847
|
+
"in": "path",
|
|
11848
|
+
"name": "id",
|
|
11849
|
+
"required": true,
|
|
11850
|
+
"schema": {
|
|
11851
|
+
"type": "string"
|
|
11852
|
+
},
|
|
11853
|
+
"example": "f07ab729-c0e8-721c-45ec-f11276377030"
|
|
11854
|
+
},
|
|
11855
|
+
{
|
|
11856
|
+
"in": "query",
|
|
11857
|
+
"name": "fields",
|
|
11858
|
+
"required": false,
|
|
11859
|
+
"schema": {
|
|
11860
|
+
"type": "string"
|
|
11861
|
+
},
|
|
11862
|
+
"example": "VDI_type,id,name_label"
|
|
11863
|
+
},
|
|
11864
|
+
{
|
|
11865
|
+
"in": "query",
|
|
11866
|
+
"name": "ndjson",
|
|
11867
|
+
"required": false,
|
|
11868
|
+
"schema": {
|
|
11869
|
+
"type": "boolean"
|
|
11870
|
+
}
|
|
11871
|
+
},
|
|
11872
|
+
{
|
|
11873
|
+
"in": "query",
|
|
11874
|
+
"name": "filter",
|
|
11875
|
+
"required": false,
|
|
11876
|
+
"schema": {
|
|
11877
|
+
"type": "string"
|
|
11878
|
+
},
|
|
11879
|
+
"example": "VDI_type:user"
|
|
11880
|
+
},
|
|
11881
|
+
{
|
|
11882
|
+
"in": "query",
|
|
11883
|
+
"name": "limit",
|
|
11884
|
+
"required": false,
|
|
11885
|
+
"schema": {
|
|
11886
|
+
"format": "double",
|
|
11887
|
+
"type": "number"
|
|
11888
|
+
},
|
|
11889
|
+
"example": 42
|
|
11890
|
+
}
|
|
11891
|
+
]
|
|
11892
|
+
}
|
|
11893
|
+
},
|
|
11583
11894
|
"/vm-templates": {
|
|
11584
11895
|
"get": {
|
|
11585
11896
|
"operationId": "GetVmTemplates",
|
|
@@ -11795,34 +12106,131 @@
|
|
|
11795
12106
|
"schema": {
|
|
11796
12107
|
"type": "string"
|
|
11797
12108
|
},
|
|
11798
|
-
"example": "b7569d99-30f8-178a-7d94-801de3e29b5b-f873abe0-b138-4995-8f6f-498b423d234d"
|
|
12109
|
+
"example": "b7569d99-30f8-178a-7d94-801de3e29b5b-f873abe0-b138-4995-8f6f-498b423d234d"
|
|
12110
|
+
}
|
|
12111
|
+
]
|
|
12112
|
+
}
|
|
12113
|
+
},
|
|
12114
|
+
"/vm-templates/{id}/alarms": {
|
|
12115
|
+
"get": {
|
|
12116
|
+
"operationId": "GetVmTemplateAlarms",
|
|
12117
|
+
"responses": {
|
|
12118
|
+
"200": {
|
|
12119
|
+
"description": "Ok",
|
|
12120
|
+
"content": {
|
|
12121
|
+
"application/json": {
|
|
12122
|
+
"schema": {
|
|
12123
|
+
"$ref": "#/components/schemas/SendObjects_Partial_Unbrand_XoAlarm___"
|
|
12124
|
+
},
|
|
12125
|
+
"examples": {
|
|
12126
|
+
"Example 1": {
|
|
12127
|
+
"value": [
|
|
12128
|
+
{
|
|
12129
|
+
"id": "7e87b95e-8ebb-31c5-30ad-ff2eb079604b",
|
|
12130
|
+
"time": 1747053794,
|
|
12131
|
+
"href": "/rest/v0/alarms/7e87b95e-8ebb-31c5-30ad-ff2eb079604b"
|
|
12132
|
+
},
|
|
12133
|
+
{
|
|
12134
|
+
"id": "7e87b95e-8ebb-31c5-30ad-ff2eb079604c",
|
|
12135
|
+
"time": 1747053795,
|
|
12136
|
+
"href": "/rest/v0/alarms/7e87b95e-8ebb-31c5-30ad-ff2eb079604c"
|
|
12137
|
+
}
|
|
12138
|
+
]
|
|
12139
|
+
}
|
|
12140
|
+
}
|
|
12141
|
+
}
|
|
12142
|
+
}
|
|
12143
|
+
},
|
|
12144
|
+
"401": {
|
|
12145
|
+
"description": "Authentication required"
|
|
12146
|
+
},
|
|
12147
|
+
"404": {
|
|
12148
|
+
"description": "Resource not found"
|
|
12149
|
+
}
|
|
12150
|
+
},
|
|
12151
|
+
"tags": [
|
|
12152
|
+
"alarms",
|
|
12153
|
+
"vms"
|
|
12154
|
+
],
|
|
12155
|
+
"security": [
|
|
12156
|
+
{
|
|
12157
|
+
"*": []
|
|
12158
|
+
}
|
|
12159
|
+
],
|
|
12160
|
+
"parameters": [
|
|
12161
|
+
{
|
|
12162
|
+
"in": "path",
|
|
12163
|
+
"name": "id",
|
|
12164
|
+
"required": true,
|
|
12165
|
+
"schema": {
|
|
12166
|
+
"type": "string"
|
|
12167
|
+
},
|
|
12168
|
+
"example": "b7569d99-30f8-178a-7d94-801de3e29b5b-f873abe0-b138-4995-8f6f-498b423d234d"
|
|
12169
|
+
},
|
|
12170
|
+
{
|
|
12171
|
+
"in": "query",
|
|
12172
|
+
"name": "fields",
|
|
12173
|
+
"required": false,
|
|
12174
|
+
"schema": {
|
|
12175
|
+
"type": "string"
|
|
12176
|
+
},
|
|
12177
|
+
"example": "id,time"
|
|
12178
|
+
},
|
|
12179
|
+
{
|
|
12180
|
+
"in": "query",
|
|
12181
|
+
"name": "ndjson",
|
|
12182
|
+
"required": false,
|
|
12183
|
+
"schema": {
|
|
12184
|
+
"type": "boolean"
|
|
12185
|
+
}
|
|
12186
|
+
},
|
|
12187
|
+
{
|
|
12188
|
+
"in": "query",
|
|
12189
|
+
"name": "filter",
|
|
12190
|
+
"required": false,
|
|
12191
|
+
"schema": {
|
|
12192
|
+
"type": "string"
|
|
12193
|
+
},
|
|
12194
|
+
"example": "time:>1747053793"
|
|
12195
|
+
},
|
|
12196
|
+
{
|
|
12197
|
+
"in": "query",
|
|
12198
|
+
"name": "limit",
|
|
12199
|
+
"required": false,
|
|
12200
|
+
"schema": {
|
|
12201
|
+
"format": "double",
|
|
12202
|
+
"type": "number"
|
|
12203
|
+
},
|
|
12204
|
+
"example": 42
|
|
11799
12205
|
}
|
|
11800
12206
|
]
|
|
11801
12207
|
}
|
|
11802
12208
|
},
|
|
11803
|
-
"/vm-templates/{id}/
|
|
12209
|
+
"/vm-templates/{id}/vdis": {
|
|
11804
12210
|
"get": {
|
|
11805
|
-
"operationId": "
|
|
12211
|
+
"operationId": "GetVmTemplateVdis",
|
|
11806
12212
|
"responses": {
|
|
11807
12213
|
"200": {
|
|
11808
12214
|
"description": "Ok",
|
|
11809
12215
|
"content": {
|
|
11810
12216
|
"application/json": {
|
|
11811
12217
|
"schema": {
|
|
11812
|
-
"$ref": "#/components/schemas/
|
|
12218
|
+
"$ref": "#/components/schemas/SendObjects_Partial_Unbrand_XoVdi___"
|
|
11813
12219
|
},
|
|
11814
12220
|
"examples": {
|
|
11815
12221
|
"Example 1": {
|
|
11816
12222
|
"value": [
|
|
11817
12223
|
{
|
|
11818
|
-
"
|
|
11819
|
-
"
|
|
11820
|
-
"
|
|
12224
|
+
"VDI_type": "user",
|
|
12225
|
+
"id": "cbfeabfc-20c8-46eb-a094-84076eb29f04",
|
|
12226
|
+
"name_label": "Hard disk 1",
|
|
12227
|
+
"href": "/rest/v0/vdis/cbfeabfc-20c8-46eb-a094-84076eb29f04"
|
|
11821
12228
|
},
|
|
11822
12229
|
{
|
|
11823
|
-
"
|
|
11824
|
-
"
|
|
11825
|
-
"
|
|
12230
|
+
"VDI_type": "user",
|
|
12231
|
+
"id": "bee66a2e-68a4-4ff8-9ed4-2f429587524f",
|
|
12232
|
+
"name_label": "Hard disk 2",
|
|
12233
|
+
"href": "/rest/v0/vdis/bee66a2e-68a4-4ff8-9ed4-2f429587524f"
|
|
11826
12234
|
}
|
|
11827
12235
|
]
|
|
11828
12236
|
}
|
|
@@ -11838,7 +12246,7 @@
|
|
|
11838
12246
|
}
|
|
11839
12247
|
},
|
|
11840
12248
|
"tags": [
|
|
11841
|
-
"
|
|
12249
|
+
"vdis",
|
|
11842
12250
|
"vms"
|
|
11843
12251
|
],
|
|
11844
12252
|
"security": [
|
|
@@ -11854,7 +12262,7 @@
|
|
|
11854
12262
|
"schema": {
|
|
11855
12263
|
"type": "string"
|
|
11856
12264
|
},
|
|
11857
|
-
"example": "
|
|
12265
|
+
"example": "6d50ba76-0f11-1ff1-4f6a-b502afc31b8e"
|
|
11858
12266
|
},
|
|
11859
12267
|
{
|
|
11860
12268
|
"in": "query",
|
|
@@ -11863,7 +12271,7 @@
|
|
|
11863
12271
|
"schema": {
|
|
11864
12272
|
"type": "string"
|
|
11865
12273
|
},
|
|
11866
|
-
"example": "id,
|
|
12274
|
+
"example": "VDI_type,id,name_label"
|
|
11867
12275
|
},
|
|
11868
12276
|
{
|
|
11869
12277
|
"in": "query",
|
|
@@ -11880,7 +12288,7 @@
|
|
|
11880
12288
|
"schema": {
|
|
11881
12289
|
"type": "string"
|
|
11882
12290
|
},
|
|
11883
|
-
"example": "
|
|
12291
|
+
"example": "VDI_type:user"
|
|
11884
12292
|
},
|
|
11885
12293
|
{
|
|
11886
12294
|
"in": "query",
|
|
@@ -12310,6 +12718,103 @@
|
|
|
12310
12718
|
]
|
|
12311
12719
|
}
|
|
12312
12720
|
},
|
|
12721
|
+
"/vm-snapshots/{id}/vdis": {
|
|
12722
|
+
"get": {
|
|
12723
|
+
"operationId": "GetVmSnapshotVdis",
|
|
12724
|
+
"responses": {
|
|
12725
|
+
"200": {
|
|
12726
|
+
"description": "Ok",
|
|
12727
|
+
"content": {
|
|
12728
|
+
"application/json": {
|
|
12729
|
+
"schema": {
|
|
12730
|
+
"$ref": "#/components/schemas/SendObjects_Partial_Unbrand_XoVdiSnapshot___"
|
|
12731
|
+
},
|
|
12732
|
+
"examples": {
|
|
12733
|
+
"Example 1": {
|
|
12734
|
+
"value": [
|
|
12735
|
+
{
|
|
12736
|
+
"VDI_type": "user",
|
|
12737
|
+
"id": "a2831a61-6b1c-41e3-a328-bdfd13e76488",
|
|
12738
|
+
"name_label": "Debian Buster 10_oreva",
|
|
12739
|
+
"href": "/rest/v0/vdi-snapshots/a2831a61-6b1c-41e3-a328-bdfd13e76488"
|
|
12740
|
+
},
|
|
12741
|
+
{
|
|
12742
|
+
"VDI_type": "user",
|
|
12743
|
+
"id": "41c52deb-0083-471e-bd72-252ea06a48b9",
|
|
12744
|
+
"name_label": "MRA XCP 8.2_uvuvo",
|
|
12745
|
+
"href": "/rest/v0/vdi-snapshots/41c52deb-0083-471e-bd72-252ea06a48b9"
|
|
12746
|
+
}
|
|
12747
|
+
]
|
|
12748
|
+
}
|
|
12749
|
+
}
|
|
12750
|
+
}
|
|
12751
|
+
}
|
|
12752
|
+
},
|
|
12753
|
+
"401": {
|
|
12754
|
+
"description": "Authentication required"
|
|
12755
|
+
},
|
|
12756
|
+
"404": {
|
|
12757
|
+
"description": "Resource not found"
|
|
12758
|
+
}
|
|
12759
|
+
},
|
|
12760
|
+
"tags": [
|
|
12761
|
+
"vdis",
|
|
12762
|
+
"vms"
|
|
12763
|
+
],
|
|
12764
|
+
"security": [
|
|
12765
|
+
{
|
|
12766
|
+
"*": []
|
|
12767
|
+
}
|
|
12768
|
+
],
|
|
12769
|
+
"parameters": [
|
|
12770
|
+
{
|
|
12771
|
+
"in": "path",
|
|
12772
|
+
"name": "id",
|
|
12773
|
+
"required": true,
|
|
12774
|
+
"schema": {
|
|
12775
|
+
"type": "string"
|
|
12776
|
+
},
|
|
12777
|
+
"example": "d68fca2c-41e6-be87-d790-105c1642a090"
|
|
12778
|
+
},
|
|
12779
|
+
{
|
|
12780
|
+
"in": "query",
|
|
12781
|
+
"name": "fields",
|
|
12782
|
+
"required": false,
|
|
12783
|
+
"schema": {
|
|
12784
|
+
"type": "string"
|
|
12785
|
+
},
|
|
12786
|
+
"example": "VDI_type,id,name_label"
|
|
12787
|
+
},
|
|
12788
|
+
{
|
|
12789
|
+
"in": "query",
|
|
12790
|
+
"name": "ndjson",
|
|
12791
|
+
"required": false,
|
|
12792
|
+
"schema": {
|
|
12793
|
+
"type": "boolean"
|
|
12794
|
+
}
|
|
12795
|
+
},
|
|
12796
|
+
{
|
|
12797
|
+
"in": "query",
|
|
12798
|
+
"name": "filter",
|
|
12799
|
+
"required": false,
|
|
12800
|
+
"schema": {
|
|
12801
|
+
"type": "string"
|
|
12802
|
+
},
|
|
12803
|
+
"example": "VDI_type:user"
|
|
12804
|
+
},
|
|
12805
|
+
{
|
|
12806
|
+
"in": "query",
|
|
12807
|
+
"name": "limit",
|
|
12808
|
+
"required": false,
|
|
12809
|
+
"schema": {
|
|
12810
|
+
"format": "double",
|
|
12811
|
+
"type": "number"
|
|
12812
|
+
},
|
|
12813
|
+
"example": 42
|
|
12814
|
+
}
|
|
12815
|
+
]
|
|
12816
|
+
}
|
|
12817
|
+
},
|
|
12313
12818
|
"/vm-controllers": {
|
|
12314
12819
|
"get": {
|
|
12315
12820
|
"operationId": "GetVmControllers",
|
|
@@ -12600,6 +13105,103 @@
|
|
|
12600
13105
|
]
|
|
12601
13106
|
}
|
|
12602
13107
|
},
|
|
13108
|
+
"/vm-controllers/{id}/vdis": {
|
|
13109
|
+
"get": {
|
|
13110
|
+
"operationId": "GetVmControllerVdis",
|
|
13111
|
+
"responses": {
|
|
13112
|
+
"200": {
|
|
13113
|
+
"description": "Ok",
|
|
13114
|
+
"content": {
|
|
13115
|
+
"application/json": {
|
|
13116
|
+
"schema": {
|
|
13117
|
+
"$ref": "#/components/schemas/SendObjects_Partial_Unbrand_XoVdi_-or-Unbrand_XoVdiSnapshot___"
|
|
13118
|
+
},
|
|
13119
|
+
"examples": {
|
|
13120
|
+
"Example 1": {
|
|
13121
|
+
"value": [
|
|
13122
|
+
{
|
|
13123
|
+
"VDI_type": "user",
|
|
13124
|
+
"id": "6b67c24d-5f09-4845-b753-0b73abf658f0",
|
|
13125
|
+
"name_label": "debian 12 hub disk",
|
|
13126
|
+
"href": "/rest/v0/vdi-snapshots/6b67c24d-5f09-4845-b753-0b73abf658f0"
|
|
13127
|
+
},
|
|
13128
|
+
{
|
|
13129
|
+
"VDI_type": "user",
|
|
13130
|
+
"id": "11d85da8-7caf-4a47-b030-15e78adb3f72",
|
|
13131
|
+
"name_label": "xoa root",
|
|
13132
|
+
"href": "/rest/v0/vdi-snapshots/11d85da8-7caf-4a47-b030-15e78adb3f72"
|
|
13133
|
+
}
|
|
13134
|
+
]
|
|
13135
|
+
}
|
|
13136
|
+
}
|
|
13137
|
+
}
|
|
13138
|
+
}
|
|
13139
|
+
},
|
|
13140
|
+
"401": {
|
|
13141
|
+
"description": "Authentication required"
|
|
13142
|
+
},
|
|
13143
|
+
"404": {
|
|
13144
|
+
"description": "Resource not found"
|
|
13145
|
+
}
|
|
13146
|
+
},
|
|
13147
|
+
"tags": [
|
|
13148
|
+
"vdis",
|
|
13149
|
+
"vms"
|
|
13150
|
+
],
|
|
13151
|
+
"security": [
|
|
13152
|
+
{
|
|
13153
|
+
"*": []
|
|
13154
|
+
}
|
|
13155
|
+
],
|
|
13156
|
+
"parameters": [
|
|
13157
|
+
{
|
|
13158
|
+
"in": "path",
|
|
13159
|
+
"name": "id",
|
|
13160
|
+
"required": true,
|
|
13161
|
+
"schema": {
|
|
13162
|
+
"type": "string"
|
|
13163
|
+
},
|
|
13164
|
+
"example": "9b4775bd-9493-490a-9afa-f786a44caa4f"
|
|
13165
|
+
},
|
|
13166
|
+
{
|
|
13167
|
+
"in": "query",
|
|
13168
|
+
"name": "fields",
|
|
13169
|
+
"required": false,
|
|
13170
|
+
"schema": {
|
|
13171
|
+
"type": "string"
|
|
13172
|
+
},
|
|
13173
|
+
"example": "VDI_type,id,name_label"
|
|
13174
|
+
},
|
|
13175
|
+
{
|
|
13176
|
+
"in": "query",
|
|
13177
|
+
"name": "ndjson",
|
|
13178
|
+
"required": false,
|
|
13179
|
+
"schema": {
|
|
13180
|
+
"type": "boolean"
|
|
13181
|
+
}
|
|
13182
|
+
},
|
|
13183
|
+
{
|
|
13184
|
+
"in": "query",
|
|
13185
|
+
"name": "filter",
|
|
13186
|
+
"required": false,
|
|
13187
|
+
"schema": {
|
|
13188
|
+
"type": "string"
|
|
13189
|
+
},
|
|
13190
|
+
"example": "VDI_type:user"
|
|
13191
|
+
},
|
|
13192
|
+
{
|
|
13193
|
+
"in": "query",
|
|
13194
|
+
"name": "limit",
|
|
13195
|
+
"required": false,
|
|
13196
|
+
"schema": {
|
|
13197
|
+
"format": "double",
|
|
13198
|
+
"type": "number"
|
|
13199
|
+
},
|
|
13200
|
+
"example": 42
|
|
13201
|
+
}
|
|
13202
|
+
]
|
|
13203
|
+
}
|
|
13204
|
+
},
|
|
12603
13205
|
"/vifs": {
|
|
12604
13206
|
"get": {
|
|
12605
13207
|
"operationId": "GetVifs",
|
|
@@ -25756,6 +26358,67 @@
|
|
|
25756
26358
|
]
|
|
25757
26359
|
}
|
|
25758
26360
|
},
|
|
26361
|
+
"/hosts/{id}/smt": {
|
|
26362
|
+
"get": {
|
|
26363
|
+
"operationId": "GethostSmt",
|
|
26364
|
+
"responses": {
|
|
26365
|
+
"200": {
|
|
26366
|
+
"description": "Ok",
|
|
26367
|
+
"content": {
|
|
26368
|
+
"application/json": {
|
|
26369
|
+
"schema": {
|
|
26370
|
+
"properties": {
|
|
26371
|
+
"enabled": {
|
|
26372
|
+
"type": "boolean"
|
|
26373
|
+
}
|
|
26374
|
+
},
|
|
26375
|
+
"required": [
|
|
26376
|
+
"enabled"
|
|
26377
|
+
],
|
|
26378
|
+
"type": "object"
|
|
26379
|
+
},
|
|
26380
|
+
"examples": {
|
|
26381
|
+
"Example 1": {
|
|
26382
|
+
"value": {
|
|
26383
|
+
"enabled": true
|
|
26384
|
+
}
|
|
26385
|
+
}
|
|
26386
|
+
}
|
|
26387
|
+
}
|
|
26388
|
+
}
|
|
26389
|
+
},
|
|
26390
|
+
"401": {
|
|
26391
|
+
"description": "Authentication required"
|
|
26392
|
+
},
|
|
26393
|
+
"404": {
|
|
26394
|
+
"description": "Resource not found"
|
|
26395
|
+
},
|
|
26396
|
+
"500": {
|
|
26397
|
+
"description": "Internal server error, XenServer/XCP-ng error"
|
|
26398
|
+
}
|
|
26399
|
+
},
|
|
26400
|
+
"description": "Returns a boolean indicating whether SMT (Simultaneous Multi-Threading) is enabled",
|
|
26401
|
+
"tags": [
|
|
26402
|
+
"hosts"
|
|
26403
|
+
],
|
|
26404
|
+
"security": [
|
|
26405
|
+
{
|
|
26406
|
+
"*": []
|
|
26407
|
+
}
|
|
26408
|
+
],
|
|
26409
|
+
"parameters": [
|
|
26410
|
+
{
|
|
26411
|
+
"in": "path",
|
|
26412
|
+
"name": "id",
|
|
26413
|
+
"required": true,
|
|
26414
|
+
"schema": {
|
|
26415
|
+
"type": "string"
|
|
26416
|
+
},
|
|
26417
|
+
"example": "b61a5c92-700e-4966-a13b-00633f03eea8"
|
|
26418
|
+
}
|
|
26419
|
+
]
|
|
26420
|
+
}
|
|
26421
|
+
},
|
|
25759
26422
|
"/groups": {
|
|
25760
26423
|
"get": {
|
|
25761
26424
|
"operationId": "GetGroups",
|