|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VmClient
Provides access to VM functionality in vCloud
Method Summary | |
---|---|
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 |
Method Detail |
---|
Vm getVm(URI vApp)
Task deployVm(URI href)
Task deployAndPowerOnVm(URI href)
#deploy(URI)
, except deploy transitions to power on state
Task undeployVm(URI href)
#undeployAndSaveStateOf
Task undeployAndSaveStateOfVm(URI href)
#undeploy(URI)
, where the undeployed virtual machines are suspended and their
suspend state saved
Task 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
- guestCustomizationSection
Task updateNetworkConnectionOfVm(NetworkConnectionSection guestCustomizationSection, URI href)
href
- uri to modifyupdated
- networkConnectionSection
Task updateCPUCountOfVm(int cpuCount, URI href)
href
- to updatecpuCount
- count to change the primary cpu toTask updateMemoryMBOfVm(int memoryInMB, URI href)
href
- to updatememoryInMB
- memory in MB to assign to the VM
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |