public class ResizeVMMemoryandCPU
extends java.lang.Object
Reconfigures Memory and CPU of Virtual Machine .
This task allows you to modify the VM Memory and CPU.This allows you to Reconfigure the VMs resources depending upon requirements.
Modifier | Constructor and Description |
---|---|
protected |
ResizeVMMemoryandCPU() |
|
ResizeVMMemoryandCPU(CuicServer server) |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
CuicServer |
getCuicServer() |
java.lang.String |
getMemoryMB() |
java.lang.String |
getNumCPUs() |
int |
getVmId() |
void |
setCuicServer(CuicServer api) |
void |
setMemoryMB(java.lang.String memoryMB)
Amount of memory to allocate Accepts value from list type memSizeMB
|
void |
setNumCPUs(java.lang.String numCPUs)
Number of vCPUs to allocate Accepts value from list type vCPUCount
|
void |
setVmId(int vmId)
Select the on which to perform the action Accepts value from list type vm
|
protected ResizeVMMemoryandCPU()
public ResizeVMMemoryandCPU(CuicServer server)
public void setCuicServer(CuicServer api)
public CuicServer getCuicServer()
public java.lang.String getNumCPUs()
public java.lang.String getMemoryMB()
public int getVmId()
public void setNumCPUs(java.lang.String numCPUs)
public void setMemoryMB(java.lang.String memoryMB)
public void setVmId(int vmId)
public void execute() throws java.lang.Exception
java.lang.Exception