public interface VirtualMachineClient
VirtualMachineAsyncClient
,
Modifier and Type | Method and Description |
---|---|
VirtualMachine |
assignVirtualMachine(String virtualMachineId,
AssignVirtualMachineOptions... options)
Re-assign a virtual machine to a different account/domain.
|
String |
changeServiceForVirtualMachine(String id)
Changes the service offering for a virtual machine.
|
AsyncCreateResponse |
deployVirtualMachineInZone(String zoneId,
String serviceOfferingId,
String templateId,
DeployVirtualMachineOptions... options)
Creates and automatically starts a virtual machine based on a service
offering, disk offering, and template.
|
String |
destroyVirtualMachine(String id)
Destroys a virtual machine.
|
String |
getEncryptedPasswordForVirtualMachine(String id)
Return an encrypted password for the virtual machine.
|
VirtualMachine |
getVirtualMachine(String id)
get a specific VirtualMachine by id
|
Set<VirtualMachine> |
listVirtualMachines(ListVirtualMachinesOptions... options)
Lists VirtualMachines
|
String |
rebootVirtualMachine(String id)
Reboots a virtual machine.
|
String |
resetPasswordForVirtualMachine(String id)
Resets the password for virtual machine.
|
String |
startVirtualMachine(String id)
Starts a virtual machine.
|
String |
stopVirtualMachine(String id)
Stops a virtual machine.
|
String |
stopVirtualMachine(String id,
StopVirtualMachineOptions options)
Stops a virtual machine.
|
String |
updateVirtualMachine(String id)
Updates parameters of a virtual machine.
|
Set<VirtualMachine> listVirtualMachines(ListVirtualMachinesOptions... options)
options
- if present, how to constrain the list.VirtualMachine getVirtualMachine(String id)
id
- VirtualMachine to getAsyncCreateResponse deployVirtualMachineInZone(String zoneId, String serviceOfferingId, String 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 machineString rebootVirtualMachine(String id)
id
- The ID of the virtual machineString startVirtualMachine(String id)
id
- The ID of the virtual machineString stopVirtualMachine(String id)
id
- The ID of the virtual machineString stopVirtualMachine(String id, StopVirtualMachineOptions options)
id
- The ID of the virtual machineoptions
- If present, whether to force stop.String resetPasswordForVirtualMachine(String id)
id
- The ID of the virtual machineString getEncryptedPasswordForVirtualMachine(String id)
id
- the ID of the virtual machineString changeServiceForVirtualMachine(String id)
id
- The ID of the virtual machineString updateVirtualMachine(String id)
id
- The ID of the virtual machineString destroyVirtualMachine(String id)
id
- vm to destroyVirtualMachine assignVirtualMachine(String virtualMachineId, AssignVirtualMachineOptions... options)
virtualMachineId
- VirtualMachine to re-assignoptions
- AssignVirtualMachineOptions specifying account and domain to transfer to, and optional network and security group IDs.Copyright © 2009-2013 jclouds. All Rights Reserved.