public interface VirtualMachineClient
VirtualMachineAsyncClient
,
Modifier and Type | Method and Description |
---|---|
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.
|
Set<VirtualMachine> listVirtualMachines(ListVirtualMachinesOptions... options)
options
- if present, how to constrain the list.VirtualMachine getVirtualMachine(long id)
id
- VirtualMachine to getAsyncCreateResponse 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 machineLong rebootVirtualMachine(long id)
id
- The ID of the virtual machineLong startVirtualMachine(long id)
id
- The ID of the virtual machineLong stopVirtualMachine(long id)
id
- The ID of the virtual machineLong resetPasswordForVirtualMachine(long id)
id
- The ID of the virtual machineString getEncryptedPasswordForVirtualMachine(long id)
id
- the ID of the virtual machineLong changeServiceForVirtualMachine(long id)
id
- The ID of the virtual machineLong updateVirtualMachine(long id)
id
- The ID of the virtual machineLong destroyVirtualMachine(long id)
id
- vm to destroyCopyright © 2009-2012 jclouds. All Rights Reserved.