|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VirtualMachineClient
Provides synchronous access to CloudStack VirtualMachine features.
VirtualMachineAsyncClient
,
Method Summary | |
---|---|
Long |
changeServiceForVirtualMachine(long id)
Changes the service offering for a virtual machine. |
AsyncCreateResponse |
deployVirtualMachineInZone(long zoneId,
long serviceOfferingId,
long templateId,
DeployVirtualMachineOptions... options)
Creates and automatically starts a virtual machine based on a service offering, disk offering, and template. |
Long |
destroyVirtualMachine(long id)
Destroys a virtual machine. |
String |
getEncryptedPasswordForVirtualMachine(long id)
Return an encrypted password for the virtual machine. |
VirtualMachine |
getVirtualMachine(long id)
get a specific VirtualMachine by id |
Set<VirtualMachine> |
listVirtualMachines(ListVirtualMachinesOptions... options)
Lists VirtualMachines |
Long |
rebootVirtualMachine(long id)
Reboots a virtual machine. |
Long |
resetPasswordForVirtualMachine(long id)
Resets the password for virtual machine. |
Long |
startVirtualMachine(long id)
Starts a virtual machine. |
Long |
stopVirtualMachine(long id)
Stops a virtual machine. |
Long |
updateVirtualMachine(long id)
Updates parameters of a virtual machine. |
Method Detail |
---|
Set<VirtualMachine> listVirtualMachines(ListVirtualMachinesOptions... options)
options
- if present, how to constrain the list.
VirtualMachine getVirtualMachine(long id)
id
- VirtualMachine to get
AsyncCreateResponse deployVirtualMachineInZone(long zoneId, long serviceOfferingId, long templateId, DeployVirtualMachineOptions... options)
zoneId
- availability zone for the virtual machineserviceOfferingId
- the ID of the service offering for the virtual machinetemplateId
- the ID of the template for the virtual machine
Long rebootVirtualMachine(long id)
id
- The ID of the virtual machine
Long startVirtualMachine(long id)
id
- The ID of the virtual machine
Long stopVirtualMachine(long id)
id
- The ID of the virtual machine
Long resetPasswordForVirtualMachine(long id)
id
- The ID of the virtual machine
String getEncryptedPasswordForVirtualMachine(long id)
id
- the ID of the virtual machine
Long changeServiceForVirtualMachine(long id)
id
- The ID of the virtual machine
Long updateVirtualMachine(long id)
id
- The ID of the virtual machine
Long destroyVirtualMachine(long id)
id
- vm to destroy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |