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

Class FoundVmInfo

object --+    
         |    
   _Handle --+
             |
            FoundVmInfo

Contains summary information about a virtual machine that was found as a result of a virtual machine search operation.

Instance Methods [hide private]
 
get_name(self)
Obtains the virtual machine name.
 
is_old_config(self)
Determines whether the vitrual machine configuration is an older version.
 
get_osversion(self)
Obtains the guest OS version information.
 
get_config_path(self)
Obtains the name and path of the directory containing the virtual machine files.
 
is_template(self)
Determines if the virtual machine is a template.

Inherited from _Handle: __del__, __init__, add_ref, free, from_string, get_handle_type, get_package_id, get_type, reg_event_handler, unreg_event_handler

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

get_name(self)

 

Obtains the virtual machine name.

Returns:
A string containing the virtual machine name.

is_old_config(self)

 

Determines whether the vitrual machine configuration is an older version. This method allows to determine whether the virtual machine was created with an older or the current version of the Virtuozzo virtualization product that you are using.

Returns:
Boolean. True indicates that the virtual machine was created with an older version of the product. False indicates that the virtual machine was created with the version that you are running.

get_osversion(self)

 

Obtains the guest OS version information.

Returns:
A string containing the guest OS version.

get_config_path(self)

 

Obtains the name and path of the directory containing the virtual machine files.

Returns:
A string containing the name and path of the virtual machine directory.

is_template(self)

 

Determines if the virtual machine is a template. A virtual machine can be a regular virtual machine that you can run or it can be a template used to create new virtual machines.

Returns:
Boolean. True indicates that the virtual machine is a template. False indicates that it is a regular virtual machine.