Package prlsdkapi :: Class VmHddDev
[hide private]
[frames] | no frames]

Class VmHddDev

  object --+                    
           |                    
 prlsdk.Base --+                
               |                
prlsdk.BaseAsync --+            
                   |            
prlsdk.OwnerRefAsync --+        
                       |        
               VmBaseDev --+    
                           |    
               VmBaseDiskDev --+
                               |
                              VmHddDev

Provides methods for managing virtual hard disk drives.

Instance Methods [hide private]

Inherited from VmBaseDev: connect, create, create_image, disconnect, remove, set_default_stack_index

Inherited from prlsdk.OwnerRefAsync: __init__, __new__

Inherited from prlsdk.BaseAsync: __cmp__, __repr__, cancel, wait

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __setattr__, __str__

Class Variables [hide private]
  __prefix__ = 'vmdevhdd'
  __ht__ = 268435466

Inherited from VmBaseDev: __int_prefix__

Properties [hide private]
  disk_type
Disk type.
  splitted
Determines if the virtual hard disk is split into multiple files.
  disk_size
Disk size in bytes.
  size_on_disk
The size of the occupied space on the disk, in bytes.

Inherited from VmBaseDiskDev: iface_type, image_path, passthrough, stack_index

Inherited from VmBaseDev: connected, emulated_type, enabled, friendly_name, index, remote, sys_name, type

Inherited from prlsdk.OwnerRefAsync: __owner__

Inherited from prlsdk.BaseAsync: __expected_h_type__, __job__, finished, handle_type

Inherited from prlsdk.Base: __handle__

Inherited from object: __class__

Property Details [hide private]

disk_type

Disk type. See consts.PHD_xxx for available types.

Get Method:
unreachable.vmdevhdd__get_disk_type(vmdevhdd, VmDevHd) - Gets hard disk type, see prlsdk.consts.PHD_xxx.
Set Method:
unreachable.vmdevhdd__set_disk_type(vmdevhdd, VmDevHd, disk_type) - Sets hard disk type (PLAIN or EXPANDING).

splitted

Determines if the virtual hard disk is split into multiple files. True - multiple files; False - single file.

Get Method:
unreachable.vmdevhdd__get_splitted(vmdevhdd, VmDevHd) - Gets hard disk splitted sign (whether virtual device file storing as single file or splitted into chunks).
Set Method:
unreachable.vmdevhdd__set_splitted(vmdevhdd, VmDevHd, splitted) - Sets hard disk splitted sign (whether virtual device file storing as single file or splitted into chunks).

disk_size

Disk size in bytes.

Get Method:
unreachable.vmdevhdd__get_disk_size(vmdevhdd, VmDevHd) - Gets hard disk size in megabytes.
Set Method:
unreachable.vmdevhdd__set_disk_size(vmdevhdd, VmDevHd, disk_size) - Sets hard disk size in megabytes.

size_on_disk

The size of the occupied space on the disk, in bytes.

Get Method:
unreachable.vmdevhdd__get_size_on_disk(vmdevhdd, VmDevHd) - Lets to determine how much disk space (in bytes) of hard disk VM device already filled.