@vates/types 1.0.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.
@@ -0,0 +1,1164 @@
1
+ import type { AFTER_APPLY_GUIDANCE, ALLOCATION_ALGORITHM, BOND_MODE, Branded, CERTIFICATE_TYPE, CLS, CLUSTER_HOST_OPERATION, CLUSTER_OPERATION, CONSOLE_PROTOCOL, DOMAIN_TYPE, EVENT_OPERATION, HOST_ALLOWED_OPERATIONS, HOST_DISPLAY, HOST_NUMA_AFFINITY_POLICY, IP_CONFIGURATION_MODE, IPV6_CONFIGURATION_MODE, LATEST_SYNCED_UPDATES_APPLIED_STATE, NETWORK_DEFAULT_LOCKING_MODE, NETWORK_OPERATIONS, NETWORK_PURPOSE, ON_BOOT, ON_CRASH_BEHAVIOUR, ON_NORMAL_EXIT, ON_SOFTREBOOT_BEHAVIOR, PERSISTENCE_BACKEND, PGPU_DOM0_ACCESS, PIF_IGMP_STATUS, POOL_ALLOWED_OPERATIONS, PRIMARY_ADDRESS_TYPE, PVS_PROXY_STATUS, SDN_CONTROLLER_PROTOCOL, SR_HEALTH, SRIOV_CONFIGURATION_MODE, STORAGE_OPERATIONS, TASK_ALLOWED_OPERATIONS, TASK_STATUS_TYPE, TELEMETRY_FREQUENCY, TRISTATE_TYPE, TUNNEL_PROTOCOL, UPDATE_AFTER_APPLY_GUIDANCE, UPDATE_GUIDANCES, UPDATE_SYNC_FREQUENCY, VBD_MODE, VBD_OPERATIONS, VBD_TYPE, VDI_OPERATIONS, VDI_TYPE, VGPU_TYPE_IMPLEMENTATION, VIF_IPV4_CONFIGURATION_MODE, VIF_IPV6_CONFIGURATION_MODE, VIF_LOCKING_MODE, VIF_OPERATIONS, VM_APPLIANCE_OPERATION, VM_OPERATIONS, VM_POWER_STATE, VMPP_ARCHIVE_FREQUENCY, VMPP_ARCHIVE_TARGET_TYPE, VMPP_BACKUP_FREQUENCY, VMPP_BACKUP_TYPE, VMSS_FREQUENCY, VMSS_TYPE, VTPM_OPERATIONS, VUSB_OPERATIONS } from './common.mjs';
2
+ export interface XenApiSession {
3
+ $ref: Branded<'session'>;
4
+ $type: 'session';
5
+ auth_user_name: string;
6
+ auth_user_sid: string;
7
+ client_certificate?: boolean;
8
+ is_local_superuser: boolean;
9
+ last_active?: string;
10
+ originator: string;
11
+ other_config: Record<string, string>;
12
+ parent?: XenApiSession['$ref'];
13
+ pool?: boolean;
14
+ rbac_permissions: string[];
15
+ subject?: XenApiSubject['$ref'];
16
+ tasks: XenApiTask['$ref'][];
17
+ this_host?: XenApiHost['$ref'];
18
+ this_user?: XenApiUser['$ref'];
19
+ uuid: string;
20
+ validation_time: string;
21
+ }
22
+ export interface XenApiAuth {
23
+ $ref: Branded<'auth'>;
24
+ $type: 'auth';
25
+ }
26
+ export interface XenApiSubject {
27
+ $ref: Branded<'subject'>;
28
+ $type: 'subject';
29
+ other_config: Record<string, string>;
30
+ roles: XenApiRole['$ref'][];
31
+ subject_identifier: string;
32
+ uuid: string;
33
+ }
34
+ export interface XenApiRole {
35
+ $ref: Branded<'role'>;
36
+ $type: 'role';
37
+ is_internal?: boolean;
38
+ name_description: string;
39
+ name_label: string;
40
+ subroles: XenApiRole['$ref'][];
41
+ uuid: string;
42
+ }
43
+ export interface XenApiTask {
44
+ $ref: Branded<'task'>;
45
+ $type: 'task';
46
+ allowed_operations: TASK_ALLOWED_OPERATIONS[];
47
+ backtrace: string;
48
+ created?: string;
49
+ current_operations: Record<string, TASK_ALLOWED_OPERATIONS>;
50
+ error_info: string[];
51
+ finished?: string;
52
+ name_description: string;
53
+ name_label: string;
54
+ other_config: Record<string, string>;
55
+ progress?: number;
56
+ resident_on?: XenApiHost['$ref'];
57
+ result?: string;
58
+ status?: TASK_STATUS_TYPE;
59
+ subtask_of?: XenApiTask['$ref'];
60
+ subtasks: XenApiTask['$ref'][];
61
+ type?: string;
62
+ uuid: string;
63
+ }
64
+ export interface XenApiEvent {
65
+ $ref: Branded<'event'>;
66
+ $type: 'event';
67
+ class?: string;
68
+ id?: number;
69
+ /** @deprecated */
70
+ obj_uuid?: string;
71
+ operation?: EVENT_OPERATION;
72
+ ref?: string;
73
+ snapshot?: object;
74
+ /** @deprecated */
75
+ timestamp?: string;
76
+ }
77
+ export interface XenApiPool {
78
+ $ref: Branded<'pool'>;
79
+ $type: 'pool';
80
+ allowed_operations: POOL_ALLOWED_OPERATIONS[];
81
+ blobs: Record<string, XenApiBlob['$ref']>;
82
+ client_certificate_auth_enabled?: boolean;
83
+ client_certificate_auth_name?: string;
84
+ coordinator_bias: boolean;
85
+ cpu_info: Record<string, string>;
86
+ crash_dump_SR?: XenApiSr['$ref'];
87
+ current_operations: Record<string, POOL_ALLOWED_OPERATIONS>;
88
+ custom_uefi_certificates?: string;
89
+ default_SR?: XenApiSr['$ref'];
90
+ ext_auth_max_threads?: number;
91
+ guest_agent_config: Record<string, string>;
92
+ gui_config: Record<string, string>;
93
+ ha_allow_overcommit: boolean;
94
+ ha_cluster_stack: string;
95
+ ha_configuration: Record<string, string>;
96
+ ha_enabled: boolean;
97
+ ha_host_failures_to_tolerate: number;
98
+ ha_overcommitted: boolean;
99
+ ha_plan_exists_for: number;
100
+ ha_statefiles: string[];
101
+ health_check_config: Record<string, string>;
102
+ igmp_snooping_enabled?: boolean;
103
+ is_psr_pending?: boolean;
104
+ last_update_sync?: string;
105
+ live_patching_disabled?: boolean;
106
+ local_auth_max_threads?: number;
107
+ master?: XenApiHost['$ref'];
108
+ metadata_VDIs: XenApiVdi['$ref'][];
109
+ migration_compression?: boolean;
110
+ name_description?: string;
111
+ name_label?: string;
112
+ other_config?: Record<string, string>;
113
+ policy_no_vendor_device: boolean;
114
+ redo_log_enabled: boolean;
115
+ redo_log_vdi?: XenApiVdi['$ref'];
116
+ repositories?: XenApiRepository['$ref'][];
117
+ repository_proxy_password?: XenApiSecret['$ref'];
118
+ repository_proxy_url?: string;
119
+ repository_proxy_username?: string;
120
+ restrictions: Record<string, string>;
121
+ suspend_image_SR?: XenApiSr['$ref'];
122
+ tags: string[];
123
+ telemetry_frequency?: TELEMETRY_FREQUENCY;
124
+ telemetry_next_collection?: string;
125
+ telemetry_uuid?: XenApiSecret['$ref'];
126
+ tls_verification_enabled?: boolean;
127
+ uefi_certificates?: string;
128
+ update_sync_day?: number;
129
+ update_sync_enabled?: boolean;
130
+ update_sync_frequency?: UPDATE_SYNC_FREQUENCY;
131
+ uuid: string;
132
+ /** @deprecated */
133
+ vswitch_controller?: string;
134
+ wlb_enabled: boolean;
135
+ wlb_url: string;
136
+ wlb_username: string;
137
+ /** @deprecated */
138
+ wlb_verify_cert?: boolean;
139
+ }
140
+ export interface XenApiPoolPatch {
141
+ $ref: Branded<'pool_patch'>;
142
+ $type: 'pool_patch';
143
+ after_apply_guidance: AFTER_APPLY_GUIDANCE[];
144
+ host_patches: XenApiHostPatch['$ref'][];
145
+ name_description: string;
146
+ name_label: string;
147
+ other_config: Record<string, string>;
148
+ pool_applied: boolean;
149
+ pool_update?: XenApiPoolUpdate['$ref'];
150
+ size: number;
151
+ uuid: string;
152
+ version: string;
153
+ }
154
+ export interface XenApiPoolUpdate {
155
+ $ref: Branded<'pool_update'>;
156
+ $type: 'pool_update';
157
+ after_apply_guidance?: UPDATE_AFTER_APPLY_GUIDANCE[];
158
+ enforce_homogeneity?: boolean;
159
+ hosts?: XenApiHost['$ref'][];
160
+ installation_size?: number;
161
+ key?: string;
162
+ name_description: string;
163
+ name_label: string;
164
+ other_config?: Record<string, string>;
165
+ uuid: string;
166
+ vdi?: XenApiVdi['$ref'];
167
+ version?: string;
168
+ }
169
+ export interface XenApiVm {
170
+ $ref: Branded<'VM'>;
171
+ $type: 'VM';
172
+ actions_after_crash?: ON_CRASH_BEHAVIOUR;
173
+ actions_after_reboot?: ON_NORMAL_EXIT;
174
+ actions_after_shutdown?: ON_NORMAL_EXIT;
175
+ actions_after_softreboot?: ON_SOFTREBOOT_BEHAVIOR;
176
+ affinity?: XenApiHost['$ref'];
177
+ allowed_operations: VM_OPERATIONS[];
178
+ appliance?: XenApiVmAppliance['$ref'];
179
+ attached_PCIs: XenApiPci['$ref'][];
180
+ bios_strings: Record<string, string>;
181
+ blobs: Record<string, XenApiBlob['$ref']>;
182
+ blocked_operations: Record<VM_OPERATIONS, string>;
183
+ children: XenApiVm['$ref'][];
184
+ consoles: XenApiConsole['$ref'][];
185
+ crash_dumps: XenApiCrashdump['$ref'][];
186
+ current_operations: Record<string, VM_OPERATIONS>;
187
+ domain_type?: DOMAIN_TYPE;
188
+ domarch?: string;
189
+ domid?: number;
190
+ generation_id: string;
191
+ guest_metrics?: XenApiVmGuestMetrics['$ref'];
192
+ /** @deprecated */
193
+ ha_always_run?: boolean;
194
+ ha_restart_priority: string;
195
+ hardware_platform_version: number;
196
+ has_vendor_device: boolean;
197
+ HVM_boot_params?: Record<string, string>;
198
+ /** @deprecated */
199
+ HVM_boot_policy?: string;
200
+ HVM_shadow_multiplier: number;
201
+ is_a_snapshot: boolean;
202
+ is_a_template?: boolean;
203
+ is_control_domain?: boolean;
204
+ is_default_template?: boolean;
205
+ /** @deprecated */
206
+ is_snapshot_from_vmpp?: boolean;
207
+ is_vmss_snapshot?: boolean;
208
+ last_boot_CPU_flags: Record<string, string>;
209
+ last_booted_record: string;
210
+ memory_dynamic_max?: number;
211
+ memory_dynamic_min?: number;
212
+ memory_overhead: number;
213
+ memory_static_max?: number;
214
+ memory_static_min?: number;
215
+ /** @deprecated */
216
+ memory_target?: number;
217
+ metrics?: XenApiVmMetrics['$ref'];
218
+ name_description: string;
219
+ name_label: string;
220
+ NVRAM?: Record<string, string>;
221
+ order: number;
222
+ other_config?: Record<string, string>;
223
+ parent?: XenApiVm['$ref'];
224
+ /** @deprecated */
225
+ PCI_bus?: string;
226
+ pending_guidances_full?: UPDATE_GUIDANCES[];
227
+ pending_guidances_recommended?: UPDATE_GUIDANCES[];
228
+ pending_guidances?: UPDATE_GUIDANCES[];
229
+ platform?: Record<string, string>;
230
+ power_state: VM_POWER_STATE;
231
+ /** @deprecated */
232
+ protection_policy?: XenApiVmpp['$ref'];
233
+ PV_args?: string;
234
+ PV_bootloader_args?: string;
235
+ PV_bootloader?: string;
236
+ PV_kernel?: string;
237
+ PV_legacy_args?: string;
238
+ PV_ramdisk?: string;
239
+ recommendations?: string;
240
+ reference_label?: string;
241
+ requires_reboot?: boolean;
242
+ resident_on?: XenApiHost['$ref'];
243
+ scheduled_to_be_resident_on?: XenApiHost['$ref'];
244
+ shutdown_delay: number;
245
+ snapshot_info: Record<string, string>;
246
+ snapshot_metadata: string;
247
+ snapshot_of?: XenApiVm['$ref'];
248
+ snapshot_schedule?: XenApiVmss['$ref'];
249
+ snapshot_time: string;
250
+ snapshots: XenApiVm['$ref'][];
251
+ start_delay: number;
252
+ suspend_SR?: XenApiSr['$ref'];
253
+ suspend_VDI?: XenApiVdi['$ref'];
254
+ tags: string[];
255
+ transportable_snapshot_id: string;
256
+ user_version?: number;
257
+ uuid: string;
258
+ VBDs: XenApiVbd['$ref'][];
259
+ VCPUs_at_startup?: number;
260
+ VCPUs_max?: number;
261
+ VCPUs_params?: Record<string, string>;
262
+ version: number;
263
+ VGPUs: XenApiVgpu['$ref'][];
264
+ VIFs: XenApiVif['$ref'][];
265
+ VTPMs: XenApiVtpm['$ref'][];
266
+ VUSBs: XenApiVusb['$ref'][];
267
+ xenstore_data: Record<string, string>;
268
+ }
269
+ export interface XenApiVmMetrics {
270
+ $ref: Branded<'VM_metrics'>;
271
+ $type: 'VM_metrics';
272
+ current_domain_type?: DOMAIN_TYPE;
273
+ hvm?: boolean;
274
+ install_time?: string;
275
+ last_updated?: string;
276
+ memory_actual?: number;
277
+ nested_virt?: boolean;
278
+ nomigrate?: boolean;
279
+ other_config: Record<string, string>;
280
+ start_time?: string;
281
+ state: string[];
282
+ uuid: string;
283
+ VCPUs_CPU?: Record<number, number>;
284
+ VCPUs_flags?: Record<number, string[]>;
285
+ VCPUs_number?: number;
286
+ VCPUs_params?: Record<string, string>;
287
+ /** @deprecated */
288
+ VCPUs_utilisation?: Record<number, number>;
289
+ }
290
+ export interface XenApiVmGuestMetrics {
291
+ $ref: Branded<'VM_guest_metrics'>;
292
+ $type: 'VM_guest_metrics';
293
+ can_use_hotplug_vbd: TRISTATE_TYPE;
294
+ can_use_hotplug_vif: TRISTATE_TYPE;
295
+ /** @deprecated */
296
+ disks?: Record<string, string>;
297
+ last_updated?: string;
298
+ live: boolean;
299
+ /** @deprecated */
300
+ memory?: Record<string, string>;
301
+ networks?: Record<string, string>;
302
+ os_version?: Record<string, string>;
303
+ other_config: Record<string, string>;
304
+ other?: Record<string, string>;
305
+ PV_drivers_detected: boolean;
306
+ /** @deprecated */
307
+ PV_drivers_up_to_date?: boolean;
308
+ PV_drivers_version?: Record<string, string>;
309
+ uuid: string;
310
+ }
311
+ export interface XenApiVmpp {
312
+ $ref: Branded<'VMPP'>;
313
+ $type: 'VMPP';
314
+ /** @deprecated */
315
+ alarm_config?: Record<string, string>;
316
+ /** @deprecated */
317
+ archive_frequency?: VMPP_ARCHIVE_FREQUENCY;
318
+ /** @deprecated */
319
+ archive_last_run_time?: string;
320
+ /** @deprecated */
321
+ archive_schedule?: Record<string, string>;
322
+ /** @deprecated */
323
+ archive_target_config?: Record<string, string>;
324
+ /** @deprecated */
325
+ archive_target_type?: VMPP_ARCHIVE_TARGET_TYPE;
326
+ /** @deprecated */
327
+ backup_frequency?: VMPP_BACKUP_FREQUENCY;
328
+ /** @deprecated */
329
+ backup_last_run_time?: string;
330
+ /** @deprecated */
331
+ backup_retention_value?: number;
332
+ /** @deprecated */
333
+ backup_schedule?: Record<string, string>;
334
+ /** @deprecated */
335
+ backup_type?: VMPP_BACKUP_TYPE;
336
+ /** @deprecated */
337
+ is_alarm_enabled?: boolean;
338
+ /** @deprecated */
339
+ is_archive_running?: boolean;
340
+ /** @deprecated */
341
+ is_backup_running?: boolean;
342
+ /** @deprecated */
343
+ is_policy_enabled?: boolean;
344
+ name_description: string;
345
+ name_label: string;
346
+ /** @deprecated */
347
+ recent_alerts?: string[];
348
+ /** @deprecated */
349
+ uuid: string;
350
+ /** @deprecated */
351
+ VMs?: XenApiVm['$ref'][];
352
+ }
353
+ export interface XenApiVmss {
354
+ $ref: Branded<'VMSS'>;
355
+ $type: 'VMSS';
356
+ enabled: boolean;
357
+ frequency?: VMSS_FREQUENCY;
358
+ last_run_time: string;
359
+ name_description: string;
360
+ name_label: string;
361
+ retained_snapshots: number;
362
+ schedule: Record<string, string>;
363
+ type?: VMSS_TYPE;
364
+ uuid: string;
365
+ VMs: XenApiVm['$ref'][];
366
+ }
367
+ export interface XenApiVmAppliance {
368
+ $ref: Branded<'VM_appliance'>;
369
+ $type: 'VM_appliance';
370
+ allowed_operations: VM_APPLIANCE_OPERATION[];
371
+ current_operations: Record<string, VM_APPLIANCE_OPERATION>;
372
+ name_description: string;
373
+ name_label: string;
374
+ uuid: string;
375
+ VMs: XenApiVm['$ref'][];
376
+ }
377
+ export interface XenApiDrTask {
378
+ $ref: Branded<'DR_task'>;
379
+ $type: 'DR_task';
380
+ introduced_SRs: XenApiSr['$ref'][];
381
+ uuid: string;
382
+ }
383
+ export interface XenApiHost {
384
+ $ref: Branded<'host'>;
385
+ $type: 'host';
386
+ address?: string;
387
+ allowed_operations: HOST_ALLOWED_OPERATIONS[];
388
+ API_version_major?: number;
389
+ API_version_minor?: number;
390
+ API_version_vendor_implementation?: Record<string, string>;
391
+ API_version_vendor?: string;
392
+ bios_strings: Record<string, string>;
393
+ blobs: Record<string, XenApiBlob['$ref']>;
394
+ capabilities: string[];
395
+ certificates?: XenApiCertificate['$ref'][];
396
+ chipset_info: Record<string, string>;
397
+ control_domain?: XenApiVm['$ref'];
398
+ cpu_configuration?: Record<string, string>;
399
+ cpu_info: Record<string, string>;
400
+ crash_dump_sr?: XenApiSr['$ref'];
401
+ crashdumps: XenApiHostCrashdump['$ref'][];
402
+ current_operations: Record<string, HOST_ALLOWED_OPERATIONS>;
403
+ display: HOST_DISPLAY;
404
+ edition: string;
405
+ editions?: string[];
406
+ enabled?: boolean;
407
+ external_auth_configuration: Record<string, string>;
408
+ external_auth_service_name: string;
409
+ external_auth_type: string;
410
+ features?: XenApiFeature['$ref'][];
411
+ guest_VCPUs_params: Record<string, string>;
412
+ ha_network_peers: string[];
413
+ ha_statefiles: string[];
414
+ host_CPUs: XenApiHostCpu['$ref'][];
415
+ hostname?: string;
416
+ https_only?: boolean;
417
+ iscsi_iqn?: string;
418
+ last_software_update?: string;
419
+ last_update_hash?: string;
420
+ latest_synced_updates_applied?: LATEST_SYNCED_UPDATES_APPLIED_STATE;
421
+ license_params?: Record<string, string>;
422
+ license_server: Record<string, string>;
423
+ local_cache_sr?: XenApiSr['$ref'];
424
+ logging?: Record<string, string>;
425
+ memory_overhead: number;
426
+ metrics?: XenApiHostMetrics['$ref'];
427
+ multipathing?: boolean;
428
+ name_description: string;
429
+ name_label: string;
430
+ numa_affinity_policy?: HOST_NUMA_AFFINITY_POLICY;
431
+ other_config?: Record<string, string>;
432
+ /** @deprecated */
433
+ patches?: XenApiHostPatch['$ref'][];
434
+ PBDs: XenApiPbd['$ref'][];
435
+ PCIs: XenApiPci['$ref'][];
436
+ pending_guidances_full?: UPDATE_GUIDANCES[];
437
+ pending_guidances_recommended?: UPDATE_GUIDANCES[];
438
+ pending_guidances?: UPDATE_GUIDANCES[];
439
+ PGPUs: XenApiPgpu['$ref'][];
440
+ PIFs: XenApiPif['$ref'][];
441
+ power_on_config: Record<string, string>;
442
+ power_on_mode: string;
443
+ PUSBs?: XenApiPusb['$ref'][];
444
+ resident_VMs: XenApiVm['$ref'][];
445
+ sched_policy?: string;
446
+ software_version?: Record<string, string>;
447
+ /** @deprecated */
448
+ ssl_legacy?: boolean;
449
+ supported_bootloaders: string[];
450
+ suspend_image_sr?: XenApiSr['$ref'];
451
+ tags: string[];
452
+ tls_verification_enabled?: boolean;
453
+ /** @deprecated */
454
+ uefi_certificates?: string;
455
+ updates_requiring_reboot?: XenApiPoolUpdate['$ref'][];
456
+ updates?: XenApiPoolUpdate['$ref'][];
457
+ uuid: string;
458
+ virtual_hardware_platform_versions: number[];
459
+ }
460
+ export interface XenApiHostCrashdump {
461
+ $ref: Branded<'host_crashdump'>;
462
+ $type: 'host_crashdump';
463
+ host?: XenApiHost['$ref'];
464
+ other_config: Record<string, string>;
465
+ size?: number;
466
+ timestamp?: string;
467
+ uuid: string;
468
+ }
469
+ export interface XenApiHostPatch {
470
+ $ref: Branded<'host_patch'>;
471
+ $type: 'host_patch';
472
+ applied?: boolean;
473
+ host?: XenApiHost['$ref'];
474
+ name_description: string;
475
+ name_label: string;
476
+ other_config: Record<string, string>;
477
+ pool_patch?: XenApiPoolPatch['$ref'];
478
+ size?: number;
479
+ timestamp_applied?: string;
480
+ uuid: string;
481
+ version?: string;
482
+ }
483
+ export interface XenApiHostMetrics {
484
+ $ref: Branded<'host_metrics'>;
485
+ $type: 'host_metrics';
486
+ last_updated?: string;
487
+ live?: boolean;
488
+ /** @deprecated */
489
+ memory_free?: number;
490
+ memory_total?: number;
491
+ other_config: Record<string, string>;
492
+ uuid: string;
493
+ }
494
+ export interface XenApiHostCpu {
495
+ $ref: Branded<'host_cpu'>;
496
+ $type: 'host_cpu';
497
+ family?: number;
498
+ features?: string;
499
+ flags?: string;
500
+ host?: XenApiHost['$ref'];
501
+ model?: number;
502
+ modelname?: string;
503
+ number?: number;
504
+ other_config: Record<string, string>;
505
+ speed?: number;
506
+ stepping?: string;
507
+ utilisation?: number;
508
+ uuid: string;
509
+ vendor?: string;
510
+ }
511
+ export interface XenApiNetwork {
512
+ $ref: Branded<'network'>;
513
+ $type: 'network';
514
+ allowed_operations: NETWORK_OPERATIONS[];
515
+ assigned_ips: Record<XenApiVif['$ref'], string>;
516
+ blobs: Record<string, XenApiBlob['$ref']>;
517
+ bridge: string;
518
+ current_operations: Record<string, NETWORK_OPERATIONS>;
519
+ default_locking_mode: NETWORK_DEFAULT_LOCKING_MODE;
520
+ managed?: boolean;
521
+ MTU: number;
522
+ name_description: string;
523
+ name_label: string;
524
+ other_config?: Record<string, string>;
525
+ PIFs: XenApiPif['$ref'][];
526
+ purpose?: NETWORK_PURPOSE[];
527
+ tags: string[];
528
+ uuid: string;
529
+ VIFs: XenApiVif['$ref'][];
530
+ }
531
+ export interface XenApiVif {
532
+ $ref: Branded<'VIF'>;
533
+ $type: 'VIF';
534
+ allowed_operations: VIF_OPERATIONS[];
535
+ current_operations: Record<string, VIF_OPERATIONS>;
536
+ currently_attached: boolean;
537
+ device?: string;
538
+ ipv4_addresses: string[];
539
+ ipv4_allowed: string[];
540
+ ipv4_configuration_mode: VIF_IPV4_CONFIGURATION_MODE;
541
+ ipv4_gateway: string;
542
+ ipv6_addresses: string[];
543
+ ipv6_allowed: string[];
544
+ ipv6_configuration_mode: VIF_IPV6_CONFIGURATION_MODE;
545
+ ipv6_gateway: string;
546
+ locking_mode: VIF_LOCKING_MODE;
547
+ MAC_autogenerated: boolean;
548
+ MAC?: string;
549
+ /** @deprecated */
550
+ metrics?: XenApiVifMetrics['$ref'];
551
+ MTU?: number;
552
+ network?: XenApiNetwork['$ref'];
553
+ other_config?: Record<string, string>;
554
+ qos_algorithm_params?: Record<string, string>;
555
+ qos_algorithm_type?: string;
556
+ qos_supported_algorithms: string[];
557
+ runtime_properties?: Record<string, string>;
558
+ status_code?: number;
559
+ status_detail?: string;
560
+ uuid: string;
561
+ VM?: XenApiVm['$ref'];
562
+ }
563
+ export interface XenApiVifMetrics {
564
+ $ref: Branded<'VIF_metrics'>;
565
+ $type: 'VIF_metrics';
566
+ /** @deprecated */
567
+ io_read_kbs?: number;
568
+ /** @deprecated */
569
+ io_write_kbs?: number;
570
+ last_updated?: string;
571
+ other_config: Record<string, string>;
572
+ uuid: string;
573
+ }
574
+ export interface XenApiPif {
575
+ $ref: Branded<'PIF'>;
576
+ $type: 'PIF';
577
+ bond_master_of: XenApiBond['$ref'][];
578
+ bond_slave_of?: XenApiBond['$ref'];
579
+ capabilities: string[];
580
+ currently_attached: boolean;
581
+ device?: string;
582
+ disallow_unplug: boolean;
583
+ DNS: string;
584
+ gateway: string;
585
+ host?: XenApiHost['$ref'];
586
+ igmp_snooping_status?: PIF_IGMP_STATUS;
587
+ ip_configuration_mode: IP_CONFIGURATION_MODE;
588
+ IP: string;
589
+ ipv6_configuration_mode: IPV6_CONFIGURATION_MODE;
590
+ ipv6_gateway: string;
591
+ IPv6: string[];
592
+ MAC?: string;
593
+ managed: boolean;
594
+ management: boolean;
595
+ metrics?: XenApiPifMetrics['$ref'];
596
+ MTU?: number;
597
+ netmask: string;
598
+ network?: XenApiNetwork['$ref'];
599
+ other_config: Record<string, string>;
600
+ PCI?: XenApiPci['$ref'];
601
+ physical: boolean;
602
+ primary_address_type: PRIMARY_ADDRESS_TYPE;
603
+ properties: Record<string, string>;
604
+ sriov_logical_PIF_of?: XenApiNetworkSriov['$ref'][];
605
+ sriov_physical_PIF_of?: XenApiNetworkSriov['$ref'][];
606
+ tunnel_access_PIF_of: XenApiTunnel['$ref'][];
607
+ tunnel_transport_PIF_of: XenApiTunnel['$ref'][];
608
+ uuid: string;
609
+ VLAN_master_of?: XenApiVlan['$ref'];
610
+ VLAN_slave_of: XenApiVlan['$ref'][];
611
+ VLAN?: number;
612
+ }
613
+ export interface XenApiPifMetrics {
614
+ $ref: Branded<'PIF_metrics'>;
615
+ $type: 'PIF_metrics';
616
+ carrier?: boolean;
617
+ device_id?: string;
618
+ device_name?: string;
619
+ duplex?: boolean;
620
+ /** @deprecated */
621
+ io_read_kbs?: number;
622
+ /** @deprecated */
623
+ io_write_kbs?: number;
624
+ last_updated?: string;
625
+ other_config: Record<string, string>;
626
+ pci_bus_path?: string;
627
+ speed?: number;
628
+ uuid: string;
629
+ vendor_id?: string;
630
+ vendor_name?: string;
631
+ }
632
+ export interface XenApiBond {
633
+ $ref: Branded<'Bond'>;
634
+ $type: 'Bond';
635
+ auto_update_mac?: boolean;
636
+ links_up: number;
637
+ master?: XenApiPif['$ref'];
638
+ mode: BOND_MODE;
639
+ other_config: Record<string, string>;
640
+ primary_slave?: XenApiPif['$ref'];
641
+ properties: Record<string, string>;
642
+ slaves: XenApiPif['$ref'][];
643
+ uuid: string;
644
+ }
645
+ export interface XenApiVlan {
646
+ $ref: Branded<'VLAN'>;
647
+ $type: 'VLAN';
648
+ other_config: Record<string, string>;
649
+ tag: number;
650
+ tagged_PIF?: XenApiPif['$ref'];
651
+ untagged_PIF?: XenApiPif['$ref'];
652
+ uuid: string;
653
+ }
654
+ export interface XenApiSm {
655
+ $ref: Branded<'SM'>;
656
+ $type: 'SM';
657
+ /** @deprecated */
658
+ capabilities?: string[];
659
+ configuration?: Record<string, string>;
660
+ copyright?: string;
661
+ driver_filename: string;
662
+ features: Record<string, number>;
663
+ name_description: string;
664
+ name_label: string;
665
+ other_config: Record<string, string>;
666
+ required_api_version?: string;
667
+ required_cluster_stack: string[];
668
+ type?: string;
669
+ uuid: string;
670
+ vendor?: string;
671
+ version?: string;
672
+ }
673
+ export interface XenApiSr {
674
+ $ref: Branded<'SR'>;
675
+ $type: 'SR';
676
+ allowed_operations: STORAGE_OPERATIONS[];
677
+ blobs: Record<string, XenApiBlob['$ref']>;
678
+ clustered: boolean;
679
+ content_type?: string;
680
+ current_operations: Record<string, STORAGE_OPERATIONS>;
681
+ introduced_by?: XenApiDrTask['$ref'];
682
+ is_tools_sr: boolean;
683
+ local_cache_enabled: boolean;
684
+ name_description: string;
685
+ name_label: string;
686
+ other_config?: Record<string, string>;
687
+ PBDs: XenApiPbd['$ref'][];
688
+ physical_size?: number;
689
+ physical_utilisation?: number;
690
+ shared?: boolean;
691
+ sm_config: Record<string, string>;
692
+ tags: string[];
693
+ type?: string;
694
+ uuid: string;
695
+ VDIs: XenApiVdi['$ref'][];
696
+ virtual_allocation?: number;
697
+ }
698
+ export interface XenApiSrStat {
699
+ $ref: Branded<'sr_stat'>;
700
+ $type: 'sr_stat';
701
+ clustered?: boolean;
702
+ free_space?: number;
703
+ health?: SR_HEALTH;
704
+ name_description?: string;
705
+ name_label?: string;
706
+ total_space?: number;
707
+ uuid: unknown;
708
+ }
709
+ export interface XenApiProbeResult {
710
+ $ref: Branded<'probe_result'>;
711
+ $type: 'probe_result';
712
+ complete?: boolean;
713
+ configuration?: Record<string, string>;
714
+ extra_info?: Record<string, string>;
715
+ sr?: unknown;
716
+ }
717
+ export interface XenApiLvhd {
718
+ $ref: Branded<'LVHD'>;
719
+ $type: 'LVHD';
720
+ uuid: string;
721
+ }
722
+ export interface XenApiVdi {
723
+ $ref: Branded<'VDI'>;
724
+ $type: 'VDI';
725
+ allow_caching: boolean;
726
+ allowed_operations: VDI_OPERATIONS[];
727
+ cbt_enabled?: boolean;
728
+ crash_dumps: XenApiCrashdump['$ref'][];
729
+ current_operations: Record<string, VDI_OPERATIONS>;
730
+ is_a_snapshot: boolean;
731
+ is_tools_iso: boolean;
732
+ location: string;
733
+ managed?: boolean;
734
+ metadata_latest: boolean;
735
+ metadata_of_pool?: XenApiPool['$ref'];
736
+ missing?: boolean;
737
+ name_description: string;
738
+ name_label: string;
739
+ on_boot: ON_BOOT;
740
+ other_config?: Record<string, string>;
741
+ /** @deprecated */
742
+ parent?: XenApiVdi['$ref'];
743
+ physical_utilisation?: number;
744
+ read_only?: boolean;
745
+ sharable?: boolean;
746
+ sm_config: Record<string, string>;
747
+ snapshot_of?: XenApiVdi['$ref'];
748
+ snapshot_time: string;
749
+ snapshots: XenApiVdi['$ref'][];
750
+ SR?: XenApiSr['$ref'];
751
+ storage_lock?: boolean;
752
+ tags: string[];
753
+ type?: VDI_TYPE;
754
+ uuid: string;
755
+ VBDs: XenApiVbd['$ref'][];
756
+ virtual_size?: number;
757
+ xenstore_data: Record<string, string>;
758
+ }
759
+ export interface XenApiVbd {
760
+ $ref: Branded<'VBD'>;
761
+ $type: 'VBD';
762
+ allowed_operations: VBD_OPERATIONS[];
763
+ bootable?: boolean;
764
+ current_operations: Record<string, VBD_OPERATIONS>;
765
+ currently_attached: boolean;
766
+ device: string;
767
+ empty?: boolean;
768
+ /** @deprecated */
769
+ metrics?: XenApiVbdMetrics['$ref'];
770
+ mode?: VBD_MODE;
771
+ other_config?: Record<string, string>;
772
+ qos_algorithm_params?: Record<string, string>;
773
+ qos_algorithm_type?: string;
774
+ qos_supported_algorithms: string[];
775
+ runtime_properties?: Record<string, string>;
776
+ status_code?: number;
777
+ status_detail?: string;
778
+ storage_lock?: boolean;
779
+ type?: VBD_TYPE;
780
+ unpluggable: boolean;
781
+ userdevice?: string;
782
+ uuid: string;
783
+ VDI?: XenApiVdi['$ref'];
784
+ VM?: XenApiVm['$ref'];
785
+ }
786
+ export interface XenApiVbdMetrics {
787
+ $ref: Branded<'VBD_metrics'>;
788
+ $type: 'VBD_metrics';
789
+ /** @deprecated */
790
+ io_read_kbs?: number;
791
+ /** @deprecated */
792
+ io_write_kbs?: number;
793
+ /** @deprecated */
794
+ last_updated?: string;
795
+ /** @deprecated */
796
+ other_config?: Record<string, string>;
797
+ uuid: string;
798
+ }
799
+ export interface XenApiPbd {
800
+ $ref: Branded<'PBD'>;
801
+ $type: 'PBD';
802
+ currently_attached?: boolean;
803
+ device_config?: Record<string, string>;
804
+ host?: XenApiHost['$ref'];
805
+ other_config: Record<string, string>;
806
+ SR?: XenApiSr['$ref'];
807
+ uuid: string;
808
+ }
809
+ export interface XenApiCrashdump {
810
+ $ref: Branded<'crashdump'>;
811
+ $type: 'crashdump';
812
+ other_config: Record<string, string>;
813
+ uuid: string;
814
+ VDI?: XenApiVdi['$ref'];
815
+ VM?: XenApiVm['$ref'];
816
+ }
817
+ export interface XenApiVtpm {
818
+ $ref: Branded<'VTPM'>;
819
+ $type: 'VTPM';
820
+ allowed_operations: VTPM_OPERATIONS[];
821
+ backend?: XenApiVm['$ref'];
822
+ current_operations: Record<string, VTPM_OPERATIONS>;
823
+ is_protected?: boolean;
824
+ is_unique?: boolean;
825
+ persistence_backend?: PERSISTENCE_BACKEND;
826
+ uuid: string;
827
+ VM?: XenApiVm['$ref'];
828
+ }
829
+ export interface XenApiConsole {
830
+ $ref: Branded<'console'>;
831
+ $type: 'console';
832
+ location?: string;
833
+ other_config?: Record<string, string>;
834
+ protocol?: CONSOLE_PROTOCOL;
835
+ uuid: string;
836
+ VM?: XenApiVm['$ref'];
837
+ }
838
+ export interface XenApiUser {
839
+ $ref: Branded<'user'>;
840
+ $type: 'user';
841
+ fullname?: string;
842
+ other_config: Record<string, string>;
843
+ short_name?: string;
844
+ uuid: string;
845
+ }
846
+ export interface XenApiDataSource {
847
+ $ref: Branded<'data_source'>;
848
+ $type: 'data_source';
849
+ enabled?: boolean;
850
+ max?: number;
851
+ min?: number;
852
+ name_description: string;
853
+ name_label: string;
854
+ standard?: boolean;
855
+ units?: string;
856
+ value?: number;
857
+ }
858
+ export interface XenApiBlob {
859
+ $ref: Branded<'blob'>;
860
+ $type: 'blob';
861
+ last_updated?: string;
862
+ mime_type?: string;
863
+ name_description: string;
864
+ name_label: string;
865
+ public: boolean;
866
+ size?: number;
867
+ uuid: string;
868
+ }
869
+ export interface XenApiMessage {
870
+ $ref: Branded<'message'>;
871
+ $type: 'message';
872
+ body?: string;
873
+ cls?: CLS;
874
+ name?: string;
875
+ obj_uuid?: string;
876
+ priority?: number;
877
+ timestamp?: string;
878
+ uuid: string;
879
+ }
880
+ export interface XenApiSecret {
881
+ $ref: Branded<'secret'>;
882
+ $type: 'secret';
883
+ other_config: Record<string, string>;
884
+ uuid: string;
885
+ value?: string;
886
+ }
887
+ export interface XenApiTunnel {
888
+ $ref: Branded<'tunnel'>;
889
+ $type: 'tunnel';
890
+ access_PIF?: XenApiPif['$ref'];
891
+ other_config: Record<string, string>;
892
+ protocol?: TUNNEL_PROTOCOL;
893
+ status: Record<string, string>;
894
+ transport_PIF?: XenApiPif['$ref'];
895
+ uuid: string;
896
+ }
897
+ export interface XenApiNetworkSriov {
898
+ $ref: Branded<'network_sriov'>;
899
+ $type: 'network_sriov';
900
+ configuration_mode?: SRIOV_CONFIGURATION_MODE;
901
+ logical_PIF?: XenApiPif['$ref'];
902
+ physical_PIF?: XenApiPif['$ref'];
903
+ requires_reboot?: boolean;
904
+ uuid: string;
905
+ }
906
+ export interface XenApiPci {
907
+ $ref: Branded<'PCI'>;
908
+ $type: 'PCI';
909
+ class_name: string;
910
+ dependencies: XenApiPci['$ref'][];
911
+ device_name: string;
912
+ driver_name?: string;
913
+ host?: XenApiHost['$ref'];
914
+ other_config: Record<string, string>;
915
+ pci_id: string;
916
+ subsystem_device_name?: string;
917
+ subsystem_vendor_name?: string;
918
+ uuid: string;
919
+ vendor_name: string;
920
+ }
921
+ export interface XenApiPgpu {
922
+ $ref: Branded<'PGPU'>;
923
+ $type: 'PGPU';
924
+ compatibility_metadata?: Record<string, string>;
925
+ dom0_access: PGPU_DOM0_ACCESS;
926
+ enabled_VGPU_types: XenApiVgpuType['$ref'][];
927
+ GPU_group?: XenApiGpuGroup['$ref'];
928
+ host?: XenApiHost['$ref'];
929
+ is_system_display_device: boolean;
930
+ other_config: Record<string, string>;
931
+ PCI?: XenApiPci['$ref'];
932
+ resident_VGPUs: XenApiVgpu['$ref'][];
933
+ supported_VGPU_max_capacities: Record<XenApiVgpuType['$ref'], number>;
934
+ supported_VGPU_types: XenApiVgpuType['$ref'][];
935
+ uuid: string;
936
+ }
937
+ export interface XenApiGpuGroup {
938
+ $ref: Branded<'GPU_group'>;
939
+ $type: 'GPU_group';
940
+ allocation_algorithm: ALLOCATION_ALGORITHM;
941
+ enabled_VGPU_types: XenApiVgpuType['$ref'][];
942
+ GPU_types: string[];
943
+ name_description: string;
944
+ name_label: string;
945
+ other_config: Record<string, string>;
946
+ PGPUs: XenApiPgpu['$ref'][];
947
+ supported_VGPU_types: XenApiVgpuType['$ref'][];
948
+ uuid: string;
949
+ VGPUs: XenApiVgpu['$ref'][];
950
+ }
951
+ export interface XenApiVgpu {
952
+ $ref: Branded<'VGPU'>;
953
+ $type: 'VGPU';
954
+ compatibility_metadata?: Record<string, string>;
955
+ currently_attached: boolean;
956
+ device: string;
957
+ extra_args?: string;
958
+ GPU_group?: XenApiGpuGroup['$ref'];
959
+ other_config: Record<string, string>;
960
+ PCI?: XenApiPci['$ref'];
961
+ resident_on?: XenApiPgpu['$ref'];
962
+ scheduled_to_be_resident_on?: XenApiPgpu['$ref'];
963
+ type?: XenApiVgpuType['$ref'];
964
+ uuid: string;
965
+ VM?: XenApiVm['$ref'];
966
+ }
967
+ export interface XenApiVgpuType {
968
+ $ref: Branded<'VGPU_type'>;
969
+ $type: 'VGPU_type';
970
+ compatible_types_in_vm?: XenApiVgpuType['$ref'][];
971
+ enabled_on_GPU_groups: XenApiGpuGroup['$ref'][];
972
+ enabled_on_PGPUs: XenApiPgpu['$ref'][];
973
+ experimental: boolean;
974
+ framebuffer_size: number;
975
+ identifier: string;
976
+ implementation: VGPU_TYPE_IMPLEMENTATION;
977
+ max_heads: number;
978
+ max_resolution_x: number;
979
+ max_resolution_y: number;
980
+ model_name: string;
981
+ supported_on_GPU_groups: XenApiGpuGroup['$ref'][];
982
+ supported_on_PGPUs: XenApiPgpu['$ref'][];
983
+ uuid: string;
984
+ vendor_name: string;
985
+ VGPUs: XenApiVgpu['$ref'][];
986
+ }
987
+ export interface XenApiPvsSite {
988
+ $ref: Branded<'PVS_site'>;
989
+ $type: 'PVS_site';
990
+ cache_storage?: XenApiPvsCacheStorage['$ref'][];
991
+ name_description?: string;
992
+ name_label?: string;
993
+ proxies?: XenApiPvsProxy['$ref'][];
994
+ PVS_uuid?: string;
995
+ servers?: XenApiPvsServer['$ref'][];
996
+ uuid: string;
997
+ }
998
+ export interface XenApiPvsServer {
999
+ $ref: Branded<'PVS_server'>;
1000
+ $type: 'PVS_server';
1001
+ addresses?: string[];
1002
+ first_port?: number;
1003
+ last_port?: number;
1004
+ site?: XenApiPvsSite['$ref'];
1005
+ uuid: string;
1006
+ }
1007
+ export interface XenApiPvsProxy {
1008
+ $ref: Branded<'PVS_proxy'>;
1009
+ $type: 'PVS_proxy';
1010
+ currently_attached?: boolean;
1011
+ site?: XenApiPvsSite['$ref'];
1012
+ status?: PVS_PROXY_STATUS;
1013
+ uuid: string;
1014
+ VIF?: XenApiVif['$ref'];
1015
+ }
1016
+ export interface XenApiPvsCacheStorage {
1017
+ $ref: Branded<'PVS_cache_storage'>;
1018
+ $type: 'PVS_cache_storage';
1019
+ host?: XenApiHost['$ref'];
1020
+ site?: XenApiPvsSite['$ref'];
1021
+ size?: number;
1022
+ SR?: XenApiSr['$ref'];
1023
+ uuid: string;
1024
+ VDI?: XenApiVdi['$ref'];
1025
+ }
1026
+ export interface XenApiFeature {
1027
+ $ref: Branded<'Feature'>;
1028
+ $type: 'Feature';
1029
+ enabled?: boolean;
1030
+ experimental?: boolean;
1031
+ host?: XenApiHost['$ref'];
1032
+ name_description: string;
1033
+ name_label: string;
1034
+ uuid: string;
1035
+ version?: string;
1036
+ }
1037
+ export interface XenApiSdnController {
1038
+ $ref: Branded<'SDN_controller'>;
1039
+ $type: 'SDN_controller';
1040
+ address?: string;
1041
+ port?: number;
1042
+ protocol?: SDN_CONTROLLER_PROTOCOL;
1043
+ uuid: string;
1044
+ }
1045
+ export interface XenApiVdiNbdServerInfo {
1046
+ $ref: Branded<'vdi_nbd_server_info'>;
1047
+ $type: 'vdi_nbd_server_info';
1048
+ address?: string;
1049
+ cert?: string;
1050
+ exportname?: string;
1051
+ port?: number;
1052
+ subject?: string;
1053
+ }
1054
+ export interface XenApiPusb {
1055
+ $ref: Branded<'PUSB'>;
1056
+ $type: 'PUSB';
1057
+ description?: string;
1058
+ host?: XenApiHost['$ref'];
1059
+ other_config?: Record<string, string>;
1060
+ passthrough_enabled?: boolean;
1061
+ path?: string;
1062
+ product_desc?: string;
1063
+ product_id?: string;
1064
+ serial?: string;
1065
+ speed?: number;
1066
+ USB_group?: XenApiUsbGroup['$ref'];
1067
+ uuid: string;
1068
+ vendor_desc?: string;
1069
+ vendor_id?: string;
1070
+ version?: string;
1071
+ }
1072
+ export interface XenApiUsbGroup {
1073
+ $ref: Branded<'USB_group'>;
1074
+ $type: 'USB_group';
1075
+ name_description?: string;
1076
+ name_label?: string;
1077
+ other_config?: Record<string, string>;
1078
+ PUSBs?: XenApiPusb['$ref'][];
1079
+ uuid: string;
1080
+ VUSBs?: XenApiVusb['$ref'][];
1081
+ }
1082
+ export interface XenApiVusb {
1083
+ $ref: Branded<'VUSB'>;
1084
+ $type: 'VUSB';
1085
+ allowed_operations: VUSB_OPERATIONS[];
1086
+ current_operations: Record<string, VUSB_OPERATIONS>;
1087
+ currently_attached: boolean;
1088
+ other_config?: Record<string, string>;
1089
+ USB_group?: XenApiUsbGroup['$ref'];
1090
+ uuid: string;
1091
+ VM?: XenApiVm['$ref'];
1092
+ }
1093
+ export interface XenApiCluster {
1094
+ $ref: Branded<'Cluster'>;
1095
+ $type: 'Cluster';
1096
+ allowed_operations: CLUSTER_OPERATION[];
1097
+ cluster_config?: Record<string, string>;
1098
+ cluster_hosts?: XenApiClusterHost['$ref'][];
1099
+ cluster_stack?: string;
1100
+ cluster_token?: string;
1101
+ current_operations: Record<string, CLUSTER_OPERATION>;
1102
+ is_quorate?: boolean;
1103
+ live_hosts?: number;
1104
+ other_config?: Record<string, string>;
1105
+ pending_forget?: string[];
1106
+ pool_auto_join?: boolean;
1107
+ quorum?: number;
1108
+ token_timeout_coefficient?: number;
1109
+ token_timeout?: number;
1110
+ uuid: string;
1111
+ }
1112
+ export interface XenApiClusterHost {
1113
+ $ref: Branded<'Cluster_host'>;
1114
+ $type: 'Cluster_host';
1115
+ allowed_operations: CLUSTER_HOST_OPERATION[];
1116
+ cluster?: XenApiCluster['$ref'];
1117
+ current_operations: Record<string, CLUSTER_HOST_OPERATION>;
1118
+ enabled?: boolean;
1119
+ host?: XenApiHost['$ref'];
1120
+ joined?: boolean;
1121
+ last_update_live?: string;
1122
+ live?: boolean;
1123
+ other_config?: Record<string, string>;
1124
+ PIF?: XenApiPif['$ref'];
1125
+ uuid: string;
1126
+ }
1127
+ export interface XenApiCertificate {
1128
+ $ref: Branded<'Certificate'>;
1129
+ $type: 'Certificate';
1130
+ fingerprint?: string;
1131
+ host?: XenApiHost['$ref'];
1132
+ name?: string;
1133
+ not_after?: string;
1134
+ not_before?: string;
1135
+ type?: CERTIFICATE_TYPE;
1136
+ uuid: string;
1137
+ }
1138
+ export interface XenApiRepository {
1139
+ $ref: Branded<'Repository'>;
1140
+ $type: 'Repository';
1141
+ binary_url?: string;
1142
+ gpgkey_path?: string;
1143
+ hash?: string;
1144
+ name_description: string;
1145
+ name_label: string;
1146
+ source_url?: string;
1147
+ /** @deprecated */
1148
+ up_to_date?: boolean;
1149
+ update?: boolean;
1150
+ uuid: string;
1151
+ }
1152
+ export interface XenApiObserver {
1153
+ $ref: Branded<'Observer'>;
1154
+ $type: 'Observer';
1155
+ attributes?: Record<string, string>;
1156
+ components?: string[];
1157
+ enabled?: boolean;
1158
+ endpoints?: string[];
1159
+ hosts?: XenApiHost['$ref'][];
1160
+ name_description: string;
1161
+ name_label: string;
1162
+ uuid: string;
1163
+ }
1164
+ export type XenApiRecord = XenApiSession | XenApiAuth | XenApiSubject | XenApiRole | XenApiTask | XenApiEvent | XenApiPool | XenApiPoolPatch | XenApiPoolUpdate | XenApiVm | XenApiVmMetrics | XenApiVmGuestMetrics | XenApiVmpp | XenApiVmss | XenApiVmAppliance | XenApiDrTask | XenApiHost | XenApiHostCrashdump | XenApiHostPatch | XenApiHostMetrics | XenApiHostCpu | XenApiNetwork | XenApiVif | XenApiVifMetrics | XenApiPif | XenApiPifMetrics | XenApiBond | XenApiVlan | XenApiSm | XenApiSr | XenApiSrStat | XenApiProbeResult | XenApiLvhd | XenApiVdi | XenApiVbd | XenApiVbdMetrics | XenApiPbd | XenApiCrashdump | XenApiVtpm | XenApiConsole | XenApiUser | XenApiDataSource | XenApiBlob | XenApiMessage | XenApiSecret | XenApiTunnel | XenApiNetworkSriov | XenApiPci | XenApiPgpu | XenApiGpuGroup | XenApiVgpu | XenApiVgpuType | XenApiPvsSite | XenApiPvsServer | XenApiPvsProxy | XenApiPvsCacheStorage | XenApiFeature | XenApiSdnController | XenApiVdiNbdServerInfo | XenApiPusb | XenApiUsbGroup | XenApiVusb | XenApiCluster | XenApiClusterHost | XenApiCertificate | XenApiRepository | XenApiObserver;