public interface VmClient
Modifier and Type | Method and Description |
---|---|
Task |
deployAndPowerOnVm(URI href)
like
#deploy(URI) , except deploy transitions to power on state |
Task |
deployVm(URI href)
To deploy a vApp, the client makes a request to its action/deploy URL.
|
InputStream |
getScreenThumbnailForVm(URI href)
Get a Screen Thumbnail for a Virtual Machine
|
Vm |
getVm(URI vApp) |
Task |
powerOffVm(URI href)
A powerOff request to a vApp URL powers off all of the virtual machines in the vApp, as
specified in its StartupSection field.
|
Task |
powerOnVm(URI href)
A powerOn request to a vApp URL powers on all of the virtual machines in the vApp, as
specified in the vApp’s StartupSection field.
|
void |
rebootVm(URI href)
A reboot request to a vApp URL reboots all of the virtual machines in the vApp, as specified
in its StartupSection field.
|
Task |
resetVm(URI href)
A reset request to a vApp URL resets all of the virtual machines in the vApp, as specified in
its StartupSection field.
|
void |
shutdownVm(URI href)
A shutdown request to a vApp URL shuts down all of the virtual machines in the vApp, as
specified in its StartupSection field.
|
Task |
suspendVm(URI href)
A suspend request to a vApp URL suspends all of the virtual machines in the vApp, as specified
in its StartupSection field.
|
Task |
undeployAndSaveStateOfVm(URI href)
like
#undeploy(URI) , where the undeployed virtual machines are suspended and their
suspend state saved |
Task |
undeployVm(URI href)
Undeploying a vApp powers off or suspends any running virtual machines it contains, then frees
the resources reserved for the vApp and sets the vApp’s deploy attribute to a value of false
to indicate that it is not deployed.
|
Task |
updateCPUCountOfVm(int cpuCount,
URI href)
update the cpuCount of an existing VM
|
Task |
updateGuestCustomizationOfVm(GuestCustomizationSection guestCustomizationSection,
URI href)
Modify the Guest Customization Section of a Virtual Machine
|
Task |
updateMemoryMBOfVm(int memoryInMB,
URI href)
update the memoryInMB of an existing VM
|
Task |
updateNetworkConnectionOfVm(NetworkConnectionSection guestCustomizationSection,
URI href)
Modify the Network Connection Section of a Virtual Machine
|
Task deployVm(URI href)
Task deployAndPowerOnVm(URI href)
#deploy(URI)
, except deploy transitions to power on stateTask undeployVm(URI href)
#undeployAndSaveStateOf
Task undeployAndSaveStateOfVm(URI href)
#undeploy(URI)
, where the undeployed virtual machines are suspended and their
suspend state savedTask powerOnVm(URI href)
Task powerOffVm(URI href)
void shutdownVm(URI href)
Task resetVm(URI href)
void rebootVm(URI href)
Task suspendVm(URI href)
InputStream getScreenThumbnailForVm(URI href)
href
- to snapshotTask updateGuestCustomizationOfVm(GuestCustomizationSection guestCustomizationSection, URI href)
href
- uri to modifyupdated
- guestCustomizationSectionTask updateNetworkConnectionOfVm(NetworkConnectionSection guestCustomizationSection, URI href)
href
- uri to modifyupdated
- networkConnectionSectionTask updateCPUCountOfVm(int cpuCount, URI href)
href
- to updatecpuCount
- count to change the primary cpu toCopyright © 2009-2012 jclouds. All Rights Reserved.