@xen-orchestra/rest-api 0.33.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.
- package/README.md +32 -0
- package/dist/backup-jobs/backup-job.service.mjs +4 -0
- package/dist/backup-repositories/backup-repositories.controller.mjs +197 -6
- package/dist/backup-repositories/backup-repository.service.mjs +46 -0
- package/dist/hosts/host.controller.mjs +332 -2
- package/dist/hosts/host.service.mjs +76 -0
- package/dist/ioc/ioc.mjs +8 -0
- package/dist/middlewares/acl.middleware.mjs +10 -1
- package/dist/middlewares/deprecated.middleware.mjs +10 -0
- package/dist/middlewares/generic-error-handler.middleware.mjs +1 -0
- package/dist/open-api/oa-examples/backup-repository.oa-example.mjs +7 -0
- package/dist/open-api/routes/routes.js +488 -20
- package/dist/open-api/schema/build-openapi-schema.mjs +8 -1
- package/dist/pbds/pbd.controller.mjs +10 -0
- package/dist/pools/pool.controller.mjs +48 -0
- package/dist/router/external-router.mjs +4 -1
- package/dist/srs/sr.controller.mjs +15 -0
- package/dist/vbds/vbd.controller.mjs +20 -1
- package/dist/vdi-snapshots/vdi-snapshot.controller.mjs +27 -2
- package/dist/vdis/vdi.controller.mjs +26 -2
- package/dist/vifs/vif.controller.mjs +79 -6
- package/dist/vm-snapshots/vm-snapshot.controller.mjs +2 -1
- package/dist/vm-templates/vm-template.controller.mjs +2 -1
- package/dist/vms/vm.controller.mjs +21 -3
- package/dist/vms/vm.service.mjs +12 -11
- package/open-api/spec/swagger.json +1701 -76
- package/package.json +7 -7
|
@@ -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
|
-
"
|
|
2930
|
-
"
|
|
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,17 @@
|
|
|
7569
7614
|
"action": {
|
|
7570
7615
|
"type": "string",
|
|
7571
7616
|
"enum": [
|
|
7617
|
+
"forget",
|
|
7618
|
+
"update",
|
|
7572
7619
|
"*",
|
|
7573
|
-
"
|
|
7620
|
+
"create",
|
|
7621
|
+
"read",
|
|
7622
|
+
"update:name",
|
|
7623
|
+
"benchmark",
|
|
7624
|
+
"update:enabled",
|
|
7625
|
+
"update:options",
|
|
7626
|
+
"update:proxy",
|
|
7627
|
+
"update:url"
|
|
7574
7628
|
]
|
|
7575
7629
|
},
|
|
7576
7630
|
"selector": {
|
|
@@ -7677,14 +7731,26 @@
|
|
|
7677
7731
|
"type": "string",
|
|
7678
7732
|
"enum": [
|
|
7679
7733
|
"export",
|
|
7734
|
+
"shutdown",
|
|
7735
|
+
"start",
|
|
7736
|
+
"forget",
|
|
7680
7737
|
"update",
|
|
7681
7738
|
"*",
|
|
7682
7739
|
"read",
|
|
7683
7740
|
"allow-vm",
|
|
7741
|
+
"detach",
|
|
7684
7742
|
"disable",
|
|
7685
7743
|
"enable",
|
|
7686
7744
|
"evacuate",
|
|
7687
7745
|
"export:logs",
|
|
7746
|
+
"join-pool",
|
|
7747
|
+
"migrate-receive",
|
|
7748
|
+
"reboot",
|
|
7749
|
+
"reboot:clean",
|
|
7750
|
+
"reboot:smart",
|
|
7751
|
+
"restart-toolstack",
|
|
7752
|
+
"shutdown:clean",
|
|
7753
|
+
"shutdown:emergency",
|
|
7688
7754
|
"update:tags"
|
|
7689
7755
|
]
|
|
7690
7756
|
},
|
|
@@ -7757,7 +7823,8 @@
|
|
|
7757
7823
|
"create",
|
|
7758
7824
|
"delete",
|
|
7759
7825
|
"read",
|
|
7760
|
-
"update:tags"
|
|
7826
|
+
"update:tags",
|
|
7827
|
+
"update:other_config"
|
|
7761
7828
|
]
|
|
7762
7829
|
},
|
|
7763
7830
|
"selector": {
|
|
@@ -7791,7 +7858,9 @@
|
|
|
7791
7858
|
"type": "string",
|
|
7792
7859
|
"enum": [
|
|
7793
7860
|
"*",
|
|
7794
|
-
"read"
|
|
7861
|
+
"read",
|
|
7862
|
+
"plug",
|
|
7863
|
+
"unplug"
|
|
7795
7864
|
]
|
|
7796
7865
|
},
|
|
7797
7866
|
"selector": {
|
|
@@ -7933,6 +8002,7 @@
|
|
|
7933
8002
|
"create",
|
|
7934
8003
|
"read",
|
|
7935
8004
|
"update:tags",
|
|
8005
|
+
"add-host",
|
|
7936
8006
|
"create:network",
|
|
7937
8007
|
"create:vm",
|
|
7938
8008
|
"emergency-shutdown",
|
|
@@ -8146,13 +8216,17 @@
|
|
|
8146
8216
|
"type": "string",
|
|
8147
8217
|
"enum": [
|
|
8148
8218
|
"import",
|
|
8219
|
+
"forget",
|
|
8149
8220
|
"update",
|
|
8150
8221
|
"*",
|
|
8151
8222
|
"delete",
|
|
8152
8223
|
"read",
|
|
8224
|
+
"migrate-receive",
|
|
8153
8225
|
"update:tags",
|
|
8154
8226
|
"import:vdi",
|
|
8155
|
-
"import:vm"
|
|
8227
|
+
"import:vm",
|
|
8228
|
+
"reclaim-space",
|
|
8229
|
+
"scan"
|
|
8156
8230
|
]
|
|
8157
8231
|
},
|
|
8158
8232
|
"selector": {
|
|
@@ -8263,7 +8337,11 @@
|
|
|
8263
8337
|
"type": "string",
|
|
8264
8338
|
"enum": [
|
|
8265
8339
|
"*",
|
|
8266
|
-
"
|
|
8340
|
+
"create",
|
|
8341
|
+
"delete",
|
|
8342
|
+
"read",
|
|
8343
|
+
"connect",
|
|
8344
|
+
"disconnect"
|
|
8267
8345
|
]
|
|
8268
8346
|
},
|
|
8269
8347
|
"selector": {
|
|
@@ -8296,8 +8374,12 @@
|
|
|
8296
8374
|
"action": {
|
|
8297
8375
|
"type": "string",
|
|
8298
8376
|
"enum": [
|
|
8377
|
+
"export",
|
|
8378
|
+
"update",
|
|
8299
8379
|
"*",
|
|
8300
|
-
"
|
|
8380
|
+
"delete",
|
|
8381
|
+
"read",
|
|
8382
|
+
"update:tags"
|
|
8301
8383
|
]
|
|
8302
8384
|
},
|
|
8303
8385
|
"selector": {
|
|
@@ -8372,7 +8454,8 @@
|
|
|
8372
8454
|
"read",
|
|
8373
8455
|
"update:tags",
|
|
8374
8456
|
"export-content",
|
|
8375
|
-
"import-content"
|
|
8457
|
+
"import-content",
|
|
8458
|
+
"migrate-send"
|
|
8376
8459
|
]
|
|
8377
8460
|
},
|
|
8378
8461
|
"selector": {
|
|
@@ -8473,9 +8556,19 @@
|
|
|
8473
8556
|
"action": {
|
|
8474
8557
|
"type": "string",
|
|
8475
8558
|
"enum": [
|
|
8559
|
+
"update",
|
|
8476
8560
|
"*",
|
|
8477
8561
|
"create",
|
|
8478
|
-
"
|
|
8562
|
+
"delete",
|
|
8563
|
+
"read",
|
|
8564
|
+
"update:other_config",
|
|
8565
|
+
"connect",
|
|
8566
|
+
"disconnect",
|
|
8567
|
+
"update:allowedIpv4Addresses",
|
|
8568
|
+
"update:allowedIpv6Addresses",
|
|
8569
|
+
"update:lockingMode",
|
|
8570
|
+
"update:rateLimit",
|
|
8571
|
+
"update:txChecksumming"
|
|
8479
8572
|
]
|
|
8480
8573
|
},
|
|
8481
8574
|
"selector": {
|
|
@@ -8621,6 +8714,7 @@
|
|
|
8621
8714
|
"action": {
|
|
8622
8715
|
"type": "string",
|
|
8623
8716
|
"enum": [
|
|
8717
|
+
"clone",
|
|
8624
8718
|
"export",
|
|
8625
8719
|
"pause",
|
|
8626
8720
|
"resume",
|
|
@@ -8633,12 +8727,13 @@
|
|
|
8633
8727
|
"*",
|
|
8634
8728
|
"delete",
|
|
8635
8729
|
"read",
|
|
8636
|
-
"update:tags",
|
|
8637
8730
|
"reboot",
|
|
8638
8731
|
"reboot:clean",
|
|
8732
|
+
"shutdown:clean",
|
|
8733
|
+
"update:tags",
|
|
8734
|
+
"migrate-send",
|
|
8639
8735
|
"reboot:hard",
|
|
8640
8736
|
"revert-snapshot",
|
|
8641
|
-
"shutdown:clean",
|
|
8642
8737
|
"shutdown:hard",
|
|
8643
8738
|
"update:affinityHost",
|
|
8644
8739
|
"update:autoPoweron",
|
|
@@ -8834,6 +8929,7 @@
|
|
|
8834
8929
|
"VM-snapshot",
|
|
8835
8930
|
"SR",
|
|
8836
8931
|
"VM",
|
|
8932
|
+
"VM-template",
|
|
8837
8933
|
"message",
|
|
8838
8934
|
"vgpu",
|
|
8839
8935
|
"gpuGroup",
|
|
@@ -8847,7 +8943,6 @@
|
|
|
8847
8943
|
"VDI-unmanaged",
|
|
8848
8944
|
"vgpuType",
|
|
8849
8945
|
"VM-controller",
|
|
8850
|
-
"VM-template",
|
|
8851
8946
|
"SM",
|
|
8852
8947
|
"user",
|
|
8853
8948
|
"proxy",
|
|
@@ -9965,6 +10060,9 @@
|
|
|
9965
10060
|
"HA_enabled": {
|
|
9966
10061
|
"type": "boolean"
|
|
9967
10062
|
},
|
|
10063
|
+
"haRebootVmOnInternalShutdown": {
|
|
10064
|
+
"type": "boolean"
|
|
10065
|
+
},
|
|
9968
10066
|
"haSrs": {
|
|
9969
10067
|
"items": {
|
|
9970
10068
|
"type": "string"
|
|
@@ -10100,6 +10198,9 @@
|
|
|
10100
10198
|
"HA_enabled": {
|
|
10101
10199
|
"type": "boolean"
|
|
10102
10200
|
},
|
|
10201
|
+
"haRebootVmOnInternalShutdown": {
|
|
10202
|
+
"type": "boolean"
|
|
10203
|
+
},
|
|
10103
10204
|
"haSrs": {
|
|
10104
10205
|
"items": {
|
|
10105
10206
|
"type": "string"
|
|
@@ -10159,6 +10260,7 @@
|
|
|
10159
10260
|
"cpus",
|
|
10160
10261
|
"current_operations",
|
|
10161
10262
|
"HA_enabled",
|
|
10263
|
+
"haRebootVmOnInternalShutdown",
|
|
10162
10264
|
"haSrs",
|
|
10163
10265
|
"id",
|
|
10164
10266
|
"master",
|
|
@@ -13356,6 +13458,7 @@
|
|
|
13356
13458
|
"VM-snapshot",
|
|
13357
13459
|
"SR",
|
|
13358
13460
|
"VM",
|
|
13461
|
+
"VM-template",
|
|
13359
13462
|
"message",
|
|
13360
13463
|
"vgpu",
|
|
13361
13464
|
"gpuGroup",
|
|
@@ -13369,7 +13472,6 @@
|
|
|
13369
13472
|
"VDI-unmanaged",
|
|
13370
13473
|
"vgpuType",
|
|
13371
13474
|
"VM-controller",
|
|
13372
|
-
"VM-template",
|
|
13373
13475
|
"SM",
|
|
13374
13476
|
"alarm",
|
|
13375
13477
|
"task"
|
|
@@ -13467,6 +13569,27 @@
|
|
|
13467
13569
|
}
|
|
13468
13570
|
]
|
|
13469
13571
|
},
|
|
13572
|
+
"Unbrand_Parameters_XoApp-at-createRemote__91_0_93__": {
|
|
13573
|
+
"properties": {
|
|
13574
|
+
"name": {
|
|
13575
|
+
"type": "string"
|
|
13576
|
+
},
|
|
13577
|
+
"options": {
|
|
13578
|
+
"type": "string"
|
|
13579
|
+
},
|
|
13580
|
+
"proxy": {
|
|
13581
|
+
"type": "string"
|
|
13582
|
+
},
|
|
13583
|
+
"url": {
|
|
13584
|
+
"type": "string"
|
|
13585
|
+
}
|
|
13586
|
+
},
|
|
13587
|
+
"required": [
|
|
13588
|
+
"name",
|
|
13589
|
+
"url"
|
|
13590
|
+
],
|
|
13591
|
+
"type": "object"
|
|
13592
|
+
},
|
|
13470
13593
|
"Unbrand_XoBackupRepository_": {
|
|
13471
13594
|
"properties": {
|
|
13472
13595
|
"benchmarks": {
|
|
@@ -13524,6 +13647,120 @@
|
|
|
13524
13647
|
],
|
|
13525
13648
|
"type": "object"
|
|
13526
13649
|
},
|
|
13650
|
+
"Unbrand_Parameters_XoApp-at-updateRemote__91_1_93__": {
|
|
13651
|
+
"properties": {
|
|
13652
|
+
"enabled": {
|
|
13653
|
+
"type": "boolean"
|
|
13654
|
+
},
|
|
13655
|
+
"name": {
|
|
13656
|
+
"type": "string"
|
|
13657
|
+
},
|
|
13658
|
+
"options": {
|
|
13659
|
+
"type": "string",
|
|
13660
|
+
"nullable": true
|
|
13661
|
+
},
|
|
13662
|
+
"proxy": {
|
|
13663
|
+
"type": "string",
|
|
13664
|
+
"nullable": true
|
|
13665
|
+
},
|
|
13666
|
+
"url": {
|
|
13667
|
+
"type": "string"
|
|
13668
|
+
}
|
|
13669
|
+
},
|
|
13670
|
+
"type": "object"
|
|
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
|
+
},
|
|
13527
13764
|
"Partial_Unbrand_XoBackupLog__": {
|
|
13528
13765
|
"properties": {
|
|
13529
13766
|
"id": {
|
|
@@ -13774,8 +14011,8 @@
|
|
|
13774
14011
|
"type": "string",
|
|
13775
14012
|
"enum": [
|
|
13776
14013
|
"",
|
|
13777
|
-
"
|
|
13778
|
-
"
|
|
14014
|
+
"zstd",
|
|
14015
|
+
"native"
|
|
13779
14016
|
]
|
|
13780
14017
|
},
|
|
13781
14018
|
"proxy": {
|
|
@@ -13954,8 +14191,8 @@
|
|
|
13954
14191
|
"type": "string",
|
|
13955
14192
|
"enum": [
|
|
13956
14193
|
"",
|
|
13957
|
-
"
|
|
13958
|
-
"
|
|
14194
|
+
"zstd",
|
|
14195
|
+
"native"
|
|
13959
14196
|
]
|
|
13960
14197
|
},
|
|
13961
14198
|
"proxy": {
|
|
@@ -14603,6 +14840,7 @@
|
|
|
14603
14840
|
"VM-snapshot",
|
|
14604
14841
|
"SR",
|
|
14605
14842
|
"VM",
|
|
14843
|
+
"VM-template",
|
|
14606
14844
|
"message",
|
|
14607
14845
|
"vgpu",
|
|
14608
14846
|
"gpuGroup",
|
|
@@ -14616,7 +14854,6 @@
|
|
|
14616
14854
|
"VDI-unmanaged",
|
|
14617
14855
|
"vgpuType",
|
|
14618
14856
|
"VM-controller",
|
|
14619
|
-
"VM-template",
|
|
14620
14857
|
"SM",
|
|
14621
14858
|
"unknown"
|
|
14622
14859
|
]
|
|
@@ -14737,6 +14974,7 @@
|
|
|
14737
14974
|
"VM-snapshot",
|
|
14738
14975
|
"SR",
|
|
14739
14976
|
"VM",
|
|
14977
|
+
"VM-template",
|
|
14740
14978
|
"message",
|
|
14741
14979
|
"vgpu",
|
|
14742
14980
|
"gpuGroup",
|
|
@@ -14750,7 +14988,6 @@
|
|
|
14750
14988
|
"VDI-unmanaged",
|
|
14751
14989
|
"vgpuType",
|
|
14752
14990
|
"VM-controller",
|
|
14753
|
-
"VM-template",
|
|
14754
14991
|
"SM",
|
|
14755
14992
|
"unknown"
|
|
14756
14993
|
]
|
|
@@ -15198,8 +15435,17 @@
|
|
|
15198
15435
|
"action": {
|
|
15199
15436
|
"type": "string",
|
|
15200
15437
|
"enum": [
|
|
15438
|
+
"forget",
|
|
15439
|
+
"update",
|
|
15201
15440
|
"*",
|
|
15202
|
-
"
|
|
15441
|
+
"create",
|
|
15442
|
+
"read",
|
|
15443
|
+
"update:name",
|
|
15444
|
+
"benchmark",
|
|
15445
|
+
"update:enabled",
|
|
15446
|
+
"update:options",
|
|
15447
|
+
"update:proxy",
|
|
15448
|
+
"update:url"
|
|
15203
15449
|
]
|
|
15204
15450
|
},
|
|
15205
15451
|
"selector": {
|
|
@@ -15318,14 +15564,26 @@
|
|
|
15318
15564
|
"type": "string",
|
|
15319
15565
|
"enum": [
|
|
15320
15566
|
"export",
|
|
15567
|
+
"shutdown",
|
|
15568
|
+
"start",
|
|
15569
|
+
"forget",
|
|
15321
15570
|
"update",
|
|
15322
15571
|
"*",
|
|
15323
15572
|
"read",
|
|
15324
15573
|
"allow-vm",
|
|
15574
|
+
"detach",
|
|
15325
15575
|
"disable",
|
|
15326
15576
|
"enable",
|
|
15327
15577
|
"evacuate",
|
|
15328
15578
|
"export:logs",
|
|
15579
|
+
"join-pool",
|
|
15580
|
+
"migrate-receive",
|
|
15581
|
+
"reboot",
|
|
15582
|
+
"reboot:clean",
|
|
15583
|
+
"reboot:smart",
|
|
15584
|
+
"restart-toolstack",
|
|
15585
|
+
"shutdown:clean",
|
|
15586
|
+
"shutdown:emergency",
|
|
15329
15587
|
"update:tags"
|
|
15330
15588
|
]
|
|
15331
15589
|
},
|
|
@@ -15406,7 +15664,8 @@
|
|
|
15406
15664
|
"create",
|
|
15407
15665
|
"delete",
|
|
15408
15666
|
"read",
|
|
15409
|
-
"update:tags"
|
|
15667
|
+
"update:tags",
|
|
15668
|
+
"update:other_config"
|
|
15410
15669
|
]
|
|
15411
15670
|
},
|
|
15412
15671
|
"selector": {
|
|
@@ -15444,7 +15703,9 @@
|
|
|
15444
15703
|
"type": "string",
|
|
15445
15704
|
"enum": [
|
|
15446
15705
|
"*",
|
|
15447
|
-
"read"
|
|
15706
|
+
"read",
|
|
15707
|
+
"plug",
|
|
15708
|
+
"unplug"
|
|
15448
15709
|
]
|
|
15449
15710
|
},
|
|
15450
15711
|
"selector": {
|
|
@@ -15602,6 +15863,7 @@
|
|
|
15602
15863
|
"create",
|
|
15603
15864
|
"read",
|
|
15604
15865
|
"update:tags",
|
|
15866
|
+
"add-host",
|
|
15605
15867
|
"create:network",
|
|
15606
15868
|
"create:vm",
|
|
15607
15869
|
"emergency-shutdown",
|
|
@@ -15839,13 +16101,17 @@
|
|
|
15839
16101
|
"type": "string",
|
|
15840
16102
|
"enum": [
|
|
15841
16103
|
"import",
|
|
16104
|
+
"forget",
|
|
15842
16105
|
"update",
|
|
15843
16106
|
"*",
|
|
15844
16107
|
"delete",
|
|
15845
16108
|
"read",
|
|
16109
|
+
"migrate-receive",
|
|
15846
16110
|
"update:tags",
|
|
15847
16111
|
"import:vdi",
|
|
15848
|
-
"import:vm"
|
|
16112
|
+
"import:vm",
|
|
16113
|
+
"reclaim-space",
|
|
16114
|
+
"scan"
|
|
15849
16115
|
]
|
|
15850
16116
|
},
|
|
15851
16117
|
"selector": {
|
|
@@ -15968,7 +16234,11 @@
|
|
|
15968
16234
|
"type": "string",
|
|
15969
16235
|
"enum": [
|
|
15970
16236
|
"*",
|
|
15971
|
-
"
|
|
16237
|
+
"create",
|
|
16238
|
+
"delete",
|
|
16239
|
+
"read",
|
|
16240
|
+
"connect",
|
|
16241
|
+
"disconnect"
|
|
15972
16242
|
]
|
|
15973
16243
|
},
|
|
15974
16244
|
"selector": {
|
|
@@ -16005,8 +16275,12 @@
|
|
|
16005
16275
|
"action": {
|
|
16006
16276
|
"type": "string",
|
|
16007
16277
|
"enum": [
|
|
16278
|
+
"export",
|
|
16279
|
+
"update",
|
|
16008
16280
|
"*",
|
|
16009
|
-
"
|
|
16281
|
+
"delete",
|
|
16282
|
+
"read",
|
|
16283
|
+
"update:tags"
|
|
16010
16284
|
]
|
|
16011
16285
|
},
|
|
16012
16286
|
"selector": {
|
|
@@ -16089,7 +16363,8 @@
|
|
|
16089
16363
|
"read",
|
|
16090
16364
|
"update:tags",
|
|
16091
16365
|
"export-content",
|
|
16092
|
-
"import-content"
|
|
16366
|
+
"import-content",
|
|
16367
|
+
"migrate-send"
|
|
16093
16368
|
]
|
|
16094
16369
|
},
|
|
16095
16370
|
"selector": {
|
|
@@ -16202,9 +16477,19 @@
|
|
|
16202
16477
|
"action": {
|
|
16203
16478
|
"type": "string",
|
|
16204
16479
|
"enum": [
|
|
16480
|
+
"update",
|
|
16205
16481
|
"*",
|
|
16206
16482
|
"create",
|
|
16207
|
-
"
|
|
16483
|
+
"delete",
|
|
16484
|
+
"read",
|
|
16485
|
+
"update:other_config",
|
|
16486
|
+
"connect",
|
|
16487
|
+
"disconnect",
|
|
16488
|
+
"update:allowedIpv4Addresses",
|
|
16489
|
+
"update:allowedIpv6Addresses",
|
|
16490
|
+
"update:lockingMode",
|
|
16491
|
+
"update:rateLimit",
|
|
16492
|
+
"update:txChecksumming"
|
|
16208
16493
|
]
|
|
16209
16494
|
},
|
|
16210
16495
|
"selector": {
|
|
@@ -16366,6 +16651,7 @@
|
|
|
16366
16651
|
"action": {
|
|
16367
16652
|
"type": "string",
|
|
16368
16653
|
"enum": [
|
|
16654
|
+
"clone",
|
|
16369
16655
|
"export",
|
|
16370
16656
|
"pause",
|
|
16371
16657
|
"resume",
|
|
@@ -16378,12 +16664,13 @@
|
|
|
16378
16664
|
"*",
|
|
16379
16665
|
"delete",
|
|
16380
16666
|
"read",
|
|
16381
|
-
"update:tags",
|
|
16382
16667
|
"reboot",
|
|
16383
16668
|
"reboot:clean",
|
|
16669
|
+
"shutdown:clean",
|
|
16670
|
+
"update:tags",
|
|
16671
|
+
"migrate-send",
|
|
16384
16672
|
"reboot:hard",
|
|
16385
16673
|
"revert-snapshot",
|
|
16386
|
-
"shutdown:clean",
|
|
16387
16674
|
"shutdown:hard",
|
|
16388
16675
|
"update:affinityHost",
|
|
16389
16676
|
"update:autoPoweron",
|
|
@@ -16768,8 +17055,17 @@
|
|
|
16768
17055
|
"action": {
|
|
16769
17056
|
"type": "string",
|
|
16770
17057
|
"enum": [
|
|
17058
|
+
"forget",
|
|
17059
|
+
"update",
|
|
16771
17060
|
"*",
|
|
16772
|
-
"
|
|
17061
|
+
"create",
|
|
17062
|
+
"read",
|
|
17063
|
+
"update:name",
|
|
17064
|
+
"benchmark",
|
|
17065
|
+
"update:enabled",
|
|
17066
|
+
"update:options",
|
|
17067
|
+
"update:proxy",
|
|
17068
|
+
"update:url"
|
|
16773
17069
|
]
|
|
16774
17070
|
},
|
|
16775
17071
|
"selector": {
|
|
@@ -16900,14 +17196,26 @@
|
|
|
16900
17196
|
"type": "string",
|
|
16901
17197
|
"enum": [
|
|
16902
17198
|
"export",
|
|
17199
|
+
"shutdown",
|
|
17200
|
+
"start",
|
|
17201
|
+
"forget",
|
|
16903
17202
|
"update",
|
|
16904
17203
|
"*",
|
|
16905
17204
|
"read",
|
|
16906
17205
|
"allow-vm",
|
|
17206
|
+
"detach",
|
|
16907
17207
|
"disable",
|
|
16908
17208
|
"enable",
|
|
16909
17209
|
"evacuate",
|
|
16910
17210
|
"export:logs",
|
|
17211
|
+
"join-pool",
|
|
17212
|
+
"migrate-receive",
|
|
17213
|
+
"reboot",
|
|
17214
|
+
"reboot:clean",
|
|
17215
|
+
"reboot:smart",
|
|
17216
|
+
"restart-toolstack",
|
|
17217
|
+
"shutdown:clean",
|
|
17218
|
+
"shutdown:emergency",
|
|
16911
17219
|
"update:tags"
|
|
16912
17220
|
]
|
|
16913
17221
|
},
|
|
@@ -16996,7 +17304,8 @@
|
|
|
16996
17304
|
"create",
|
|
16997
17305
|
"delete",
|
|
16998
17306
|
"read",
|
|
16999
|
-
"update:tags"
|
|
17307
|
+
"update:tags",
|
|
17308
|
+
"update:other_config"
|
|
17000
17309
|
]
|
|
17001
17310
|
},
|
|
17002
17311
|
"selector": {
|
|
@@ -17038,7 +17347,9 @@
|
|
|
17038
17347
|
"type": "string",
|
|
17039
17348
|
"enum": [
|
|
17040
17349
|
"*",
|
|
17041
|
-
"read"
|
|
17350
|
+
"read",
|
|
17351
|
+
"plug",
|
|
17352
|
+
"unplug"
|
|
17042
17353
|
]
|
|
17043
17354
|
},
|
|
17044
17355
|
"selector": {
|
|
@@ -17212,6 +17523,7 @@
|
|
|
17212
17523
|
"create",
|
|
17213
17524
|
"read",
|
|
17214
17525
|
"update:tags",
|
|
17526
|
+
"add-host",
|
|
17215
17527
|
"create:network",
|
|
17216
17528
|
"create:vm",
|
|
17217
17529
|
"emergency-shutdown",
|
|
@@ -17473,13 +17785,17 @@
|
|
|
17473
17785
|
"type": "string",
|
|
17474
17786
|
"enum": [
|
|
17475
17787
|
"import",
|
|
17788
|
+
"forget",
|
|
17476
17789
|
"update",
|
|
17477
17790
|
"*",
|
|
17478
17791
|
"delete",
|
|
17479
17792
|
"read",
|
|
17793
|
+
"migrate-receive",
|
|
17480
17794
|
"update:tags",
|
|
17481
17795
|
"import:vdi",
|
|
17482
|
-
"import:vm"
|
|
17796
|
+
"import:vm",
|
|
17797
|
+
"reclaim-space",
|
|
17798
|
+
"scan"
|
|
17483
17799
|
]
|
|
17484
17800
|
},
|
|
17485
17801
|
"selector": {
|
|
@@ -17614,7 +17930,11 @@
|
|
|
17614
17930
|
"type": "string",
|
|
17615
17931
|
"enum": [
|
|
17616
17932
|
"*",
|
|
17617
|
-
"
|
|
17933
|
+
"create",
|
|
17934
|
+
"delete",
|
|
17935
|
+
"read",
|
|
17936
|
+
"connect",
|
|
17937
|
+
"disconnect"
|
|
17618
17938
|
]
|
|
17619
17939
|
},
|
|
17620
17940
|
"selector": {
|
|
@@ -17655,8 +17975,12 @@
|
|
|
17655
17975
|
"action": {
|
|
17656
17976
|
"type": "string",
|
|
17657
17977
|
"enum": [
|
|
17978
|
+
"export",
|
|
17979
|
+
"update",
|
|
17658
17980
|
"*",
|
|
17659
|
-
"
|
|
17981
|
+
"delete",
|
|
17982
|
+
"read",
|
|
17983
|
+
"update:tags"
|
|
17660
17984
|
]
|
|
17661
17985
|
},
|
|
17662
17986
|
"selector": {
|
|
@@ -17747,7 +18071,8 @@
|
|
|
17747
18071
|
"read",
|
|
17748
18072
|
"update:tags",
|
|
17749
18073
|
"export-content",
|
|
17750
|
-
"import-content"
|
|
18074
|
+
"import-content",
|
|
18075
|
+
"migrate-send"
|
|
17751
18076
|
]
|
|
17752
18077
|
},
|
|
17753
18078
|
"selector": {
|
|
@@ -17872,9 +18197,19 @@
|
|
|
17872
18197
|
"action": {
|
|
17873
18198
|
"type": "string",
|
|
17874
18199
|
"enum": [
|
|
18200
|
+
"update",
|
|
17875
18201
|
"*",
|
|
17876
18202
|
"create",
|
|
17877
|
-
"
|
|
18203
|
+
"delete",
|
|
18204
|
+
"read",
|
|
18205
|
+
"update:other_config",
|
|
18206
|
+
"connect",
|
|
18207
|
+
"disconnect",
|
|
18208
|
+
"update:allowedIpv4Addresses",
|
|
18209
|
+
"update:allowedIpv6Addresses",
|
|
18210
|
+
"update:lockingMode",
|
|
18211
|
+
"update:rateLimit",
|
|
18212
|
+
"update:txChecksumming"
|
|
17878
18213
|
]
|
|
17879
18214
|
},
|
|
17880
18215
|
"selector": {
|
|
@@ -18052,6 +18387,7 @@
|
|
|
18052
18387
|
"action": {
|
|
18053
18388
|
"type": "string",
|
|
18054
18389
|
"enum": [
|
|
18390
|
+
"clone",
|
|
18055
18391
|
"export",
|
|
18056
18392
|
"pause",
|
|
18057
18393
|
"resume",
|
|
@@ -18064,12 +18400,13 @@
|
|
|
18064
18400
|
"*",
|
|
18065
18401
|
"delete",
|
|
18066
18402
|
"read",
|
|
18067
|
-
"update:tags",
|
|
18068
18403
|
"reboot",
|
|
18069
18404
|
"reboot:clean",
|
|
18405
|
+
"shutdown:clean",
|
|
18406
|
+
"update:tags",
|
|
18407
|
+
"migrate-send",
|
|
18070
18408
|
"reboot:hard",
|
|
18071
18409
|
"revert-snapshot",
|
|
18072
|
-
"shutdown:clean",
|
|
18073
18410
|
"shutdown:hard",
|
|
18074
18411
|
"update:affinityHost",
|
|
18075
18412
|
"update:autoPoweron",
|
|
@@ -18371,8 +18708,17 @@
|
|
|
18371
18708
|
"action": {
|
|
18372
18709
|
"type": "string",
|
|
18373
18710
|
"enum": [
|
|
18711
|
+
"forget",
|
|
18712
|
+
"update",
|
|
18374
18713
|
"*",
|
|
18375
|
-
"
|
|
18714
|
+
"create",
|
|
18715
|
+
"read",
|
|
18716
|
+
"update:name",
|
|
18717
|
+
"benchmark",
|
|
18718
|
+
"update:enabled",
|
|
18719
|
+
"update:options",
|
|
18720
|
+
"update:proxy",
|
|
18721
|
+
"update:url"
|
|
18376
18722
|
]
|
|
18377
18723
|
},
|
|
18378
18724
|
"selector": {
|
|
@@ -18461,14 +18807,26 @@
|
|
|
18461
18807
|
"type": "string",
|
|
18462
18808
|
"enum": [
|
|
18463
18809
|
"export",
|
|
18810
|
+
"shutdown",
|
|
18811
|
+
"start",
|
|
18812
|
+
"forget",
|
|
18464
18813
|
"update",
|
|
18465
18814
|
"*",
|
|
18466
18815
|
"read",
|
|
18467
18816
|
"allow-vm",
|
|
18817
|
+
"detach",
|
|
18468
18818
|
"disable",
|
|
18469
18819
|
"enable",
|
|
18470
18820
|
"evacuate",
|
|
18471
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",
|
|
18472
18830
|
"update:tags"
|
|
18473
18831
|
]
|
|
18474
18832
|
},
|
|
@@ -18529,7 +18887,8 @@
|
|
|
18529
18887
|
"create",
|
|
18530
18888
|
"delete",
|
|
18531
18889
|
"read",
|
|
18532
|
-
"update:tags"
|
|
18890
|
+
"update:tags",
|
|
18891
|
+
"update:other_config"
|
|
18533
18892
|
]
|
|
18534
18893
|
},
|
|
18535
18894
|
"selector": {
|
|
@@ -18557,7 +18916,9 @@
|
|
|
18557
18916
|
"type": "string",
|
|
18558
18917
|
"enum": [
|
|
18559
18918
|
"*",
|
|
18560
|
-
"read"
|
|
18919
|
+
"read",
|
|
18920
|
+
"plug",
|
|
18921
|
+
"unplug"
|
|
18561
18922
|
]
|
|
18562
18923
|
},
|
|
18563
18924
|
"selector": {
|
|
@@ -18675,6 +19036,7 @@
|
|
|
18675
19036
|
"create",
|
|
18676
19037
|
"read",
|
|
18677
19038
|
"update:tags",
|
|
19039
|
+
"add-host",
|
|
18678
19040
|
"create:network",
|
|
18679
19041
|
"create:vm",
|
|
18680
19042
|
"emergency-shutdown",
|
|
@@ -18852,13 +19214,17 @@
|
|
|
18852
19214
|
"type": "string",
|
|
18853
19215
|
"enum": [
|
|
18854
19216
|
"import",
|
|
19217
|
+
"forget",
|
|
18855
19218
|
"update",
|
|
18856
19219
|
"*",
|
|
18857
19220
|
"delete",
|
|
18858
19221
|
"read",
|
|
19222
|
+
"migrate-receive",
|
|
18859
19223
|
"update:tags",
|
|
18860
19224
|
"import:vdi",
|
|
18861
|
-
"import:vm"
|
|
19225
|
+
"import:vm",
|
|
19226
|
+
"reclaim-space",
|
|
19227
|
+
"scan"
|
|
18862
19228
|
]
|
|
18863
19229
|
},
|
|
18864
19230
|
"selector": {
|
|
@@ -18951,7 +19317,11 @@
|
|
|
18951
19317
|
"type": "string",
|
|
18952
19318
|
"enum": [
|
|
18953
19319
|
"*",
|
|
18954
|
-
"
|
|
19320
|
+
"create",
|
|
19321
|
+
"delete",
|
|
19322
|
+
"read",
|
|
19323
|
+
"connect",
|
|
19324
|
+
"disconnect"
|
|
18955
19325
|
]
|
|
18956
19326
|
},
|
|
18957
19327
|
"selector": {
|
|
@@ -18978,8 +19348,12 @@
|
|
|
18978
19348
|
"action": {
|
|
18979
19349
|
"type": "string",
|
|
18980
19350
|
"enum": [
|
|
19351
|
+
"export",
|
|
19352
|
+
"update",
|
|
18981
19353
|
"*",
|
|
18982
|
-
"
|
|
19354
|
+
"delete",
|
|
19355
|
+
"read",
|
|
19356
|
+
"update:tags"
|
|
18983
19357
|
]
|
|
18984
19358
|
},
|
|
18985
19359
|
"selector": {
|
|
@@ -19042,7 +19416,8 @@
|
|
|
19042
19416
|
"read",
|
|
19043
19417
|
"update:tags",
|
|
19044
19418
|
"export-content",
|
|
19045
|
-
"import-content"
|
|
19419
|
+
"import-content",
|
|
19420
|
+
"migrate-send"
|
|
19046
19421
|
]
|
|
19047
19422
|
},
|
|
19048
19423
|
"selector": {
|
|
@@ -19125,9 +19500,19 @@
|
|
|
19125
19500
|
"action": {
|
|
19126
19501
|
"type": "string",
|
|
19127
19502
|
"enum": [
|
|
19503
|
+
"update",
|
|
19128
19504
|
"*",
|
|
19129
19505
|
"create",
|
|
19130
|
-
"
|
|
19506
|
+
"delete",
|
|
19507
|
+
"read",
|
|
19508
|
+
"update:other_config",
|
|
19509
|
+
"connect",
|
|
19510
|
+
"disconnect",
|
|
19511
|
+
"update:allowedIpv4Addresses",
|
|
19512
|
+
"update:allowedIpv6Addresses",
|
|
19513
|
+
"update:lockingMode",
|
|
19514
|
+
"update:rateLimit",
|
|
19515
|
+
"update:txChecksumming"
|
|
19131
19516
|
]
|
|
19132
19517
|
},
|
|
19133
19518
|
"selector": {
|
|
@@ -19249,6 +19634,7 @@
|
|
|
19249
19634
|
"action": {
|
|
19250
19635
|
"type": "string",
|
|
19251
19636
|
"enum": [
|
|
19637
|
+
"clone",
|
|
19252
19638
|
"export",
|
|
19253
19639
|
"pause",
|
|
19254
19640
|
"resume",
|
|
@@ -19261,12 +19647,13 @@
|
|
|
19261
19647
|
"*",
|
|
19262
19648
|
"delete",
|
|
19263
19649
|
"read",
|
|
19264
|
-
"update:tags",
|
|
19265
19650
|
"reboot",
|
|
19266
19651
|
"reboot:clean",
|
|
19652
|
+
"shutdown:clean",
|
|
19653
|
+
"update:tags",
|
|
19654
|
+
"migrate-send",
|
|
19267
19655
|
"reboot:hard",
|
|
19268
19656
|
"revert-snapshot",
|
|
19269
|
-
"shutdown:clean",
|
|
19270
19657
|
"shutdown:hard",
|
|
19271
19658
|
"update:affinityHost",
|
|
19272
19659
|
"update:autoPoweron",
|
|
@@ -19364,7 +19751,7 @@
|
|
|
19364
19751
|
},
|
|
19365
19752
|
"info": {
|
|
19366
19753
|
"title": "@xen-orchestra/rest-api",
|
|
19367
|
-
"version": "0.
|
|
19754
|
+
"version": "0.35.0",
|
|
19368
19755
|
"description": "REST API to manage your XOA",
|
|
19369
19756
|
"license": {
|
|
19370
19757
|
"name": "AGPL-3.0-or-later"
|
|
@@ -19709,8 +20096,8 @@
|
|
|
19709
20096
|
"schema": {
|
|
19710
20097
|
"type": "string",
|
|
19711
20098
|
"enum": [
|
|
19712
|
-
"
|
|
19713
|
-
"
|
|
20099
|
+
"ova",
|
|
20100
|
+
"xva"
|
|
19714
20101
|
]
|
|
19715
20102
|
}
|
|
19716
20103
|
},
|
|
@@ -19718,9 +20105,7 @@
|
|
|
19718
20105
|
"in": "query",
|
|
19719
20106
|
"name": "compress",
|
|
19720
20107
|
"required": false,
|
|
19721
|
-
"schema": {
|
|
19722
|
-
"type": "boolean"
|
|
19723
|
-
}
|
|
20108
|
+
"schema": {}
|
|
19724
20109
|
}
|
|
19725
20110
|
],
|
|
19726
20111
|
"x-mcp-exposure": "deny"
|
|
@@ -22260,6 +22645,9 @@
|
|
|
22260
22645
|
"401": {
|
|
22261
22646
|
"description": "Authentication required"
|
|
22262
22647
|
},
|
|
22648
|
+
"403": {
|
|
22649
|
+
"description": "Forbidden"
|
|
22650
|
+
},
|
|
22263
22651
|
"404": {
|
|
22264
22652
|
"description": "Resource not found"
|
|
22265
22653
|
},
|
|
@@ -22270,7 +22658,7 @@
|
|
|
22270
22658
|
"description": "Internal server error, XenServer/XCP-ng error"
|
|
22271
22659
|
}
|
|
22272
22660
|
},
|
|
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.",
|
|
22661
|
+
"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
22662
|
"tags": [
|
|
22275
22663
|
"vms"
|
|
22276
22664
|
],
|
|
@@ -23202,6 +23590,9 @@
|
|
|
23202
23590
|
"401": {
|
|
23203
23591
|
"description": "Authentication required"
|
|
23204
23592
|
},
|
|
23593
|
+
"403": {
|
|
23594
|
+
"description": "Forbidden"
|
|
23595
|
+
},
|
|
23205
23596
|
"404": {
|
|
23206
23597
|
"description": "Resource not found"
|
|
23207
23598
|
},
|
|
@@ -23212,7 +23603,7 @@
|
|
|
23212
23603
|
"description": "Internal server error, XenServer/XCP-ng error"
|
|
23213
23604
|
}
|
|
23214
23605
|
},
|
|
23215
|
-
"description": "
|
|
23606
|
+
"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
23607
|
"tags": [
|
|
23217
23608
|
"vms"
|
|
23218
23609
|
],
|
|
@@ -23473,9 +23864,7 @@
|
|
|
23473
23864
|
"in": "query",
|
|
23474
23865
|
"name": "compress",
|
|
23475
23866
|
"required": false,
|
|
23476
|
-
"schema": {
|
|
23477
|
-
"type": "boolean"
|
|
23478
|
-
}
|
|
23867
|
+
"schema": {}
|
|
23479
23868
|
}
|
|
23480
23869
|
],
|
|
23481
23870
|
"x-mcp-exposure": "deny"
|
|
@@ -24408,9 +24797,7 @@
|
|
|
24408
24797
|
"in": "query",
|
|
24409
24798
|
"name": "compress",
|
|
24410
24799
|
"required": false,
|
|
24411
|
-
"schema": {
|
|
24412
|
-
"type": "boolean"
|
|
24413
|
-
}
|
|
24800
|
+
"schema": {}
|
|
24414
24801
|
}
|
|
24415
24802
|
],
|
|
24416
24803
|
"x-mcp-exposure": "deny"
|
|
@@ -26202,6 +26589,9 @@
|
|
|
26202
26589
|
"401": {
|
|
26203
26590
|
"description": "Authentication required"
|
|
26204
26591
|
},
|
|
26592
|
+
"403": {
|
|
26593
|
+
"description": "Forbidden"
|
|
26594
|
+
},
|
|
26205
26595
|
"404": {
|
|
26206
26596
|
"description": "Resource not found"
|
|
26207
26597
|
},
|
|
@@ -26212,6 +26602,7 @@
|
|
|
26212
26602
|
"description": "Internal server error, XenServer/XCP-ng error"
|
|
26213
26603
|
}
|
|
26214
26604
|
},
|
|
26605
|
+
"description": "Required privilege:\n- resource: vif, action: create",
|
|
26215
26606
|
"tags": [
|
|
26216
26607
|
"vifs"
|
|
26217
26608
|
],
|
|
@@ -26317,6 +26708,70 @@
|
|
|
26317
26708
|
],
|
|
26318
26709
|
"x-mcp-exposure": "allow"
|
|
26319
26710
|
},
|
|
26711
|
+
"patch": {
|
|
26712
|
+
"operationId": "UpdateVif",
|
|
26713
|
+
"responses": {
|
|
26714
|
+
"204": {
|
|
26715
|
+
"description": "No content"
|
|
26716
|
+
},
|
|
26717
|
+
"400": {
|
|
26718
|
+
"description": "Bad request"
|
|
26719
|
+
},
|
|
26720
|
+
"401": {
|
|
26721
|
+
"description": "Authentication required"
|
|
26722
|
+
},
|
|
26723
|
+
"403": {
|
|
26724
|
+
"description": "Forbidden"
|
|
26725
|
+
},
|
|
26726
|
+
"404": {
|
|
26727
|
+
"description": "Resource not found"
|
|
26728
|
+
},
|
|
26729
|
+
"422": {
|
|
26730
|
+
"description": "Invalid parameters"
|
|
26731
|
+
},
|
|
26732
|
+
"500": {
|
|
26733
|
+
"description": "Internal server error, XenServer/XCP-ng error"
|
|
26734
|
+
}
|
|
26735
|
+
},
|
|
26736
|
+
"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>",
|
|
26737
|
+
"tags": [
|
|
26738
|
+
"vifs"
|
|
26739
|
+
],
|
|
26740
|
+
"security": [
|
|
26741
|
+
{
|
|
26742
|
+
"*": []
|
|
26743
|
+
}
|
|
26744
|
+
],
|
|
26745
|
+
"parameters": [
|
|
26746
|
+
{
|
|
26747
|
+
"in": "path",
|
|
26748
|
+
"name": "id",
|
|
26749
|
+
"required": true,
|
|
26750
|
+
"schema": {
|
|
26751
|
+
"type": "string"
|
|
26752
|
+
},
|
|
26753
|
+
"example": "f028c5d4-578a-332c-394e-087aaca32dd3"
|
|
26754
|
+
}
|
|
26755
|
+
],
|
|
26756
|
+
"requestBody": {
|
|
26757
|
+
"required": true,
|
|
26758
|
+
"content": {
|
|
26759
|
+
"application/json": {
|
|
26760
|
+
"schema": {
|
|
26761
|
+
"$ref": "#/components/schemas/UpdateVifRequestBody"
|
|
26762
|
+
},
|
|
26763
|
+
"example": {
|
|
26764
|
+
"lockingMode": "locked",
|
|
26765
|
+
"allowedIpv4Addresses": [
|
|
26766
|
+
"192.168.0.42"
|
|
26767
|
+
],
|
|
26768
|
+
"rateLimit": 1000
|
|
26769
|
+
}
|
|
26770
|
+
}
|
|
26771
|
+
}
|
|
26772
|
+
},
|
|
26773
|
+
"x-mcp-exposure": "confirm"
|
|
26774
|
+
},
|
|
26320
26775
|
"delete": {
|
|
26321
26776
|
"operationId": "DestroyVif",
|
|
26322
26777
|
"responses": {
|
|
@@ -26329,6 +26784,9 @@
|
|
|
26329
26784
|
"401": {
|
|
26330
26785
|
"description": "Authentication required"
|
|
26331
26786
|
},
|
|
26787
|
+
"403": {
|
|
26788
|
+
"description": "Forbidden"
|
|
26789
|
+
},
|
|
26332
26790
|
"404": {
|
|
26333
26791
|
"description": "Resource not found"
|
|
26334
26792
|
},
|
|
@@ -26336,6 +26794,7 @@
|
|
|
26336
26794
|
"description": "Internal server error, XenServer/XCP-ng error"
|
|
26337
26795
|
}
|
|
26338
26796
|
},
|
|
26797
|
+
"description": "Required privilege:\n- resource: vif, action: delete",
|
|
26339
26798
|
"tags": [
|
|
26340
26799
|
"vifs"
|
|
26341
26800
|
],
|
|
@@ -26748,6 +27207,9 @@
|
|
|
26748
27207
|
"401": {
|
|
26749
27208
|
"description": "Authentication required"
|
|
26750
27209
|
},
|
|
27210
|
+
"403": {
|
|
27211
|
+
"description": "Forbidden"
|
|
27212
|
+
},
|
|
26751
27213
|
"404": {
|
|
26752
27214
|
"description": "Resource not found"
|
|
26753
27215
|
},
|
|
@@ -26755,7 +27217,7 @@
|
|
|
26755
27217
|
"description": "Internal server error, XenServer/XCP-ng error"
|
|
26756
27218
|
}
|
|
26757
27219
|
},
|
|
26758
|
-
"description": "Hotplug the VIF, dynamically attaching it to the running VM\nRequires PV drivers to be installed on the VM",
|
|
27220
|
+
"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
27221
|
"tags": [
|
|
26760
27222
|
"vifs"
|
|
26761
27223
|
],
|
|
@@ -26816,6 +27278,9 @@
|
|
|
26816
27278
|
"401": {
|
|
26817
27279
|
"description": "Authentication required"
|
|
26818
27280
|
},
|
|
27281
|
+
"403": {
|
|
27282
|
+
"description": "Forbidden"
|
|
27283
|
+
},
|
|
26819
27284
|
"404": {
|
|
26820
27285
|
"description": "Resource not found"
|
|
26821
27286
|
},
|
|
@@ -26823,7 +27288,7 @@
|
|
|
26823
27288
|
"description": "Internal server error, XenServer/XCP-ng error"
|
|
26824
27289
|
}
|
|
26825
27290
|
},
|
|
26826
|
-
"description": "Hot-unplug the VIF, dynamically detaching it from the running VM\nRequires PV drivers to be installed on the VM",
|
|
27291
|
+
"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
27292
|
"tags": [
|
|
26828
27293
|
"vifs"
|
|
26829
27294
|
],
|
|
@@ -27041,6 +27506,9 @@
|
|
|
27041
27506
|
"401": {
|
|
27042
27507
|
"description": "Authentication required"
|
|
27043
27508
|
},
|
|
27509
|
+
"403": {
|
|
27510
|
+
"description": "Forbidden"
|
|
27511
|
+
},
|
|
27044
27512
|
"404": {
|
|
27045
27513
|
"description": "Resource not found"
|
|
27046
27514
|
},
|
|
@@ -27048,7 +27516,7 @@
|
|
|
27048
27516
|
"description": "Internal server error, XenServer/XCP-ng error"
|
|
27049
27517
|
}
|
|
27050
27518
|
},
|
|
27051
|
-
"description": "Create an empty VDI
|
|
27519
|
+
"description": "Create an empty VDI.\n\nRequired privileges:\n- resource: sr, action: import:vdi (on the target SR)\n- resource: vdi, action: create",
|
|
27052
27520
|
"tags": [
|
|
27053
27521
|
"vdis"
|
|
27054
27522
|
],
|
|
@@ -27589,6 +28057,9 @@
|
|
|
27589
28057
|
"401": {
|
|
27590
28058
|
"description": "Authentication required"
|
|
27591
28059
|
},
|
|
28060
|
+
"403": {
|
|
28061
|
+
"description": "Forbidden"
|
|
28062
|
+
},
|
|
27592
28063
|
"404": {
|
|
27593
28064
|
"description": "Resource not found"
|
|
27594
28065
|
},
|
|
@@ -27596,7 +28067,7 @@
|
|
|
27596
28067
|
"description": "Internal server error, XenServer/XCP-ng error"
|
|
27597
28068
|
}
|
|
27598
28069
|
},
|
|
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.",
|
|
28070
|
+
"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
28071
|
"tags": [
|
|
27601
28072
|
"vdis"
|
|
27602
28073
|
],
|
|
@@ -27875,6 +28346,9 @@
|
|
|
27875
28346
|
"401": {
|
|
27876
28347
|
"description": "Authentication required"
|
|
27877
28348
|
},
|
|
28349
|
+
"403": {
|
|
28350
|
+
"description": "Forbidden"
|
|
28351
|
+
},
|
|
27878
28352
|
"404": {
|
|
27879
28353
|
"description": "Resource not found"
|
|
27880
28354
|
},
|
|
@@ -27882,7 +28356,7 @@
|
|
|
27882
28356
|
"description": "Invalid format"
|
|
27883
28357
|
}
|
|
27884
28358
|
},
|
|
27885
|
-
"description": "\nExport VDI-snapshot content",
|
|
28359
|
+
"description": "Required privilege:\n- resource: vdi-snapshot, action: export\n\nExport VDI-snapshot content",
|
|
27886
28360
|
"tags": [
|
|
27887
28361
|
"vdis"
|
|
27888
28362
|
],
|
|
@@ -27964,10 +28438,14 @@
|
|
|
27964
28438
|
"401": {
|
|
27965
28439
|
"description": "Authentication required"
|
|
27966
28440
|
},
|
|
28441
|
+
"403": {
|
|
28442
|
+
"description": "Forbidden"
|
|
28443
|
+
},
|
|
27967
28444
|
"404": {
|
|
27968
28445
|
"description": "Resource not found"
|
|
27969
28446
|
}
|
|
27970
28447
|
},
|
|
28448
|
+
"description": "Required privilege:\n- resource: vdi-snapshot, action: read",
|
|
27971
28449
|
"tags": [
|
|
27972
28450
|
"vdis"
|
|
27973
28451
|
],
|
|
@@ -28001,10 +28479,14 @@
|
|
|
28001
28479
|
"401": {
|
|
28002
28480
|
"description": "Authentication required"
|
|
28003
28481
|
},
|
|
28482
|
+
"403": {
|
|
28483
|
+
"description": "Forbidden"
|
|
28484
|
+
},
|
|
28004
28485
|
"404": {
|
|
28005
28486
|
"description": "Resource not found"
|
|
28006
28487
|
}
|
|
28007
28488
|
},
|
|
28489
|
+
"description": "Required privilege:\n- resource: vdi-snapshot, action: delete",
|
|
28008
28490
|
"tags": [
|
|
28009
28491
|
"vdis"
|
|
28010
28492
|
],
|
|
@@ -28400,10 +28882,14 @@
|
|
|
28400
28882
|
"401": {
|
|
28401
28883
|
"description": "Authentication required"
|
|
28402
28884
|
},
|
|
28885
|
+
"403": {
|
|
28886
|
+
"description": "Forbidden"
|
|
28887
|
+
},
|
|
28403
28888
|
"404": {
|
|
28404
28889
|
"description": "Resource not found"
|
|
28405
28890
|
}
|
|
28406
28891
|
},
|
|
28892
|
+
"description": "Required privilege:\n- resource: vdi-snapshot, action: update:tags",
|
|
28407
28893
|
"tags": [
|
|
28408
28894
|
"vdis"
|
|
28409
28895
|
],
|
|
@@ -28446,10 +28932,14 @@
|
|
|
28446
28932
|
"401": {
|
|
28447
28933
|
"description": "Authentication required"
|
|
28448
28934
|
},
|
|
28935
|
+
"403": {
|
|
28936
|
+
"description": "Forbidden"
|
|
28937
|
+
},
|
|
28449
28938
|
"404": {
|
|
28450
28939
|
"description": "Resource not found"
|
|
28451
28940
|
}
|
|
28452
28941
|
},
|
|
28942
|
+
"description": "Required privilege:\n- resource: vdi-snapshot, action: update:tags",
|
|
28453
28943
|
"tags": [
|
|
28454
28944
|
"vdis"
|
|
28455
28945
|
],
|
|
@@ -28619,6 +29109,9 @@
|
|
|
28619
29109
|
"401": {
|
|
28620
29110
|
"description": "Authentication required"
|
|
28621
29111
|
},
|
|
29112
|
+
"403": {
|
|
29113
|
+
"description": "Forbidden"
|
|
29114
|
+
},
|
|
28622
29115
|
"404": {
|
|
28623
29116
|
"description": "Resource not found"
|
|
28624
29117
|
},
|
|
@@ -28626,7 +29119,7 @@
|
|
|
28626
29119
|
"description": "Invalid parameters"
|
|
28627
29120
|
}
|
|
28628
29121
|
},
|
|
28629
|
-
"description": "
|
|
29122
|
+
"description": "Required privilege:\n- resource: vbd, action: create\n\nCreate a VBD to attach a VDI to a VM",
|
|
28630
29123
|
"tags": [
|
|
28631
29124
|
"vbds"
|
|
28632
29125
|
],
|
|
@@ -28755,11 +29248,14 @@
|
|
|
28755
29248
|
"401": {
|
|
28756
29249
|
"description": "Authentication required"
|
|
28757
29250
|
},
|
|
29251
|
+
"403": {
|
|
29252
|
+
"description": "Forbidden"
|
|
29253
|
+
},
|
|
28758
29254
|
"404": {
|
|
28759
29255
|
"description": "Resource not found"
|
|
28760
29256
|
}
|
|
28761
29257
|
},
|
|
28762
|
-
"description": "
|
|
29258
|
+
"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
29259
|
"tags": [
|
|
28764
29260
|
"vbds"
|
|
28765
29261
|
],
|
|
@@ -29172,6 +29668,9 @@
|
|
|
29172
29668
|
"401": {
|
|
29173
29669
|
"description": "Authentication required"
|
|
29174
29670
|
},
|
|
29671
|
+
"403": {
|
|
29672
|
+
"description": "Forbidden"
|
|
29673
|
+
},
|
|
29175
29674
|
"404": {
|
|
29176
29675
|
"description": "Resource not found"
|
|
29177
29676
|
},
|
|
@@ -29179,7 +29678,7 @@
|
|
|
29179
29678
|
"description": "Internal server error, XenServer/XCP-ng error"
|
|
29180
29679
|
}
|
|
29181
29680
|
},
|
|
29182
|
-
"description": "
|
|
29681
|
+
"description": "Required privilege:\n- resource: vbd, action: connect\n\nHotplug the VBD, dynamically attaching it to the running VM",
|
|
29183
29682
|
"tags": [
|
|
29184
29683
|
"vbds"
|
|
29185
29684
|
],
|
|
@@ -29240,6 +29739,9 @@
|
|
|
29240
29739
|
"401": {
|
|
29241
29740
|
"description": "Authentication required"
|
|
29242
29741
|
},
|
|
29742
|
+
"403": {
|
|
29743
|
+
"description": "Forbidden"
|
|
29744
|
+
},
|
|
29243
29745
|
"404": {
|
|
29244
29746
|
"description": "Resource not found"
|
|
29245
29747
|
},
|
|
@@ -29247,7 +29749,7 @@
|
|
|
29247
29749
|
"description": "Internal server error, XenServer/XCP-ng error"
|
|
29248
29750
|
}
|
|
29249
29751
|
},
|
|
29250
|
-
"description": "
|
|
29752
|
+
"description": "Required privilege:\n- resource: vbd, action: disconnect\n\nHot-unplug the VBD, dynamically detaching it from the running VM",
|
|
29251
29753
|
"tags": [
|
|
29252
29754
|
"vbds"
|
|
29253
29755
|
],
|
|
@@ -31425,6 +31927,9 @@
|
|
|
31425
31927
|
"401": {
|
|
31426
31928
|
"description": "Authentication required"
|
|
31427
31929
|
},
|
|
31930
|
+
"403": {
|
|
31931
|
+
"description": "Forbidden"
|
|
31932
|
+
},
|
|
31428
31933
|
"404": {
|
|
31429
31934
|
"description": "Resource not found"
|
|
31430
31935
|
},
|
|
@@ -31435,6 +31940,7 @@
|
|
|
31435
31940
|
"description": "Internal server error, XenServer/XCP-ng error"
|
|
31436
31941
|
}
|
|
31437
31942
|
},
|
|
31943
|
+
"description": "Required privilege:\n- resource: sr, action: reclaim-space",
|
|
31438
31944
|
"tags": [
|
|
31439
31945
|
"srs"
|
|
31440
31946
|
],
|
|
@@ -31495,6 +32001,9 @@
|
|
|
31495
32001
|
"401": {
|
|
31496
32002
|
"description": "Authentication required"
|
|
31497
32003
|
},
|
|
32004
|
+
"403": {
|
|
32005
|
+
"description": "Forbidden"
|
|
32006
|
+
},
|
|
31498
32007
|
"404": {
|
|
31499
32008
|
"description": "Resource not found"
|
|
31500
32009
|
},
|
|
@@ -31505,6 +32014,7 @@
|
|
|
31505
32014
|
"description": "Internal server error, XenServer/XCP-ng error"
|
|
31506
32015
|
}
|
|
31507
32016
|
},
|
|
32017
|
+
"description": "Required privilege:\n- resource: sr, action: scan",
|
|
31508
32018
|
"tags": [
|
|
31509
32019
|
"srs"
|
|
31510
32020
|
],
|
|
@@ -31565,6 +32075,9 @@
|
|
|
31565
32075
|
"401": {
|
|
31566
32076
|
"description": "Authentication required"
|
|
31567
32077
|
},
|
|
32078
|
+
"403": {
|
|
32079
|
+
"description": "Forbidden"
|
|
32080
|
+
},
|
|
31568
32081
|
"404": {
|
|
31569
32082
|
"description": "Resource not found"
|
|
31570
32083
|
},
|
|
@@ -31575,6 +32088,7 @@
|
|
|
31575
32088
|
"description": "Internal server error, XenServer/XCP-ng error"
|
|
31576
32089
|
}
|
|
31577
32090
|
},
|
|
32091
|
+
"description": "Required privilege:\n- resource: sr, action: forget",
|
|
31578
32092
|
"tags": [
|
|
31579
32093
|
"srs"
|
|
31580
32094
|
],
|
|
@@ -36892,6 +37406,104 @@
|
|
|
36892
37406
|
"x-mcp-exposure": "confirm"
|
|
36893
37407
|
}
|
|
36894
37408
|
},
|
|
37409
|
+
"/pools/{id}/actions/add_host": {
|
|
37410
|
+
"post": {
|
|
37411
|
+
"operationId": "AddHost",
|
|
37412
|
+
"responses": {
|
|
37413
|
+
"202": {
|
|
37414
|
+
"description": "Action executed asynchronously",
|
|
37415
|
+
"content": {
|
|
37416
|
+
"application/json": {
|
|
37417
|
+
"schema": {
|
|
37418
|
+
"$ref": "#/components/schemas/CreateActionReturnType_void_"
|
|
37419
|
+
},
|
|
37420
|
+
"examples": {
|
|
37421
|
+
"Example 1": {
|
|
37422
|
+
"value": {
|
|
37423
|
+
"taskId": "0m7kl0j9l"
|
|
37424
|
+
}
|
|
37425
|
+
}
|
|
37426
|
+
}
|
|
37427
|
+
}
|
|
37428
|
+
}
|
|
37429
|
+
},
|
|
37430
|
+
"204": {
|
|
37431
|
+
"description": "No content"
|
|
37432
|
+
},
|
|
37433
|
+
"400": {
|
|
37434
|
+
"description": "Bad request"
|
|
37435
|
+
},
|
|
37436
|
+
"401": {
|
|
37437
|
+
"description": "Authentication required"
|
|
37438
|
+
},
|
|
37439
|
+
"403": {
|
|
37440
|
+
"description": "Forbidden"
|
|
37441
|
+
},
|
|
37442
|
+
"404": {
|
|
37443
|
+
"description": "Resource not found"
|
|
37444
|
+
},
|
|
37445
|
+
"422": {
|
|
37446
|
+
"description": "Invalid parameters"
|
|
37447
|
+
},
|
|
37448
|
+
"500": {
|
|
37449
|
+
"description": "Internal server error, XenServer/XCP-ng error"
|
|
37450
|
+
}
|
|
37451
|
+
},
|
|
37452
|
+
"description": "Required privileges:\n- resource: pool, action: add-host\n- resource: host, action: join-pool\n\nAdd a host to the pool.",
|
|
37453
|
+
"tags": [
|
|
37454
|
+
"pools"
|
|
37455
|
+
],
|
|
37456
|
+
"security": [
|
|
37457
|
+
{
|
|
37458
|
+
"*": []
|
|
37459
|
+
}
|
|
37460
|
+
],
|
|
37461
|
+
"parameters": [
|
|
37462
|
+
{
|
|
37463
|
+
"in": "path",
|
|
37464
|
+
"name": "id",
|
|
37465
|
+
"required": true,
|
|
37466
|
+
"schema": {
|
|
37467
|
+
"type": "string"
|
|
37468
|
+
},
|
|
37469
|
+
"example": "355ee47d-ff4c-4924-3db2-fd86ae629676"
|
|
37470
|
+
},
|
|
37471
|
+
{
|
|
37472
|
+
"in": "query",
|
|
37473
|
+
"name": "sync",
|
|
37474
|
+
"required": false,
|
|
37475
|
+
"schema": {
|
|
37476
|
+
"type": "boolean"
|
|
37477
|
+
}
|
|
37478
|
+
}
|
|
37479
|
+
],
|
|
37480
|
+
"requestBody": {
|
|
37481
|
+
"required": true,
|
|
37482
|
+
"content": {
|
|
37483
|
+
"application/json": {
|
|
37484
|
+
"schema": {
|
|
37485
|
+
"properties": {
|
|
37486
|
+
"force": {
|
|
37487
|
+
"type": "boolean"
|
|
37488
|
+
},
|
|
37489
|
+
"host": {
|
|
37490
|
+
"type": "string"
|
|
37491
|
+
}
|
|
37492
|
+
},
|
|
37493
|
+
"required": [
|
|
37494
|
+
"host"
|
|
37495
|
+
],
|
|
37496
|
+
"type": "object"
|
|
37497
|
+
},
|
|
37498
|
+
"example": {
|
|
37499
|
+
"host": "c787b75c-3e0d-70fa-d0c3-cbfd382d7e33",
|
|
37500
|
+
"force": "false"
|
|
37501
|
+
}
|
|
37502
|
+
}
|
|
37503
|
+
}
|
|
37504
|
+
}
|
|
37505
|
+
}
|
|
37506
|
+
},
|
|
36895
37507
|
"/pifs": {
|
|
36896
37508
|
"get": {
|
|
36897
37509
|
"operationId": "GetPifs",
|
|
@@ -38004,6 +38616,9 @@
|
|
|
38004
38616
|
"401": {
|
|
38005
38617
|
"description": "Authentication required"
|
|
38006
38618
|
},
|
|
38619
|
+
"403": {
|
|
38620
|
+
"description": "Forbidden"
|
|
38621
|
+
},
|
|
38007
38622
|
"404": {
|
|
38008
38623
|
"description": "Resource not found"
|
|
38009
38624
|
},
|
|
@@ -38014,6 +38629,7 @@
|
|
|
38014
38629
|
"description": "Internal server error, XenServer/XCP-ng error"
|
|
38015
38630
|
}
|
|
38016
38631
|
},
|
|
38632
|
+
"description": "Required privilege:\n- resource: pbd, action: plug",
|
|
38017
38633
|
"tags": [
|
|
38018
38634
|
"pbds"
|
|
38019
38635
|
],
|
|
@@ -38074,6 +38690,9 @@
|
|
|
38074
38690
|
"401": {
|
|
38075
38691
|
"description": "Authentication required"
|
|
38076
38692
|
},
|
|
38693
|
+
"403": {
|
|
38694
|
+
"description": "Forbidden"
|
|
38695
|
+
},
|
|
38077
38696
|
"404": {
|
|
38078
38697
|
"description": "Resource not found"
|
|
38079
38698
|
},
|
|
@@ -38084,6 +38703,7 @@
|
|
|
38084
38703
|
"description": "Internal server error, XenServer/XCP-ng error"
|
|
38085
38704
|
}
|
|
38086
38705
|
},
|
|
38706
|
+
"description": "Required privilege:\n- resource: pbd, action: unplug",
|
|
38087
38707
|
"tags": [
|
|
38088
38708
|
"pbds"
|
|
38089
38709
|
],
|
|
@@ -46635,6 +47255,680 @@
|
|
|
46635
47255
|
"x-mcp-exposure": "confirm"
|
|
46636
47256
|
}
|
|
46637
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,
|
|
47699
|
+
"content": {
|
|
47700
|
+
"application/json": {
|
|
47701
|
+
"schema": {
|
|
47702
|
+
"properties": {
|
|
47703
|
+
"bypassBackupCheck": {
|
|
47704
|
+
"type": "boolean",
|
|
47705
|
+
"description": "Skip the backup safety check before restarting the toolstack. Defaults to false."
|
|
47706
|
+
}
|
|
47707
|
+
},
|
|
47708
|
+
"type": "object"
|
|
47709
|
+
}
|
|
47710
|
+
}
|
|
47711
|
+
}
|
|
47712
|
+
},
|
|
47713
|
+
"x-mcp-exposure": "confirm"
|
|
47714
|
+
}
|
|
47715
|
+
},
|
|
47716
|
+
"/hosts/{id}/actions/emergency_shutdown": {
|
|
47717
|
+
"post": {
|
|
47718
|
+
"operationId": "EmergencyShutdownHost",
|
|
47719
|
+
"responses": {
|
|
47720
|
+
"202": {
|
|
47721
|
+
"description": "Action executed asynchronously",
|
|
47722
|
+
"content": {
|
|
47723
|
+
"application/json": {
|
|
47724
|
+
"schema": {
|
|
47725
|
+
"$ref": "#/components/schemas/CreateActionReturnType_void_"
|
|
47726
|
+
},
|
|
47727
|
+
"examples": {
|
|
47728
|
+
"Example 1": {
|
|
47729
|
+
"value": {
|
|
47730
|
+
"taskId": "0m7kl0j9l"
|
|
47731
|
+
}
|
|
47732
|
+
}
|
|
47733
|
+
}
|
|
47734
|
+
}
|
|
47735
|
+
}
|
|
47736
|
+
},
|
|
47737
|
+
"204": {
|
|
47738
|
+
"description": "No content"
|
|
47739
|
+
},
|
|
47740
|
+
"400": {
|
|
47741
|
+
"description": "Bad request"
|
|
47742
|
+
},
|
|
47743
|
+
"401": {
|
|
47744
|
+
"description": "Authentication required"
|
|
47745
|
+
},
|
|
47746
|
+
"403": {
|
|
47747
|
+
"description": "Forbidden"
|
|
47748
|
+
},
|
|
47749
|
+
"404": {
|
|
47750
|
+
"description": "Resource not found"
|
|
47751
|
+
},
|
|
47752
|
+
"500": {
|
|
47753
|
+
"description": "Internal server error, XenServer/XCP-ng error"
|
|
47754
|
+
}
|
|
47755
|
+
},
|
|
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.",
|
|
47757
|
+
"tags": [
|
|
47758
|
+
"hosts"
|
|
47759
|
+
],
|
|
47760
|
+
"security": [
|
|
47761
|
+
{
|
|
47762
|
+
"*": []
|
|
47763
|
+
}
|
|
47764
|
+
],
|
|
47765
|
+
"parameters": [
|
|
47766
|
+
{
|
|
47767
|
+
"in": "path",
|
|
47768
|
+
"name": "id",
|
|
47769
|
+
"required": true,
|
|
47770
|
+
"schema": {
|
|
47771
|
+
"type": "string"
|
|
47772
|
+
},
|
|
47773
|
+
"example": "b61a5c92-700e-4966-a13b-00633f03eea8"
|
|
47774
|
+
},
|
|
47775
|
+
{
|
|
47776
|
+
"in": "query",
|
|
47777
|
+
"name": "sync",
|
|
47778
|
+
"required": false,
|
|
47779
|
+
"schema": {
|
|
47780
|
+
"type": "boolean"
|
|
47781
|
+
}
|
|
47782
|
+
}
|
|
47783
|
+
],
|
|
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
|
+
}
|
|
47803
|
+
}
|
|
47804
|
+
}
|
|
47805
|
+
}
|
|
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"
|
|
47825
|
+
}
|
|
47826
|
+
},
|
|
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"
|
|
47856
|
+
}
|
|
47857
|
+
},
|
|
47858
|
+
"/hosts/{id}/actions/forget": {
|
|
47859
|
+
"post": {
|
|
47860
|
+
"operationId": "ForgetHost",
|
|
47861
|
+
"responses": {
|
|
47862
|
+
"202": {
|
|
47863
|
+
"description": "Action executed asynchronously",
|
|
47864
|
+
"content": {
|
|
47865
|
+
"application/json": {
|
|
47866
|
+
"schema": {
|
|
47867
|
+
"$ref": "#/components/schemas/CreateActionReturnType_void_"
|
|
47868
|
+
},
|
|
47869
|
+
"examples": {
|
|
47870
|
+
"Example 1": {
|
|
47871
|
+
"value": {
|
|
47872
|
+
"taskId": "0m7kl0j9l"
|
|
47873
|
+
}
|
|
47874
|
+
}
|
|
47875
|
+
}
|
|
47876
|
+
}
|
|
47877
|
+
}
|
|
47878
|
+
},
|
|
47879
|
+
"204": {
|
|
47880
|
+
"description": "No content"
|
|
47881
|
+
},
|
|
47882
|
+
"400": {
|
|
47883
|
+
"description": "Bad request"
|
|
47884
|
+
},
|
|
47885
|
+
"401": {
|
|
47886
|
+
"description": "Authentication required"
|
|
47887
|
+
},
|
|
47888
|
+
"403": {
|
|
47889
|
+
"description": "Forbidden"
|
|
47890
|
+
},
|
|
47891
|
+
"404": {
|
|
47892
|
+
"description": "Resource not found"
|
|
47893
|
+
},
|
|
47894
|
+
"409": {
|
|
47895
|
+
"description": "Incorrect state"
|
|
47896
|
+
},
|
|
47897
|
+
"500": {
|
|
47898
|
+
"description": "Internal server error, XenServer/XCP-ng error"
|
|
47899
|
+
}
|
|
47900
|
+
},
|
|
47901
|
+
"description": "Required privilege:\n- resource: host, action: forget\n\nForgets a host, host must not be running.",
|
|
47902
|
+
"tags": [
|
|
47903
|
+
"hosts"
|
|
47904
|
+
],
|
|
47905
|
+
"security": [
|
|
47906
|
+
{
|
|
47907
|
+
"*": []
|
|
47908
|
+
}
|
|
47909
|
+
],
|
|
47910
|
+
"parameters": [
|
|
47911
|
+
{
|
|
47912
|
+
"in": "path",
|
|
47913
|
+
"name": "id",
|
|
47914
|
+
"required": true,
|
|
47915
|
+
"schema": {
|
|
47916
|
+
"type": "string"
|
|
47917
|
+
},
|
|
47918
|
+
"example": "b61a5c92-700e-4966-a13b-00633f03eea8"
|
|
47919
|
+
},
|
|
47920
|
+
{
|
|
47921
|
+
"in": "query",
|
|
47922
|
+
"name": "sync",
|
|
47923
|
+
"required": false,
|
|
47924
|
+
"schema": {
|
|
47925
|
+
"type": "boolean"
|
|
47926
|
+
}
|
|
47927
|
+
}
|
|
47928
|
+
],
|
|
47929
|
+
"x-mcp-exposure": "deny"
|
|
47930
|
+
}
|
|
47931
|
+
},
|
|
46638
47932
|
"/groups": {
|
|
46639
47933
|
"get": {
|
|
46640
47934
|
"operationId": "GetGroups",
|
|
@@ -47617,6 +48911,74 @@
|
|
|
47617
48911
|
}
|
|
47618
48912
|
],
|
|
47619
48913
|
"x-mcp-exposure": "allow"
|
|
48914
|
+
},
|
|
48915
|
+
"post": {
|
|
48916
|
+
"operationId": "CreateBackupRepository",
|
|
48917
|
+
"responses": {
|
|
48918
|
+
"201": {
|
|
48919
|
+
"description": "Resource created",
|
|
48920
|
+
"content": {
|
|
48921
|
+
"application/json": {
|
|
48922
|
+
"schema": {
|
|
48923
|
+
"properties": {
|
|
48924
|
+
"id": {
|
|
48925
|
+
"type": "string"
|
|
48926
|
+
}
|
|
48927
|
+
},
|
|
48928
|
+
"required": [
|
|
48929
|
+
"id"
|
|
48930
|
+
],
|
|
48931
|
+
"type": "object"
|
|
48932
|
+
},
|
|
48933
|
+
"examples": {
|
|
48934
|
+
"Example 1": {
|
|
48935
|
+
"value": {
|
|
48936
|
+
"id": "677e50c5-8d8a-4c89-b1ac-e2f4593d0ebb"
|
|
48937
|
+
}
|
|
48938
|
+
}
|
|
48939
|
+
}
|
|
48940
|
+
}
|
|
48941
|
+
}
|
|
48942
|
+
},
|
|
48943
|
+
"400": {
|
|
48944
|
+
"description": "Bad request"
|
|
48945
|
+
},
|
|
48946
|
+
"401": {
|
|
48947
|
+
"description": "Authentication required"
|
|
48948
|
+
},
|
|
48949
|
+
"403": {
|
|
48950
|
+
"description": "Forbidden"
|
|
48951
|
+
},
|
|
48952
|
+
"422": {
|
|
48953
|
+
"description": "Invalid parameters"
|
|
48954
|
+
}
|
|
48955
|
+
},
|
|
48956
|
+
"description": "Required privilege:\n- resource: backup-repository, action: create",
|
|
48957
|
+
"tags": [
|
|
48958
|
+
"backup-repositories"
|
|
48959
|
+
],
|
|
48960
|
+
"security": [
|
|
48961
|
+
{
|
|
48962
|
+
"*": []
|
|
48963
|
+
}
|
|
48964
|
+
],
|
|
48965
|
+
"parameters": [],
|
|
48966
|
+
"requestBody": {
|
|
48967
|
+
"required": true,
|
|
48968
|
+
"content": {
|
|
48969
|
+
"application/json": {
|
|
48970
|
+
"schema": {
|
|
48971
|
+
"$ref": "#/components/schemas/Unbrand_Parameters_XoApp-at-createRemote__91_0_93__"
|
|
48972
|
+
},
|
|
48973
|
+
"example": {
|
|
48974
|
+
"name": "NFS Remote",
|
|
48975
|
+
"options": "vers=4",
|
|
48976
|
+
"proxy": "722d17b9-699b-59d2-8193-be1ac573d3de",
|
|
48977
|
+
"url": "nfs://192.168.100.225:/media/nfs"
|
|
48978
|
+
}
|
|
48979
|
+
}
|
|
48980
|
+
}
|
|
48981
|
+
}
|
|
47620
48982
|
}
|
|
47621
48983
|
},
|
|
47622
48984
|
"/backup-repositories/{id}": {
|
|
@@ -47684,6 +49046,269 @@
|
|
|
47684
49046
|
}
|
|
47685
49047
|
],
|
|
47686
49048
|
"x-mcp-exposure": "allow"
|
|
49049
|
+
},
|
|
49050
|
+
"patch": {
|
|
49051
|
+
"operationId": "UpdateBackupRepository",
|
|
49052
|
+
"responses": {
|
|
49053
|
+
"204": {
|
|
49054
|
+
"description": "No content"
|
|
49055
|
+
},
|
|
49056
|
+
"400": {
|
|
49057
|
+
"description": "Bad request"
|
|
49058
|
+
},
|
|
49059
|
+
"401": {
|
|
49060
|
+
"description": "Authentication required"
|
|
49061
|
+
},
|
|
49062
|
+
"403": {
|
|
49063
|
+
"description": "Forbidden"
|
|
49064
|
+
},
|
|
49065
|
+
"404": {
|
|
49066
|
+
"description": "Resource not found"
|
|
49067
|
+
},
|
|
49068
|
+
"422": {
|
|
49069
|
+
"description": "Invalid parameters"
|
|
49070
|
+
}
|
|
49071
|
+
},
|
|
49072
|
+
"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)",
|
|
49073
|
+
"tags": [
|
|
49074
|
+
"backup-repositories"
|
|
49075
|
+
],
|
|
49076
|
+
"security": [
|
|
49077
|
+
{
|
|
49078
|
+
"*": []
|
|
49079
|
+
}
|
|
49080
|
+
],
|
|
49081
|
+
"parameters": [
|
|
49082
|
+
{
|
|
49083
|
+
"in": "path",
|
|
49084
|
+
"name": "id",
|
|
49085
|
+
"required": true,
|
|
49086
|
+
"schema": {
|
|
49087
|
+
"type": "string"
|
|
49088
|
+
},
|
|
49089
|
+
"example": "c4284e12-37c9-7967-b9e8-83ef229c3e03"
|
|
49090
|
+
}
|
|
49091
|
+
],
|
|
49092
|
+
"requestBody": {
|
|
49093
|
+
"required": true,
|
|
49094
|
+
"content": {
|
|
49095
|
+
"application/json": {
|
|
49096
|
+
"schema": {
|
|
49097
|
+
"$ref": "#/components/schemas/Unbrand_Parameters_XoApp-at-updateRemote__91_1_93__"
|
|
49098
|
+
},
|
|
49099
|
+
"example": {
|
|
49100
|
+
"enabled": true,
|
|
49101
|
+
"name": "NFS Remote",
|
|
49102
|
+
"options": "vers=4",
|
|
49103
|
+
"proxy": "722d17b9-699b-59d2-8193-be1ac573d3de",
|
|
49104
|
+
"url": "nfs://192.168.100.225:/media/nfs"
|
|
49105
|
+
}
|
|
49106
|
+
}
|
|
49107
|
+
}
|
|
49108
|
+
}
|
|
49109
|
+
}
|
|
49110
|
+
},
|
|
49111
|
+
"/backup-repositories/{id}/actions/forget": {
|
|
49112
|
+
"post": {
|
|
49113
|
+
"operationId": "ForgetBackupRepository",
|
|
49114
|
+
"responses": {
|
|
49115
|
+
"204": {
|
|
49116
|
+
"description": "No content",
|
|
49117
|
+
"content": {
|
|
49118
|
+
"application/json": {
|
|
49119
|
+
"schema": {
|
|
49120
|
+
"$ref": "#/components/schemas/CreateActionReturnType_void_"
|
|
49121
|
+
},
|
|
49122
|
+
"examples": {
|
|
49123
|
+
"Example 1": {
|
|
49124
|
+
"value": {
|
|
49125
|
+
"taskId": "0m7kl0j9l"
|
|
49126
|
+
}
|
|
49127
|
+
}
|
|
49128
|
+
}
|
|
49129
|
+
}
|
|
49130
|
+
}
|
|
49131
|
+
},
|
|
49132
|
+
"400": {
|
|
49133
|
+
"description": "Bad request"
|
|
49134
|
+
},
|
|
49135
|
+
"401": {
|
|
49136
|
+
"description": "Authentication required"
|
|
49137
|
+
},
|
|
49138
|
+
"403": {
|
|
49139
|
+
"description": "Forbidden"
|
|
49140
|
+
},
|
|
49141
|
+
"404": {
|
|
49142
|
+
"description": "Resource not found"
|
|
49143
|
+
}
|
|
49144
|
+
},
|
|
49145
|
+
"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",
|
|
49146
|
+
"tags": [
|
|
49147
|
+
"backup-repositories"
|
|
49148
|
+
],
|
|
49149
|
+
"security": [
|
|
49150
|
+
{
|
|
49151
|
+
"*": []
|
|
49152
|
+
}
|
|
49153
|
+
],
|
|
49154
|
+
"parameters": [
|
|
49155
|
+
{
|
|
49156
|
+
"in": "path",
|
|
49157
|
+
"name": "id",
|
|
49158
|
+
"required": true,
|
|
49159
|
+
"schema": {
|
|
49160
|
+
"type": "string"
|
|
49161
|
+
},
|
|
49162
|
+
"example": "c4284e12-37c9-7967-b9e8-83ef229c3e03"
|
|
49163
|
+
},
|
|
49164
|
+
{
|
|
49165
|
+
"in": "query",
|
|
49166
|
+
"name": "sync",
|
|
49167
|
+
"required": false,
|
|
49168
|
+
"schema": {
|
|
49169
|
+
"type": "boolean"
|
|
49170
|
+
}
|
|
49171
|
+
}
|
|
49172
|
+
],
|
|
49173
|
+
"x-mcp-exposure": "confirm"
|
|
49174
|
+
}
|
|
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"
|
|
47687
49312
|
}
|
|
47688
49313
|
},
|
|
47689
49314
|
"/backup-logs": {
|