Virtual Machine Operations
This section and its subsections describe the most common tasks that can be performed on virtual machines using the Parallels Python API.
In order to perform operations on a virtual machine, an instance of the
prlsdkapi.Vm class identifying the virtual machine must be obtained. Once you have the instance, you can use its methods to perform some of the virtual machine management operations (start, stop, pause, create snapshot, clone, and many others) and to obtain other objects that allow to perform additional virtual machine management functions, such as modifying the virtual machine configuration. This section begins with a demonstration of how to obtain the virtual machine list from the Parallels Service (including obtaining a
Vm object identifying an individual machine) and then describes how to perform various virtual machine management tasks.