File tree 2 files changed +9
-9
lines changed
@xen-orchestra/rest-api/src/pools
2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -242,23 +242,23 @@ export type XoPool = BaseXapiXo & {
242
242
cores ?: number
243
243
sockets ?: number
244
244
}
245
- crashDumpSr : XoSr [ 'id' ]
245
+ crashDumpSr ? : XoSr [ 'id' ]
246
246
current_operations : Record < string , POOL_ALLOWED_OPERATIONS >
247
- defaultSr : XoSr [ 'id' ]
248
- ha_enabled : boolean
249
- haSrs : XoVdi [ 'id' ] [ ]
247
+ defaultSr ? : XoSr [ 'id' ]
248
+ HA_enabled : boolean
249
+ haSrs : XoSr [ 'id' ] [ ]
250
250
id : Branded < 'pool' >
251
251
master : XoHost [ 'id' ]
252
- migrationCompression : boolean
252
+ migrationCompression ? : boolean
253
253
name_description : string
254
254
name_label : string
255
- other_config : Record < string , string >
255
+ otherConfig : Record < string , string >
256
256
platform_version : string
257
- suspendSr : XoSr [ 'id' ]
257
+ suspendSr ? : XoSr [ 'id' ]
258
258
tags : string [ ]
259
259
type : 'pool'
260
260
vtpmSupported : boolean
261
- xosanPackInstallationTime : number
261
+ xosanPackInstallationTime : number | null
262
262
zstdSupported : boolean
263
263
}
264
264
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { RestApi } from '../rest-api/rest-api.mjs'
6
6
import { notFoundResp , unauthorizedResp , type Unbrand } from '../open-api/common/response.common.mjs'
7
7
import type { WithHref } from '../helpers/helper.type.mjs'
8
8
import { XapiXoController } from '../abstract-classes/xapi-xo-controller.mjs'
9
- import { XoPool } from '@vates/types'
9
+ import type { XoPool } from '@vates/types'
10
10
import { partialPools , pool , poolIds } from '../open-api/oa-examples/pool.oa-example.mjs'
11
11
12
12
@Route ( 'pools' )
You can’t perform that action at this time.
0 commit comments