Provides methods for managing virtual hard disks in a virtual
machine.
|
get_disk_type(self)
Return the hard disk type. |
|
|
|
set_disk_type(self,
nDiskType)
Set the type of the virtual hard disk. |
|
|
|
is_splitted(self)
Determine if the virtual hard disk is split into multiple files. |
|
|
|
set_splitted(self,
bSplitted)
Sety whether the hard disk should be split into multiple files. |
|
|
|
get_disk_size(self)
Return the hard disk size. |
|
|
|
set_disk_size(self,
nDiskSize)
Set the size of the virtual hard disk. |
|
|
|
get_size_on_disk(self)
Return the size of the occupied space on the hard disk. |
|
|
|
set_password(self,
sPassword) |
|
|
|
|
|
check_password(self,
nFlags) |
|
|
|
add_partition(self)
Assign a boot camp partition to the virtual hard disk. |
|
|
|
get_partitions_count(self)
Determine the number of partitions on the virtual hard disk. |
|
|
|
get_partition(self,
nIndex)
Obtain the VmHdPartition object containing a hard disk
partition info. |
|
|
|
get_online_compact_mode(self) |
|
|
|
set_online_compact_mode(self,
nMode) |
|
|
Inherited from VmDevice :
connect ,
copy_image ,
create ,
create_image ,
disconnect ,
get_description ,
get_emulated_type ,
get_friendly_name ,
get_iface_type ,
get_image_path ,
get_index ,
get_output_file ,
get_stack_index ,
get_sub_type ,
get_sys_name ,
get_type ,
is_connected ,
is_enabled ,
is_passthrough ,
is_remote ,
remove ,
resize_image ,
set_connected ,
set_default_stack_index ,
set_description ,
set_emulated_type ,
set_enabled ,
set_friendly_name ,
set_iface_type ,
set_image_path ,
set_index ,
set_output_file ,
set_passthrough ,
set_remote ,
set_stack_index ,
set_sub_type ,
set_sys_name
Inherited from _Handle :
__del__ ,
__init__ ,
add_ref ,
free ,
from_string ,
get_handle_type ,
get_package_id
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|