05.08.2013 Views

[PDF] Parallels Python API Reference

[PDF] Parallels Python API Reference

[PDF] Parallels Python API Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Package prlsdkapi Class Vm<br />

validate config(self, section)<br />

Validate the specified section of the virtual machine configuration. This is an<br />

asynchronous function.<br />

Parameters<br />

section: The name of the section of the virtual machine<br />

configuration. See consts.PVC xxx for available options.<br />

Return Value<br />

A Job object.<br />

Inherited from prlsdkapi.prlsdk.BaseVm(Section 2.7)<br />

new ()<br />

Inherited from prlsdkapi.prlsdk.BaseAsync(Section 2.5)<br />

cmp (), repr (), cancel(), wait()<br />

Inherited from object<br />

delattr (), getattribute (), hash (), reduce (), reduce ex (), setattr (),<br />

str ()<br />

1.23.2 Properties<br />

Name Description<br />

problem report Contains a problem report in the event of an<br />

abnormal virtual machine termination.<br />

state An instance of VmInfo.<br />

statistics An instance of VmStat.<br />

shares count The number of shared folders in a virtual<br />

machine.<br />

scr res count vm.get scr res count(Vm) -> int<br />

Returns VM screen resolutions count.<br />

boot dev count The number of devices in the virtual machine<br />

boot device priority list.<br />

name The virtual machine name.<br />

uuid The virtual machine universally unique ID.<br />

os type The type of the OS the virtual machine is<br />

running.<br />

os version The version of the OS that the virtual machine<br />

is running.<br />

ram size The amount of memory in the virtual machine.<br />

video ram size The amount of video memory in the machine.<br />

cpu count The number of CPUs in the virtual machine.<br />

49<br />

continued on next page

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!