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

add default device(self, srv config, type)<br />

Adds a virtual device to the virtual machine. The method provides an easy<br />

way of setting devices in a virtual machine by automatically setting all the<br />

necessary device properties.<br />

Parameters<br />

srv config: An instance of SrvConfig containing the host machine<br />

configuration information.<br />

type: The type of the device to add. See {consts.PDE xxx}<br />

for available options.<br />

subscribe to guest statistics(self )<br />

Subscribe to receive the virtual machine guest statistics on a periodic basis.<br />

This is an asynchronous method.<br />

Return Value<br />

A Job object.<br />

unsubscribe from guest statistics(self )<br />

Cancel subscriptions started by subscribe to guest statistics method.<br />

This is an asynchronous method.<br />

Return Value<br />

A Job object.<br />

subscribe to perf stats(self )<br />

Subscribe to receive virtual machine perfomance statistics on a periodic basis.<br />

This is an asynchronous method.<br />

Return Value<br />

A Job object.<br />

unsubscribe from perf stats(self )<br />

Cancel subscriptions started by subscribe to perf stats method.<br />

This is an asynchronous method.<br />

Return Value<br />

A Job object.<br />

41

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

Saved successfully!

Ooh no, something went wrong!