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 />

reg event handler(self, data)<br />

unreg event handler(self, data)<br />

create boot dev(self )<br />

Create a new instance of VmBootDev.<br />

Return Value<br />

A new instance of VmBootDev.<br />

get boot dev(self, index)<br />

Return information about a boot device specified by index.<br />

Parameters<br />

index: The index of the boot device. Use Vm.boot devs to obtain<br />

the boot device count.<br />

Return Value<br />

An instance of VmBootDev.<br />

create event(self )<br />

create unattended floppy(self, guest distro type, username, company name,<br />

serial key)<br />

Create a floppy disk image in the virtual machine home directory for<br />

unattended Windows installation. This is an asynchronous method.<br />

Parameters<br />

guest distro type: Windows version.<br />

username: User name.<br />

company name: Company name.<br />

serial key: Serial number.<br />

Return Value<br />

A Job object.<br />

initiate dev state notifications(self )<br />

send utility command(self, cmd, flags, buffer)<br />

set clipboard(self, buffer)<br />

get weak objects(self )<br />

47

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

Saved successfully!

Ooh no, something went wrong!