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

Class ServerConfig

object --+    
         |    
   _Handle --+
             |
            ServerConfig

Provides methods for obtaining the host computer configuration information.

Instance Methods [ hide private ]
create ( self )
get_host_ram_size ( self )
Determine the amount of memory (RAM) available on the host.
get_cpu_model ( self )
Determine the model of CPU of the host machine.
get_cpu_count ( self )
Determine the number of CPUs in the host machine.
get_cpu_speed ( self )
Determine the host machine CPU speed.
get_cpu_mode ( self )
Determine the CPU mode (32 bit or 64 bit) of the host machine.
get_cpu_hvt ( self )
Determine the hardware virtualization type of the host CPU.
get_host_os_type ( self )
Return the host operating system type.
get_host_os_major ( self )
Return the major version number of the host operating system.
get_host_os_minor ( self )
Return the minor version number of the host operating system.
get_host_os_sub_minor ( self )
Return the sub-minor version number of the host operating system.
get_host_os_str_presentation ( self )
Return the full host operating system information as a single string.
is_sound_default_enabled ( self )
Determine whether a sound device on the host is enabled or disabled.
is_usb_supported ( self )
Determine if USB is supported on the host.
is_vtd_supported ( self )
Determine whether VT-d is supported on the host.
get_max_host_net_adapters ( self )
get_max_vm_net_adapters ( self )
get_hostname ( self )
Return the hostname of the specified host or guest.
get_default_gateway ( self )
Obtain the global default gateway address of the specified host or guest.
get_default_gateway_ipv6 ( self )
get_dns_servers ( self )
Obtain the list of IP addresses of DNS servers for the host or guest.
get_search_domains ( self )
Obtain the list of search domains for the specified host or guest.
get_floppy_disks_count ( self )
Determine the number of floppy disk drives on the host.
get_floppy_disk ( self , nIndex )
Obtain the HostDevice object containing information about a floppy disk drive on the host.
get_optical_disks_count ( self )
Determine the number of optical disk drives on the host.
get_optical_disk ( self , nIndex )
Obtain the HostDevice object containing information about an optical disk drive on the host.
get_serial_ports_count ( self )
Determine the number of serial ports available on the host.
get_serial_port ( self , nIndex )
Obtain the HostDevice object containing information about a serial port on the host.
get_parallel_ports_count ( self )
Determine the number of parallel ports on the host.
get_parallel_port ( self , nIndex )
Obtain the HostDevice object containing information about a parallel port on the host.
get_sound_output_devs_count ( self )
Determine the number of sound devices available on the host.
get_sound_output_dev ( self , nIndex )
Obtain the HostDevice object containing information about a sound device on the host.
get_sound_mixer_devs_count ( self )
Determine the number of sound mixer devices available on the host.
get_sound_mixer_dev ( self , nIndex )
Obtain the HostDevice object containing information about a sound mixer device on the host.
get_printers_count ( self )
Determine the number of printers installed on the host.
get_printer ( self , nIndex )
Obtain the HostDevice object containing information about a printer installed on the host.
get_generic_pci_devices_count ( self )
Determine the number of PCI devices installed on the host.
get_generic_pci_device ( self , nIndex )
Obtain the HostDevice object containing information about a PCI device installed on the host.
get_generic_scsi_devices_count ( self )
Determine the number of generic SCSI devices installed on the host.
get_generic_scsi_device ( self , nIndex )
Obtain the HostDevice object containing information about a generic SCSI device.
get_usb_devs_count ( self )
Determine the number of USB devices on the host.
get_usb_dev ( self , nIndex )
Obtain the HostDevice object containing information about a USB device on the host.
get_hard_disks_count ( self )
Determine the number of hard disk drives on the host.
get_hard_disk ( self , nIndex )
Obtain the HostHardDisk object containing information about a hard disks drive on the host.
get_net_adapters_count ( self )
Determine the number of network adapters available on the server.
get_net_adapter ( self , nIndex )
Obtain the HostNet object containing information about a network adapter in the host or guest.

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

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

Properties [ hide private ]

Inherited from object : __class__