@xen-orchestra/rest-api 0.34.0 → 0.35.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.
@@ -7620,6 +7620,7 @@
7620
7620
  "create",
7621
7621
  "read",
7622
7622
  "update:name",
7623
+ "benchmark",
7623
7624
  "update:enabled",
7624
7625
  "update:options",
7625
7626
  "update:proxy",
@@ -7730,16 +7731,26 @@
7730
7731
  "type": "string",
7731
7732
  "enum": [
7732
7733
  "export",
7734
+ "shutdown",
7735
+ "start",
7736
+ "forget",
7733
7737
  "update",
7734
7738
  "*",
7735
7739
  "read",
7736
7740
  "allow-vm",
7741
+ "detach",
7737
7742
  "disable",
7738
- "migrate-receive",
7739
7743
  "enable",
7740
7744
  "evacuate",
7741
7745
  "export:logs",
7742
7746
  "join-pool",
7747
+ "migrate-receive",
7748
+ "reboot",
7749
+ "reboot:clean",
7750
+ "reboot:smart",
7751
+ "restart-toolstack",
7752
+ "shutdown:clean",
7753
+ "shutdown:emergency",
7743
7754
  "update:tags"
7744
7755
  ]
7745
7756
  },
@@ -7812,7 +7823,8 @@
7812
7823
  "create",
7813
7824
  "delete",
7814
7825
  "read",
7815
- "update:tags"
7826
+ "update:tags",
7827
+ "update:other_config"
7816
7828
  ]
7817
7829
  },
7818
7830
  "selector": {
@@ -8549,6 +8561,7 @@
8549
8561
  "create",
8550
8562
  "delete",
8551
8563
  "read",
8564
+ "update:other_config",
8552
8565
  "connect",
8553
8566
  "disconnect",
8554
8567
  "update:allowedIpv4Addresses",
@@ -8714,13 +8727,13 @@
8714
8727
  "*",
8715
8728
  "delete",
8716
8729
  "read",
8717
- "update:tags",
8718
- "migrate-send",
8719
8730
  "reboot",
8720
8731
  "reboot:clean",
8732
+ "shutdown:clean",
8733
+ "update:tags",
8734
+ "migrate-send",
8721
8735
  "reboot:hard",
8722
8736
  "revert-snapshot",
8723
- "shutdown:clean",
8724
8737
  "shutdown:hard",
8725
8738
  "update:affinityHost",
8726
8739
  "update:autoPoweron",
@@ -13656,6 +13669,98 @@
13656
13669
  },
13657
13670
  "type": "object"
13658
13671
  },
13672
+ "ReturnType_XoApp-at-pingRemote_": {
13673
+ "properties": {
13674
+ "success": {
13675
+ "type": "boolean",
13676
+ "enum": [
13677
+ true
13678
+ ],
13679
+ "nullable": false
13680
+ }
13681
+ },
13682
+ "required": [
13683
+ "success"
13684
+ ],
13685
+ "type": "object",
13686
+ "description": "Obtain the return type of a function type"
13687
+ },
13688
+ "Awaited_ReturnType_XoApp-at-testRemote__": {
13689
+ "anyOf": [
13690
+ {
13691
+ "properties": {
13692
+ "writeRate": {
13693
+ "type": "number",
13694
+ "format": "double"
13695
+ },
13696
+ "readRate": {
13697
+ "type": "number",
13698
+ "format": "double"
13699
+ },
13700
+ "success": {
13701
+ "type": "boolean",
13702
+ "enum": [
13703
+ true
13704
+ ],
13705
+ "nullable": false
13706
+ }
13707
+ },
13708
+ "required": [
13709
+ "writeRate",
13710
+ "readRate",
13711
+ "success"
13712
+ ],
13713
+ "type": "object"
13714
+ },
13715
+ {
13716
+ "properties": {
13717
+ "error": {},
13718
+ "file": {
13719
+ "type": "string"
13720
+ },
13721
+ "step": {
13722
+ "type": "string"
13723
+ },
13724
+ "success": {
13725
+ "type": "boolean",
13726
+ "enum": [
13727
+ false
13728
+ ],
13729
+ "nullable": false
13730
+ }
13731
+ },
13732
+ "required": [
13733
+ "error",
13734
+ "file",
13735
+ "step",
13736
+ "success"
13737
+ ],
13738
+ "type": "object"
13739
+ }
13740
+ ],
13741
+ "description": "Recursively unwraps the \"awaited type\" of a type. Non-promise \"thenables\" should resolve to `never`. This emulates the behavior of `await`."
13742
+ },
13743
+ "BenchmarkRepositoryResult": {
13744
+ "$ref": "#/components/schemas/Awaited_ReturnType_XoApp-at-testRemote__"
13745
+ },
13746
+ "CreateActionReturnType_BenchmarkRepositoryResult_": {
13747
+ "anyOf": [
13748
+ {
13749
+ "properties": {
13750
+ "taskId": {
13751
+ "type": "string"
13752
+ }
13753
+ },
13754
+ "required": [
13755
+ "taskId"
13756
+ ],
13757
+ "type": "object"
13758
+ },
13759
+ {
13760
+ "$ref": "#/components/schemas/BenchmarkRepositoryResult"
13761
+ }
13762
+ ]
13763
+ },
13659
13764
  "Partial_Unbrand_XoBackupLog__": {
13660
13765
  "properties": {
13661
13766
  "id": {
@@ -15336,6 +15441,7 @@
15336
15441
  "create",
15337
15442
  "read",
15338
15443
  "update:name",
15444
+ "benchmark",
15339
15445
  "update:enabled",
15340
15446
  "update:options",
15341
15447
  "update:proxy",
@@ -15458,16 +15564,26 @@
15458
15564
  "type": "string",
15459
15565
  "enum": [
15460
15566
  "export",
15567
+ "shutdown",
15568
+ "start",
15569
+ "forget",
15461
15570
  "update",
15462
15571
  "*",
15463
15572
  "read",
15464
15573
  "allow-vm",
15574
+ "detach",
15465
15575
  "disable",
15466
- "migrate-receive",
15467
15576
  "enable",
15468
15577
  "evacuate",
15469
15578
  "export:logs",
15470
15579
  "join-pool",
15580
+ "migrate-receive",
15581
+ "reboot",
15582
+ "reboot:clean",
15583
+ "reboot:smart",
15584
+ "restart-toolstack",
15585
+ "shutdown:clean",
15586
+ "shutdown:emergency",
15471
15587
  "update:tags"
15472
15588
  ]
15473
15589
  },
@@ -15548,210 +15664,8 @@
15548
15664
  "create",
15549
15665
  "delete",
15550
15666
  "read",
15551
- "update:tags"
15552
- ]
15553
- },
15554
- "selector": {
15555
- "type": "string"
15556
- },
15557
- "effect": {
15558
- "type": "string",
15559
- "enum": [
15560
- "allow",
15561
- "deny"
15562
- ]
15563
- },
15564
- "roleId": {
15565
- "type": "string"
15566
- }
15567
- },
15568
- "required": [
15569
- "resource",
15570
- "action",
15571
- "effect",
15572
- "roleId"
15573
- ],
15574
- "type": "object"
15575
- },
15576
- {
15577
- "properties": {
15578
- "resource": {
15579
- "type": "string",
15580
- "enum": [
15581
- "pbd"
15582
- ],
15583
- "nullable": false
15584
- },
15585
- "action": {
15586
- "type": "string",
15587
- "enum": [
15588
- "*",
15589
- "read",
15590
- "plug",
15591
- "unplug"
15592
- ]
15593
- },
15594
- "selector": {
15595
- "type": "string"
15596
- },
15597
- "effect": {
15598
- "type": "string",
15599
- "enum": [
15600
- "allow",
15601
- "deny"
15602
- ]
15603
- },
15604
- "roleId": {
15605
- "type": "string"
15606
- }
15607
- },
15608
- "required": [
15609
- "resource",
15610
- "action",
15611
- "effect",
15612
- "roleId"
15613
- ],
15614
- "type": "object"
15615
- },
15616
- {
15617
- "properties": {
15618
- "resource": {
15619
- "type": "string",
15620
- "enum": [
15621
- "pci"
15622
- ],
15623
- "nullable": false
15624
- },
15625
- "action": {
15626
- "type": "string",
15627
- "enum": [
15628
- "*",
15629
- "read"
15630
- ]
15631
- },
15632
- "selector": {
15633
- "type": "string"
15634
- },
15635
- "effect": {
15636
- "type": "string",
15637
- "enum": [
15638
- "allow",
15639
- "deny"
15640
- ]
15641
- },
15642
- "roleId": {
15643
- "type": "string"
15644
- }
15645
- },
15646
- "required": [
15647
- "resource",
15648
- "action",
15649
- "effect",
15650
- "roleId"
15651
- ],
15652
- "type": "object"
15653
- },
15654
- {
15655
- "properties": {
15656
- "resource": {
15657
- "type": "string",
15658
- "enum": [
15659
- "pgpu"
15660
- ],
15661
- "nullable": false
15662
- },
15663
- "action": {
15664
- "type": "string",
15665
- "enum": [
15666
- "*",
15667
- "read"
15668
- ]
15669
- },
15670
- "selector": {
15671
- "type": "string"
15672
- },
15673
- "effect": {
15674
- "type": "string",
15675
- "enum": [
15676
- "allow",
15677
- "deny"
15678
- ]
15679
- },
15680
- "roleId": {
15681
- "type": "string"
15682
- }
15683
- },
15684
- "required": [
15685
- "resource",
15686
- "action",
15687
- "effect",
15688
- "roleId"
15689
- ],
15690
- "type": "object"
15691
- },
15692
- {
15693
- "properties": {
15694
- "resource": {
15695
- "type": "string",
15696
- "enum": [
15697
- "pif"
15698
- ],
15699
- "nullable": false
15700
- },
15701
- "action": {
15702
- "type": "string",
15703
- "enum": [
15704
- "update",
15705
- "*",
15706
- "read",
15707
- "update:management"
15708
- ]
15709
- },
15710
- "selector": {
15711
- "type": "string"
15712
- },
15713
- "effect": {
15714
- "type": "string",
15715
- "enum": [
15716
- "allow",
15717
- "deny"
15718
- ]
15719
- },
15720
- "roleId": {
15721
- "type": "string"
15722
- }
15723
- },
15724
- "required": [
15725
- "resource",
15726
- "action",
15727
- "effect",
15728
- "roleId"
15729
- ],
15730
- "type": "object"
15731
- },
15732
- {
15733
- "properties": {
15734
- "resource": {
15735
- "type": "string",
15736
- "enum": [
15737
- "pool"
15738
- ],
15739
- "nullable": false
15740
- },
15741
- "action": {
15742
- "type": "string",
15743
- "enum": [
15744
- "update",
15745
- "*",
15746
- "create",
15747
- "read",
15748
15667
  "update:tags",
15749
- "add-host",
15750
- "create:network",
15751
- "create:vm",
15752
- "emergency-shutdown",
15753
- "rolling-reboot",
15754
- "rolling-update"
15668
+ "update:other_config"
15755
15669
  ]
15756
15670
  },
15757
15671
  "selector": {
@@ -15781,7 +15695,47 @@
15781
15695
  "resource": {
15782
15696
  "type": "string",
15783
15697
  "enum": [
15784
- "proxy"
15698
+ "pbd"
15699
+ ],
15700
+ "nullable": false
15701
+ },
15702
+ "action": {
15703
+ "type": "string",
15704
+ "enum": [
15705
+ "*",
15706
+ "read",
15707
+ "plug",
15708
+ "unplug"
15709
+ ]
15710
+ },
15711
+ "selector": {
15712
+ "type": "string"
15713
+ },
15714
+ "effect": {
15715
+ "type": "string",
15716
+ "enum": [
15717
+ "allow",
15718
+ "deny"
15719
+ ]
15720
+ },
15721
+ "roleId": {
15722
+ "type": "string"
15723
+ }
15724
+ },
15725
+ "required": [
15726
+ "resource",
15727
+ "action",
15728
+ "effect",
15729
+ "roleId"
15730
+ ],
15731
+ "type": "object"
15732
+ },
15733
+ {
15734
+ "properties": {
15735
+ "resource": {
15736
+ "type": "string",
15737
+ "enum": [
15738
+ "pci"
15785
15739
  ],
15786
15740
  "nullable": false
15787
15741
  },
@@ -15819,7 +15773,7 @@
15819
15773
  "resource": {
15820
15774
  "type": "string",
15821
15775
  "enum": [
15822
- "restore-log"
15776
+ "pgpu"
15823
15777
  ],
15824
15778
  "nullable": false
15825
15779
  },
@@ -15857,16 +15811,17 @@
15857
15811
  "resource": {
15858
15812
  "type": "string",
15859
15813
  "enum": [
15860
- "schedule"
15814
+ "pif"
15861
15815
  ],
15862
15816
  "nullable": false
15863
15817
  },
15864
15818
  "action": {
15865
15819
  "type": "string",
15866
15820
  "enum": [
15821
+ "update",
15867
15822
  "*",
15868
15823
  "read",
15869
- "run"
15824
+ "update:management"
15870
15825
  ]
15871
15826
  },
15872
15827
  "selector": {
@@ -15896,19 +15851,24 @@
15896
15851
  "resource": {
15897
15852
  "type": "string",
15898
15853
  "enum": [
15899
- "server"
15854
+ "pool"
15900
15855
  ],
15901
15856
  "nullable": false
15902
15857
  },
15903
15858
  "action": {
15904
15859
  "type": "string",
15905
15860
  "enum": [
15861
+ "update",
15906
15862
  "*",
15907
15863
  "create",
15908
- "delete",
15909
15864
  "read",
15910
- "connect",
15911
- "disconnect"
15865
+ "update:tags",
15866
+ "add-host",
15867
+ "create:network",
15868
+ "create:vm",
15869
+ "emergency-shutdown",
15870
+ "rolling-reboot",
15871
+ "rolling-update"
15912
15872
  ]
15913
15873
  },
15914
15874
  "selector": {
@@ -15938,7 +15898,7 @@
15938
15898
  "resource": {
15939
15899
  "type": "string",
15940
15900
  "enum": [
15941
- "sm"
15901
+ "proxy"
15942
15902
  ],
15943
15903
  "nullable": false
15944
15904
  },
@@ -15976,25 +15936,15 @@
15976
15936
  "resource": {
15977
15937
  "type": "string",
15978
15938
  "enum": [
15979
- "sr"
15939
+ "restore-log"
15980
15940
  ],
15981
15941
  "nullable": false
15982
15942
  },
15983
15943
  "action": {
15984
15944
  "type": "string",
15985
15945
  "enum": [
15986
- "import",
15987
- "forget",
15988
- "update",
15989
15946
  "*",
15990
- "delete",
15991
- "read",
15992
- "migrate-receive",
15993
- "update:tags",
15994
- "import:vdi",
15995
- "import:vm",
15996
- "reclaim-space",
15997
- "scan"
15947
+ "read"
15998
15948
  ]
15999
15949
  },
16000
15950
  "selector": {
@@ -16024,7 +15974,7 @@
16024
15974
  "resource": {
16025
15975
  "type": "string",
16026
15976
  "enum": [
16027
- "task"
15977
+ "schedule"
16028
15978
  ],
16029
15979
  "nullable": false
16030
15980
  },
@@ -16032,9 +15982,8 @@
16032
15982
  "type": "string",
16033
15983
  "enum": [
16034
15984
  "*",
16035
- "delete",
16036
15985
  "read",
16037
- "abort"
15986
+ "run"
16038
15987
  ]
16039
15988
  },
16040
15989
  "selector": {
@@ -16064,22 +16013,19 @@
16064
16013
  "resource": {
16065
16014
  "type": "string",
16066
16015
  "enum": [
16067
- "user"
16016
+ "server"
16068
16017
  ],
16069
16018
  "nullable": false
16070
16019
  },
16071
16020
  "action": {
16072
16021
  "type": "string",
16073
16022
  "enum": [
16074
- "update",
16075
16023
  "*",
16076
16024
  "create",
16077
16025
  "delete",
16078
16026
  "read",
16079
- "update:name",
16080
- "update:password",
16081
- "update:permission",
16082
- "update:preferences"
16027
+ "connect",
16028
+ "disconnect"
16083
16029
  ]
16084
16030
  },
16085
16031
  "selector": {
@@ -16109,7 +16055,7 @@
16109
16055
  "resource": {
16110
16056
  "type": "string",
16111
16057
  "enum": [
16112
- "vbd"
16058
+ "sm"
16113
16059
  ],
16114
16060
  "nullable": false
16115
16061
  },
@@ -16117,11 +16063,7 @@
16117
16063
  "type": "string",
16118
16064
  "enum": [
16119
16065
  "*",
16120
- "create",
16121
- "delete",
16122
- "read",
16123
- "connect",
16124
- "disconnect"
16066
+ "read"
16125
16067
  ]
16126
16068
  },
16127
16069
  "selector": {
@@ -16151,19 +16093,25 @@
16151
16093
  "resource": {
16152
16094
  "type": "string",
16153
16095
  "enum": [
16154
- "vdi-snapshot"
16096
+ "sr"
16155
16097
  ],
16156
16098
  "nullable": false
16157
16099
  },
16158
16100
  "action": {
16159
16101
  "type": "string",
16160
16102
  "enum": [
16161
- "export",
16103
+ "import",
16104
+ "forget",
16162
16105
  "update",
16163
16106
  "*",
16164
16107
  "delete",
16165
16108
  "read",
16166
- "update:tags"
16109
+ "migrate-receive",
16110
+ "update:tags",
16111
+ "import:vdi",
16112
+ "import:vm",
16113
+ "reclaim-space",
16114
+ "scan"
16167
16115
  ]
16168
16116
  },
16169
16117
  "selector": {
@@ -16193,7 +16141,7 @@
16193
16141
  "resource": {
16194
16142
  "type": "string",
16195
16143
  "enum": [
16196
- "vdi-unmanaged"
16144
+ "task"
16197
16145
  ],
16198
16146
  "nullable": false
16199
16147
  },
@@ -16201,7 +16149,9 @@
16201
16149
  "type": "string",
16202
16150
  "enum": [
16203
16151
  "*",
16204
- "read"
16152
+ "delete",
16153
+ "read",
16154
+ "abort"
16205
16155
  ]
16206
16156
  },
16207
16157
  "selector": {
@@ -16231,23 +16181,22 @@
16231
16181
  "resource": {
16232
16182
  "type": "string",
16233
16183
  "enum": [
16234
- "vdi"
16184
+ "user"
16235
16185
  ],
16236
16186
  "nullable": false
16237
16187
  },
16238
16188
  "action": {
16239
16189
  "type": "string",
16240
16190
  "enum": [
16241
- "boot",
16242
16191
  "update",
16243
16192
  "*",
16244
16193
  "create",
16245
16194
  "delete",
16246
16195
  "read",
16247
- "update:tags",
16248
- "export-content",
16249
- "import-content",
16250
- "migrate-send"
16196
+ "update:name",
16197
+ "update:password",
16198
+ "update:permission",
16199
+ "update:preferences"
16251
16200
  ]
16252
16201
  },
16253
16202
  "selector": {
@@ -16277,7 +16226,7 @@
16277
16226
  "resource": {
16278
16227
  "type": "string",
16279
16228
  "enum": [
16280
- "vgpu"
16229
+ "vbd"
16281
16230
  ],
16282
16231
  "nullable": false
16283
16232
  },
@@ -16285,7 +16234,11 @@
16285
16234
  "type": "string",
16286
16235
  "enum": [
16287
16236
  "*",
16288
- "read"
16237
+ "create",
16238
+ "delete",
16239
+ "read",
16240
+ "connect",
16241
+ "disconnect"
16289
16242
  ]
16290
16243
  },
16291
16244
  "selector": {
@@ -16315,7 +16268,49 @@
16315
16268
  "resource": {
16316
16269
  "type": "string",
16317
16270
  "enum": [
16318
- "vgpuType"
16271
+ "vdi-snapshot"
16272
+ ],
16273
+ "nullable": false
16274
+ },
16275
+ "action": {
16276
+ "type": "string",
16277
+ "enum": [
16278
+ "export",
16279
+ "update",
16280
+ "*",
16281
+ "delete",
16282
+ "read",
16283
+ "update:tags"
16284
+ ]
16285
+ },
16286
+ "selector": {
16287
+ "type": "string"
16288
+ },
16289
+ "effect": {
16290
+ "type": "string",
16291
+ "enum": [
16292
+ "allow",
16293
+ "deny"
16294
+ ]
16295
+ },
16296
+ "roleId": {
16297
+ "type": "string"
16298
+ }
16299
+ },
16300
+ "required": [
16301
+ "resource",
16302
+ "action",
16303
+ "effect",
16304
+ "roleId"
16305
+ ],
16306
+ "type": "object"
16307
+ },
16308
+ {
16309
+ "properties": {
16310
+ "resource": {
16311
+ "type": "string",
16312
+ "enum": [
16313
+ "vdi-unmanaged"
16319
16314
  ],
16320
16315
  "nullable": false
16321
16316
  },
@@ -16353,25 +16348,23 @@
16353
16348
  "resource": {
16354
16349
  "type": "string",
16355
16350
  "enum": [
16356
- "vif"
16351
+ "vdi"
16357
16352
  ],
16358
16353
  "nullable": false
16359
16354
  },
16360
16355
  "action": {
16361
16356
  "type": "string",
16362
16357
  "enum": [
16358
+ "boot",
16363
16359
  "update",
16364
16360
  "*",
16365
16361
  "create",
16366
16362
  "delete",
16367
16363
  "read",
16368
- "connect",
16369
- "disconnect",
16370
- "update:allowedIpv4Addresses",
16371
- "update:allowedIpv6Addresses",
16372
- "update:lockingMode",
16373
- "update:rateLimit",
16374
- "update:txChecksumming"
16364
+ "update:tags",
16365
+ "export-content",
16366
+ "import-content",
16367
+ "migrate-send"
16375
16368
  ]
16376
16369
  },
16377
16370
  "selector": {
@@ -16401,17 +16394,15 @@
16401
16394
  "resource": {
16402
16395
  "type": "string",
16403
16396
  "enum": [
16404
- "vm-controller"
16397
+ "vgpu"
16405
16398
  ],
16406
16399
  "nullable": false
16407
16400
  },
16408
16401
  "action": {
16409
16402
  "type": "string",
16410
16403
  "enum": [
16411
- "update",
16412
16404
  "*",
16413
- "read",
16414
- "update:tags"
16405
+ "read"
16415
16406
  ]
16416
16407
  },
16417
16408
  "selector": {
@@ -16441,19 +16432,64 @@
16441
16432
  "resource": {
16442
16433
  "type": "string",
16443
16434
  "enum": [
16444
- "vm-snapshot"
16435
+ "vgpuType"
16436
+ ],
16437
+ "nullable": false
16438
+ },
16439
+ "action": {
16440
+ "type": "string",
16441
+ "enum": [
16442
+ "*",
16443
+ "read"
16444
+ ]
16445
+ },
16446
+ "selector": {
16447
+ "type": "string"
16448
+ },
16449
+ "effect": {
16450
+ "type": "string",
16451
+ "enum": [
16452
+ "allow",
16453
+ "deny"
16454
+ ]
16455
+ },
16456
+ "roleId": {
16457
+ "type": "string"
16458
+ }
16459
+ },
16460
+ "required": [
16461
+ "resource",
16462
+ "action",
16463
+ "effect",
16464
+ "roleId"
16465
+ ],
16466
+ "type": "object"
16467
+ },
16468
+ {
16469
+ "properties": {
16470
+ "resource": {
16471
+ "type": "string",
16472
+ "enum": [
16473
+ "vif"
16445
16474
  ],
16446
16475
  "nullable": false
16447
16476
  },
16448
16477
  "action": {
16449
16478
  "type": "string",
16450
16479
  "enum": [
16451
- "export",
16452
16480
  "update",
16453
16481
  "*",
16482
+ "create",
16454
16483
  "delete",
16455
16484
  "read",
16456
- "update:tags"
16485
+ "update:other_config",
16486
+ "connect",
16487
+ "disconnect",
16488
+ "update:allowedIpv4Addresses",
16489
+ "update:allowedIpv6Addresses",
16490
+ "update:lockingMode",
16491
+ "update:rateLimit",
16492
+ "update:txChecksumming"
16457
16493
  ]
16458
16494
  },
16459
16495
  "selector": {
@@ -16483,20 +16519,102 @@
16483
16519
  "resource": {
16484
16520
  "type": "string",
16485
16521
  "enum": [
16486
- "vm-template"
16522
+ "vm-controller"
16487
16523
  ],
16488
16524
  "nullable": false
16489
16525
  },
16490
16526
  "action": {
16491
16527
  "type": "string",
16492
16528
  "enum": [
16493
- "export",
16494
16529
  "update",
16495
16530
  "*",
16496
- "delete",
16497
16531
  "read",
16498
- "update:tags",
16499
- "instantiate"
16532
+ "update:tags"
16533
+ ]
16534
+ },
16535
+ "selector": {
16536
+ "type": "string"
16537
+ },
16538
+ "effect": {
16539
+ "type": "string",
16540
+ "enum": [
16541
+ "allow",
16542
+ "deny"
16543
+ ]
16544
+ },
16545
+ "roleId": {
16546
+ "type": "string"
16547
+ }
16548
+ },
16549
+ "required": [
16550
+ "resource",
16551
+ "action",
16552
+ "effect",
16553
+ "roleId"
16554
+ ],
16555
+ "type": "object"
16556
+ },
16557
+ {
16558
+ "properties": {
16559
+ "resource": {
16560
+ "type": "string",
16561
+ "enum": [
16562
+ "vm-snapshot"
16563
+ ],
16564
+ "nullable": false
16565
+ },
16566
+ "action": {
16567
+ "type": "string",
16568
+ "enum": [
16569
+ "export",
16570
+ "update",
16571
+ "*",
16572
+ "delete",
16573
+ "read",
16574
+ "update:tags"
16575
+ ]
16576
+ },
16577
+ "selector": {
16578
+ "type": "string"
16579
+ },
16580
+ "effect": {
16581
+ "type": "string",
16582
+ "enum": [
16583
+ "allow",
16584
+ "deny"
16585
+ ]
16586
+ },
16587
+ "roleId": {
16588
+ "type": "string"
16589
+ }
16590
+ },
16591
+ "required": [
16592
+ "resource",
16593
+ "action",
16594
+ "effect",
16595
+ "roleId"
16596
+ ],
16597
+ "type": "object"
16598
+ },
16599
+ {
16600
+ "properties": {
16601
+ "resource": {
16602
+ "type": "string",
16603
+ "enum": [
16604
+ "vm-template"
16605
+ ],
16606
+ "nullable": false
16607
+ },
16608
+ "action": {
16609
+ "type": "string",
16610
+ "enum": [
16611
+ "export",
16612
+ "update",
16613
+ "*",
16614
+ "delete",
16615
+ "read",
16616
+ "update:tags",
16617
+ "instantiate"
16500
16618
  ]
16501
16619
  },
16502
16620
  "selector": {
@@ -16546,13 +16664,13 @@
16546
16664
  "*",
16547
16665
  "delete",
16548
16666
  "read",
16549
- "update:tags",
16550
- "migrate-send",
16551
16667
  "reboot",
16552
16668
  "reboot:clean",
16669
+ "shutdown:clean",
16670
+ "update:tags",
16671
+ "migrate-send",
16553
16672
  "reboot:hard",
16554
16673
  "revert-snapshot",
16555
- "shutdown:clean",
16556
16674
  "shutdown:hard",
16557
16675
  "update:affinityHost",
16558
16676
  "update:autoPoweron",
@@ -16943,6 +17061,7 @@
16943
17061
  "create",
16944
17062
  "read",
16945
17063
  "update:name",
17064
+ "benchmark",
16946
17065
  "update:enabled",
16947
17066
  "update:options",
16948
17067
  "update:proxy",
@@ -17077,16 +17196,26 @@
17077
17196
  "type": "string",
17078
17197
  "enum": [
17079
17198
  "export",
17199
+ "shutdown",
17200
+ "start",
17201
+ "forget",
17080
17202
  "update",
17081
17203
  "*",
17082
17204
  "read",
17083
17205
  "allow-vm",
17206
+ "detach",
17084
17207
  "disable",
17085
- "migrate-receive",
17086
17208
  "enable",
17087
17209
  "evacuate",
17088
17210
  "export:logs",
17089
17211
  "join-pool",
17212
+ "migrate-receive",
17213
+ "reboot",
17214
+ "reboot:clean",
17215
+ "reboot:smart",
17216
+ "restart-toolstack",
17217
+ "shutdown:clean",
17218
+ "shutdown:emergency",
17090
17219
  "update:tags"
17091
17220
  ]
17092
17221
  },
@@ -17175,230 +17304,8 @@
17175
17304
  "create",
17176
17305
  "delete",
17177
17306
  "read",
17178
- "update:tags"
17179
- ]
17180
- },
17181
- "selector": {
17182
- "type": "string"
17183
- },
17184
- "effect": {
17185
- "type": "string",
17186
- "enum": [
17187
- "allow",
17188
- "deny"
17189
- ]
17190
- },
17191
- "roleId": {
17192
- "type": "string"
17193
- }
17194
- },
17195
- "required": [
17196
- "id",
17197
- "resource",
17198
- "action",
17199
- "effect",
17200
- "roleId"
17201
- ],
17202
- "type": "object"
17203
- },
17204
- {
17205
- "properties": {
17206
- "id": {
17207
- "type": "string"
17208
- },
17209
- "resource": {
17210
- "type": "string",
17211
- "enum": [
17212
- "pbd"
17213
- ],
17214
- "nullable": false
17215
- },
17216
- "action": {
17217
- "type": "string",
17218
- "enum": [
17219
- "*",
17220
- "read",
17221
- "plug",
17222
- "unplug"
17223
- ]
17224
- },
17225
- "selector": {
17226
- "type": "string"
17227
- },
17228
- "effect": {
17229
- "type": "string",
17230
- "enum": [
17231
- "allow",
17232
- "deny"
17233
- ]
17234
- },
17235
- "roleId": {
17236
- "type": "string"
17237
- }
17238
- },
17239
- "required": [
17240
- "id",
17241
- "resource",
17242
- "action",
17243
- "effect",
17244
- "roleId"
17245
- ],
17246
- "type": "object"
17247
- },
17248
- {
17249
- "properties": {
17250
- "id": {
17251
- "type": "string"
17252
- },
17253
- "resource": {
17254
- "type": "string",
17255
- "enum": [
17256
- "pci"
17257
- ],
17258
- "nullable": false
17259
- },
17260
- "action": {
17261
- "type": "string",
17262
- "enum": [
17263
- "*",
17264
- "read"
17265
- ]
17266
- },
17267
- "selector": {
17268
- "type": "string"
17269
- },
17270
- "effect": {
17271
- "type": "string",
17272
- "enum": [
17273
- "allow",
17274
- "deny"
17275
- ]
17276
- },
17277
- "roleId": {
17278
- "type": "string"
17279
- }
17280
- },
17281
- "required": [
17282
- "id",
17283
- "resource",
17284
- "action",
17285
- "effect",
17286
- "roleId"
17287
- ],
17288
- "type": "object"
17289
- },
17290
- {
17291
- "properties": {
17292
- "id": {
17293
- "type": "string"
17294
- },
17295
- "resource": {
17296
- "type": "string",
17297
- "enum": [
17298
- "pgpu"
17299
- ],
17300
- "nullable": false
17301
- },
17302
- "action": {
17303
- "type": "string",
17304
- "enum": [
17305
- "*",
17306
- "read"
17307
- ]
17308
- },
17309
- "selector": {
17310
- "type": "string"
17311
- },
17312
- "effect": {
17313
- "type": "string",
17314
- "enum": [
17315
- "allow",
17316
- "deny"
17317
- ]
17318
- },
17319
- "roleId": {
17320
- "type": "string"
17321
- }
17322
- },
17323
- "required": [
17324
- "id",
17325
- "resource",
17326
- "action",
17327
- "effect",
17328
- "roleId"
17329
- ],
17330
- "type": "object"
17331
- },
17332
- {
17333
- "properties": {
17334
- "id": {
17335
- "type": "string"
17336
- },
17337
- "resource": {
17338
- "type": "string",
17339
- "enum": [
17340
- "pif"
17341
- ],
17342
- "nullable": false
17343
- },
17344
- "action": {
17345
- "type": "string",
17346
- "enum": [
17347
- "update",
17348
- "*",
17349
- "read",
17350
- "update:management"
17351
- ]
17352
- },
17353
- "selector": {
17354
- "type": "string"
17355
- },
17356
- "effect": {
17357
- "type": "string",
17358
- "enum": [
17359
- "allow",
17360
- "deny"
17361
- ]
17362
- },
17363
- "roleId": {
17364
- "type": "string"
17365
- }
17366
- },
17367
- "required": [
17368
- "id",
17369
- "resource",
17370
- "action",
17371
- "effect",
17372
- "roleId"
17373
- ],
17374
- "type": "object"
17375
- },
17376
- {
17377
- "properties": {
17378
- "id": {
17379
- "type": "string"
17380
- },
17381
- "resource": {
17382
- "type": "string",
17383
- "enum": [
17384
- "pool"
17385
- ],
17386
- "nullable": false
17387
- },
17388
- "action": {
17389
- "type": "string",
17390
- "enum": [
17391
- "update",
17392
- "*",
17393
- "create",
17394
- "read",
17395
17307
  "update:tags",
17396
- "add-host",
17397
- "create:network",
17398
- "create:vm",
17399
- "emergency-shutdown",
17400
- "rolling-reboot",
17401
- "rolling-update"
17308
+ "update:other_config"
17402
17309
  ]
17403
17310
  },
17404
17311
  "selector": {
@@ -17432,7 +17339,51 @@
17432
17339
  "resource": {
17433
17340
  "type": "string",
17434
17341
  "enum": [
17435
- "proxy"
17342
+ "pbd"
17343
+ ],
17344
+ "nullable": false
17345
+ },
17346
+ "action": {
17347
+ "type": "string",
17348
+ "enum": [
17349
+ "*",
17350
+ "read",
17351
+ "plug",
17352
+ "unplug"
17353
+ ]
17354
+ },
17355
+ "selector": {
17356
+ "type": "string"
17357
+ },
17358
+ "effect": {
17359
+ "type": "string",
17360
+ "enum": [
17361
+ "allow",
17362
+ "deny"
17363
+ ]
17364
+ },
17365
+ "roleId": {
17366
+ "type": "string"
17367
+ }
17368
+ },
17369
+ "required": [
17370
+ "id",
17371
+ "resource",
17372
+ "action",
17373
+ "effect",
17374
+ "roleId"
17375
+ ],
17376
+ "type": "object"
17377
+ },
17378
+ {
17379
+ "properties": {
17380
+ "id": {
17381
+ "type": "string"
17382
+ },
17383
+ "resource": {
17384
+ "type": "string",
17385
+ "enum": [
17386
+ "pci"
17436
17387
  ],
17437
17388
  "nullable": false
17438
17389
  },
@@ -17474,7 +17425,7 @@
17474
17425
  "resource": {
17475
17426
  "type": "string",
17476
17427
  "enum": [
17477
- "restore-log"
17428
+ "pgpu"
17478
17429
  ],
17479
17430
  "nullable": false
17480
17431
  },
@@ -17516,16 +17467,17 @@
17516
17467
  "resource": {
17517
17468
  "type": "string",
17518
17469
  "enum": [
17519
- "schedule"
17470
+ "pif"
17520
17471
  ],
17521
17472
  "nullable": false
17522
17473
  },
17523
17474
  "action": {
17524
17475
  "type": "string",
17525
17476
  "enum": [
17477
+ "update",
17526
17478
  "*",
17527
17479
  "read",
17528
- "run"
17480
+ "update:management"
17529
17481
  ]
17530
17482
  },
17531
17483
  "selector": {
@@ -17559,19 +17511,24 @@
17559
17511
  "resource": {
17560
17512
  "type": "string",
17561
17513
  "enum": [
17562
- "server"
17514
+ "pool"
17563
17515
  ],
17564
17516
  "nullable": false
17565
17517
  },
17566
17518
  "action": {
17567
17519
  "type": "string",
17568
17520
  "enum": [
17521
+ "update",
17569
17522
  "*",
17570
17523
  "create",
17571
- "delete",
17572
17524
  "read",
17573
- "connect",
17574
- "disconnect"
17525
+ "update:tags",
17526
+ "add-host",
17527
+ "create:network",
17528
+ "create:vm",
17529
+ "emergency-shutdown",
17530
+ "rolling-reboot",
17531
+ "rolling-update"
17575
17532
  ]
17576
17533
  },
17577
17534
  "selector": {
@@ -17605,7 +17562,7 @@
17605
17562
  "resource": {
17606
17563
  "type": "string",
17607
17564
  "enum": [
17608
- "sm"
17565
+ "proxy"
17609
17566
  ],
17610
17567
  "nullable": false
17611
17568
  },
@@ -17647,25 +17604,15 @@
17647
17604
  "resource": {
17648
17605
  "type": "string",
17649
17606
  "enum": [
17650
- "sr"
17607
+ "restore-log"
17651
17608
  ],
17652
17609
  "nullable": false
17653
17610
  },
17654
17611
  "action": {
17655
17612
  "type": "string",
17656
17613
  "enum": [
17657
- "import",
17658
- "forget",
17659
- "update",
17660
17614
  "*",
17661
- "delete",
17662
- "read",
17663
- "migrate-receive",
17664
- "update:tags",
17665
- "import:vdi",
17666
- "import:vm",
17667
- "reclaim-space",
17668
- "scan"
17615
+ "read"
17669
17616
  ]
17670
17617
  },
17671
17618
  "selector": {
@@ -17699,7 +17646,7 @@
17699
17646
  "resource": {
17700
17647
  "type": "string",
17701
17648
  "enum": [
17702
- "task"
17649
+ "schedule"
17703
17650
  ],
17704
17651
  "nullable": false
17705
17652
  },
@@ -17707,9 +17654,8 @@
17707
17654
  "type": "string",
17708
17655
  "enum": [
17709
17656
  "*",
17710
- "delete",
17711
17657
  "read",
17712
- "abort"
17658
+ "run"
17713
17659
  ]
17714
17660
  },
17715
17661
  "selector": {
@@ -17743,22 +17689,19 @@
17743
17689
  "resource": {
17744
17690
  "type": "string",
17745
17691
  "enum": [
17746
- "user"
17692
+ "server"
17747
17693
  ],
17748
17694
  "nullable": false
17749
17695
  },
17750
17696
  "action": {
17751
17697
  "type": "string",
17752
17698
  "enum": [
17753
- "update",
17754
17699
  "*",
17755
17700
  "create",
17756
17701
  "delete",
17757
17702
  "read",
17758
- "update:name",
17759
- "update:password",
17760
- "update:permission",
17761
- "update:preferences"
17703
+ "connect",
17704
+ "disconnect"
17762
17705
  ]
17763
17706
  },
17764
17707
  "selector": {
@@ -17792,7 +17735,7 @@
17792
17735
  "resource": {
17793
17736
  "type": "string",
17794
17737
  "enum": [
17795
- "vbd"
17738
+ "sm"
17796
17739
  ],
17797
17740
  "nullable": false
17798
17741
  },
@@ -17800,11 +17743,7 @@
17800
17743
  "type": "string",
17801
17744
  "enum": [
17802
17745
  "*",
17803
- "create",
17804
- "delete",
17805
- "read",
17806
- "connect",
17807
- "disconnect"
17746
+ "read"
17808
17747
  ]
17809
17748
  },
17810
17749
  "selector": {
@@ -17838,19 +17777,25 @@
17838
17777
  "resource": {
17839
17778
  "type": "string",
17840
17779
  "enum": [
17841
- "vdi-snapshot"
17780
+ "sr"
17842
17781
  ],
17843
17782
  "nullable": false
17844
17783
  },
17845
17784
  "action": {
17846
17785
  "type": "string",
17847
17786
  "enum": [
17848
- "export",
17787
+ "import",
17788
+ "forget",
17849
17789
  "update",
17850
17790
  "*",
17851
17791
  "delete",
17852
17792
  "read",
17853
- "update:tags"
17793
+ "migrate-receive",
17794
+ "update:tags",
17795
+ "import:vdi",
17796
+ "import:vm",
17797
+ "reclaim-space",
17798
+ "scan"
17854
17799
  ]
17855
17800
  },
17856
17801
  "selector": {
@@ -17884,7 +17829,7 @@
17884
17829
  "resource": {
17885
17830
  "type": "string",
17886
17831
  "enum": [
17887
- "vdi-unmanaged"
17832
+ "task"
17888
17833
  ],
17889
17834
  "nullable": false
17890
17835
  },
@@ -17892,7 +17837,9 @@
17892
17837
  "type": "string",
17893
17838
  "enum": [
17894
17839
  "*",
17895
- "read"
17840
+ "delete",
17841
+ "read",
17842
+ "abort"
17896
17843
  ]
17897
17844
  },
17898
17845
  "selector": {
@@ -17926,23 +17873,22 @@
17926
17873
  "resource": {
17927
17874
  "type": "string",
17928
17875
  "enum": [
17929
- "vdi"
17876
+ "user"
17930
17877
  ],
17931
17878
  "nullable": false
17932
17879
  },
17933
17880
  "action": {
17934
17881
  "type": "string",
17935
17882
  "enum": [
17936
- "boot",
17937
17883
  "update",
17938
17884
  "*",
17939
17885
  "create",
17940
17886
  "delete",
17941
17887
  "read",
17942
- "update:tags",
17943
- "export-content",
17944
- "import-content",
17945
- "migrate-send"
17888
+ "update:name",
17889
+ "update:password",
17890
+ "update:permission",
17891
+ "update:preferences"
17946
17892
  ]
17947
17893
  },
17948
17894
  "selector": {
@@ -17976,7 +17922,7 @@
17976
17922
  "resource": {
17977
17923
  "type": "string",
17978
17924
  "enum": [
17979
- "vgpu"
17925
+ "vbd"
17980
17926
  ],
17981
17927
  "nullable": false
17982
17928
  },
@@ -17984,7 +17930,11 @@
17984
17930
  "type": "string",
17985
17931
  "enum": [
17986
17932
  "*",
17987
- "read"
17933
+ "create",
17934
+ "delete",
17935
+ "read",
17936
+ "connect",
17937
+ "disconnect"
17988
17938
  ]
17989
17939
  },
17990
17940
  "selector": {
@@ -18018,15 +17968,19 @@
18018
17968
  "resource": {
18019
17969
  "type": "string",
18020
17970
  "enum": [
18021
- "vgpuType"
17971
+ "vdi-snapshot"
18022
17972
  ],
18023
17973
  "nullable": false
18024
17974
  },
18025
17975
  "action": {
18026
17976
  "type": "string",
18027
17977
  "enum": [
17978
+ "export",
17979
+ "update",
18028
17980
  "*",
18029
- "read"
17981
+ "delete",
17982
+ "read",
17983
+ "update:tags"
18030
17984
  ]
18031
17985
  },
18032
17986
  "selector": {
@@ -18060,25 +18014,15 @@
18060
18014
  "resource": {
18061
18015
  "type": "string",
18062
18016
  "enum": [
18063
- "vif"
18017
+ "vdi-unmanaged"
18064
18018
  ],
18065
18019
  "nullable": false
18066
18020
  },
18067
18021
  "action": {
18068
18022
  "type": "string",
18069
18023
  "enum": [
18070
- "update",
18071
18024
  "*",
18072
- "create",
18073
- "delete",
18074
- "read",
18075
- "connect",
18076
- "disconnect",
18077
- "update:allowedIpv4Addresses",
18078
- "update:allowedIpv6Addresses",
18079
- "update:lockingMode",
18080
- "update:rateLimit",
18081
- "update:txChecksumming"
18025
+ "read"
18082
18026
  ]
18083
18027
  },
18084
18028
  "selector": {
@@ -18112,17 +18056,23 @@
18112
18056
  "resource": {
18113
18057
  "type": "string",
18114
18058
  "enum": [
18115
- "vm-controller"
18059
+ "vdi"
18116
18060
  ],
18117
18061
  "nullable": false
18118
18062
  },
18119
18063
  "action": {
18120
18064
  "type": "string",
18121
18065
  "enum": [
18066
+ "boot",
18122
18067
  "update",
18123
18068
  "*",
18069
+ "create",
18070
+ "delete",
18124
18071
  "read",
18125
- "update:tags"
18072
+ "update:tags",
18073
+ "export-content",
18074
+ "import-content",
18075
+ "migrate-send"
18126
18076
  ]
18127
18077
  },
18128
18078
  "selector": {
@@ -18156,19 +18106,15 @@
18156
18106
  "resource": {
18157
18107
  "type": "string",
18158
18108
  "enum": [
18159
- "vm-snapshot"
18109
+ "vgpu"
18160
18110
  ],
18161
18111
  "nullable": false
18162
18112
  },
18163
18113
  "action": {
18164
18114
  "type": "string",
18165
18115
  "enum": [
18166
- "export",
18167
- "update",
18168
18116
  "*",
18169
- "delete",
18170
- "read",
18171
- "update:tags"
18117
+ "read"
18172
18118
  ]
18173
18119
  },
18174
18120
  "selector": {
@@ -18202,20 +18148,15 @@
18202
18148
  "resource": {
18203
18149
  "type": "string",
18204
18150
  "enum": [
18205
- "vm-template"
18151
+ "vgpuType"
18206
18152
  ],
18207
18153
  "nullable": false
18208
18154
  },
18209
18155
  "action": {
18210
18156
  "type": "string",
18211
18157
  "enum": [
18212
- "export",
18213
- "update",
18214
18158
  "*",
18215
- "delete",
18216
- "read",
18217
- "update:tags",
18218
- "instantiate"
18159
+ "read"
18219
18160
  ]
18220
18161
  },
18221
18162
  "selector": {
@@ -18249,70 +18190,26 @@
18249
18190
  "resource": {
18250
18191
  "type": "string",
18251
18192
  "enum": [
18252
- "vm"
18193
+ "vif"
18253
18194
  ],
18254
18195
  "nullable": false
18255
18196
  },
18256
18197
  "action": {
18257
18198
  "type": "string",
18258
18199
  "enum": [
18259
- "clone",
18260
- "export",
18261
- "pause",
18262
- "resume",
18263
- "shutdown",
18264
- "snapshot",
18265
- "start",
18266
- "suspend",
18267
- "unpause",
18268
18200
  "update",
18269
18201
  "*",
18202
+ "create",
18270
18203
  "delete",
18271
18204
  "read",
18272
- "update:tags",
18273
- "migrate-send",
18274
- "reboot",
18275
- "reboot:clean",
18276
- "reboot:hard",
18277
- "revert-snapshot",
18278
- "shutdown:clean",
18279
- "shutdown:hard",
18280
- "update:affinityHost",
18281
- "update:autoPoweron",
18282
- "update:blockedOperations",
18283
- "update:coresPerSocket",
18284
- "update:cpuCap",
18285
- "update:cpuMask",
18286
- "update:cpuWeight",
18287
- "update:cpus",
18288
- "update:cpusStaticMax",
18289
- "update:creation",
18290
- "update:datasources",
18291
- "update:expNestedHvm",
18292
- "update:hasVendorDevice",
18293
- "update:highAvailability",
18294
- "update:hvmBootFirmware",
18295
- "update:memory",
18296
- "update:memoryMax",
18297
- "update:memoryMin",
18298
- "update:memoryStaticMax",
18299
- "update:nameDescription",
18300
- "update:nameLabel",
18301
- "update:nestedVirt",
18302
- "update:nicType",
18303
- "update:notes",
18304
- "update:PV_args",
18305
- "update:resourceSet",
18306
- "update:secureBoot",
18307
- "update:share",
18308
- "update:startDelay",
18309
- "update:suspendSr",
18310
- "update:uefiMode",
18311
- "update:vga",
18312
- "update:videoram",
18313
- "update:viridian",
18314
- "update:virtualizationMode",
18315
- "update:xenStoreData"
18205
+ "update:other_config",
18206
+ "connect",
18207
+ "disconnect",
18208
+ "update:allowedIpv4Addresses",
18209
+ "update:allowedIpv6Addresses",
18210
+ "update:lockingMode",
18211
+ "update:rateLimit",
18212
+ "update:txChecksumming"
18316
18213
  ]
18317
18214
  },
18318
18215
  "selector": {
@@ -18346,15 +18243,17 @@
18346
18243
  "resource": {
18347
18244
  "type": "string",
18348
18245
  "enum": [
18349
- "vtpm"
18246
+ "vm-controller"
18350
18247
  ],
18351
18248
  "nullable": false
18352
18249
  },
18353
18250
  "action": {
18354
18251
  "type": "string",
18355
18252
  "enum": [
18253
+ "update",
18356
18254
  "*",
18357
- "read"
18255
+ "read",
18256
+ "update:tags"
18358
18257
  ]
18359
18258
  },
18360
18259
  "selector": {
@@ -18379,31 +18278,28 @@
18379
18278
  "roleId"
18380
18279
  ],
18381
18280
  "type": "object"
18382
- }
18383
- ]
18384
- },
18385
- "Unbrand_SafeOmit_Partial_AnyPrivilege_.id-or-roleId__": {
18386
- "anyOf": [
18281
+ },
18387
18282
  {
18388
18283
  "properties": {
18284
+ "id": {
18285
+ "type": "string"
18286
+ },
18389
18287
  "resource": {
18390
18288
  "type": "string",
18391
18289
  "enum": [
18392
- "acl-privilege"
18393
- ]
18290
+ "vm-snapshot"
18291
+ ],
18292
+ "nullable": false
18394
18293
  },
18395
18294
  "action": {
18396
18295
  "type": "string",
18397
18296
  "enum": [
18297
+ "export",
18398
18298
  "update",
18399
18299
  "*",
18400
- "create",
18401
18300
  "delete",
18402
18301
  "read",
18403
- "update:action",
18404
- "update:effect",
18405
- "update:resource",
18406
- "update:selector"
18302
+ "update:tags"
18407
18303
  ]
18408
18304
  },
18409
18305
  "selector": {
@@ -18415,30 +18311,42 @@
18415
18311
  "allow",
18416
18312
  "deny"
18417
18313
  ]
18314
+ },
18315
+ "roleId": {
18316
+ "type": "string"
18418
18317
  }
18419
18318
  },
18319
+ "required": [
18320
+ "id",
18321
+ "resource",
18322
+ "action",
18323
+ "effect",
18324
+ "roleId"
18325
+ ],
18420
18326
  "type": "object"
18421
18327
  },
18422
18328
  {
18423
18329
  "properties": {
18330
+ "id": {
18331
+ "type": "string"
18332
+ },
18424
18333
  "resource": {
18425
18334
  "type": "string",
18426
18335
  "enum": [
18427
- "acl-role"
18428
- ]
18336
+ "vm-template"
18337
+ ],
18338
+ "nullable": false
18429
18339
  },
18430
18340
  "action": {
18431
18341
  "type": "string",
18432
18342
  "enum": [
18343
+ "export",
18433
18344
  "update",
18434
18345
  "*",
18435
- "create",
18436
18346
  "delete",
18437
18347
  "read",
18438
- "update:description",
18439
- "update:groups",
18440
- "update:name",
18441
- "update:users"
18348
+ "update:tags",
18349
+ "instantiate"
18442
18350
  ]
18443
18351
  },
18444
18352
  "selector": {
@@ -18450,23 +18358,92 @@
18450
18358
  "allow",
18451
18359
  "deny"
18452
18360
  ]
18361
+ },
18362
+ "roleId": {
18363
+ "type": "string"
18453
18364
  }
18454
18365
  },
18366
+ "required": [
18367
+ "id",
18368
+ "resource",
18369
+ "action",
18370
+ "effect",
18371
+ "roleId"
18372
+ ],
18455
18373
  "type": "object"
18456
18374
  },
18457
18375
  {
18458
18376
  "properties": {
18377
+ "id": {
18378
+ "type": "string"
18379
+ },
18459
18380
  "resource": {
18460
18381
  "type": "string",
18461
18382
  "enum": [
18462
- "alarm"
18463
- ]
18383
+ "vm"
18384
+ ],
18385
+ "nullable": false
18464
18386
  },
18465
18387
  "action": {
18466
18388
  "type": "string",
18467
18389
  "enum": [
18390
+ "clone",
18391
+ "export",
18392
+ "pause",
18393
+ "resume",
18394
+ "shutdown",
18395
+ "snapshot",
18396
+ "start",
18397
+ "suspend",
18398
+ "unpause",
18399
+ "update",
18468
18400
  "*",
18469
- "read"
18401
+ "delete",
18402
+ "read",
18403
+ "reboot",
18404
+ "reboot:clean",
18405
+ "shutdown:clean",
18406
+ "update:tags",
18407
+ "migrate-send",
18408
+ "reboot:hard",
18409
+ "revert-snapshot",
18410
+ "shutdown:hard",
18411
+ "update:affinityHost",
18412
+ "update:autoPoweron",
18413
+ "update:blockedOperations",
18414
+ "update:coresPerSocket",
18415
+ "update:cpuCap",
18416
+ "update:cpuMask",
18417
+ "update:cpuWeight",
18418
+ "update:cpus",
18419
+ "update:cpusStaticMax",
18420
+ "update:creation",
18421
+ "update:datasources",
18422
+ "update:expNestedHvm",
18423
+ "update:hasVendorDevice",
18424
+ "update:highAvailability",
18425
+ "update:hvmBootFirmware",
18426
+ "update:memory",
18427
+ "update:memoryMax",
18428
+ "update:memoryMin",
18429
+ "update:memoryStaticMax",
18430
+ "update:nameDescription",
18431
+ "update:nameLabel",
18432
+ "update:nestedVirt",
18433
+ "update:nicType",
18434
+ "update:notes",
18435
+ "update:PV_args",
18436
+ "update:resourceSet",
18437
+ "update:secureBoot",
18438
+ "update:share",
18439
+ "update:startDelay",
18440
+ "update:suspendSr",
18441
+ "update:uefiMode",
18442
+ "update:vga",
18443
+ "update:videoram",
18444
+ "update:viridian",
18445
+ "update:virtualizationMode",
18446
+ "update:xenStoreData"
18470
18447
  ]
18471
18448
  },
18472
18449
  "selector": {
@@ -18478,17 +18455,31 @@
18478
18455
  "allow",
18479
18456
  "deny"
18480
18457
  ]
18458
+ },
18459
+ "roleId": {
18460
+ "type": "string"
18481
18461
  }
18482
18462
  },
18463
+ "required": [
18464
+ "id",
18465
+ "resource",
18466
+ "action",
18467
+ "effect",
18468
+ "roleId"
18469
+ ],
18483
18470
  "type": "object"
18484
18471
  },
18485
18472
  {
18486
18473
  "properties": {
18474
+ "id": {
18475
+ "type": "string"
18476
+ },
18487
18477
  "resource": {
18488
18478
  "type": "string",
18489
18479
  "enum": [
18490
- "backup-archive"
18491
- ]
18480
+ "vtpm"
18481
+ ],
18482
+ "nullable": false
18492
18483
  },
18493
18484
  "action": {
18494
18485
  "type": "string",
@@ -18506,23 +18497,44 @@
18506
18497
  "allow",
18507
18498
  "deny"
18508
18499
  ]
18500
+ },
18501
+ "roleId": {
18502
+ "type": "string"
18509
18503
  }
18510
18504
  },
18505
+ "required": [
18506
+ "id",
18507
+ "resource",
18508
+ "action",
18509
+ "effect",
18510
+ "roleId"
18511
+ ],
18511
18512
  "type": "object"
18512
- },
18513
+ }
18514
+ ]
18515
+ },
18516
+ "Unbrand_SafeOmit_Partial_AnyPrivilege_.id-or-roleId__": {
18517
+ "anyOf": [
18513
18518
  {
18514
18519
  "properties": {
18515
18520
  "resource": {
18516
18521
  "type": "string",
18517
18522
  "enum": [
18518
- "backup-job"
18523
+ "acl-privilege"
18519
18524
  ]
18520
18525
  },
18521
18526
  "action": {
18522
18527
  "type": "string",
18523
18528
  "enum": [
18529
+ "update",
18524
18530
  "*",
18525
- "read"
18531
+ "create",
18532
+ "delete",
18533
+ "read",
18534
+ "update:action",
18535
+ "update:effect",
18536
+ "update:resource",
18537
+ "update:selector"
18526
18538
  ]
18527
18539
  },
18528
18540
  "selector": {
@@ -18543,14 +18555,21 @@
18543
18555
  "resource": {
18544
18556
  "type": "string",
18545
18557
  "enum": [
18546
- "backup-log"
18558
+ "acl-role"
18547
18559
  ]
18548
18560
  },
18549
18561
  "action": {
18550
18562
  "type": "string",
18551
18563
  "enum": [
18564
+ "update",
18552
18565
  "*",
18553
- "read"
18566
+ "create",
18567
+ "delete",
18568
+ "read",
18569
+ "update:description",
18570
+ "update:groups",
18571
+ "update:name",
18572
+ "update:users"
18554
18573
  ]
18555
18574
  },
18556
18575
  "selector": {
@@ -18571,22 +18590,14 @@
18571
18590
  "resource": {
18572
18591
  "type": "string",
18573
18592
  "enum": [
18574
- "backup-repository"
18593
+ "alarm"
18575
18594
  ]
18576
18595
  },
18577
18596
  "action": {
18578
18597
  "type": "string",
18579
18598
  "enum": [
18580
- "forget",
18581
- "update",
18582
18599
  "*",
18583
- "create",
18584
- "read",
18585
- "update:name",
18586
- "update:enabled",
18587
- "update:options",
18588
- "update:proxy",
18589
- "update:url"
18600
+ "read"
18590
18601
  ]
18591
18602
  },
18592
18603
  "selector": {
@@ -18607,19 +18618,14 @@
18607
18618
  "resource": {
18608
18619
  "type": "string",
18609
18620
  "enum": [
18610
- "group"
18621
+ "backup-archive"
18611
18622
  ]
18612
18623
  },
18613
18624
  "action": {
18614
18625
  "type": "string",
18615
18626
  "enum": [
18616
- "update",
18617
18627
  "*",
18618
- "create",
18619
- "delete",
18620
- "read",
18621
- "update:name",
18622
- "update:users"
18628
+ "read"
18623
18629
  ]
18624
18630
  },
18625
18631
  "selector": {
@@ -18640,7 +18646,7 @@
18640
18646
  "resource": {
18641
18647
  "type": "string",
18642
18648
  "enum": [
18643
- "gpuGroup"
18649
+ "backup-job"
18644
18650
  ]
18645
18651
  },
18646
18652
  "action": {
@@ -18668,24 +18674,14 @@
18668
18674
  "resource": {
18669
18675
  "type": "string",
18670
18676
  "enum": [
18671
- "host"
18677
+ "backup-log"
18672
18678
  ]
18673
18679
  },
18674
18680
  "action": {
18675
18681
  "type": "string",
18676
18682
  "enum": [
18677
- "export",
18678
- "update",
18679
18683
  "*",
18680
- "read",
18681
- "allow-vm",
18682
- "disable",
18683
- "migrate-receive",
18684
- "enable",
18685
- "evacuate",
18686
- "export:logs",
18687
- "join-pool",
18688
- "update:tags"
18684
+ "read"
18689
18685
  ]
18690
18686
  },
18691
18687
  "selector": {
@@ -18706,14 +18702,23 @@
18706
18702
  "resource": {
18707
18703
  "type": "string",
18708
18704
  "enum": [
18709
- "message"
18705
+ "backup-repository"
18710
18706
  ]
18711
18707
  },
18712
18708
  "action": {
18713
18709
  "type": "string",
18714
18710
  "enum": [
18711
+ "forget",
18712
+ "update",
18715
18713
  "*",
18716
- "read"
18714
+ "create",
18715
+ "read",
18716
+ "update:name",
18717
+ "benchmark",
18718
+ "update:enabled",
18719
+ "update:options",
18720
+ "update:proxy",
18721
+ "update:url"
18717
18722
  ]
18718
18723
  },
18719
18724
  "selector": {
@@ -18734,7 +18739,7 @@
18734
18739
  "resource": {
18735
18740
  "type": "string",
18736
18741
  "enum": [
18737
- "network"
18742
+ "group"
18738
18743
  ]
18739
18744
  },
18740
18745
  "action": {
@@ -18745,7 +18750,8 @@
18745
18750
  "create",
18746
18751
  "delete",
18747
18752
  "read",
18748
- "update:tags"
18753
+ "update:name",
18754
+ "update:users"
18749
18755
  ]
18750
18756
  },
18751
18757
  "selector": {
@@ -18766,16 +18772,14 @@
18766
18772
  "resource": {
18767
18773
  "type": "string",
18768
18774
  "enum": [
18769
- "pbd"
18775
+ "gpuGroup"
18770
18776
  ]
18771
18777
  },
18772
18778
  "action": {
18773
18779
  "type": "string",
18774
18780
  "enum": [
18775
18781
  "*",
18776
- "read",
18777
- "plug",
18778
- "unplug"
18782
+ "read"
18779
18783
  ]
18780
18784
  },
18781
18785
  "selector": {
@@ -18796,14 +18800,34 @@
18796
18800
  "resource": {
18797
18801
  "type": "string",
18798
18802
  "enum": [
18799
- "pci"
18803
+ "host"
18800
18804
  ]
18801
18805
  },
18802
18806
  "action": {
18803
18807
  "type": "string",
18804
18808
  "enum": [
18809
+ "export",
18810
+ "shutdown",
18811
+ "start",
18812
+ "forget",
18813
+ "update",
18805
18814
  "*",
18806
- "read"
18815
+ "read",
18816
+ "allow-vm",
18817
+ "detach",
18818
+ "disable",
18819
+ "enable",
18820
+ "evacuate",
18821
+ "export:logs",
18822
+ "join-pool",
18823
+ "migrate-receive",
18824
+ "reboot",
18825
+ "reboot:clean",
18826
+ "reboot:smart",
18827
+ "restart-toolstack",
18828
+ "shutdown:clean",
18829
+ "shutdown:emergency",
18830
+ "update:tags"
18807
18831
  ]
18808
18832
  },
18809
18833
  "selector": {
@@ -18824,7 +18848,7 @@
18824
18848
  "resource": {
18825
18849
  "type": "string",
18826
18850
  "enum": [
18827
- "pgpu"
18851
+ "message"
18828
18852
  ]
18829
18853
  },
18830
18854
  "action": {
@@ -18852,7 +18876,7 @@
18852
18876
  "resource": {
18853
18877
  "type": "string",
18854
18878
  "enum": [
18855
- "pif"
18879
+ "network"
18856
18880
  ]
18857
18881
  },
18858
18882
  "action": {
@@ -18860,8 +18884,11 @@
18860
18884
  "enum": [
18861
18885
  "update",
18862
18886
  "*",
18887
+ "create",
18888
+ "delete",
18863
18889
  "read",
18864
- "update:management"
18890
+ "update:tags",
18891
+ "update:other_config"
18865
18892
  ]
18866
18893
  },
18867
18894
  "selector": {
@@ -18882,23 +18909,16 @@
18882
18909
  "resource": {
18883
18910
  "type": "string",
18884
18911
  "enum": [
18885
- "pool"
18912
+ "pbd"
18886
18913
  ]
18887
18914
  },
18888
18915
  "action": {
18889
18916
  "type": "string",
18890
18917
  "enum": [
18891
- "update",
18892
18918
  "*",
18893
- "create",
18894
18919
  "read",
18895
- "update:tags",
18896
- "add-host",
18897
- "create:network",
18898
- "create:vm",
18899
- "emergency-shutdown",
18900
- "rolling-reboot",
18901
- "rolling-update"
18920
+ "plug",
18921
+ "unplug"
18902
18922
  ]
18903
18923
  },
18904
18924
  "selector": {
@@ -18919,7 +18939,130 @@
18919
18939
  "resource": {
18920
18940
  "type": "string",
18921
18941
  "enum": [
18922
- "proxy"
18942
+ "pci"
18943
+ ]
18944
+ },
18945
+ "action": {
18946
+ "type": "string",
18947
+ "enum": [
18948
+ "*",
18949
+ "read"
18950
+ ]
18951
+ },
18952
+ "selector": {
18953
+ "type": "string"
18954
+ },
18955
+ "effect": {
18956
+ "type": "string",
18957
+ "enum": [
18958
+ "allow",
18959
+ "deny"
18960
+ ]
18961
+ }
18962
+ },
18963
+ "type": "object"
18964
+ },
18965
+ {
18966
+ "properties": {
18967
+ "resource": {
18968
+ "type": "string",
18969
+ "enum": [
18970
+ "pgpu"
18971
+ ]
18972
+ },
18973
+ "action": {
18974
+ "type": "string",
18975
+ "enum": [
18976
+ "*",
18977
+ "read"
18978
+ ]
18979
+ },
18980
+ "selector": {
18981
+ "type": "string"
18982
+ },
18983
+ "effect": {
18984
+ "type": "string",
18985
+ "enum": [
18986
+ "allow",
18987
+ "deny"
18988
+ ]
18989
+ }
18990
+ },
18991
+ "type": "object"
18992
+ },
18993
+ {
18994
+ "properties": {
18995
+ "resource": {
18996
+ "type": "string",
18997
+ "enum": [
18998
+ "pif"
18999
+ ]
19000
+ },
19001
+ "action": {
19002
+ "type": "string",
19003
+ "enum": [
19004
+ "update",
19005
+ "*",
19006
+ "read",
19007
+ "update:management"
19008
+ ]
19009
+ },
19010
+ "selector": {
19011
+ "type": "string"
19012
+ },
19013
+ "effect": {
19014
+ "type": "string",
19015
+ "enum": [
19016
+ "allow",
19017
+ "deny"
19018
+ ]
19019
+ }
19020
+ },
19021
+ "type": "object"
19022
+ },
19023
+ {
19024
+ "properties": {
19025
+ "resource": {
19026
+ "type": "string",
19027
+ "enum": [
19028
+ "pool"
19029
+ ]
19030
+ },
19031
+ "action": {
19032
+ "type": "string",
19033
+ "enum": [
19034
+ "update",
19035
+ "*",
19036
+ "create",
19037
+ "read",
19038
+ "update:tags",
19039
+ "add-host",
19040
+ "create:network",
19041
+ "create:vm",
19042
+ "emergency-shutdown",
19043
+ "rolling-reboot",
19044
+ "rolling-update"
19045
+ ]
19046
+ },
19047
+ "selector": {
19048
+ "type": "string"
19049
+ },
19050
+ "effect": {
19051
+ "type": "string",
19052
+ "enum": [
19053
+ "allow",
19054
+ "deny"
19055
+ ]
19056
+ }
19057
+ },
19058
+ "type": "object"
19059
+ },
19060
+ {
19061
+ "properties": {
19062
+ "resource": {
19063
+ "type": "string",
19064
+ "enum": [
19065
+ "proxy"
18923
19066
  ]
18924
19067
  },
18925
19068
  "action": {
@@ -19362,6 +19505,7 @@
19362
19505
  "create",
19363
19506
  "delete",
19364
19507
  "read",
19508
+ "update:other_config",
19365
19509
  "connect",
19366
19510
  "disconnect",
19367
19511
  "update:allowedIpv4Addresses",
@@ -19503,13 +19647,13 @@
19503
19647
  "*",
19504
19648
  "delete",
19505
19649
  "read",
19506
- "update:tags",
19507
- "migrate-send",
19508
19650
  "reboot",
19509
19651
  "reboot:clean",
19652
+ "shutdown:clean",
19653
+ "update:tags",
19654
+ "migrate-send",
19510
19655
  "reboot:hard",
19511
19656
  "revert-snapshot",
19512
- "shutdown:clean",
19513
19657
  "shutdown:hard",
19514
19658
  "update:affinityHost",
19515
19659
  "update:autoPoweron",
@@ -19607,7 +19751,7 @@
19607
19751
  },
19608
19752
  "info": {
19609
19753
  "title": "@xen-orchestra/rest-api",
19610
- "version": "0.34.0",
19754
+ "version": "0.35.0",
19611
19755
  "description": "REST API to manage your XOA",
19612
19756
  "license": {
19613
19757
  "name": "AGPL-3.0-or-later"
@@ -46890,22 +47034,678 @@
46890
47034
  }
46891
47035
  ],
46892
47036
  "requestBody": {
46893
- "required": true,
47037
+ "required": true,
47038
+ "content": {
47039
+ "application/json": {
47040
+ "schema": {
47041
+ "properties": {
47042
+ "pif": {
47043
+ "type": "string"
47044
+ }
47045
+ },
47046
+ "required": [
47047
+ "pif"
47048
+ ],
47049
+ "type": "object"
47050
+ },
47051
+ "example": {
47052
+ "pif": "d9e42451-3794-089f-de81-4ee0e6137bee"
47053
+ }
47054
+ }
47055
+ }
47056
+ },
47057
+ "x-mcp-exposure": "confirm"
47058
+ }
47059
+ },
47060
+ "/hosts/{id}/actions/disable": {
47061
+ "post": {
47062
+ "operationId": "Disable",
47063
+ "responses": {
47064
+ "202": {
47065
+ "description": "Action executed asynchronously",
47066
+ "content": {
47067
+ "application/json": {
47068
+ "schema": {
47069
+ "$ref": "#/components/schemas/CreateActionReturnType_void_"
47070
+ },
47071
+ "examples": {
47072
+ "Example 1": {
47073
+ "value": {
47074
+ "taskId": "0m7kl0j9l"
47075
+ }
47076
+ }
47077
+ }
47078
+ }
47079
+ }
47080
+ },
47081
+ "204": {
47082
+ "description": "No content"
47083
+ },
47084
+ "400": {
47085
+ "description": "Bad request"
47086
+ },
47087
+ "401": {
47088
+ "description": "Authentication required"
47089
+ },
47090
+ "403": {
47091
+ "description": "Forbidden"
47092
+ },
47093
+ "404": {
47094
+ "description": "Resource not found"
47095
+ },
47096
+ "422": {
47097
+ "description": "Invalid parameters"
47098
+ },
47099
+ "500": {
47100
+ "description": "Internal server error, XenServer/XCP-ng error"
47101
+ }
47102
+ },
47103
+ "description": "Required privileges:\n- resource: host, action: disable\n- resource: host, action: evacuate (if `evacuate: true`)\n\nDisable a host.\n\nSet `evacuate` to `true` to also evacuate all running VMs to other hosts in the pool.\n\nUse `vmIdsToForceMigrate` to unblock VMs whose migration is currently blocked (e.g. by `pool_migrate` or `migrate_send` blocked operations).\n\nUse `force` to ignore evacuation errors.",
47104
+ "tags": [
47105
+ "hosts"
47106
+ ],
47107
+ "security": [
47108
+ {
47109
+ "*": []
47110
+ }
47111
+ ],
47112
+ "parameters": [
47113
+ {
47114
+ "in": "path",
47115
+ "name": "id",
47116
+ "required": true,
47117
+ "schema": {
47118
+ "type": "string"
47119
+ },
47120
+ "example": "b61a5c92-700e-4966-a13b-00633f03eea8"
47121
+ },
47122
+ {
47123
+ "in": "query",
47124
+ "name": "sync",
47125
+ "required": false,
47126
+ "schema": {
47127
+ "type": "boolean"
47128
+ }
47129
+ }
47130
+ ],
47131
+ "requestBody": {
47132
+ "required": false,
47133
+ "content": {
47134
+ "application/json": {
47135
+ "schema": {
47136
+ "anyOf": [
47137
+ {
47138
+ "properties": {
47139
+ "evacuate": {
47140
+ "type": "boolean",
47141
+ "enum": [
47142
+ false
47143
+ ],
47144
+ "nullable": false
47145
+ }
47146
+ },
47147
+ "type": "object"
47148
+ },
47149
+ {
47150
+ "properties": {
47151
+ "vmIdsToForceMigrate": {
47152
+ "items": {
47153
+ "type": "string"
47154
+ },
47155
+ "type": "array"
47156
+ },
47157
+ "force": {
47158
+ "type": "boolean"
47159
+ },
47160
+ "evacuate": {
47161
+ "type": "boolean",
47162
+ "enum": [
47163
+ true
47164
+ ],
47165
+ "nullable": false
47166
+ }
47167
+ },
47168
+ "required": [
47169
+ "evacuate"
47170
+ ],
47171
+ "type": "object"
47172
+ }
47173
+ ]
47174
+ },
47175
+ "example": {
47176
+ "evacuate": true,
47177
+ "vmIdsToForceMigrate": [
47178
+ "f07ab729-c0e8-721c-45ec-f11276377030"
47179
+ ]
47180
+ }
47181
+ }
47182
+ }
47183
+ },
47184
+ "x-mcp-exposure": "confirm"
47185
+ }
47186
+ },
47187
+ "/hosts/{id}/actions/enable": {
47188
+ "post": {
47189
+ "operationId": "Enable",
47190
+ "responses": {
47191
+ "202": {
47192
+ "description": "Action executed asynchronously",
47193
+ "content": {
47194
+ "application/json": {
47195
+ "schema": {
47196
+ "$ref": "#/components/schemas/CreateActionReturnType_void_"
47197
+ },
47198
+ "examples": {
47199
+ "Example 1": {
47200
+ "value": {
47201
+ "taskId": "0m7kl0j9l"
47202
+ }
47203
+ }
47204
+ }
47205
+ }
47206
+ }
47207
+ },
47208
+ "204": {
47209
+ "description": "No content"
47210
+ },
47211
+ "400": {
47212
+ "description": "Bad request"
47213
+ },
47214
+ "401": {
47215
+ "description": "Authentication required"
47216
+ },
47217
+ "403": {
47218
+ "description": "Forbidden"
47219
+ },
47220
+ "404": {
47221
+ "description": "Resource not found"
47222
+ },
47223
+ "500": {
47224
+ "description": "Internal server error, XenServer/XCP-ng error"
47225
+ }
47226
+ },
47227
+ "description": "Required privilege:\n- resource: host, action: enable\n\nEnable a host, taking it out of disabled state.",
47228
+ "tags": [
47229
+ "hosts"
47230
+ ],
47231
+ "security": [
47232
+ {
47233
+ "*": []
47234
+ }
47235
+ ],
47236
+ "parameters": [
47237
+ {
47238
+ "in": "path",
47239
+ "name": "id",
47240
+ "required": true,
47241
+ "schema": {
47242
+ "type": "string"
47243
+ },
47244
+ "example": "b61a5c92-700e-4966-a13b-00633f03eea8"
47245
+ },
47246
+ {
47247
+ "in": "query",
47248
+ "name": "sync",
47249
+ "required": false,
47250
+ "schema": {
47251
+ "type": "boolean"
47252
+ }
47253
+ }
47254
+ ],
47255
+ "x-mcp-exposure": "confirm"
47256
+ }
47257
+ },
47258
+ "/hosts/{id}/actions/start": {
47259
+ "post": {
47260
+ "operationId": "StartHost",
47261
+ "responses": {
47262
+ "202": {
47263
+ "description": "Action executed asynchronously",
47264
+ "content": {
47265
+ "application/json": {
47266
+ "schema": {
47267
+ "$ref": "#/components/schemas/CreateActionReturnType_void_"
47268
+ },
47269
+ "examples": {
47270
+ "Example 1": {
47271
+ "value": {
47272
+ "taskId": "0m7kl0j9l"
47273
+ }
47274
+ }
47275
+ }
47276
+ }
47277
+ }
47278
+ },
47279
+ "204": {
47280
+ "description": "No content"
47281
+ },
47282
+ "400": {
47283
+ "description": "Bad request"
47284
+ },
47285
+ "401": {
47286
+ "description": "Authentication required"
47287
+ },
47288
+ "403": {
47289
+ "description": "Forbidden"
47290
+ },
47291
+ "404": {
47292
+ "description": "Resource not found"
47293
+ },
47294
+ "500": {
47295
+ "description": "Internal server error, XenServer/XCP-ng error"
47296
+ }
47297
+ },
47298
+ "description": "Required privilege:\n- resource: host, action: start\n\nStart a host.",
47299
+ "tags": [
47300
+ "hosts"
47301
+ ],
47302
+ "security": [
47303
+ {
47304
+ "*": []
47305
+ }
47306
+ ],
47307
+ "parameters": [
47308
+ {
47309
+ "in": "path",
47310
+ "name": "id",
47311
+ "required": true,
47312
+ "schema": {
47313
+ "type": "string"
47314
+ },
47315
+ "example": "b61a5c92-700e-4966-a13b-00633f03eea8"
47316
+ },
47317
+ {
47318
+ "in": "query",
47319
+ "name": "sync",
47320
+ "required": false,
47321
+ "schema": {
47322
+ "type": "boolean"
47323
+ }
47324
+ }
47325
+ ],
47326
+ "x-mcp-exposure": "confirm"
47327
+ }
47328
+ },
47329
+ "/hosts/{id}/actions/clean_shutdown": {
47330
+ "post": {
47331
+ "operationId": "CleanShutdownHost",
47332
+ "responses": {
47333
+ "202": {
47334
+ "description": "Action executed asynchronously",
47335
+ "content": {
47336
+ "application/json": {
47337
+ "schema": {
47338
+ "$ref": "#/components/schemas/CreateActionReturnType_void_"
47339
+ },
47340
+ "examples": {
47341
+ "Example 1": {
47342
+ "value": {
47343
+ "taskId": "0m7kl0j9l"
47344
+ }
47345
+ }
47346
+ }
47347
+ }
47348
+ }
47349
+ },
47350
+ "204": {
47351
+ "description": "No content"
47352
+ },
47353
+ "400": {
47354
+ "description": "Bad request"
47355
+ },
47356
+ "401": {
47357
+ "description": "Authentication required"
47358
+ },
47359
+ "403": {
47360
+ "description": "Forbidden"
47361
+ },
47362
+ "404": {
47363
+ "description": "Resource not found"
47364
+ },
47365
+ "500": {
47366
+ "description": "Internal server error, XenServer/XCP-ng error"
47367
+ }
47368
+ },
47369
+ "description": "Required privilege:\n- resource: host, action: shutdown:clean\n\nShutdown a host.",
47370
+ "tags": [
47371
+ "hosts"
47372
+ ],
47373
+ "security": [
47374
+ {
47375
+ "*": []
47376
+ }
47377
+ ],
47378
+ "parameters": [
47379
+ {
47380
+ "in": "path",
47381
+ "name": "id",
47382
+ "required": true,
47383
+ "schema": {
47384
+ "type": "string"
47385
+ },
47386
+ "example": "b61a5c92-700e-4966-a13b-00633f03eea8"
47387
+ },
47388
+ {
47389
+ "in": "query",
47390
+ "name": "sync",
47391
+ "required": false,
47392
+ "schema": {
47393
+ "type": "boolean"
47394
+ }
47395
+ }
47396
+ ],
47397
+ "requestBody": {
47398
+ "required": false,
47399
+ "content": {
47400
+ "application/json": {
47401
+ "schema": {
47402
+ "properties": {
47403
+ "bypassEvacuate": {
47404
+ "type": "boolean",
47405
+ "description": "Shut down without evacuating running VMs first. Defaults to false."
47406
+ },
47407
+ "bypassBackupCheck": {
47408
+ "type": "boolean",
47409
+ "description": "Skip the backup safety check before shutting down. Defaults to false."
47410
+ }
47411
+ },
47412
+ "type": "object"
47413
+ },
47414
+ "example": {
47415
+ "bypassBackupCheck": false,
47416
+ "bypassEvacuate": false
47417
+ }
47418
+ }
47419
+ }
47420
+ },
47421
+ "x-mcp-exposure": "deny"
47422
+ }
47423
+ },
47424
+ "/hosts/{id}/actions/clean_reboot": {
47425
+ "post": {
47426
+ "operationId": "CleanRebootHost",
47427
+ "responses": {
47428
+ "202": {
47429
+ "description": "Action executed asynchronously",
47430
+ "content": {
47431
+ "application/json": {
47432
+ "schema": {
47433
+ "$ref": "#/components/schemas/CreateActionReturnType_void_"
47434
+ },
47435
+ "examples": {
47436
+ "Example 1": {
47437
+ "value": {
47438
+ "taskId": "0m7kl0j9l"
47439
+ }
47440
+ }
47441
+ }
47442
+ }
47443
+ }
47444
+ },
47445
+ "204": {
47446
+ "description": "No content"
47447
+ },
47448
+ "400": {
47449
+ "description": "Bad request"
47450
+ },
47451
+ "401": {
47452
+ "description": "Authentication required"
47453
+ },
47454
+ "403": {
47455
+ "description": "Forbidden"
47456
+ },
47457
+ "404": {
47458
+ "description": "Resource not found"
47459
+ },
47460
+ "500": {
47461
+ "description": "Internal server error, XenServer/XCP-ng error"
47462
+ }
47463
+ },
47464
+ "description": "Required privilege:\n- resource: host, action: reboot:clean\n\nReboot a host by evacuating its VMs to other hosts first.\n\nChecks for active backup jobs and version compatibility before rebooting.",
47465
+ "tags": [
47466
+ "hosts"
47467
+ ],
47468
+ "security": [
47469
+ {
47470
+ "*": []
47471
+ }
47472
+ ],
47473
+ "parameters": [
47474
+ {
47475
+ "in": "path",
47476
+ "name": "id",
47477
+ "required": true,
47478
+ "schema": {
47479
+ "type": "string"
47480
+ },
47481
+ "example": "b61a5c92-700e-4966-a13b-00633f03eea8"
47482
+ },
47483
+ {
47484
+ "in": "query",
47485
+ "name": "sync",
47486
+ "required": false,
47487
+ "schema": {
47488
+ "type": "boolean"
47489
+ }
47490
+ }
47491
+ ],
47492
+ "requestBody": {
47493
+ "required": false,
47494
+ "content": {
47495
+ "application/json": {
47496
+ "schema": {
47497
+ "properties": {
47498
+ "bypassVersionCheck": {
47499
+ "type": "boolean",
47500
+ "description": "Skip the version/upgrade compatibility check before rebooting. Defaults to false."
47501
+ },
47502
+ "bypassBackupCheck": {
47503
+ "type": "boolean",
47504
+ "description": "Skip the backup safety check before rebooting. Defaults to false."
47505
+ },
47506
+ "force": {
47507
+ "type": "boolean",
47508
+ "description": "Force the reboot, ignoring evacuation errors. Defaults to false."
47509
+ }
47510
+ },
47511
+ "type": "object"
47512
+ },
47513
+ "example": {
47514
+ "force": false,
47515
+ "bypassBackupCheck": false,
47516
+ "bypassVersionCheck": false
47517
+ }
47518
+ }
47519
+ }
47520
+ },
47521
+ "x-mcp-exposure": "deny"
47522
+ }
47523
+ },
47524
+ "/hosts/{id}/actions/smart_reboot": {
47525
+ "post": {
47526
+ "operationId": "SmartRebootHost",
47527
+ "responses": {
47528
+ "202": {
47529
+ "description": "Action executed asynchronously",
47530
+ "content": {
47531
+ "application/json": {
47532
+ "schema": {
47533
+ "$ref": "#/components/schemas/CreateActionReturnType_void_"
47534
+ },
47535
+ "examples": {
47536
+ "Example 1": {
47537
+ "value": {
47538
+ "taskId": "0m7kl0j9l"
47539
+ }
47540
+ }
47541
+ }
47542
+ }
47543
+ }
47544
+ },
47545
+ "204": {
47546
+ "description": "No content"
47547
+ },
47548
+ "400": {
47549
+ "description": "Bad request"
47550
+ },
47551
+ "401": {
47552
+ "description": "Authentication required"
47553
+ },
47554
+ "403": {
47555
+ "description": "Feature unauthorized"
47556
+ },
47557
+ "404": {
47558
+ "description": "Resource not found"
47559
+ },
47560
+ "500": {
47561
+ "description": "Internal server error, XenServer/XCP-ng error"
47562
+ }
47563
+ },
47564
+ "description": "Required privilege:\n- resource: host, action: reboot:smart\n\nReboot a host by suspending its VMs in place.",
47565
+ "tags": [
47566
+ "hosts"
47567
+ ],
47568
+ "security": [
47569
+ {
47570
+ "*": []
47571
+ }
47572
+ ],
47573
+ "parameters": [
47574
+ {
47575
+ "in": "path",
47576
+ "name": "id",
47577
+ "required": true,
47578
+ "schema": {
47579
+ "type": "string"
47580
+ },
47581
+ "example": "b61a5c92-700e-4966-a13b-00633f03eea8"
47582
+ },
47583
+ {
47584
+ "in": "query",
47585
+ "name": "sync",
47586
+ "required": false,
47587
+ "schema": {
47588
+ "type": "boolean"
47589
+ }
47590
+ }
47591
+ ],
47592
+ "requestBody": {
47593
+ "required": false,
47594
+ "content": {
47595
+ "application/json": {
47596
+ "schema": {
47597
+ "properties": {
47598
+ "bypassCurrentVmCheck": {
47599
+ "type": "boolean",
47600
+ "description": "Skip the check that blocks smart reboot when XOA is running on this host. Defaults to false."
47601
+ },
47602
+ "bypassBlockedSuspend": {
47603
+ "type": "boolean",
47604
+ "description": "Allow suspending VMs even if suspend is blocked. Defaults to false."
47605
+ },
47606
+ "bypassVersionCheck": {
47607
+ "type": "boolean",
47608
+ "description": "Skip the version/upgrade compatibility check before rebooting. Defaults to false."
47609
+ },
47610
+ "bypassBackupCheck": {
47611
+ "type": "boolean",
47612
+ "description": "Skip the backup safety check before rebooting. Defaults to false."
47613
+ }
47614
+ },
47615
+ "type": "object"
47616
+ },
47617
+ "example": {
47618
+ "bypassBackupCheck": false,
47619
+ "bypassVersionCheck": false,
47620
+ "bypassBlockedSuspend": false,
47621
+ "bypassCurrentVmCheck": false
47622
+ }
47623
+ }
47624
+ }
47625
+ },
47626
+ "x-mcp-exposure": "deny"
47627
+ }
47628
+ },
47629
+ "/hosts/{id}/actions/restart_toolstack": {
47630
+ "post": {
47631
+ "operationId": "RestartHostToolstack",
47632
+ "responses": {
47633
+ "202": {
47634
+ "description": "Action executed asynchronously",
47635
+ "content": {
47636
+ "application/json": {
47637
+ "schema": {
47638
+ "$ref": "#/components/schemas/CreateActionReturnType_void_"
47639
+ },
47640
+ "examples": {
47641
+ "Example 1": {
47642
+ "value": {
47643
+ "taskId": "0m7kl0j9l"
47644
+ }
47645
+ }
47646
+ }
47647
+ }
47648
+ }
47649
+ },
47650
+ "204": {
47651
+ "description": "No content"
47652
+ },
47653
+ "400": {
47654
+ "description": "Bad request"
47655
+ },
47656
+ "401": {
47657
+ "description": "Authentication required"
47658
+ },
47659
+ "403": {
47660
+ "description": "Forbidden"
47661
+ },
47662
+ "404": {
47663
+ "description": "Resource not found"
47664
+ },
47665
+ "500": {
47666
+ "description": "Internal server error, XenServer/XCP-ng error"
47667
+ }
47668
+ },
47669
+ "description": "Required privilege:\n- resource: host, action: restart-toolstack\n\nRestart a host's toolstack.",
47670
+ "tags": [
47671
+ "hosts"
47672
+ ],
47673
+ "security": [
47674
+ {
47675
+ "*": []
47676
+ }
47677
+ ],
47678
+ "parameters": [
47679
+ {
47680
+ "in": "path",
47681
+ "name": "id",
47682
+ "required": true,
47683
+ "schema": {
47684
+ "type": "string"
47685
+ },
47686
+ "example": "b61a5c92-700e-4966-a13b-00633f03eea8"
47687
+ },
47688
+ {
47689
+ "in": "query",
47690
+ "name": "sync",
47691
+ "required": false,
47692
+ "schema": {
47693
+ "type": "boolean"
47694
+ }
47695
+ }
47696
+ ],
47697
+ "requestBody": {
47698
+ "required": false,
46894
47699
  "content": {
46895
47700
  "application/json": {
46896
47701
  "schema": {
46897
47702
  "properties": {
46898
- "pif": {
46899
- "type": "string"
47703
+ "bypassBackupCheck": {
47704
+ "type": "boolean",
47705
+ "description": "Skip the backup safety check before restarting the toolstack. Defaults to false."
46900
47706
  }
46901
47707
  },
46902
- "required": [
46903
- "pif"
46904
- ],
46905
47708
  "type": "object"
46906
- },
46907
- "example": {
46908
- "pif": "d9e42451-3794-089f-de81-4ee0e6137bee"
46909
47709
  }
46910
47710
  }
46911
47711
  }
@@ -46913,9 +47713,9 @@
46913
47713
  "x-mcp-exposure": "confirm"
46914
47714
  }
46915
47715
  },
46916
- "/hosts/{id}/actions/disable": {
47716
+ "/hosts/{id}/actions/emergency_shutdown": {
46917
47717
  "post": {
46918
- "operationId": "Disable",
47718
+ "operationId": "EmergencyShutdownHost",
46919
47719
  "responses": {
46920
47720
  "202": {
46921
47721
  "description": "Action executed asynchronously",
@@ -46949,14 +47749,11 @@
46949
47749
  "404": {
46950
47750
  "description": "Resource not found"
46951
47751
  },
46952
- "422": {
46953
- "description": "Invalid parameters"
46954
- },
46955
47752
  "500": {
46956
47753
  "description": "Internal server error, XenServer/XCP-ng error"
46957
47754
  }
46958
47755
  },
46959
- "description": "Required privileges:\n- resource: host, action: disable\n- resource: host, action: evacuate (if `evacuate: true`)\n\nDisable a host.\n\nSet `evacuate` to `true` to also evacuate all running VMs to other hosts in the pool.\n\nUse `vmIdsToForceMigrate` to unblock VMs whose migration is currently blocked (e.g. by `pool_migrate` or `migrate_send` blocked operations).\n\nUse `force` to ignore evacuation errors.",
47756
+ "description": "Required privilege:\n- resource: host, action: shutdown:emergency\n\nShut down a host by disabling it, suspending its VMs in place, and powering off without migrating them.\n\nUnlike `clean_shutdown`, VMs are not evacuated to other hosts, they are suspended\non the same host (errors are ignored) before the host shuts down.\nNo backup check is performed.",
46960
47757
  "tags": [
46961
47758
  "hosts"
46962
47759
  ],
@@ -46984,65 +47781,83 @@
46984
47781
  }
46985
47782
  }
46986
47783
  ],
46987
- "requestBody": {
46988
- "required": false,
46989
- "content": {
46990
- "application/json": {
46991
- "schema": {
46992
- "anyOf": [
46993
- {
46994
- "properties": {
46995
- "evacuate": {
46996
- "type": "boolean",
46997
- "enum": [
46998
- false
46999
- ],
47000
- "nullable": false
47001
- }
47002
- },
47003
- "type": "object"
47004
- },
47005
- {
47006
- "properties": {
47007
- "vmIdsToForceMigrate": {
47008
- "items": {
47009
- "type": "string"
47010
- },
47011
- "type": "array"
47012
- },
47013
- "force": {
47014
- "type": "boolean"
47015
- },
47016
- "evacuate": {
47017
- "type": "boolean",
47018
- "enum": [
47019
- true
47020
- ],
47021
- "nullable": false
47022
- }
47023
- },
47024
- "required": [
47025
- "evacuate"
47026
- ],
47027
- "type": "object"
47784
+ "x-mcp-exposure": "deny"
47785
+ }
47786
+ },
47787
+ "/hosts/{id}/actions/detach": {
47788
+ "post": {
47789
+ "operationId": "DetachHost",
47790
+ "responses": {
47791
+ "202": {
47792
+ "description": "Action executed asynchronously",
47793
+ "content": {
47794
+ "application/json": {
47795
+ "schema": {
47796
+ "$ref": "#/components/schemas/CreateActionReturnType_void_"
47797
+ },
47798
+ "examples": {
47799
+ "Example 1": {
47800
+ "value": {
47801
+ "taskId": "0m7kl0j9l"
47802
+ }
47028
47803
  }
47029
- ]
47030
- },
47031
- "example": {
47032
- "evacuate": true,
47033
- "vmIdsToForceMigrate": [
47034
- "f07ab729-c0e8-721c-45ec-f11276377030"
47035
- ]
47804
+ }
47036
47805
  }
47037
47806
  }
47807
+ },
47808
+ "204": {
47809
+ "description": "No content"
47810
+ },
47811
+ "400": {
47812
+ "description": "Bad request"
47813
+ },
47814
+ "401": {
47815
+ "description": "Authentication required"
47816
+ },
47817
+ "403": {
47818
+ "description": "Forbidden"
47819
+ },
47820
+ "404": {
47821
+ "description": "Resource not found"
47822
+ },
47823
+ "500": {
47824
+ "description": "Internal server error, XenServer/XCP-ng error"
47038
47825
  }
47039
47826
  },
47040
- "x-mcp-exposure": "confirm"
47827
+ "description": "Required privilege:\n- resource: host, action: detach\n\nDetaches a host from its pool.",
47828
+ "tags": [
47829
+ "hosts"
47830
+ ],
47831
+ "security": [
47832
+ {
47833
+ "*": []
47834
+ }
47835
+ ],
47836
+ "parameters": [
47837
+ {
47838
+ "in": "path",
47839
+ "name": "id",
47840
+ "required": true,
47841
+ "schema": {
47842
+ "type": "string"
47843
+ },
47844
+ "example": "b61a5c92-700e-4966-a13b-00633f03eea8"
47845
+ },
47846
+ {
47847
+ "in": "query",
47848
+ "name": "sync",
47849
+ "required": false,
47850
+ "schema": {
47851
+ "type": "boolean"
47852
+ }
47853
+ }
47854
+ ],
47855
+ "x-mcp-exposure": "deny"
47041
47856
  }
47042
47857
  },
47043
- "/hosts/{id}/actions/enable": {
47858
+ "/hosts/{id}/actions/forget": {
47044
47859
  "post": {
47045
- "operationId": "Enable",
47860
+ "operationId": "ForgetHost",
47046
47861
  "responses": {
47047
47862
  "202": {
47048
47863
  "description": "Action executed asynchronously",
@@ -47076,11 +47891,14 @@
47076
47891
  "404": {
47077
47892
  "description": "Resource not found"
47078
47893
  },
47894
+ "409": {
47895
+ "description": "Incorrect state"
47896
+ },
47079
47897
  "500": {
47080
47898
  "description": "Internal server error, XenServer/XCP-ng error"
47081
47899
  }
47082
47900
  },
47083
- "description": "Required privilege:\n- resource: host, action: enable\n\nEnable a host, taking it out of disabled state.",
47901
+ "description": "Required privilege:\n- resource: host, action: forget\n\nForgets a host, host must not be running.",
47084
47902
  "tags": [
47085
47903
  "hosts"
47086
47904
  ],
@@ -47108,7 +47926,7 @@
47108
47926
  }
47109
47927
  }
47110
47928
  ],
47111
- "x-mcp-exposure": "confirm"
47929
+ "x-mcp-exposure": "deny"
47112
47930
  }
47113
47931
  },
47114
47932
  "/groups": {
@@ -48355,6 +49173,144 @@
48355
49173
  "x-mcp-exposure": "confirm"
48356
49174
  }
48357
49175
  },
49176
+ "/backup-repositories/{id}/health": {
49177
+ "get": {
49178
+ "operationId": "GetBackupRepositoryHealth",
49179
+ "responses": {
49180
+ "200": {
49181
+ "description": "OK",
49182
+ "content": {
49183
+ "application/json": {
49184
+ "schema": {
49185
+ "$ref": "#/components/schemas/ReturnType_XoApp-at-pingRemote_"
49186
+ },
49187
+ "examples": {
49188
+ "Example 1": {
49189
+ "value": {
49190
+ "success": true
49191
+ }
49192
+ }
49193
+ }
49194
+ }
49195
+ }
49196
+ },
49197
+ "400": {
49198
+ "description": "Bad request"
49199
+ },
49200
+ "401": {
49201
+ "description": "Authentication required"
49202
+ },
49203
+ "403": {
49204
+ "description": "Forbidden"
49205
+ },
49206
+ "500": {
49207
+ "description": "Internal server error, XenServer/XCP-ng error"
49208
+ }
49209
+ },
49210
+ "description": "Pings the backup-repository to check its health\n\nRequired privilege:\n- resource: backup-repository, action: read",
49211
+ "tags": [
49212
+ "backup-repositories"
49213
+ ],
49214
+ "security": [
49215
+ {
49216
+ "*": []
49217
+ }
49218
+ ],
49219
+ "parameters": [
49220
+ {
49221
+ "in": "path",
49222
+ "name": "id",
49223
+ "required": true,
49224
+ "schema": {
49225
+ "type": "string"
49226
+ },
49227
+ "example": "c4284e12-37c9-7967-b9e8-83ef229c3e03"
49228
+ }
49229
+ ],
49230
+ "x-mcp-exposure": "allow"
49231
+ }
49232
+ },
49233
+ "/backup-repositories/{id}/actions/benchmark": {
49234
+ "post": {
49235
+ "operationId": "BenchmarkBackupRepository",
49236
+ "responses": {
49237
+ "200": {
49238
+ "description": "Ok"
49239
+ },
49240
+ "202": {
49241
+ "description": "Action executed asynchronously",
49242
+ "content": {
49243
+ "application/json": {
49244
+ "schema": {
49245
+ "$ref": "#/components/schemas/CreateActionReturnType_BenchmarkRepositoryResult_"
49246
+ },
49247
+ "examples": {
49248
+ "Example 1": {
49249
+ "value": {
49250
+ "taskId": "0m7kl0j9l"
49251
+ }
49252
+ },
49253
+ "Example 2": {
49254
+ "value": {
49255
+ "success": true,
49256
+ "readRate": 7999965,
49257
+ "writeRate": 7767798
49258
+ }
49259
+ }
49260
+ }
49261
+ }
49262
+ }
49263
+ },
49264
+ "400": {
49265
+ "description": "Benchmark failed"
49266
+ },
49267
+ "401": {
49268
+ "description": "Authentication required"
49269
+ },
49270
+ "403": {
49271
+ "description": "Forbidden"
49272
+ },
49273
+ "404": {
49274
+ "description": "Resource not found"
49275
+ },
49276
+ "500": {
49277
+ "description": "Internal server error, XenServer/XCP-ng error"
49278
+ },
49279
+ "502": {
49280
+ "description": "Backup repository unreachable"
49281
+ }
49282
+ },
49283
+ "description": "Runs a benchmark for write and read speed on the Backup-repository.\nSaves the benchmark result on the BR and returns the results, speeds are in bytes/sec.\n502 if the BR cannot be reached, 400 if there was a problem during the benchmark with the error.\n\nRequired privilege:\n- resource: backup-repository, action: benchmark",
49284
+ "tags": [
49285
+ "backup-repositories"
49286
+ ],
49287
+ "security": [
49288
+ {
49289
+ "*": []
49290
+ }
49291
+ ],
49292
+ "parameters": [
49293
+ {
49294
+ "in": "path",
49295
+ "name": "id",
49296
+ "required": true,
49297
+ "schema": {
49298
+ "type": "string"
49299
+ },
49300
+ "example": "c4284e12-37c9-7967-b9e8-83ef229c3e03"
49301
+ },
49302
+ {
49303
+ "in": "query",
49304
+ "name": "sync",
49305
+ "required": false,
49306
+ "schema": {
49307
+ "type": "boolean"
49308
+ }
49309
+ }
49310
+ ],
49311
+ "x-mcp-exposure": "confirm"
49312
+ }
49313
+ },
48358
49314
  "/backup-logs": {
48359
49315
  "get": {
48360
49316
  "operationId": "GetBackupLogs",