Class: VDI

A virtual disk image

Enums

vdi_operations
vdi_type
on_boot

Fields

SR ref SR [RO/constructor]
VBD ref set VBDs [RO/runtime]
bool allow_caching [RO/runtime]
enum vdi_operations set allowed_operations [RO/runtime]
bool cbt_enabled [RO/runtime]
crashdump ref set crash_dumps [RO/runtime]
(string → enum vdi_operations) map current_operations [RO/runtime]
bool is_a_snapshot [RO/runtime]
bool is_tools_iso [RO/runtime]
string location [RO/runtime]
bool managed [RO/runtime]
bool metadata_latest [RO/runtime]
pool ref metadata_of_pool [RO/runtime]
bool missing [RO/runtime]
string name_description [RO/constructor]
string name_label [RO/constructor]
enum on_boot on_boot [RO/runtime]
(string → string) map other_config [RW]
Deprecated
VDI ref parent [RO/runtime]
int physical_utilisation [RO/runtime]
bool read_only [RO/constructor]
bool sharable [RO/constructor]
(string → string) map sm_config [RW]
VDI ref snapshot_of [RO/runtime]
datetime snapshot_time [RO/runtime]
VDI ref set snapshots [RO/runtime]
bool storage_lock [RO/runtime]
string set tags [RW]
enum vdi_type type [RO/constructor]
string uuid [RO/runtime]
int virtual_size [RO/constructor]
(string → string) map xenstore_data [RW]

Messages

void add_tags (session ref, VDI ref, string)
void add_to_other_config (session ref, VDI ref, string, string)
void add_to_sm_config (session ref, VDI ref, string, string)
void add_to_xenstore_data (session ref, VDI ref, string, string)
VDI ref clone (session ref, VDI ref, (string → string) map)
VDI ref copy (session ref, VDI ref, SR ref, VDI ref, VDI ref)
VDI ref create (session ref, VDI record)
void data_destroy (session ref, VDI ref)
void db_forget (session ref, VDI ref)
VDI ref db_introduce (session ref, string, string, string, SR ref, enum vdi_type, bool, bool, (string → string) map, string, (string → string) map, (string → string) map, bool, int, int, pool ref, bool, datetime, VDI ref, bool)
void destroy (session ref, VDI ref)
void disable_cbt (session ref, VDI ref)
void enable_cbt (session ref, VDI ref)
string export_changed_blocks (session ref, VDI ref, VDI ref)
void forget (session ref, VDI ref)
SR ref get_SR (session ref, VDI ref)
VBD ref set get_VBDs (session ref, VDI ref)
VDI ref set get_all (session ref)
(VDI ref → VDI record) map get_all_records (session ref)
bool get_allow_caching (session ref, VDI ref)
enum vdi_operations set get_allowed_operations (session ref, VDI ref)
VDI ref set get_by_name_label (session ref, string)
VDI ref get_by_uuid (session ref, string)
bool get_cbt_enabled (session ref, VDI ref)
crashdump ref set get_crash_dumps (session ref, VDI ref)
(string → enum vdi_operations) map get_current_operations (session ref, VDI ref)
bool get_is_a_snapshot (session ref, VDI ref)
bool get_is_tools_iso (session ref, VDI ref)
string get_location (session ref, VDI ref)
bool get_managed (session ref, VDI ref)
bool get_metadata_latest (session ref, VDI ref)
pool ref get_metadata_of_pool (session ref, VDI ref)
bool get_missing (session ref, VDI ref)
string get_name_description (session ref, VDI ref)
string get_name_label (session ref, VDI ref)
string set get_nbd_info (session ref, VDI ref)
enum on_boot get_on_boot (session ref, VDI ref)
(string → string) map get_other_config (session ref, VDI ref)
Deprecated
VDI ref get_parent (session ref, VDI ref)
int get_physical_utilisation (session ref, VDI ref)
bool get_read_only (session ref, VDI ref)
VDI record get_record (session ref, VDI ref)
bool get_sharable (session ref, VDI ref)
(string → string) map get_sm_config (session ref, VDI ref)
VDI ref get_snapshot_of (session ref, VDI ref)
datetime get_snapshot_time (session ref, VDI ref)
VDI ref set get_snapshots (session ref, VDI ref)
bool get_storage_lock (session ref, VDI ref)
string set get_tags (session ref, VDI ref)
enum vdi_type get_type (session ref, VDI ref)
string get_uuid (session ref, VDI ref)
int get_virtual_size (session ref, VDI ref)
(string → string) map get_xenstore_data (session ref, VDI ref)
VDI ref introduce (session ref, string, string, string, SR ref, enum vdi_type, bool, bool, (string → string) map, string, (string → string) map, (string → string) map, bool, int, int, pool ref, bool, datetime, VDI ref)
session ref open_database (session ref, VDI ref)
VDI ref pool_migrate (session ref, VDI ref, SR ref, (string → string) map)
string read_database_pool_uuid (session ref, VDI ref)
void remove_from_other_config (session ref, VDI ref, string)
void remove_from_sm_config (session ref, VDI ref, string)
void remove_from_xenstore_data (session ref, VDI ref, string)
void remove_tags (session ref, VDI ref, string)
void resize (session ref, VDI ref, int)
void resize_online (session ref, VDI ref, int)
void set_allow_caching (session ref, VDI ref, bool)
void set_is_a_snapshot (session ref, VDI ref, bool)
void set_managed (session ref, VDI ref, bool)
void set_metadata_of_pool (session ref, VDI ref, pool ref)
void set_missing (session ref, VDI ref, bool)
void set_name_description (session ref, VDI ref, string)
void set_name_label (session ref, VDI ref, string)
void set_on_boot (session ref, VDI ref, enum on_boot)
void set_other_config (session ref, VDI ref, (string → string) map)
void set_physical_utilisation (session ref, VDI ref, int)
void set_read_only (session ref, VDI ref, bool)
void set_sharable (session ref, VDI ref, bool)
void set_sm_config (session ref, VDI ref, (string → string) map)
void set_snapshot_of (session ref, VDI ref, VDI ref)
void set_snapshot_time (session ref, VDI ref, datetime)
void set_tags (session ref, VDI ref, string set)
void set_virtual_size (session ref, VDI ref, int)
void set_xenstore_data (session ref, VDI ref, (string → string) map)
VDI ref snapshot (session ref, VDI ref, (string → string) map)
void update (session ref, VDI ref)