feat(rest-api): allow setting HA restart priority on VM creation (#10070)

See #10069
This commit is contained in:
Olivier Lambert
2026-07-21 16:02:08 +02:00
committed by GitHub
parent d2c28450d4
commit 64f1327f46
5 changed files with 7 additions and 3 deletions

View File

@@ -328,6 +328,7 @@ export interface Xapi {
vgpuType?: XoVgpuType['id']
gpuGroup?: XoGpuGroup['id']
copyHostBiosStrings?: boolean
highAvailability?: XoVm['high_availability']
hvmBootFirmware?: 'uefi' | 'bios'
secureBoot?: boolean
},

View File

@@ -76,7 +76,7 @@ type BaseXoVm = BaseXapiXo & {
expNestedHvm: boolean
isNestedVirtEnabled: boolean
hasVendorDevice: boolean
high_availability: string
high_availability: 'best-effort' | 'restart' | ''
installTime?: number | null
isFirmwareSupported: boolean
memory: {