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") @GET @Consumes(value="application/json") Set<VirtualMachine> listVirtualMachines(ListVirtualMachinesOptions... options)
options
- if present, how to constrain the list.@Named(value="listVirtualMachines") @GET @Consumes(value="application/json") VirtualMachine getVirtualMachine(@QueryParam(value="id") String id)
id
- VirtualMachine to get@Named(value="deployVirtualMachine") @GET @Consumes(value="application/json") AsyncCreateResponse deployVirtualMachineInZone(@QueryParam(value="zoneid") String zoneId, @QueryParam(value="serviceofferingid") String serviceOfferingId, @QueryParam(value="templateid") 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") @GET @Consumes(value="application/json") String rebootVirtualMachine(@QueryParam(value="id") String id)
id
- The ID of the virtual machine@Named(value="startVirtualMachine") @GET @Consumes(value="application/json") String startVirtualMachine(@QueryParam(value="id") String id)
id
- The ID of the virtual machine@Named(value="stopVirtualMachine") @GET @Consumes(value="application/json") String stopVirtualMachine(@QueryParam(value="id") String id)
id
- The ID of the virtual machine@GET @Consumes(value="application/json") String stopVirtualMachine(@QueryParam(value="id") String id, StopVirtualMachineOptions options)
id
- The ID of the virtual machineoptions
- If present, whether to force stop.@Named(value="resetPasswordForVirtualMachine") @GET @Consumes(value="application/json") String resetPasswordForVirtualMachine(@QueryParam(value="id") String id)
id
- The ID of the virtual machine@Named(value="getVMPassword") @GET @Consumes(value="application/json") String getEncryptedPasswordForVirtualMachine(@QueryParam(value="id") String id)
id
- the ID of the virtual machine@Named(value="changeServiceForVirtualMachine") @GET @Consumes(value="application/json") String changeServiceForVirtualMachine(@QueryParam(value="id") String id, @QueryParam(value="serviceofferingid") String serviceOfferingId)
id
- The ID of the virtual machineserviceOfferingId
- The service offering ID to apply to the virtual machine@Named(value="updateVirtualMachine") @GET @Consumes(value="application/json") String updateVirtualMachine(@QueryParam(value="id") String id, UpdateVirtualMachineOptions options)
id
- The ID of the virtual machine@Named(value="destroyVirtualMachine") @GET @Consumes(value="application/json") String destroyVirtualMachine(@QueryParam(value="id") String id)
id
- vm to destroy@Named(value="assignVirtualMachine") @GET @Consumes(value="application/json") VirtualMachine assignVirtualMachine(@QueryParam(value="virtualmachineid") 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-2018 The Apache Software Foundation. All Rights Reserved.