@xen-orchestra/rest-api 0.33.0 → 0.34.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.
@@ -2527,6 +2527,7 @@
2527
2527
  "VM-snapshot",
2528
2528
  "SR",
2529
2529
  "VM",
2530
+ "VM-template",
2530
2531
  "message",
2531
2532
  "vgpu",
2532
2533
  "gpuGroup",
@@ -2540,7 +2541,6 @@
2540
2541
  "VDI-unmanaged",
2541
2542
  "vgpuType",
2542
2543
  "VM-controller",
2543
- "VM-template",
2544
2544
  "SM",
2545
2545
  "unknown"
2546
2546
  ]
@@ -2926,8 +2926,8 @@
2926
2926
  "type": "string",
2927
2927
  "enum": [
2928
2928
  "",
2929
- "native",
2930
- "zstd"
2929
+ "zstd",
2930
+ "native"
2931
2931
  ]
2932
2932
  },
2933
2933
  "proxy": {
@@ -3174,6 +3174,7 @@
3174
3174
  "VM-snapshot",
3175
3175
  "SR",
3176
3176
  "VM",
3177
+ "VM-template",
3177
3178
  "message",
3178
3179
  "vgpu",
3179
3180
  "gpuGroup",
@@ -3187,7 +3188,6 @@
3187
3188
  "VDI-unmanaged",
3188
3189
  "vgpuType",
3189
3190
  "VM-controller",
3190
- "VM-template",
3191
3191
  "SM",
3192
3192
  "backup",
3193
3193
  "backup-archive",
@@ -3325,6 +3325,7 @@
3325
3325
  "VM-snapshot",
3326
3326
  "SR",
3327
3327
  "VM",
3328
+ "VM-template",
3328
3329
  "message",
3329
3330
  "vgpu",
3330
3331
  "gpuGroup",
@@ -3338,7 +3339,6 @@
3338
3339
  "VDI-unmanaged",
3339
3340
  "vgpuType",
3340
3341
  "VM-controller",
3341
- "VM-template",
3342
3342
  "SM",
3343
3343
  "user",
3344
3344
  "proxy",
@@ -6458,6 +6458,51 @@
6458
6458
  "UnbrandedXoVif": {
6459
6459
  "$ref": "#/components/schemas/Unbrand_XoVif_"
6460
6460
  },
6461
+ "Pick_EditVifProps.Exclude_keyofEditVifProps.ipv4Allowed-or-ipv6Allowed__": {
6462
+ "properties": {
6463
+ "lockingMode": {
6464
+ "$ref": "#/components/schemas/VIF_LOCKING_MODE"
6465
+ },
6466
+ "rateLimit": {
6467
+ "type": "number",
6468
+ "format": "double",
6469
+ "nullable": true
6470
+ },
6471
+ "txChecksumming": {
6472
+ "type": "boolean"
6473
+ }
6474
+ },
6475
+ "type": "object",
6476
+ "description": "From T, pick a set of properties whose keys are in the union K"
6477
+ },
6478
+ "Omit_EditVifProps.ipv4Allowed-or-ipv6Allowed_": {
6479
+ "$ref": "#/components/schemas/Pick_EditVifProps.Exclude_keyofEditVifProps.ipv4Allowed-or-ipv6Allowed__",
6480
+ "description": "Construct a type with the properties of T except for those in type K."
6481
+ },
6482
+ "UpdateVifRequestBody": {
6483
+ "allOf": [
6484
+ {
6485
+ "$ref": "#/components/schemas/Omit_EditVifProps.ipv4Allowed-or-ipv6Allowed_"
6486
+ },
6487
+ {
6488
+ "properties": {
6489
+ "allowedIpv6Addresses": {
6490
+ "items": {
6491
+ "type": "string"
6492
+ },
6493
+ "type": "array"
6494
+ },
6495
+ "allowedIpv4Addresses": {
6496
+ "items": {
6497
+ "type": "string"
6498
+ },
6499
+ "type": "array"
6500
+ }
6501
+ },
6502
+ "type": "object"
6503
+ }
6504
+ ]
6505
+ },
6461
6506
  "Pick_CreateVifParams_91_0_93_.Exclude_keyofCreateVifParams_91_0_93_.network-or-VM-or-other_config-or-qos_algorithm_params__": {
6462
6507
  "properties": {
6463
6508
  "device": {
@@ -7569,8 +7614,16 @@
7569
7614
  "action": {
7570
7615
  "type": "string",
7571
7616
  "enum": [
7617
+ "forget",
7618
+ "update",
7572
7619
  "*",
7573
- "read"
7620
+ "create",
7621
+ "read",
7622
+ "update:name",
7623
+ "update:enabled",
7624
+ "update:options",
7625
+ "update:proxy",
7626
+ "update:url"
7574
7627
  ]
7575
7628
  },
7576
7629
  "selector": {
@@ -7682,9 +7735,11 @@
7682
7735
  "read",
7683
7736
  "allow-vm",
7684
7737
  "disable",
7738
+ "migrate-receive",
7685
7739
  "enable",
7686
7740
  "evacuate",
7687
7741
  "export:logs",
7742
+ "join-pool",
7688
7743
  "update:tags"
7689
7744
  ]
7690
7745
  },
@@ -7791,7 +7846,9 @@
7791
7846
  "type": "string",
7792
7847
  "enum": [
7793
7848
  "*",
7794
- "read"
7849
+ "read",
7850
+ "plug",
7851
+ "unplug"
7795
7852
  ]
7796
7853
  },
7797
7854
  "selector": {
@@ -7933,6 +7990,7 @@
7933
7990
  "create",
7934
7991
  "read",
7935
7992
  "update:tags",
7993
+ "add-host",
7936
7994
  "create:network",
7937
7995
  "create:vm",
7938
7996
  "emergency-shutdown",
@@ -8146,13 +8204,17 @@
8146
8204
  "type": "string",
8147
8205
  "enum": [
8148
8206
  "import",
8207
+ "forget",
8149
8208
  "update",
8150
8209
  "*",
8151
8210
  "delete",
8152
8211
  "read",
8212
+ "migrate-receive",
8153
8213
  "update:tags",
8154
8214
  "import:vdi",
8155
- "import:vm"
8215
+ "import:vm",
8216
+ "reclaim-space",
8217
+ "scan"
8156
8218
  ]
8157
8219
  },
8158
8220
  "selector": {
@@ -8263,7 +8325,11 @@
8263
8325
  "type": "string",
8264
8326
  "enum": [
8265
8327
  "*",
8266
- "read"
8328
+ "create",
8329
+ "delete",
8330
+ "read",
8331
+ "connect",
8332
+ "disconnect"
8267
8333
  ]
8268
8334
  },
8269
8335
  "selector": {
@@ -8296,8 +8362,12 @@
8296
8362
  "action": {
8297
8363
  "type": "string",
8298
8364
  "enum": [
8365
+ "export",
8366
+ "update",
8299
8367
  "*",
8300
- "read"
8368
+ "delete",
8369
+ "read",
8370
+ "update:tags"
8301
8371
  ]
8302
8372
  },
8303
8373
  "selector": {
@@ -8372,7 +8442,8 @@
8372
8442
  "read",
8373
8443
  "update:tags",
8374
8444
  "export-content",
8375
- "import-content"
8445
+ "import-content",
8446
+ "migrate-send"
8376
8447
  ]
8377
8448
  },
8378
8449
  "selector": {
@@ -8473,9 +8544,18 @@
8473
8544
  "action": {
8474
8545
  "type": "string",
8475
8546
  "enum": [
8547
+ "update",
8476
8548
  "*",
8477
8549
  "create",
8478
- "read"
8550
+ "delete",
8551
+ "read",
8552
+ "connect",
8553
+ "disconnect",
8554
+ "update:allowedIpv4Addresses",
8555
+ "update:allowedIpv6Addresses",
8556
+ "update:lockingMode",
8557
+ "update:rateLimit",
8558
+ "update:txChecksumming"
8479
8559
  ]
8480
8560
  },
8481
8561
  "selector": {
@@ -8621,6 +8701,7 @@
8621
8701
  "action": {
8622
8702
  "type": "string",
8623
8703
  "enum": [
8704
+ "clone",
8624
8705
  "export",
8625
8706
  "pause",
8626
8707
  "resume",
@@ -8634,6 +8715,7 @@
8634
8715
  "delete",
8635
8716
  "read",
8636
8717
  "update:tags",
8718
+ "migrate-send",
8637
8719
  "reboot",
8638
8720
  "reboot:clean",
8639
8721
  "reboot:hard",
@@ -8834,6 +8916,7 @@
8834
8916
  "VM-snapshot",
8835
8917
  "SR",
8836
8918
  "VM",
8919
+ "VM-template",
8837
8920
  "message",
8838
8921
  "vgpu",
8839
8922
  "gpuGroup",
@@ -8847,7 +8930,6 @@
8847
8930
  "VDI-unmanaged",
8848
8931
  "vgpuType",
8849
8932
  "VM-controller",
8850
- "VM-template",
8851
8933
  "SM",
8852
8934
  "user",
8853
8935
  "proxy",
@@ -9965,6 +10047,9 @@
9965
10047
  "HA_enabled": {
9966
10048
  "type": "boolean"
9967
10049
  },
10050
+ "haRebootVmOnInternalShutdown": {
10051
+ "type": "boolean"
10052
+ },
9968
10053
  "haSrs": {
9969
10054
  "items": {
9970
10055
  "type": "string"
@@ -10100,6 +10185,9 @@
10100
10185
  "HA_enabled": {
10101
10186
  "type": "boolean"
10102
10187
  },
10188
+ "haRebootVmOnInternalShutdown": {
10189
+ "type": "boolean"
10190
+ },
10103
10191
  "haSrs": {
10104
10192
  "items": {
10105
10193
  "type": "string"
@@ -10159,6 +10247,7 @@
10159
10247
  "cpus",
10160
10248
  "current_operations",
10161
10249
  "HA_enabled",
10250
+ "haRebootVmOnInternalShutdown",
10162
10251
  "haSrs",
10163
10252
  "id",
10164
10253
  "master",
@@ -13356,6 +13445,7 @@
13356
13445
  "VM-snapshot",
13357
13446
  "SR",
13358
13447
  "VM",
13448
+ "VM-template",
13359
13449
  "message",
13360
13450
  "vgpu",
13361
13451
  "gpuGroup",
@@ -13369,7 +13459,6 @@
13369
13459
  "VDI-unmanaged",
13370
13460
  "vgpuType",
13371
13461
  "VM-controller",
13372
- "VM-template",
13373
13462
  "SM",
13374
13463
  "alarm",
13375
13464
  "task"
@@ -13467,6 +13556,27 @@
13467
13556
  }
13468
13557
  ]
13469
13558
  },
13559
+ "Unbrand_Parameters_XoApp-at-createRemote__91_0_93__": {
13560
+ "properties": {
13561
+ "name": {
13562
+ "type": "string"
13563
+ },
13564
+ "options": {
13565
+ "type": "string"
13566
+ },
13567
+ "proxy": {
13568
+ "type": "string"
13569
+ },
13570
+ "url": {
13571
+ "type": "string"
13572
+ }
13573
+ },
13574
+ "required": [
13575
+ "name",
13576
+ "url"
13577
+ ],
13578
+ "type": "object"
13579
+ },
13470
13580
  "Unbrand_XoBackupRepository_": {
13471
13581
  "properties": {
13472
13582
  "benchmarks": {
@@ -13524,6 +13634,28 @@
13524
13634
  ],
13525
13635
  "type": "object"
13526
13636
  },
13637
+ "Unbrand_Parameters_XoApp-at-updateRemote__91_1_93__": {
13638
+ "properties": {
13639
+ "enabled": {
13640
+ "type": "boolean"
13641
+ },
13642
+ "name": {
13643
+ "type": "string"
13644
+ },
13645
+ "options": {
13646
+ "type": "string",
13647
+ "nullable": true
13648
+ },
13649
+ "proxy": {
13650
+ "type": "string",
13651
+ "nullable": true
13652
+ },
13653
+ "url": {
13654
+ "type": "string"
13655
+ }
13656
+ },
13657
+ "type": "object"
13658
+ },
13527
13659
  "Partial_Unbrand_XoBackupLog__": {
13528
13660
  "properties": {
13529
13661
  "id": {
@@ -13774,8 +13906,8 @@
13774
13906
  "type": "string",
13775
13907
  "enum": [
13776
13908
  "",
13777
- "native",
13778
- "zstd"
13909
+ "zstd",
13910
+ "native"
13779
13911
  ]
13780
13912
  },
13781
13913
  "proxy": {
@@ -13954,8 +14086,8 @@
13954
14086
  "type": "string",
13955
14087
  "enum": [
13956
14088
  "",
13957
- "native",
13958
- "zstd"
14089
+ "zstd",
14090
+ "native"
13959
14091
  ]
13960
14092
  },
13961
14093
  "proxy": {
@@ -14603,6 +14735,7 @@
14603
14735
  "VM-snapshot",
14604
14736
  "SR",
14605
14737
  "VM",
14738
+ "VM-template",
14606
14739
  "message",
14607
14740
  "vgpu",
14608
14741
  "gpuGroup",
@@ -14616,7 +14749,6 @@
14616
14749
  "VDI-unmanaged",
14617
14750
  "vgpuType",
14618
14751
  "VM-controller",
14619
- "VM-template",
14620
14752
  "SM",
14621
14753
  "unknown"
14622
14754
  ]
@@ -14737,6 +14869,7 @@
14737
14869
  "VM-snapshot",
14738
14870
  "SR",
14739
14871
  "VM",
14872
+ "VM-template",
14740
14873
  "message",
14741
14874
  "vgpu",
14742
14875
  "gpuGroup",
@@ -14750,7 +14883,6 @@
14750
14883
  "VDI-unmanaged",
14751
14884
  "vgpuType",
14752
14885
  "VM-controller",
14753
- "VM-template",
14754
14886
  "SM",
14755
14887
  "unknown"
14756
14888
  ]
@@ -15198,8 +15330,16 @@
15198
15330
  "action": {
15199
15331
  "type": "string",
15200
15332
  "enum": [
15333
+ "forget",
15334
+ "update",
15201
15335
  "*",
15202
- "read"
15336
+ "create",
15337
+ "read",
15338
+ "update:name",
15339
+ "update:enabled",
15340
+ "update:options",
15341
+ "update:proxy",
15342
+ "update:url"
15203
15343
  ]
15204
15344
  },
15205
15345
  "selector": {
@@ -15323,9 +15463,11 @@
15323
15463
  "read",
15324
15464
  "allow-vm",
15325
15465
  "disable",
15466
+ "migrate-receive",
15326
15467
  "enable",
15327
15468
  "evacuate",
15328
15469
  "export:logs",
15470
+ "join-pool",
15329
15471
  "update:tags"
15330
15472
  ]
15331
15473
  },
@@ -15444,7 +15586,9 @@
15444
15586
  "type": "string",
15445
15587
  "enum": [
15446
15588
  "*",
15447
- "read"
15589
+ "read",
15590
+ "plug",
15591
+ "unplug"
15448
15592
  ]
15449
15593
  },
15450
15594
  "selector": {
@@ -15602,6 +15746,7 @@
15602
15746
  "create",
15603
15747
  "read",
15604
15748
  "update:tags",
15749
+ "add-host",
15605
15750
  "create:network",
15606
15751
  "create:vm",
15607
15752
  "emergency-shutdown",
@@ -15839,13 +15984,17 @@
15839
15984
  "type": "string",
15840
15985
  "enum": [
15841
15986
  "import",
15987
+ "forget",
15842
15988
  "update",
15843
15989
  "*",
15844
15990
  "delete",
15845
15991
  "read",
15992
+ "migrate-receive",
15846
15993
  "update:tags",
15847
15994
  "import:vdi",
15848
- "import:vm"
15995
+ "import:vm",
15996
+ "reclaim-space",
15997
+ "scan"
15849
15998
  ]
15850
15999
  },
15851
16000
  "selector": {
@@ -15968,7 +16117,11 @@
15968
16117
  "type": "string",
15969
16118
  "enum": [
15970
16119
  "*",
15971
- "read"
16120
+ "create",
16121
+ "delete",
16122
+ "read",
16123
+ "connect",
16124
+ "disconnect"
15972
16125
  ]
15973
16126
  },
15974
16127
  "selector": {
@@ -16005,8 +16158,12 @@
16005
16158
  "action": {
16006
16159
  "type": "string",
16007
16160
  "enum": [
16161
+ "export",
16162
+ "update",
16008
16163
  "*",
16009
- "read"
16164
+ "delete",
16165
+ "read",
16166
+ "update:tags"
16010
16167
  ]
16011
16168
  },
16012
16169
  "selector": {
@@ -16089,7 +16246,8 @@
16089
16246
  "read",
16090
16247
  "update:tags",
16091
16248
  "export-content",
16092
- "import-content"
16249
+ "import-content",
16250
+ "migrate-send"
16093
16251
  ]
16094
16252
  },
16095
16253
  "selector": {
@@ -16202,9 +16360,18 @@
16202
16360
  "action": {
16203
16361
  "type": "string",
16204
16362
  "enum": [
16363
+ "update",
16205
16364
  "*",
16206
16365
  "create",
16207
- "read"
16366
+ "delete",
16367
+ "read",
16368
+ "connect",
16369
+ "disconnect",
16370
+ "update:allowedIpv4Addresses",
16371
+ "update:allowedIpv6Addresses",
16372
+ "update:lockingMode",
16373
+ "update:rateLimit",
16374
+ "update:txChecksumming"
16208
16375
  ]
16209
16376
  },
16210
16377
  "selector": {
@@ -16366,6 +16533,7 @@
16366
16533
  "action": {
16367
16534
  "type": "string",
16368
16535
  "enum": [
16536
+ "clone",
16369
16537
  "export",
16370
16538
  "pause",
16371
16539
  "resume",
@@ -16379,6 +16547,7 @@
16379
16547
  "delete",
16380
16548
  "read",
16381
16549
  "update:tags",
16550
+ "migrate-send",
16382
16551
  "reboot",
16383
16552
  "reboot:clean",
16384
16553
  "reboot:hard",
@@ -16768,8 +16937,16 @@
16768
16937
  "action": {
16769
16938
  "type": "string",
16770
16939
  "enum": [
16940
+ "forget",
16941
+ "update",
16771
16942
  "*",
16772
- "read"
16943
+ "create",
16944
+ "read",
16945
+ "update:name",
16946
+ "update:enabled",
16947
+ "update:options",
16948
+ "update:proxy",
16949
+ "update:url"
16773
16950
  ]
16774
16951
  },
16775
16952
  "selector": {
@@ -16905,9 +17082,11 @@
16905
17082
  "read",
16906
17083
  "allow-vm",
16907
17084
  "disable",
17085
+ "migrate-receive",
16908
17086
  "enable",
16909
17087
  "evacuate",
16910
17088
  "export:logs",
17089
+ "join-pool",
16911
17090
  "update:tags"
16912
17091
  ]
16913
17092
  },
@@ -17038,7 +17217,9 @@
17038
17217
  "type": "string",
17039
17218
  "enum": [
17040
17219
  "*",
17041
- "read"
17220
+ "read",
17221
+ "plug",
17222
+ "unplug"
17042
17223
  ]
17043
17224
  },
17044
17225
  "selector": {
@@ -17212,6 +17393,7 @@
17212
17393
  "create",
17213
17394
  "read",
17214
17395
  "update:tags",
17396
+ "add-host",
17215
17397
  "create:network",
17216
17398
  "create:vm",
17217
17399
  "emergency-shutdown",
@@ -17473,13 +17655,17 @@
17473
17655
  "type": "string",
17474
17656
  "enum": [
17475
17657
  "import",
17658
+ "forget",
17476
17659
  "update",
17477
17660
  "*",
17478
17661
  "delete",
17479
17662
  "read",
17663
+ "migrate-receive",
17480
17664
  "update:tags",
17481
17665
  "import:vdi",
17482
- "import:vm"
17666
+ "import:vm",
17667
+ "reclaim-space",
17668
+ "scan"
17483
17669
  ]
17484
17670
  },
17485
17671
  "selector": {
@@ -17614,7 +17800,11 @@
17614
17800
  "type": "string",
17615
17801
  "enum": [
17616
17802
  "*",
17617
- "read"
17803
+ "create",
17804
+ "delete",
17805
+ "read",
17806
+ "connect",
17807
+ "disconnect"
17618
17808
  ]
17619
17809
  },
17620
17810
  "selector": {
@@ -17655,8 +17845,12 @@
17655
17845
  "action": {
17656
17846
  "type": "string",
17657
17847
  "enum": [
17848
+ "export",
17849
+ "update",
17658
17850
  "*",
17659
- "read"
17851
+ "delete",
17852
+ "read",
17853
+ "update:tags"
17660
17854
  ]
17661
17855
  },
17662
17856
  "selector": {
@@ -17747,7 +17941,8 @@
17747
17941
  "read",
17748
17942
  "update:tags",
17749
17943
  "export-content",
17750
- "import-content"
17944
+ "import-content",
17945
+ "migrate-send"
17751
17946
  ]
17752
17947
  },
17753
17948
  "selector": {
@@ -17872,9 +18067,18 @@
17872
18067
  "action": {
17873
18068
  "type": "string",
17874
18069
  "enum": [
18070
+ "update",
17875
18071
  "*",
17876
18072
  "create",
17877
- "read"
18073
+ "delete",
18074
+ "read",
18075
+ "connect",
18076
+ "disconnect",
18077
+ "update:allowedIpv4Addresses",
18078
+ "update:allowedIpv6Addresses",
18079
+ "update:lockingMode",
18080
+ "update:rateLimit",
18081
+ "update:txChecksumming"
17878
18082
  ]
17879
18083
  },
17880
18084
  "selector": {
@@ -18052,6 +18256,7 @@
18052
18256
  "action": {
18053
18257
  "type": "string",
18054
18258
  "enum": [
18259
+ "clone",
18055
18260
  "export",
18056
18261
  "pause",
18057
18262
  "resume",
@@ -18065,6 +18270,7 @@
18065
18270
  "delete",
18066
18271
  "read",
18067
18272
  "update:tags",
18273
+ "migrate-send",
18068
18274
  "reboot",
18069
18275
  "reboot:clean",
18070
18276
  "reboot:hard",
@@ -18371,8 +18577,16 @@
18371
18577
  "action": {
18372
18578
  "type": "string",
18373
18579
  "enum": [
18580
+ "forget",
18581
+ "update",
18374
18582
  "*",
18375
- "read"
18583
+ "create",
18584
+ "read",
18585
+ "update:name",
18586
+ "update:enabled",
18587
+ "update:options",
18588
+ "update:proxy",
18589
+ "update:url"
18376
18590
  ]
18377
18591
  },
18378
18592
  "selector": {
@@ -18466,9 +18680,11 @@
18466
18680
  "read",
18467
18681
  "allow-vm",
18468
18682
  "disable",
18683
+ "migrate-receive",
18469
18684
  "enable",
18470
18685
  "evacuate",
18471
18686
  "export:logs",
18687
+ "join-pool",
18472
18688
  "update:tags"
18473
18689
  ]
18474
18690
  },
@@ -18557,7 +18773,9 @@
18557
18773
  "type": "string",
18558
18774
  "enum": [
18559
18775
  "*",
18560
- "read"
18776
+ "read",
18777
+ "plug",
18778
+ "unplug"
18561
18779
  ]
18562
18780
  },
18563
18781
  "selector": {
@@ -18675,6 +18893,7 @@
18675
18893
  "create",
18676
18894
  "read",
18677
18895
  "update:tags",
18896
+ "add-host",
18678
18897
  "create:network",
18679
18898
  "create:vm",
18680
18899
  "emergency-shutdown",
@@ -18852,13 +19071,17 @@
18852
19071
  "type": "string",
18853
19072
  "enum": [
18854
19073
  "import",
19074
+ "forget",
18855
19075
  "update",
18856
19076
  "*",
18857
19077
  "delete",
18858
19078
  "read",
19079
+ "migrate-receive",
18859
19080
  "update:tags",
18860
19081
  "import:vdi",
18861
- "import:vm"
19082
+ "import:vm",
19083
+ "reclaim-space",
19084
+ "scan"
18862
19085
  ]
18863
19086
  },
18864
19087
  "selector": {
@@ -18950,99 +19173,108 @@
18950
19173
  "action": {
18951
19174
  "type": "string",
18952
19175
  "enum": [
18953
- "*",
18954
- "read"
18955
- ]
18956
- },
18957
- "selector": {
18958
- "type": "string"
18959
- },
18960
- "effect": {
18961
- "type": "string",
18962
- "enum": [
18963
- "allow",
18964
- "deny"
18965
- ]
18966
- }
18967
- },
18968
- "type": "object"
18969
- },
18970
- {
18971
- "properties": {
18972
- "resource": {
18973
- "type": "string",
18974
- "enum": [
18975
- "vdi-snapshot"
18976
- ]
18977
- },
18978
- "action": {
18979
- "type": "string",
18980
- "enum": [
18981
- "*",
18982
- "read"
18983
- ]
18984
- },
18985
- "selector": {
18986
- "type": "string"
18987
- },
18988
- "effect": {
18989
- "type": "string",
18990
- "enum": [
18991
- "allow",
18992
- "deny"
18993
- ]
18994
- }
18995
- },
18996
- "type": "object"
18997
- },
18998
- {
18999
- "properties": {
19000
- "resource": {
19001
- "type": "string",
19002
- "enum": [
19003
- "vdi-unmanaged"
19004
- ]
19005
- },
19006
- "action": {
19007
- "type": "string",
19008
- "enum": [
19009
- "*",
19010
- "read"
19011
- ]
19012
- },
19013
- "selector": {
19014
- "type": "string"
19015
- },
19016
- "effect": {
19017
- "type": "string",
19018
- "enum": [
19019
- "allow",
19020
- "deny"
19021
- ]
19022
- }
19023
- },
19024
- "type": "object"
19025
- },
19026
- {
19027
- "properties": {
19028
- "resource": {
19029
- "type": "string",
19030
- "enum": [
19031
- "vdi"
19032
- ]
19033
- },
19034
- "action": {
19035
- "type": "string",
19036
- "enum": [
19037
- "boot",
19038
- "update",
19039
19176
  "*",
19040
19177
  "create",
19041
19178
  "delete",
19042
19179
  "read",
19043
- "update:tags",
19044
- "export-content",
19045
- "import-content"
19180
+ "connect",
19181
+ "disconnect"
19182
+ ]
19183
+ },
19184
+ "selector": {
19185
+ "type": "string"
19186
+ },
19187
+ "effect": {
19188
+ "type": "string",
19189
+ "enum": [
19190
+ "allow",
19191
+ "deny"
19192
+ ]
19193
+ }
19194
+ },
19195
+ "type": "object"
19196
+ },
19197
+ {
19198
+ "properties": {
19199
+ "resource": {
19200
+ "type": "string",
19201
+ "enum": [
19202
+ "vdi-snapshot"
19203
+ ]
19204
+ },
19205
+ "action": {
19206
+ "type": "string",
19207
+ "enum": [
19208
+ "export",
19209
+ "update",
19210
+ "*",
19211
+ "delete",
19212
+ "read",
19213
+ "update:tags"
19214
+ ]
19215
+ },
19216
+ "selector": {
19217
+ "type": "string"
19218
+ },
19219
+ "effect": {
19220
+ "type": "string",
19221
+ "enum": [
19222
+ "allow",
19223
+ "deny"
19224
+ ]
19225
+ }
19226
+ },
19227
+ "type": "object"
19228
+ },
19229
+ {
19230
+ "properties": {
19231
+ "resource": {
19232
+ "type": "string",
19233
+ "enum": [
19234
+ "vdi-unmanaged"
19235
+ ]
19236
+ },
19237
+ "action": {
19238
+ "type": "string",
19239
+ "enum": [
19240
+ "*",
19241
+ "read"
19242
+ ]
19243
+ },
19244
+ "selector": {
19245
+ "type": "string"
19246
+ },
19247
+ "effect": {
19248
+ "type": "string",
19249
+ "enum": [
19250
+ "allow",
19251
+ "deny"
19252
+ ]
19253
+ }
19254
+ },
19255
+ "type": "object"
19256
+ },
19257
+ {
19258
+ "properties": {
19259
+ "resource": {
19260
+ "type": "string",
19261
+ "enum": [
19262
+ "vdi"
19263
+ ]
19264
+ },
19265
+ "action": {
19266
+ "type": "string",
19267
+ "enum": [
19268
+ "boot",
19269
+ "update",
19270
+ "*",
19271
+ "create",
19272
+ "delete",
19273
+ "read",
19274
+ "update:tags",
19275
+ "export-content",
19276
+ "import-content",
19277
+ "migrate-send"
19046
19278
  ]
19047
19279
  },
19048
19280
  "selector": {
@@ -19125,9 +19357,18 @@
19125
19357
  "action": {
19126
19358
  "type": "string",
19127
19359
  "enum": [
19360
+ "update",
19128
19361
  "*",
19129
19362
  "create",
19130
- "read"
19363
+ "delete",
19364
+ "read",
19365
+ "connect",
19366
+ "disconnect",
19367
+ "update:allowedIpv4Addresses",
19368
+ "update:allowedIpv6Addresses",
19369
+ "update:lockingMode",
19370
+ "update:rateLimit",
19371
+ "update:txChecksumming"
19131
19372
  ]
19132
19373
  },
19133
19374
  "selector": {
@@ -19249,6 +19490,7 @@
19249
19490
  "action": {
19250
19491
  "type": "string",
19251
19492
  "enum": [
19493
+ "clone",
19252
19494
  "export",
19253
19495
  "pause",
19254
19496
  "resume",
@@ -19262,6 +19504,7 @@
19262
19504
  "delete",
19263
19505
  "read",
19264
19506
  "update:tags",
19507
+ "migrate-send",
19265
19508
  "reboot",
19266
19509
  "reboot:clean",
19267
19510
  "reboot:hard",
@@ -19364,7 +19607,7 @@
19364
19607
  },
19365
19608
  "info": {
19366
19609
  "title": "@xen-orchestra/rest-api",
19367
- "version": "0.33.0",
19610
+ "version": "0.34.0",
19368
19611
  "description": "REST API to manage your XOA",
19369
19612
  "license": {
19370
19613
  "name": "AGPL-3.0-or-later"
@@ -19709,8 +19952,8 @@
19709
19952
  "schema": {
19710
19953
  "type": "string",
19711
19954
  "enum": [
19712
- "xva",
19713
- "ova"
19955
+ "ova",
19956
+ "xva"
19714
19957
  ]
19715
19958
  }
19716
19959
  },
@@ -19718,9 +19961,7 @@
19718
19961
  "in": "query",
19719
19962
  "name": "compress",
19720
19963
  "required": false,
19721
- "schema": {
19722
- "type": "boolean"
19723
- }
19964
+ "schema": {}
19724
19965
  }
19725
19966
  ],
19726
19967
  "x-mcp-exposure": "deny"
@@ -22260,6 +22501,9 @@
22260
22501
  "401": {
22261
22502
  "description": "Authentication required"
22262
22503
  },
22504
+ "403": {
22505
+ "description": "Forbidden"
22506
+ },
22263
22507
  "404": {
22264
22508
  "description": "Resource not found"
22265
22509
  },
@@ -22270,7 +22514,7 @@
22270
22514
  "description": "Internal server error, XenServer/XCP-ng error"
22271
22515
  }
22272
22516
  },
22273
- "description": "\n- For fast clone on the same SR, omit `srId` and set `fast` to `true`.\n- For full copy on the same SR, omit `srId` and set `fast` to `false`.\n- To copy the VM to a different SR (always a full copy), provide `srId`. Supports cross-pool copy. Optionally use `compress: \"gzip\"` or `compress: \"zstd\"` to compress the export stream during cross-pool copy.",
22517
+ "description": "Required privilege:\n- resource: vm, action: clone\n\n- For fast clone on the same SR, omit `srId` and set `fast` to `true`.\n- For full copy on the same SR, omit `srId` and set `fast` to `false`.\n- To copy the VM to a different SR (always a full copy), provide `srId`. Supports cross-pool copy. Optionally use `compress: \"gzip\"` or `compress: \"zstd\"` to compress the export stream during cross-pool copy.",
22274
22518
  "tags": [
22275
22519
  "vms"
22276
22520
  ],
@@ -23202,6 +23446,9 @@
23202
23446
  "401": {
23203
23447
  "description": "Authentication required"
23204
23448
  },
23449
+ "403": {
23450
+ "description": "Forbidden"
23451
+ },
23205
23452
  "404": {
23206
23453
  "description": "Resource not found"
23207
23454
  },
@@ -23212,7 +23459,7 @@
23212
23459
  "description": "Internal server error, XenServer/XCP-ng error"
23213
23460
  }
23214
23461
  },
23215
- "description": "VIF mapping is not allowed for intra-pool migration\n\nNetworks and SRs must belong to the same pool as the destination host",
23462
+ "description": "Required privileges:\n- resource: vm, action: migrate-send\n- resource: host, action: migrate-receive (on the destination host)\n\nVIF mapping is not allowed for intra-pool migration\n\nNetworks and SRs must belong to the same pool as the destination host",
23216
23463
  "tags": [
23217
23464
  "vms"
23218
23465
  ],
@@ -23473,9 +23720,7 @@
23473
23720
  "in": "query",
23474
23721
  "name": "compress",
23475
23722
  "required": false,
23476
- "schema": {
23477
- "type": "boolean"
23478
- }
23723
+ "schema": {}
23479
23724
  }
23480
23725
  ],
23481
23726
  "x-mcp-exposure": "deny"
@@ -24408,9 +24653,7 @@
24408
24653
  "in": "query",
24409
24654
  "name": "compress",
24410
24655
  "required": false,
24411
- "schema": {
24412
- "type": "boolean"
24413
- }
24656
+ "schema": {}
24414
24657
  }
24415
24658
  ],
24416
24659
  "x-mcp-exposure": "deny"
@@ -26202,6 +26445,9 @@
26202
26445
  "401": {
26203
26446
  "description": "Authentication required"
26204
26447
  },
26448
+ "403": {
26449
+ "description": "Forbidden"
26450
+ },
26205
26451
  "404": {
26206
26452
  "description": "Resource not found"
26207
26453
  },
@@ -26212,6 +26458,7 @@
26212
26458
  "description": "Internal server error, XenServer/XCP-ng error"
26213
26459
  }
26214
26460
  },
26461
+ "description": "Required privilege:\n- resource: vif, action: create",
26215
26462
  "tags": [
26216
26463
  "vifs"
26217
26464
  ],
@@ -26317,6 +26564,70 @@
26317
26564
  ],
26318
26565
  "x-mcp-exposure": "allow"
26319
26566
  },
26567
+ "patch": {
26568
+ "operationId": "UpdateVif",
26569
+ "responses": {
26570
+ "204": {
26571
+ "description": "No content"
26572
+ },
26573
+ "400": {
26574
+ "description": "Bad request"
26575
+ },
26576
+ "401": {
26577
+ "description": "Authentication required"
26578
+ },
26579
+ "403": {
26580
+ "description": "Forbidden"
26581
+ },
26582
+ "404": {
26583
+ "description": "Resource not found"
26584
+ },
26585
+ "422": {
26586
+ "description": "Invalid parameters"
26587
+ },
26588
+ "500": {
26589
+ "description": "Internal server error, XenServer/XCP-ng error"
26590
+ }
26591
+ },
26592
+ "description": "Partial update of a VIF: only the fields present in the body are modified.\nSetting the allowed IPs to a non-empty list switches the locking mode to `locked`.\n`rateLimit` is expressed in kB/s (kilobytes per second).\n\nRequired privilege per field provided in the body:\n- resource: vif, action: update:<field>",
26593
+ "tags": [
26594
+ "vifs"
26595
+ ],
26596
+ "security": [
26597
+ {
26598
+ "*": []
26599
+ }
26600
+ ],
26601
+ "parameters": [
26602
+ {
26603
+ "in": "path",
26604
+ "name": "id",
26605
+ "required": true,
26606
+ "schema": {
26607
+ "type": "string"
26608
+ },
26609
+ "example": "f028c5d4-578a-332c-394e-087aaca32dd3"
26610
+ }
26611
+ ],
26612
+ "requestBody": {
26613
+ "required": true,
26614
+ "content": {
26615
+ "application/json": {
26616
+ "schema": {
26617
+ "$ref": "#/components/schemas/UpdateVifRequestBody"
26618
+ },
26619
+ "example": {
26620
+ "lockingMode": "locked",
26621
+ "allowedIpv4Addresses": [
26622
+ "192.168.0.42"
26623
+ ],
26624
+ "rateLimit": 1000
26625
+ }
26626
+ }
26627
+ }
26628
+ },
26629
+ "x-mcp-exposure": "confirm"
26630
+ },
26320
26631
  "delete": {
26321
26632
  "operationId": "DestroyVif",
26322
26633
  "responses": {
@@ -26329,6 +26640,9 @@
26329
26640
  "401": {
26330
26641
  "description": "Authentication required"
26331
26642
  },
26643
+ "403": {
26644
+ "description": "Forbidden"
26645
+ },
26332
26646
  "404": {
26333
26647
  "description": "Resource not found"
26334
26648
  },
@@ -26336,6 +26650,7 @@
26336
26650
  "description": "Internal server error, XenServer/XCP-ng error"
26337
26651
  }
26338
26652
  },
26653
+ "description": "Required privilege:\n- resource: vif, action: delete",
26339
26654
  "tags": [
26340
26655
  "vifs"
26341
26656
  ],
@@ -26748,6 +27063,9 @@
26748
27063
  "401": {
26749
27064
  "description": "Authentication required"
26750
27065
  },
27066
+ "403": {
27067
+ "description": "Forbidden"
27068
+ },
26751
27069
  "404": {
26752
27070
  "description": "Resource not found"
26753
27071
  },
@@ -26755,7 +27073,7 @@
26755
27073
  "description": "Internal server error, XenServer/XCP-ng error"
26756
27074
  }
26757
27075
  },
26758
- "description": "Hotplug the VIF, dynamically attaching it to the running VM\nRequires PV drivers to be installed on the VM",
27076
+ "description": "Hotplug the VIF, dynamically attaching it to the running VM\nRequires PV drivers to be installed on the VM\n\nRequired privilege:\n- resource: vif, action: connect",
26759
27077
  "tags": [
26760
27078
  "vifs"
26761
27079
  ],
@@ -26816,6 +27134,9 @@
26816
27134
  "401": {
26817
27135
  "description": "Authentication required"
26818
27136
  },
27137
+ "403": {
27138
+ "description": "Forbidden"
27139
+ },
26819
27140
  "404": {
26820
27141
  "description": "Resource not found"
26821
27142
  },
@@ -26823,7 +27144,7 @@
26823
27144
  "description": "Internal server error, XenServer/XCP-ng error"
26824
27145
  }
26825
27146
  },
26826
- "description": "Hot-unplug the VIF, dynamically detaching it from the running VM\nRequires PV drivers to be installed on the VM",
27147
+ "description": "Hot-unplug the VIF, dynamically detaching it from the running VM\nRequires PV drivers to be installed on the VM\n\nRequired privilege:\n- resource: vif, action: disconnect",
26827
27148
  "tags": [
26828
27149
  "vifs"
26829
27150
  ],
@@ -27041,6 +27362,9 @@
27041
27362
  "401": {
27042
27363
  "description": "Authentication required"
27043
27364
  },
27365
+ "403": {
27366
+ "description": "Forbidden"
27367
+ },
27044
27368
  "404": {
27045
27369
  "description": "Resource not found"
27046
27370
  },
@@ -27048,7 +27372,7 @@
27048
27372
  "description": "Internal server error, XenServer/XCP-ng error"
27049
27373
  }
27050
27374
  },
27051
- "description": "Create an empty VDI.",
27375
+ "description": "Create an empty VDI.\n\nRequired privileges:\n- resource: sr, action: import:vdi (on the target SR)\n- resource: vdi, action: create",
27052
27376
  "tags": [
27053
27377
  "vdis"
27054
27378
  ],
@@ -27589,6 +27913,9 @@
27589
27913
  "401": {
27590
27914
  "description": "Authentication required"
27591
27915
  },
27916
+ "403": {
27917
+ "description": "Forbidden"
27918
+ },
27592
27919
  "404": {
27593
27920
  "description": "Resource not found"
27594
27921
  },
@@ -27596,7 +27923,7 @@
27596
27923
  "description": "Internal server error, XenServer/XCP-ng error"
27597
27924
  }
27598
27925
  },
27599
- "description": "Migrate a VDI to another SR.\n\nNote: After migration, the VDI will have a new ID. The new ID is returned in the response.",
27926
+ "description": "Migrate a VDI to another SR.\n\nRequired privileges:\n- resource: vdi, action: migrate-send\n- resource: sr, action: migrate-receive (on the target SR)\n\nNote: After migration, the VDI will have a new ID. The new ID is returned in the response.",
27600
27927
  "tags": [
27601
27928
  "vdis"
27602
27929
  ],
@@ -27875,6 +28202,9 @@
27875
28202
  "401": {
27876
28203
  "description": "Authentication required"
27877
28204
  },
28205
+ "403": {
28206
+ "description": "Forbidden"
28207
+ },
27878
28208
  "404": {
27879
28209
  "description": "Resource not found"
27880
28210
  },
@@ -27882,7 +28212,7 @@
27882
28212
  "description": "Invalid format"
27883
28213
  }
27884
28214
  },
27885
- "description": "\nExport VDI-snapshot content",
28215
+ "description": "Required privilege:\n- resource: vdi-snapshot, action: export\n\nExport VDI-snapshot content",
27886
28216
  "tags": [
27887
28217
  "vdis"
27888
28218
  ],
@@ -27964,10 +28294,14 @@
27964
28294
  "401": {
27965
28295
  "description": "Authentication required"
27966
28296
  },
28297
+ "403": {
28298
+ "description": "Forbidden"
28299
+ },
27967
28300
  "404": {
27968
28301
  "description": "Resource not found"
27969
28302
  }
27970
28303
  },
28304
+ "description": "Required privilege:\n- resource: vdi-snapshot, action: read",
27971
28305
  "tags": [
27972
28306
  "vdis"
27973
28307
  ],
@@ -28001,10 +28335,14 @@
28001
28335
  "401": {
28002
28336
  "description": "Authentication required"
28003
28337
  },
28338
+ "403": {
28339
+ "description": "Forbidden"
28340
+ },
28004
28341
  "404": {
28005
28342
  "description": "Resource not found"
28006
28343
  }
28007
28344
  },
28345
+ "description": "Required privilege:\n- resource: vdi-snapshot, action: delete",
28008
28346
  "tags": [
28009
28347
  "vdis"
28010
28348
  ],
@@ -28400,10 +28738,14 @@
28400
28738
  "401": {
28401
28739
  "description": "Authentication required"
28402
28740
  },
28741
+ "403": {
28742
+ "description": "Forbidden"
28743
+ },
28403
28744
  "404": {
28404
28745
  "description": "Resource not found"
28405
28746
  }
28406
28747
  },
28748
+ "description": "Required privilege:\n- resource: vdi-snapshot, action: update:tags",
28407
28749
  "tags": [
28408
28750
  "vdis"
28409
28751
  ],
@@ -28446,10 +28788,14 @@
28446
28788
  "401": {
28447
28789
  "description": "Authentication required"
28448
28790
  },
28791
+ "403": {
28792
+ "description": "Forbidden"
28793
+ },
28449
28794
  "404": {
28450
28795
  "description": "Resource not found"
28451
28796
  }
28452
28797
  },
28798
+ "description": "Required privilege:\n- resource: vdi-snapshot, action: update:tags",
28453
28799
  "tags": [
28454
28800
  "vdis"
28455
28801
  ],
@@ -28619,6 +28965,9 @@
28619
28965
  "401": {
28620
28966
  "description": "Authentication required"
28621
28967
  },
28968
+ "403": {
28969
+ "description": "Forbidden"
28970
+ },
28622
28971
  "404": {
28623
28972
  "description": "Resource not found"
28624
28973
  },
@@ -28626,7 +28975,7 @@
28626
28975
  "description": "Invalid parameters"
28627
28976
  }
28628
28977
  },
28629
- "description": "Create a VBD to attach a VDI to a VM",
28978
+ "description": "Required privilege:\n- resource: vbd, action: create\n\nCreate a VBD to attach a VDI to a VM",
28630
28979
  "tags": [
28631
28980
  "vbds"
28632
28981
  ],
@@ -28755,11 +29104,14 @@
28755
29104
  "401": {
28756
29105
  "description": "Authentication required"
28757
29106
  },
29107
+ "403": {
29108
+ "description": "Forbidden"
29109
+ },
28758
29110
  "404": {
28759
29111
  "description": "Resource not found"
28760
29112
  }
28761
29113
  },
28762
- "description": "Delete a VBD\n\nRemoves the virtual block device, detaching the VDI from the VM.\nThe VDI itself is NOT deleted.",
29114
+ "description": "Required privilege:\n- resource: vbd, action: delete\n\nDelete a VBD\n\nRemoves the virtual block device, detaching the VDI from the VM.\nThe VDI itself is NOT deleted.",
28763
29115
  "tags": [
28764
29116
  "vbds"
28765
29117
  ],
@@ -29172,6 +29524,9 @@
29172
29524
  "401": {
29173
29525
  "description": "Authentication required"
29174
29526
  },
29527
+ "403": {
29528
+ "description": "Forbidden"
29529
+ },
29175
29530
  "404": {
29176
29531
  "description": "Resource not found"
29177
29532
  },
@@ -29179,7 +29534,7 @@
29179
29534
  "description": "Internal server error, XenServer/XCP-ng error"
29180
29535
  }
29181
29536
  },
29182
- "description": "Hotplug the VBD, dynamically attaching it to the running VM",
29537
+ "description": "Required privilege:\n- resource: vbd, action: connect\n\nHotplug the VBD, dynamically attaching it to the running VM",
29183
29538
  "tags": [
29184
29539
  "vbds"
29185
29540
  ],
@@ -29240,6 +29595,9 @@
29240
29595
  "401": {
29241
29596
  "description": "Authentication required"
29242
29597
  },
29598
+ "403": {
29599
+ "description": "Forbidden"
29600
+ },
29243
29601
  "404": {
29244
29602
  "description": "Resource not found"
29245
29603
  },
@@ -29247,7 +29605,7 @@
29247
29605
  "description": "Internal server error, XenServer/XCP-ng error"
29248
29606
  }
29249
29607
  },
29250
- "description": "Hot-unplug the VBD, dynamically detaching it from the running VM",
29608
+ "description": "Required privilege:\n- resource: vbd, action: disconnect\n\nHot-unplug the VBD, dynamically detaching it from the running VM",
29251
29609
  "tags": [
29252
29610
  "vbds"
29253
29611
  ],
@@ -31425,6 +31783,9 @@
31425
31783
  "401": {
31426
31784
  "description": "Authentication required"
31427
31785
  },
31786
+ "403": {
31787
+ "description": "Forbidden"
31788
+ },
31428
31789
  "404": {
31429
31790
  "description": "Resource not found"
31430
31791
  },
@@ -31435,6 +31796,7 @@
31435
31796
  "description": "Internal server error, XenServer/XCP-ng error"
31436
31797
  }
31437
31798
  },
31799
+ "description": "Required privilege:\n- resource: sr, action: reclaim-space",
31438
31800
  "tags": [
31439
31801
  "srs"
31440
31802
  ],
@@ -31495,6 +31857,9 @@
31495
31857
  "401": {
31496
31858
  "description": "Authentication required"
31497
31859
  },
31860
+ "403": {
31861
+ "description": "Forbidden"
31862
+ },
31498
31863
  "404": {
31499
31864
  "description": "Resource not found"
31500
31865
  },
@@ -31505,6 +31870,7 @@
31505
31870
  "description": "Internal server error, XenServer/XCP-ng error"
31506
31871
  }
31507
31872
  },
31873
+ "description": "Required privilege:\n- resource: sr, action: scan",
31508
31874
  "tags": [
31509
31875
  "srs"
31510
31876
  ],
@@ -31565,6 +31931,9 @@
31565
31931
  "401": {
31566
31932
  "description": "Authentication required"
31567
31933
  },
31934
+ "403": {
31935
+ "description": "Forbidden"
31936
+ },
31568
31937
  "404": {
31569
31938
  "description": "Resource not found"
31570
31939
  },
@@ -31575,6 +31944,7 @@
31575
31944
  "description": "Internal server error, XenServer/XCP-ng error"
31576
31945
  }
31577
31946
  },
31947
+ "description": "Required privilege:\n- resource: sr, action: forget",
31578
31948
  "tags": [
31579
31949
  "srs"
31580
31950
  ],
@@ -36892,6 +37262,104 @@
36892
37262
  "x-mcp-exposure": "confirm"
36893
37263
  }
36894
37264
  },
37265
+ "/pools/{id}/actions/add_host": {
37266
+ "post": {
37267
+ "operationId": "AddHost",
37268
+ "responses": {
37269
+ "202": {
37270
+ "description": "Action executed asynchronously",
37271
+ "content": {
37272
+ "application/json": {
37273
+ "schema": {
37274
+ "$ref": "#/components/schemas/CreateActionReturnType_void_"
37275
+ },
37276
+ "examples": {
37277
+ "Example 1": {
37278
+ "value": {
37279
+ "taskId": "0m7kl0j9l"
37280
+ }
37281
+ }
37282
+ }
37283
+ }
37284
+ }
37285
+ },
37286
+ "204": {
37287
+ "description": "No content"
37288
+ },
37289
+ "400": {
37290
+ "description": "Bad request"
37291
+ },
37292
+ "401": {
37293
+ "description": "Authentication required"
37294
+ },
37295
+ "403": {
37296
+ "description": "Forbidden"
37297
+ },
37298
+ "404": {
37299
+ "description": "Resource not found"
37300
+ },
37301
+ "422": {
37302
+ "description": "Invalid parameters"
37303
+ },
37304
+ "500": {
37305
+ "description": "Internal server error, XenServer/XCP-ng error"
37306
+ }
37307
+ },
37308
+ "description": "Required privileges:\n- resource: pool, action: add-host\n- resource: host, action: join-pool\n\nAdd a host to the pool.",
37309
+ "tags": [
37310
+ "pools"
37311
+ ],
37312
+ "security": [
37313
+ {
37314
+ "*": []
37315
+ }
37316
+ ],
37317
+ "parameters": [
37318
+ {
37319
+ "in": "path",
37320
+ "name": "id",
37321
+ "required": true,
37322
+ "schema": {
37323
+ "type": "string"
37324
+ },
37325
+ "example": "355ee47d-ff4c-4924-3db2-fd86ae629676"
37326
+ },
37327
+ {
37328
+ "in": "query",
37329
+ "name": "sync",
37330
+ "required": false,
37331
+ "schema": {
37332
+ "type": "boolean"
37333
+ }
37334
+ }
37335
+ ],
37336
+ "requestBody": {
37337
+ "required": true,
37338
+ "content": {
37339
+ "application/json": {
37340
+ "schema": {
37341
+ "properties": {
37342
+ "force": {
37343
+ "type": "boolean"
37344
+ },
37345
+ "host": {
37346
+ "type": "string"
37347
+ }
37348
+ },
37349
+ "required": [
37350
+ "host"
37351
+ ],
37352
+ "type": "object"
37353
+ },
37354
+ "example": {
37355
+ "host": "c787b75c-3e0d-70fa-d0c3-cbfd382d7e33",
37356
+ "force": "false"
37357
+ }
37358
+ }
37359
+ }
37360
+ }
37361
+ }
37362
+ },
36895
37363
  "/pifs": {
36896
37364
  "get": {
36897
37365
  "operationId": "GetPifs",
@@ -38004,6 +38472,9 @@
38004
38472
  "401": {
38005
38473
  "description": "Authentication required"
38006
38474
  },
38475
+ "403": {
38476
+ "description": "Forbidden"
38477
+ },
38007
38478
  "404": {
38008
38479
  "description": "Resource not found"
38009
38480
  },
@@ -38014,6 +38485,7 @@
38014
38485
  "description": "Internal server error, XenServer/XCP-ng error"
38015
38486
  }
38016
38487
  },
38488
+ "description": "Required privilege:\n- resource: pbd, action: plug",
38017
38489
  "tags": [
38018
38490
  "pbds"
38019
38491
  ],
@@ -38074,6 +38546,9 @@
38074
38546
  "401": {
38075
38547
  "description": "Authentication required"
38076
38548
  },
38549
+ "403": {
38550
+ "description": "Forbidden"
38551
+ },
38077
38552
  "404": {
38078
38553
  "description": "Resource not found"
38079
38554
  },
@@ -38084,6 +38559,7 @@
38084
38559
  "description": "Internal server error, XenServer/XCP-ng error"
38085
38560
  }
38086
38561
  },
38562
+ "description": "Required privilege:\n- resource: pbd, action: unplug",
38087
38563
  "tags": [
38088
38564
  "pbds"
38089
38565
  ],
@@ -47617,6 +48093,74 @@
47617
48093
  }
47618
48094
  ],
47619
48095
  "x-mcp-exposure": "allow"
48096
+ },
48097
+ "post": {
48098
+ "operationId": "CreateBackupRepository",
48099
+ "responses": {
48100
+ "201": {
48101
+ "description": "Resource created",
48102
+ "content": {
48103
+ "application/json": {
48104
+ "schema": {
48105
+ "properties": {
48106
+ "id": {
48107
+ "type": "string"
48108
+ }
48109
+ },
48110
+ "required": [
48111
+ "id"
48112
+ ],
48113
+ "type": "object"
48114
+ },
48115
+ "examples": {
48116
+ "Example 1": {
48117
+ "value": {
48118
+ "id": "677e50c5-8d8a-4c89-b1ac-e2f4593d0ebb"
48119
+ }
48120
+ }
48121
+ }
48122
+ }
48123
+ }
48124
+ },
48125
+ "400": {
48126
+ "description": "Bad request"
48127
+ },
48128
+ "401": {
48129
+ "description": "Authentication required"
48130
+ },
48131
+ "403": {
48132
+ "description": "Forbidden"
48133
+ },
48134
+ "422": {
48135
+ "description": "Invalid parameters"
48136
+ }
48137
+ },
48138
+ "description": "Required privilege:\n- resource: backup-repository, action: create",
48139
+ "tags": [
48140
+ "backup-repositories"
48141
+ ],
48142
+ "security": [
48143
+ {
48144
+ "*": []
48145
+ }
48146
+ ],
48147
+ "parameters": [],
48148
+ "requestBody": {
48149
+ "required": true,
48150
+ "content": {
48151
+ "application/json": {
48152
+ "schema": {
48153
+ "$ref": "#/components/schemas/Unbrand_Parameters_XoApp-at-createRemote__91_0_93__"
48154
+ },
48155
+ "example": {
48156
+ "name": "NFS Remote",
48157
+ "options": "vers=4",
48158
+ "proxy": "722d17b9-699b-59d2-8193-be1ac573d3de",
48159
+ "url": "nfs://192.168.100.225:/media/nfs"
48160
+ }
48161
+ }
48162
+ }
48163
+ }
47620
48164
  }
47621
48165
  },
47622
48166
  "/backup-repositories/{id}": {
@@ -47684,6 +48228,131 @@
47684
48228
  }
47685
48229
  ],
47686
48230
  "x-mcp-exposure": "allow"
48231
+ },
48232
+ "patch": {
48233
+ "operationId": "UpdateBackupRepository",
48234
+ "responses": {
48235
+ "204": {
48236
+ "description": "No content"
48237
+ },
48238
+ "400": {
48239
+ "description": "Bad request"
48240
+ },
48241
+ "401": {
48242
+ "description": "Authentication required"
48243
+ },
48244
+ "403": {
48245
+ "description": "Forbidden"
48246
+ },
48247
+ "404": {
48248
+ "description": "Resource not found"
48249
+ },
48250
+ "422": {
48251
+ "description": "Invalid parameters"
48252
+ }
48253
+ },
48254
+ "description": "Required privileges:\n- resource: backup-repository, action: update (grants all fields)\n- resource: backup-repository, action: update:enabled (if enabled is passed)\n- resource: backup-repository, action: update:name (if name is passed)\n- resource: backup-repository, action: update:options (if options is passed)\n- resource: backup-repository, action: update:proxy (if proxy is passed)\n- resource: backup-repository, action: update:url (if url is passed)",
48255
+ "tags": [
48256
+ "backup-repositories"
48257
+ ],
48258
+ "security": [
48259
+ {
48260
+ "*": []
48261
+ }
48262
+ ],
48263
+ "parameters": [
48264
+ {
48265
+ "in": "path",
48266
+ "name": "id",
48267
+ "required": true,
48268
+ "schema": {
48269
+ "type": "string"
48270
+ },
48271
+ "example": "c4284e12-37c9-7967-b9e8-83ef229c3e03"
48272
+ }
48273
+ ],
48274
+ "requestBody": {
48275
+ "required": true,
48276
+ "content": {
48277
+ "application/json": {
48278
+ "schema": {
48279
+ "$ref": "#/components/schemas/Unbrand_Parameters_XoApp-at-updateRemote__91_1_93__"
48280
+ },
48281
+ "example": {
48282
+ "enabled": true,
48283
+ "name": "NFS Remote",
48284
+ "options": "vers=4",
48285
+ "proxy": "722d17b9-699b-59d2-8193-be1ac573d3de",
48286
+ "url": "nfs://192.168.100.225:/media/nfs"
48287
+ }
48288
+ }
48289
+ }
48290
+ }
48291
+ }
48292
+ },
48293
+ "/backup-repositories/{id}/actions/forget": {
48294
+ "post": {
48295
+ "operationId": "ForgetBackupRepository",
48296
+ "responses": {
48297
+ "204": {
48298
+ "description": "No content",
48299
+ "content": {
48300
+ "application/json": {
48301
+ "schema": {
48302
+ "$ref": "#/components/schemas/CreateActionReturnType_void_"
48303
+ },
48304
+ "examples": {
48305
+ "Example 1": {
48306
+ "value": {
48307
+ "taskId": "0m7kl0j9l"
48308
+ }
48309
+ }
48310
+ }
48311
+ }
48312
+ }
48313
+ },
48314
+ "400": {
48315
+ "description": "Bad request"
48316
+ },
48317
+ "401": {
48318
+ "description": "Authentication required"
48319
+ },
48320
+ "403": {
48321
+ "description": "Forbidden"
48322
+ },
48323
+ "404": {
48324
+ "description": "Resource not found"
48325
+ }
48326
+ },
48327
+ "description": "Forgets a backup repository configuration.\n\nA backup repository cannot be forgotten if it is referenced by any backup job (enabled or disabled).\n\nRequired privilege:\n- resource: backup-repository, action: forget",
48328
+ "tags": [
48329
+ "backup-repositories"
48330
+ ],
48331
+ "security": [
48332
+ {
48333
+ "*": []
48334
+ }
48335
+ ],
48336
+ "parameters": [
48337
+ {
48338
+ "in": "path",
48339
+ "name": "id",
48340
+ "required": true,
48341
+ "schema": {
48342
+ "type": "string"
48343
+ },
48344
+ "example": "c4284e12-37c9-7967-b9e8-83ef229c3e03"
48345
+ },
48346
+ {
48347
+ "in": "query",
48348
+ "name": "sync",
48349
+ "required": false,
48350
+ "schema": {
48351
+ "type": "boolean"
48352
+ }
48353
+ }
48354
+ ],
48355
+ "x-mcp-exposure": "confirm"
47687
48356
  }
47688
48357
  },
47689
48358
  "/backup-logs": {