@xen-orchestra/rest-api 0.22.1 → 0.24.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.
@@ -73,6 +73,21 @@ import { iocContainer } from './../../ioc/ioc.mjs';
73
73
  const expressAuthenticationRecasted = expressAuthentication;
74
74
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
75
75
  const models = {
76
+ "IsEmptyData": {
77
+ "dataType": "refAlias",
78
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "isEmpty": { "dataType": "enum", "enums": [true], "required": true } }, "validators": {} },
79
+ },
80
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
81
+ "MissingPatchesInfo": {
82
+ "dataType": "refAlias",
83
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "nPoolsWithMissingPatches": { "dataType": "double", "required": true }, "nPools": { "dataType": "double", "required": true }, "nHostsFailed": { "dataType": "double", "required": true }, "nHostsWithMissingPatches": { "dataType": "double", "required": true }, "nHostsEol": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "ref": "IsEmptyData" }], "required": true }, "nHosts": { "dataType": "double", "required": true }, "hasAuthorization": { "dataType": "enum", "enums": [true], "required": true } }, "validators": {} },
84
+ },
85
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
86
+ "HasNoAuthorization": {
87
+ "dataType": "refAlias",
88
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "hasAuthorization": { "dataType": "enum", "enums": [false], "required": true } }, "validators": {} },
89
+ },
90
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
76
91
  "PromiseWriteInStreamError": {
77
92
  "dataType": "refAlias",
78
93
  "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "error": { "dataType": "enum", "enums": [true], "required": true } }, "validators": {} },
@@ -83,6 +98,21 @@ const models = {
83
98
  "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "other": { "dataType": "nestedObjectLiteral", "nestedProperties": { "size": { "dataType": "nestedObjectLiteral", "nestedProperties": { "used": { "dataType": "double" }, "total": { "dataType": "double" }, "other": { "dataType": "double" }, "backups": { "dataType": "double", "required": true }, "available": { "dataType": "double" } }, "required": true } } }, "s3": { "dataType": "nestedObjectLiteral", "nestedProperties": { "size": { "dataType": "nestedObjectLiteral", "nestedProperties": { "backups": { "dataType": "double", "required": true } }, "required": true } } } }, "validators": {} },
84
99
  },
85
100
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
101
+ "IsMaybeExpired_DashboardBackupRepositoriesSizeInfo_": {
102
+ "dataType": "refAlias",
103
+ "type": { "dataType": "intersection", "subSchemas": [{ "ref": "DashboardBackupRepositoriesSizeInfo" }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "isExpired": { "dataType": "enum", "enums": [true] } } }], "validators": {} },
104
+ },
105
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
106
+ "IsMaybeExpired_IsEmptyData_": {
107
+ "dataType": "refAlias",
108
+ "type": { "dataType": "intersection", "subSchemas": [{ "ref": "IsEmptyData" }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "isExpired": { "dataType": "enum", "enums": [true] } } }], "validators": {} },
109
+ },
110
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
111
+ "SrSizeInfo": {
112
+ "dataType": "refAlias",
113
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "size": { "dataType": "nestedObjectLiteral", "nestedProperties": { "used": { "dataType": "double", "required": true }, "total": { "dataType": "double", "required": true }, "replicated": { "dataType": "double", "required": true }, "other": { "dataType": "double", "required": true }, "available": { "dataType": "double", "required": true } }, "required": true } }, "validators": {} },
114
+ },
115
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
86
116
  "BACKUP_TYPE": {
87
117
  "dataType": "refAlias",
88
118
  "type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["backup"] }, { "dataType": "enum", "enums": ["metadataBackup"] }, { "dataType": "enum", "enums": ["mirrorBackup"] }], "validators": {} },
@@ -90,12 +120,17 @@ const models = {
90
120
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
91
121
  "DashboardBackupsInfo": {
92
122
  "dataType": "refAlias",
93
- "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "vmsProtection": { "dataType": "nestedObjectLiteral", "nestedProperties": { "notInJob": { "dataType": "double", "required": true }, "unprotected": { "dataType": "double", "required": true }, "protected": { "dataType": "double", "required": true } }, "required": true }, "issues": { "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "uuid": { "dataType": "string", "required": true }, "type": { "ref": "BACKUP_TYPE", "required": true }, "name": { "dataType": "string" }, "logs": { "dataType": "array", "array": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["failure"] }, { "dataType": "enum", "enums": ["interrupted"] }, { "dataType": "enum", "enums": ["skipped"] }, { "dataType": "enum", "enums": ["success"] }] }, "required": true } } }, "required": true }, "jobs": { "dataType": "nestedObjectLiteral", "nestedProperties": { "total": { "dataType": "double", "required": true }, "successful": { "dataType": "double", "required": true }, "skipped": { "dataType": "double", "required": true }, "failed": { "dataType": "double", "required": true }, "disabled": { "dataType": "double", "required": true } }, "required": true } }, "validators": {} },
123
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "vmsProtection": { "dataType": "nestedObjectLiteral", "nestedProperties": { "notInJob": { "dataType": "double", "required": true }, "unprotected": { "dataType": "double", "required": true }, "protected": { "dataType": "double", "required": true } }, "required": true }, "issues": { "dataType": "array", "array": { "dataType": "nestedObjectLiteral", "nestedProperties": { "uuid": { "dataType": "string", "required": true }, "type": { "ref": "BACKUP_TYPE", "required": true }, "name": { "dataType": "string" }, "logs": { "dataType": "array", "array": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["failure"] }, { "dataType": "enum", "enums": ["interrupted"] }, { "dataType": "enum", "enums": ["skipped"] }, { "dataType": "enum", "enums": ["success"] }] }, "required": true } } }, "required": true }, "jobs": { "dataType": "nestedObjectLiteral", "nestedProperties": { "total": { "dataType": "double", "required": true }, "successful": { "dataType": "double", "required": true }, "skipped": { "dataType": "double", "required": true }, "noRecentRun": { "dataType": "double", "required": true }, "failed": { "dataType": "double", "required": true }, "disabled": { "dataType": "double", "required": true } }, "required": true } }, "validators": {} },
124
+ },
125
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
126
+ "IsMaybeExpired_DashboardBackupsInfo_": {
127
+ "dataType": "refAlias",
128
+ "type": { "dataType": "intersection", "subSchemas": [{ "ref": "DashboardBackupsInfo" }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "isExpired": { "dataType": "enum", "enums": [true] } } }], "validators": {} },
94
129
  },
95
130
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
96
131
  "XoaDashboard": {
97
132
  "dataType": "refAlias",
98
- "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "poolsStatus": { "dataType": "nestedObjectLiteral", "nestedProperties": { "unknown": { "dataType": "double", "required": true }, "unreachable": { "dataType": "double", "required": true }, "connected": { "dataType": "double", "required": true } }, "required": true }, "resourcesOverview": { "dataType": "nestedObjectLiteral", "nestedProperties": { "srSize": { "dataType": "double", "required": true }, "memorySize": { "dataType": "double", "required": true }, "nCpus": { "dataType": "double", "required": true } }, "required": true }, "backups": { "dataType": "union", "subSchemas": [{ "ref": "DashboardBackupsInfo" }, { "ref": "PromiseWriteInStreamError" }] }, "storageRepositories": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "size": { "dataType": "nestedObjectLiteral", "nestedProperties": { "used": { "dataType": "double", "required": true }, "total": { "dataType": "double", "required": true }, "replicated": { "dataType": "double", "required": true }, "other": { "dataType": "double", "required": true }, "available": { "dataType": "double", "required": true } }, "required": true } } }, { "ref": "PromiseWriteInStreamError" }], "required": true }, "backupRepositories": { "dataType": "union", "subSchemas": [{ "ref": "DashboardBackupRepositoriesSizeInfo" }, { "ref": "PromiseWriteInStreamError" }] }, "missingPatches": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "hasAuthorization": { "dataType": "enum", "enums": [false], "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "nHostsFailed": { "dataType": "double", "required": true }, "nPoolsWithMissingPatches": { "dataType": "double", "required": true }, "nHostsWithMissingPatches": { "dataType": "double", "required": true }, "hasAuthorization": { "dataType": "enum", "enums": [true], "required": true } } }], "required": true }, "vmsStatus": { "dataType": "nestedObjectLiteral", "nestedProperties": { "total": { "dataType": "double", "required": true }, "unknown": { "dataType": "double", "required": true }, "inactive": { "dataType": "double", "required": true }, "active": { "dataType": "double", "required": true } }, "required": true }, "hostsStatus": { "dataType": "nestedObjectLiteral", "nestedProperties": { "total": { "dataType": "double", "required": true }, "unknown": { "dataType": "double", "required": true }, "halted": { "dataType": "double", "required": true }, "running": { "dataType": "double", "required": true } }, "required": true }, "nHostsEol": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "ref": "PromiseWriteInStreamError" }] }, "nHosts": { "dataType": "double", "required": true }, "nPools": { "dataType": "double", "required": true } }, "validators": {} },
133
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "poolsStatus": { "dataType": "nestedObjectLiteral", "nestedProperties": { "total": { "dataType": "double", "required": true }, "unknown": { "dataType": "double", "required": true }, "unreachable": { "dataType": "double", "required": true }, "disconnected": { "dataType": "double", "required": true }, "connected": { "dataType": "double", "required": true } }, "required": true }, "resourcesOverview": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "srSize": { "dataType": "double", "required": true }, "memorySize": { "dataType": "double", "required": true }, "nCpus": { "dataType": "double", "required": true } } }, { "ref": "IsEmptyData" }], "required": true }, "backups": { "dataType": "union", "subSchemas": [{ "ref": "IsMaybeExpired_DashboardBackupsInfo_" }, { "ref": "IsMaybeExpired_IsEmptyData_" }, { "ref": "PromiseWriteInStreamError" }] }, "storageRepositories": { "dataType": "union", "subSchemas": [{ "ref": "SrSizeInfo" }, { "ref": "PromiseWriteInStreamError" }, { "ref": "IsEmptyData" }], "required": true }, "backupRepositories": { "dataType": "union", "subSchemas": [{ "ref": "IsMaybeExpired_DashboardBackupRepositoriesSizeInfo_" }, { "ref": "IsMaybeExpired_IsEmptyData_" }, { "ref": "PromiseWriteInStreamError" }] }, "missingPatches": { "dataType": "union", "subSchemas": [{ "ref": "MissingPatchesInfo" }, { "ref": "HasNoAuthorization" }, { "ref": "PromiseWriteInStreamError" }], "required": true }, "vmsStatus": { "dataType": "nestedObjectLiteral", "nestedProperties": { "total": { "dataType": "double", "required": true }, "unknown": { "dataType": "double", "required": true }, "suspended": { "dataType": "double", "required": true }, "running": { "dataType": "double", "required": true }, "paused": { "dataType": "double", "required": true }, "inactive": { "dataType": "double", "required": true }, "halted": { "dataType": "double", "required": true }, "active": { "dataType": "double", "required": true } }, "required": true }, "hostsStatus": { "dataType": "nestedObjectLiteral", "nestedProperties": { "total": { "dataType": "double", "required": true }, "unknown": { "dataType": "double", "required": true }, "halted": { "dataType": "double", "required": true }, "running": { "dataType": "double", "required": true }, "disabled": { "dataType": "double", "required": true } }, "required": true }, "nHosts": { "dataType": "double", "required": true }, "nPools": { "dataType": "double", "required": true } }, "validators": {} },
99
134
  },
100
135
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
101
136
  "PingResponse": {
@@ -340,7 +375,7 @@ const models = {
340
375
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
341
376
  "Unbrand_VmDashboard-at-backupsInfo_91_replication_93__": {
342
377
  "dataType": "refAlias",
343
- "type": { "dataType": "union", "subSchemas": [{ "dataType": "undefined" }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "timestamp": { "dataType": "double", "required": true }, "sr": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }], "validators": {} },
378
+ "type": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": {} }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true }, "timestamp": { "dataType": "double", "required": true }, "sr": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }], "validators": {} },
344
379
  },
345
380
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
346
381
  "Unbrand_VmDashboardBackupArchive_": {
@@ -350,7 +385,7 @@ const models = {
350
385
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
351
386
  "UnbrandedVmDashboard": {
352
387
  "dataType": "refAlias",
353
- "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "backupsInfo": { "dataType": "nestedObjectLiteral", "nestedProperties": { "backupArchives": { "dataType": "array", "array": { "dataType": "refAlias", "ref": "Unbrand_VmDashboardBackupArchive_" }, "required": true }, "replication": { "ref": "Unbrand_VmDashboard-at-backupsInfo_91_replication_93__" }, "vmProtection": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["protected"] }, { "dataType": "enum", "enums": ["unprotected"] }, { "dataType": "enum", "enums": ["not-in-job"] }], "required": true }, "lastRuns": { "dataType": "array", "array": { "dataType": "refAlias", "ref": "Unbrand_VmDashboardRun_" }, "required": true } }, "required": true }, "alarms": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "quickInfo": { "dataType": "intersection", "subSchemas": [{ "ref": "Omit_Unbrand_VmDashboard-at-quickInfo_.creation_" }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "creation": { "ref": "Unbrand_VmDashboard-at-quickInfo_91_creation_93__", "required": true } } }], "required": true } }, "validators": {} },
388
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "backupsInfo": { "dataType": "nestedObjectLiteral", "nestedProperties": { "backupArchives": { "dataType": "array", "array": { "dataType": "refAlias", "ref": "Unbrand_VmDashboardBackupArchive_" }, "required": true }, "replication": { "ref": "Unbrand_VmDashboard-at-backupsInfo_91_replication_93__", "required": true }, "vmProtection": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["protected"] }, { "dataType": "enum", "enums": ["unprotected"] }, { "dataType": "enum", "enums": ["not-in-active-job"] }], "required": true }, "lastRuns": { "dataType": "array", "array": { "dataType": "refAlias", "ref": "Unbrand_VmDashboardRun_" }, "required": true } }, "required": true }, "alarms": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "quickInfo": { "dataType": "intersection", "subSchemas": [{ "ref": "Omit_Unbrand_VmDashboard-at-quickInfo_.creation_" }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "creation": { "ref": "Unbrand_VmDashboard-at-quickInfo_91_creation_93__", "required": true } } }], "required": true } }, "validators": {} },
354
389
  },
355
390
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
356
391
  "Partial_Unbrand_XoVmTemplate__": {
@@ -428,21 +463,6 @@ const models = {
428
463
  "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "$pool": { "dataType": "string", "required": true }, "$poolId": { "dataType": "string", "required": true }, "_xapiRef": { "dataType": "string", "required": true }, "uuid": { "dataType": "string", "required": true }, "$VBDs": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "$VGPUs": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "$container": { "dataType": "string", "required": true }, "CPUs": { "dataType": "nestedObjectLiteral", "nestedProperties": { "number": { "dataType": "double", "required": true }, "max": { "dataType": "double", "required": true } }, "required": true }, "PV_args": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "VGPUs": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "VIFs": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "VTPMs": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "addresses": { "ref": "Record_string.string_", "required": true }, "affinityHost": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "attachedPcis": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "auto_poweron": { "dataType": "boolean", "required": true }, "bios_strings": { "ref": "Record_string.string_", "required": true }, "blockedOperations": { "ref": "Record_VM_OPERATIONS.string_", "required": true }, "boot": { "ref": "Record_string.string_", "required": true }, "coresPerSocket": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "cpuCap": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "cpuMask": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "double" } }, { "dataType": "undefined" }] }, "cpuWeight": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "creation": { "ref": "Record_string.string_", "required": true }, "current_operations": { "ref": "Record_string.VM_OPERATIONS_", "required": true }, "docker": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "version": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "process": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "info": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "enabled": { "dataType": "boolean", "required": true }, "containers": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] } } }, { "dataType": "undefined" }] }, "expNestedHvm": { "dataType": "boolean", "required": true }, "isNestedVirtEnabled": { "dataType": "boolean", "required": true }, "hasVendorDevice": { "dataType": "boolean", "required": true }, "high_availability": { "dataType": "string", "required": true }, "installTime": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "enum", "enums": [null] }, { "dataType": "undefined" }] }, "isFirmwareSupported": { "dataType": "boolean", "required": true }, "memory": { "dataType": "nestedObjectLiteral", "nestedProperties": { "usage": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "static": { "dataType": "array", "array": { "dataType": "double" }, "required": true }, "size": { "dataType": "double", "required": true }, "dynamic": { "dataType": "array", "array": { "dataType": "double" }, "required": true } }, "required": true }, "mainIpAddress": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "managementAgentDetected": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "name_description": { "dataType": "string", "required": true }, "name_label": { "dataType": "string", "required": true }, "needsVtpm": { "dataType": "boolean", "required": true }, "nicType": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "notes": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "os_version": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "enum", "enums": [null] }], "required": true }, "other": { "ref": "Record_string.string_", "required": true }, "parent": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "power_state": { "ref": "VM_POWER_STATE", "required": true }, "pvDriversDetected": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "pvDriversUpToDate": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "pvDriversVersion": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "resourceSet": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "secureBoot": { "dataType": "boolean", "required": true }, "snapshots": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "startDelay": { "dataType": "double", "required": true }, "startTime": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "enum", "enums": [null] }, { "dataType": "undefined" }] }, "suspendSr": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "tags": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "vga": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "videoram": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "viridian": { "dataType": "boolean", "required": true }, "virtualizationMode": { "ref": "DOMAIN_TYPE", "required": true }, "xenStoreData": { "ref": "Record_string.string_", "required": true }, "xentools": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": [false] }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "version": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "enum", "enums": [null] }], "required": true }, "minor": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "enum", "enums": [null] }], "required": true }, "major": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "enum", "enums": [null] }], "required": true } } }, { "dataType": "undefined" }] }, "id": { "dataType": "string", "required": true }, "type": { "dataType": "enum", "enums": ["VM-controller"], "required": true } }, "validators": {} },
429
464
  },
430
465
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
431
- "Partial_Unbrand_XoVdi_-or-Unbrand_XoVdiSnapshot__": {
432
- "dataType": "refAlias",
433
- "type": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "$pool": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "$poolId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "_xapiRef": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "uuid": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "$SR": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "$VBDs": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "VDI_type": { "dataType": "union", "subSchemas": [{ "ref": "VDI_TYPE" }, { "dataType": "undefined" }] }, "cbt_enabled": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "current_operations": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.VDI_OPERATIONS_" }, { "dataType": "undefined" }] }, "missing": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "name_description": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "name_label": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "other_config": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "undefined" }] }, "parent": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "image_format": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "size": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "snapshots": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "tags": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "usage": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["VDI"] }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "$pool": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "$poolId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "_xapiRef": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "uuid": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "$SR": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "$VBDs": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "VDI_type": { "dataType": "union", "subSchemas": [{ "ref": "VDI_TYPE" }, { "dataType": "undefined" }] }, "cbt_enabled": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "current_operations": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.VDI_OPERATIONS_" }, { "dataType": "undefined" }] }, "missing": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "name_description": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "name_label": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "other_config": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "undefined" }] }, "parent": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "image_format": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "size": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "snapshots": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "tags": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "usage": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "snapshot_time": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "$snapshot_of": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["VDI-snapshot"] }, { "dataType": "undefined" }] } } }], "validators": {} },
434
- },
435
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
436
- "WithHref_Partial_Unbrand_XoVdi_-or-Unbrand_XoVdiSnapshot___": {
437
- "dataType": "refAlias",
438
- "type": { "dataType": "intersection", "subSchemas": [{ "ref": "Partial_Unbrand_XoVdi_-or-Unbrand_XoVdiSnapshot__" }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "href": { "dataType": "string", "required": true } } }], "validators": {} },
439
- },
440
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
441
- "SendObjects_Partial_Unbrand_XoVdi_-or-Unbrand_XoVdiSnapshot___": {
442
- "dataType": "refAlias",
443
- "type": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "array", "array": { "dataType": "refAlias", "ref": "WithHref_Partial_Unbrand_XoVdi_-or-Unbrand_XoVdiSnapshot___" } }, { "ref": "NdjsonStream" }], "validators": {} },
444
- },
445
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
446
466
  "VIF_LOCKING_MODE": {
447
467
  "dataType": "refAlias",
448
468
  "type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["disabled"] }, { "dataType": "enum", "enums": ["locked"] }, { "dataType": "enum", "enums": ["network_default"] }, { "dataType": "enum", "enums": ["unlocked"] }], "validators": {} },
@@ -483,11 +503,36 @@ const models = {
483
503
  "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "$pool": { "dataType": "string", "required": true }, "$poolId": { "dataType": "string", "required": true }, "_xapiRef": { "dataType": "string", "required": true }, "uuid": { "dataType": "string", "required": true }, "$SR": { "dataType": "string", "required": true }, "$VBDs": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "VDI_type": { "ref": "VDI_TYPE", "required": true }, "cbt_enabled": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "current_operations": { "ref": "Record_string.VDI_OPERATIONS_", "required": true }, "missing": { "dataType": "boolean", "required": true }, "name_description": { "dataType": "string", "required": true }, "name_label": { "dataType": "string", "required": true }, "other_config": { "ref": "Record_string.string_", "required": true }, "parent": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "image_format": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "size": { "dataType": "double", "required": true }, "snapshots": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "tags": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "usage": { "dataType": "double", "required": true }, "id": { "dataType": "string", "required": true }, "type": { "dataType": "enum", "enums": ["VDI"], "required": true } }, "validators": {} },
484
504
  },
485
505
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
506
+ "CreateActionReturnType__id-Unbrand_XoVdi__91_id_93___": {
507
+ "dataType": "refAlias",
508
+ "type": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "taskId": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string", "required": true } } }], "validators": {} },
509
+ },
510
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
486
511
  "Unbrand_XoVdiSnapshot_": {
487
512
  "dataType": "refAlias",
488
513
  "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "$pool": { "dataType": "string", "required": true }, "$poolId": { "dataType": "string", "required": true }, "_xapiRef": { "dataType": "string", "required": true }, "uuid": { "dataType": "string", "required": true }, "$SR": { "dataType": "string", "required": true }, "$VBDs": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "VDI_type": { "ref": "VDI_TYPE", "required": true }, "cbt_enabled": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "current_operations": { "ref": "Record_string.VDI_OPERATIONS_", "required": true }, "missing": { "dataType": "boolean", "required": true }, "name_description": { "dataType": "string", "required": true }, "name_label": { "dataType": "string", "required": true }, "other_config": { "ref": "Record_string.string_", "required": true }, "parent": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "image_format": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "size": { "dataType": "double", "required": true }, "snapshots": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "tags": { "dataType": "array", "array": { "dataType": "string" }, "required": true }, "usage": { "dataType": "double", "required": true }, "id": { "dataType": "string", "required": true }, "snapshot_time": { "dataType": "double", "required": true }, "$snapshot_of": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "type": { "dataType": "enum", "enums": ["VDI-snapshot"], "required": true } }, "validators": {} },
489
514
  },
490
515
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
516
+ "VBD_TYPE": {
517
+ "dataType": "refAlias",
518
+ "type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["CD"] }, { "dataType": "enum", "enums": ["Disk"] }, { "dataType": "enum", "enums": ["Floppy"] }], "validators": {} },
519
+ },
520
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
521
+ "VBD_MODE": {
522
+ "dataType": "refAlias",
523
+ "type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["RO"] }, { "dataType": "enum", "enums": ["RW"] }], "validators": {} },
524
+ },
525
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
526
+ "Pick_Unbrand_Parameters_Xapi_91_VBD_create_93___91_0_93__.Exclude_keyofUnbrand_Parameters_Xapi_91_VBD_create_93___91_0_93__.VM-or-VDI__": {
527
+ "dataType": "refAlias",
528
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "type": { "dataType": "union", "subSchemas": [{ "ref": "VBD_TYPE" }, { "dataType": "undefined" }] }, "other_config": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "undefined" }] }, "mode": { "dataType": "union", "subSchemas": [{ "ref": "VBD_MODE" }, { "dataType": "undefined" }] }, "bootable": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "empty": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "qos_algorithm_params": { "dataType": "union", "subSchemas": [{ "ref": "Record_string.string_" }, { "dataType": "undefined" }] }, "qos_algorithm_type": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "unpluggable": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "userdevice": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } }, "validators": {} },
529
+ },
530
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
531
+ "Omit_Unbrand_Parameters_Xapi_91_VBD_create_93___91_0_93__.VM-or-VDI_": {
532
+ "dataType": "refAlias",
533
+ "type": { "ref": "Pick_Unbrand_Parameters_Xapi_91_VBD_create_93___91_0_93__.Exclude_keyofUnbrand_Parameters_Xapi_91_VBD_create_93___91_0_93__.VM-or-VDI__", "validators": {} },
534
+ },
535
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
491
536
  "Partial_Unbrand_XoVbd__": {
492
537
  "dataType": "refAlias",
493
538
  "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "$pool": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "$poolId": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "_xapiRef": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "uuid": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "attached": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "bootable": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "device": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "enum", "enums": [null] }, { "dataType": "undefined" }] }, "id": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "is_cd_drive": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "position": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "read_only": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "type": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["VBD"] }, { "dataType": "undefined" }] }, "VDI": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "VM": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } }, "validators": {} },
@@ -762,7 +807,7 @@ const models = {
762
807
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
763
808
  "Unbrand_CreateVmBody_": {
764
809
  "dataType": "refAlias",
765
- "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "memory": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "name_description": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "name_label": { "dataType": "string", "required": true }, "clone": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "gpuGroup": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "vgpuType": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "autoPoweron": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "vifs": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "network": { "dataType": "string", "required": true }, "mtu": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "mac": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "ipv6_allowed": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "ipv4_allowed": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "device": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "device": { "dataType": "string", "required": true }, "destroy": { "dataType": "enum", "enums": [true], "required": true } } }] } }, { "dataType": "undefined" }] }, "copyHostBiosStrings": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "hvmBootFirmware": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["uefi"] }, { "dataType": "enum", "enums": ["bios"] }, { "dataType": "undefined" }] }, "template": { "dataType": "string", "required": true }, "affinity": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "vdis": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "name_description": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "sr": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "size": { "dataType": "double", "required": true }, "name_label": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "name_description": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "sr": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "size": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "name_label": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "userdevice": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "userdervice": { "dataType": "string", "required": true }, "destroy": { "dataType": "enum", "enums": [true], "required": true } } }] } }, { "dataType": "undefined" }] }, "install": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "repository": { "dataType": "string", "required": true }, "method": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["network"] }, { "dataType": "enum", "enums": ["cdrom"] }], "required": true } } }, { "dataType": "undefined" }] }, "cloud_config": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "network_config": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "boot": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "destroy_cloud_config_vdi": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] } }, "validators": {} },
810
+ "type": { "dataType": "nestedObjectLiteral", "nestedProperties": { "memory": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "name_description": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "name_label": { "dataType": "string", "required": true }, "secureBoot": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "clone": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "gpuGroup": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "vgpuType": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "autoPoweron": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "vifs": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "network": { "dataType": "string", "required": true }, "mtu": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "mac": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "ipv6_allowed": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "ipv4_allowed": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "string" } }, { "dataType": "undefined" }] }, "device": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "device": { "dataType": "string", "required": true }, "destroy": { "dataType": "enum", "enums": [true], "required": true } } }] } }, { "dataType": "undefined" }] }, "copyHostBiosStrings": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "hvmBootFirmware": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["uefi"] }, { "dataType": "enum", "enums": ["bios"] }, { "dataType": "undefined" }] }, "template": { "dataType": "string", "required": true }, "affinity": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "vdis": { "dataType": "union", "subSchemas": [{ "dataType": "array", "array": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "name_description": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "sr": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "size": { "dataType": "double", "required": true }, "name_label": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "name_description": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "sr": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "size": { "dataType": "union", "subSchemas": [{ "dataType": "double" }, { "dataType": "undefined" }] }, "name_label": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "userdevice": { "dataType": "string", "required": true } } }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "userdervice": { "dataType": "string", "required": true }, "destroy": { "dataType": "enum", "enums": [true], "required": true } } }] } }, { "dataType": "undefined" }] }, "install": { "dataType": "union", "subSchemas": [{ "dataType": "nestedObjectLiteral", "nestedProperties": { "repository": { "dataType": "string", "required": true }, "method": { "dataType": "union", "subSchemas": [{ "dataType": "enum", "enums": ["network"] }, { "dataType": "enum", "enums": ["cdrom"] }], "required": true } } }, { "dataType": "undefined" }] }, "cloud_config": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "network_config": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "undefined" }] }, "boot": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "destroy_cloud_config_vdi": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] }, "createVtpm": { "dataType": "union", "subSchemas": [{ "dataType": "boolean" }, { "dataType": "undefined" }] } }, "validators": {} },
766
811
  },
767
812
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
768
813
  "XapiHostStatsRaw": {
@@ -3248,6 +3293,35 @@ export function RegisterRoutes(app) {
3248
3293
  }
3249
3294
  });
3250
3295
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
3296
+ const argsVdiController_migrateVdi = {
3297
+ id: { "in": "path", "name": "id", "required": true, "dataType": "string" },
3298
+ body: { "in": "body", "name": "body", "required": true, "dataType": "nestedObjectLiteral", "nestedProperties": { "srId": { "dataType": "string", "required": true } } },
3299
+ sync: { "in": "query", "name": "sync", "dataType": "boolean" },
3300
+ };
3301
+ app.post('/rest/v0/vdis/:id/actions/migrate', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VdiController)), ...(fetchMiddlewares(VdiController.prototype.migrateVdi)), async function VdiController_migrateVdi(request, response, next) {
3302
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
3303
+ let validatedArgs = [];
3304
+ try {
3305
+ validatedArgs = templateService.getValidatedArgs({ args: argsVdiController_migrateVdi, request, response });
3306
+ const container = typeof iocContainer === 'function' ? iocContainer(request) : iocContainer;
3307
+ const controller = await container.get(VdiController);
3308
+ if (typeof controller['setStatus'] === 'function') {
3309
+ controller.setStatus(undefined);
3310
+ }
3311
+ await templateService.apiHandler({
3312
+ methodName: 'migrateVdi',
3313
+ controller,
3314
+ response,
3315
+ next,
3316
+ validatedArgs,
3317
+ successStatus: 202,
3318
+ });
3319
+ }
3320
+ catch (err) {
3321
+ return next(err);
3322
+ }
3323
+ });
3324
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
3251
3325
  const argsVdiController_putVdiTag = {
3252
3326
  id: { "in": "path", "name": "id", "required": true, "dataType": "string" },
3253
3327
  tag: { "in": "path", "name": "tag", "required": true, "dataType": "string" },
@@ -3570,6 +3644,33 @@ export function RegisterRoutes(app) {
3570
3644
  }
3571
3645
  });
3572
3646
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
3647
+ const argsVbdController_createVbd = {
3648
+ body: { "in": "body", "name": "body", "required": true, "dataType": "intersection", "subSchemas": [{ "ref": "Omit_Unbrand_Parameters_Xapi_91_VBD_create_93___91_0_93__.VM-or-VDI_" }, { "dataType": "nestedObjectLiteral", "nestedProperties": { "VDI": { "dataType": "string", "required": true }, "VM": { "dataType": "string", "required": true } } }] },
3649
+ };
3650
+ app.post('/rest/v0/vbds', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VbdController)), ...(fetchMiddlewares(VbdController.prototype.createVbd)), async function VbdController_createVbd(request, response, next) {
3651
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
3652
+ let validatedArgs = [];
3653
+ try {
3654
+ validatedArgs = templateService.getValidatedArgs({ args: argsVbdController_createVbd, request, response });
3655
+ const container = typeof iocContainer === 'function' ? iocContainer(request) : iocContainer;
3656
+ const controller = await container.get(VbdController);
3657
+ if (typeof controller['setStatus'] === 'function') {
3658
+ controller.setStatus(undefined);
3659
+ }
3660
+ await templateService.apiHandler({
3661
+ methodName: 'createVbd',
3662
+ controller,
3663
+ response,
3664
+ next,
3665
+ validatedArgs,
3666
+ successStatus: 201,
3667
+ });
3668
+ }
3669
+ catch (err) {
3670
+ return next(err);
3671
+ }
3672
+ });
3673
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
3573
3674
  const argsVbdController_getVbds = {
3574
3675
  req: { "in": "request", "name": "req", "required": true, "dataType": "object" },
3575
3676
  fields: { "in": "query", "name": "fields", "dataType": "string" },
@@ -3628,6 +3729,33 @@ export function RegisterRoutes(app) {
3628
3729
  }
3629
3730
  });
3630
3731
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
3732
+ const argsVbdController_deleteVbd = {
3733
+ id: { "in": "path", "name": "id", "required": true, "dataType": "string" },
3734
+ };
3735
+ app.delete('/rest/v0/vbds/:id', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VbdController)), ...(fetchMiddlewares(VbdController.prototype.deleteVbd)), async function VbdController_deleteVbd(request, response, next) {
3736
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
3737
+ let validatedArgs = [];
3738
+ try {
3739
+ validatedArgs = templateService.getValidatedArgs({ args: argsVbdController_deleteVbd, request, response });
3740
+ const container = typeof iocContainer === 'function' ? iocContainer(request) : iocContainer;
3741
+ const controller = await container.get(VbdController);
3742
+ if (typeof controller['setStatus'] === 'function') {
3743
+ controller.setStatus(undefined);
3744
+ }
3745
+ await templateService.apiHandler({
3746
+ methodName: 'deleteVbd',
3747
+ controller,
3748
+ response,
3749
+ next,
3750
+ validatedArgs,
3751
+ successStatus: 204,
3752
+ });
3753
+ }
3754
+ catch (err) {
3755
+ return next(err);
3756
+ }
3757
+ });
3758
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
3631
3759
  const argsVbdController_getVbdAlarms = {
3632
3760
  req: { "in": "request", "name": "req", "required": true, "dataType": "object" },
3633
3761
  id: { "in": "path", "name": "id", "required": true, "dataType": "string" },
@@ -3724,6 +3852,62 @@ export function RegisterRoutes(app) {
3724
3852
  }
3725
3853
  });
3726
3854
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
3855
+ const argsVbdController_connectVbd = {
3856
+ id: { "in": "path", "name": "id", "required": true, "dataType": "string" },
3857
+ sync: { "in": "query", "name": "sync", "dataType": "boolean" },
3858
+ };
3859
+ app.post('/rest/v0/vbds/:id/actions/connect', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VbdController)), ...(fetchMiddlewares(VbdController.prototype.connectVbd)), async function VbdController_connectVbd(request, response, next) {
3860
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
3861
+ let validatedArgs = [];
3862
+ try {
3863
+ validatedArgs = templateService.getValidatedArgs({ args: argsVbdController_connectVbd, request, response });
3864
+ const container = typeof iocContainer === 'function' ? iocContainer(request) : iocContainer;
3865
+ const controller = await container.get(VbdController);
3866
+ if (typeof controller['setStatus'] === 'function') {
3867
+ controller.setStatus(undefined);
3868
+ }
3869
+ await templateService.apiHandler({
3870
+ methodName: 'connectVbd',
3871
+ controller,
3872
+ response,
3873
+ next,
3874
+ validatedArgs,
3875
+ successStatus: 202,
3876
+ });
3877
+ }
3878
+ catch (err) {
3879
+ return next(err);
3880
+ }
3881
+ });
3882
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
3883
+ const argsVbdController_disconnectVbd = {
3884
+ id: { "in": "path", "name": "id", "required": true, "dataType": "string" },
3885
+ sync: { "in": "query", "name": "sync", "dataType": "boolean" },
3886
+ };
3887
+ app.post('/rest/v0/vbds/:id/actions/disconnect', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(VbdController)), ...(fetchMiddlewares(VbdController.prototype.disconnectVbd)), async function VbdController_disconnectVbd(request, response, next) {
3888
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
3889
+ let validatedArgs = [];
3890
+ try {
3891
+ validatedArgs = templateService.getValidatedArgs({ args: argsVbdController_disconnectVbd, request, response });
3892
+ const container = typeof iocContainer === 'function' ? iocContainer(request) : iocContainer;
3893
+ const controller = await container.get(VbdController);
3894
+ if (typeof controller['setStatus'] === 'function') {
3895
+ controller.setStatus(undefined);
3896
+ }
3897
+ await templateService.apiHandler({
3898
+ methodName: 'disconnectVbd',
3899
+ controller,
3900
+ response,
3901
+ next,
3902
+ validatedArgs,
3903
+ successStatus: 202,
3904
+ });
3905
+ }
3906
+ catch (err) {
3907
+ return next(err);
3908
+ }
3909
+ });
3910
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
3727
3911
  const argsUserController_getUsers = {
3728
3912
  req: { "in": "request", "name": "req", "required": true, "dataType": "object" },
3729
3913
  fields: { "in": "query", "name": "fields", "dataType": "string" },
@@ -3986,7 +4170,7 @@ export function RegisterRoutes(app) {
3986
4170
  });
3987
4171
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
3988
4172
  const argsUserController_postAuthenticationTokens = {
3989
- body: { "in": "body", "name": "body", "required": true, "dataType": "nestedObjectLiteral", "nestedProperties": { "expiresIn": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "double" }] }, "description": { "dataType": "string" }, "client": { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "enum", "enums": ["string"] } } } } },
4173
+ body: { "in": "body", "name": "body", "required": true, "dataType": "nestedObjectLiteral", "nestedProperties": { "expiresIn": { "dataType": "union", "subSchemas": [{ "dataType": "string" }, { "dataType": "double" }] }, "description": { "dataType": "string" }, "client": { "dataType": "nestedObjectLiteral", "nestedProperties": { "id": { "dataType": "string" } } } } },
3990
4174
  id: { "in": "path", "name": "id", "required": true, "dataType": "string" },
3991
4175
  };
3992
4176
  app.post('/rest/v0/users/:id/authentication_tokens', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(UserController)), ...(fetchMiddlewares(UserController.prototype.postAuthenticationTokens)), async function UserController_postAuthenticationTokens(request, response, next) {
@@ -5378,6 +5562,35 @@ export function RegisterRoutes(app) {
5378
5562
  }
5379
5563
  });
5380
5564
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
5565
+ const argsPoolController_managementReconfigure = {
5566
+ id: { "in": "path", "name": "id", "required": true, "dataType": "string" },
5567
+ body: { "in": "body", "name": "body", "required": true, "dataType": "nestedObjectLiteral", "nestedProperties": { "network": { "dataType": "string", "required": true } } },
5568
+ sync: { "in": "query", "name": "sync", "dataType": "boolean" },
5569
+ };
5570
+ app.post('/rest/v0/pools/:id/actions/management_reconfigure', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(PoolController)), ...(fetchMiddlewares(PoolController.prototype.managementReconfigure)), async function PoolController_managementReconfigure(request, response, next) {
5571
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
5572
+ let validatedArgs = [];
5573
+ try {
5574
+ validatedArgs = templateService.getValidatedArgs({ args: argsPoolController_managementReconfigure, request, response });
5575
+ const container = typeof iocContainer === 'function' ? iocContainer(request) : iocContainer;
5576
+ const controller = await container.get(PoolController);
5577
+ if (typeof controller['setStatus'] === 'function') {
5578
+ controller.setStatus(undefined);
5579
+ }
5580
+ await templateService.apiHandler({
5581
+ methodName: 'managementReconfigure',
5582
+ controller,
5583
+ response,
5584
+ next,
5585
+ validatedArgs,
5586
+ successStatus: 202,
5587
+ });
5588
+ }
5589
+ catch (err) {
5590
+ return next(err);
5591
+ }
5592
+ });
5593
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
5381
5594
  const argsPifController_getPifs = {
5382
5595
  req: { "in": "request", "name": "req", "required": true, "dataType": "object" },
5383
5596
  fields: { "in": "query", "name": "fields", "dataType": "string" },
@@ -6349,6 +6562,35 @@ export function RegisterRoutes(app) {
6349
6562
  }
6350
6563
  });
6351
6564
  // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
6565
+ const argsHostController_managementReconfigure = {
6566
+ id: { "in": "path", "name": "id", "required": true, "dataType": "string" },
6567
+ body: { "in": "body", "name": "body", "required": true, "dataType": "nestedObjectLiteral", "nestedProperties": { "pif": { "dataType": "string", "required": true } } },
6568
+ sync: { "in": "query", "name": "sync", "dataType": "boolean" },
6569
+ };
6570
+ app.post('/rest/v0/hosts/:id/actions/management_reconfigure', authenticateMiddleware([{ "*": [] }]), ...(fetchMiddlewares(HostController)), ...(fetchMiddlewares(HostController.prototype.managementReconfigure)), async function HostController_managementReconfigure(request, response, next) {
6571
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
6572
+ let validatedArgs = [];
6573
+ try {
6574
+ validatedArgs = templateService.getValidatedArgs({ args: argsHostController_managementReconfigure, request, response });
6575
+ const container = typeof iocContainer === 'function' ? iocContainer(request) : iocContainer;
6576
+ const controller = await container.get(HostController);
6577
+ if (typeof controller['setStatus'] === 'function') {
6578
+ controller.setStatus(undefined);
6579
+ }
6580
+ await templateService.apiHandler({
6581
+ methodName: 'managementReconfigure',
6582
+ controller,
6583
+ response,
6584
+ next,
6585
+ validatedArgs,
6586
+ successStatus: 202,
6587
+ });
6588
+ }
6589
+ catch (err) {
6590
+ return next(err);
6591
+ }
6592
+ });
6593
+ // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
6352
6594
  const argsGroupController_getGroups = {
6353
6595
  req: { "in": "request", "name": "req", "required": true, "dataType": "object" },
6354
6596
  fields: { "in": "query", "name": "fields", "dataType": "string" },
@@ -9,11 +9,12 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
9
9
  };
10
10
  import { Example, Get, Path, Query, Response, Request, Route, Security, Tags, Post, Middlewares, Body, SuccessResponse, Put, Delete, } from 'tsoa';
11
11
  import { inject } from 'inversify';
12
+ import { invalidParameters } from 'xo-common/api-errors.js';
12
13
  import { PassThrough } from 'node:stream';
13
14
  import { provide } from 'inversify-binding-decorators';
14
15
  import { json } from 'express';
15
16
  import { RestApi } from '../rest-api/rest-api.mjs';
16
- import { asynchronousActionResp, badRequestResp, createdResp, featureUnauthorized, internalServerErrorResp, noContentResp, notFoundResp, unauthorizedResp, } from '../open-api/common/response.common.mjs';
17
+ import { asynchronousActionResp, badRequestResp, createdResp, featureUnauthorized, internalServerErrorResp, invalidParameters as invalidParametersResp, noContentResp, notFoundResp, unauthorizedResp, } from '../open-api/common/response.common.mjs';
17
18
  import { XapiXoController } from '../abstract-classes/xapi-xo-controller.mjs';
18
19
  import { AlarmService } from '../alarms/alarm.service.mjs';
19
20
  import { genericAlarmsExample } from '../open-api/oa-examples/alarm.oa-example.mjs';
@@ -265,6 +266,36 @@ let PoolController = class PoolController extends XapiXoController {
265
266
  const tasks = await this.getTasksForObject(id, { filter, limit });
266
267
  return this.sendObjects(Object.values(tasks), req, 'tasks');
267
268
  }
269
+ /**
270
+ * Reconfigure the management interface for all hosts in the pool to use the given network.
271
+ *
272
+ * Each host in the pool will switch their management interface to a PIF on the specified network.
273
+ * The PIFs on the target network must already have IP addresses configured.
274
+ *
275
+ * @example id "355ee47d-ff4c-4924-3db2-fd86ae629676"
276
+ * @example body { "network": "c787b75c-3e0d-70fa-d0c3-cbfd382d7e33" }
277
+ */
278
+ managementReconfigure(id, body, sync) {
279
+ const poolId = id;
280
+ const action = async () => {
281
+ const pool = this.getObject(poolId);
282
+ const network = this.restApi.getObject(body.network, 'network');
283
+ if (network.$pool !== pool.id) {
284
+ throw invalidParameters(`the network ${network.uuid} does not belong to pool ${pool.uuid}`);
285
+ }
286
+ const xapiPool = this.getXapiObject(poolId);
287
+ await xapiPool.$xapi.callAsync('pool.management_reconfigure', network._xapiRef);
288
+ };
289
+ return this.createAction(action, {
290
+ sync,
291
+ statusCode: noContentResp.status,
292
+ taskProperties: {
293
+ name: 'reconfigure pool management interface',
294
+ objectId: poolId,
295
+ args: body,
296
+ },
297
+ });
298
+ }
268
299
  };
269
300
  __decorate([
270
301
  Example(poolIds),
@@ -426,6 +457,20 @@ __decorate([
426
457
  __param(4, Query()),
427
458
  __param(5, Query())
428
459
  ], PoolController.prototype, "getPoolTasks", null);
460
+ __decorate([
461
+ Example(taskLocation),
462
+ Post('{id}/actions/management_reconfigure'),
463
+ Middlewares(json()),
464
+ SuccessResponse(asynchronousActionResp.status, asynchronousActionResp.description),
465
+ Response(noContentResp.status, noContentResp.description),
466
+ Response(notFoundResp.status, notFoundResp.description),
467
+ Response(badRequestResp.status, badRequestResp.description),
468
+ Response(invalidParametersResp.status, invalidParametersResp.description),
469
+ Response(internalServerErrorResp.status, internalServerErrorResp.description),
470
+ __param(0, Path()),
471
+ __param(1, Body()),
472
+ __param(2, Query())
473
+ ], PoolController.prototype, "managementReconfigure", null);
429
474
  PoolController = __decorate([
430
475
  Route('pools'),
431
476
  Security('*'),