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,
String serviceOfferingId)
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,
UpdateVirtualMachineOptions options)
Updates parameters of a virtual machine.
|
@Named(value="listVirtualMachines") Set<VirtualMachine> listVirtualMachines(ListVirtualMachinesOptions... options)
options
- if present, how to constrain the list.@Named(value="listVirtualMachines") VirtualMachine getVirtualMachine(String id)
id
- VirtualMachine to get@Named(value="deployVirtualMachine") AsyncCreateResponse 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 machine@Named(value="rebootVirtualMachine") String rebootVirtualMachine(String id)
id
- The ID of the virtual machine@Named(value="startVirtualMachine") String startVirtualMachine(String id)
id
- The ID of the virtual machine@Named(value="stopVirtualMachine") String 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.@Named(value="resetPasswordForVirtualMachine") String resetPasswordForVirtualMachine(String id)
id
- The ID of the virtual machine@Named(value="getVMPassword") String getEncryptedPasswordForVirtualMachine(String id)
id
- the ID of the virtual machine@Named(value="changeServiceForVirtualMachine") String changeServiceForVirtualMachine(String id, String serviceOfferingId)
id
- The ID of the virtual machineserviceOfferingId
- The service offering ID to apply to the virtual machine@Named(value="updateVirtualMachine") String updateVirtualMachine(String id, UpdateVirtualMachineOptions options)
id
- The ID of the virtual machine@Named(value="destroyVirtualMachine") String destroyVirtualMachine(String id)
id
- vm to destroy@Named(value="assignVirtualMachine") VirtualMachine 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-2016 The Apache Software Foundation. All Rights Reserved.