|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vmware.vcloud.sdk.HardwareItem
com.vmware.vcloud.sdk.VirtualCpu
public class VirtualCpu
Helper class to access the Virtual Cpu Resource in vCloud API.
RASDType| Method Summary | |
|---|---|
int |
getCoresPerSocket()
Gets the CoresPerSocket property |
int |
getNoOfCpus()
Get the Virtual CPU Quantity. |
void |
setCoresPerSocket(int coresPerSocket)
Set the CoresPerSocket property |
void |
setNoOfCpus(int cpuCount)
Set the Virtual CPU Quantity. |
| Methods inherited from class com.vmware.vcloud.sdk.HardwareItem |
|---|
getItemResource |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int getNoOfCpus()
public void setNoOfCpus(int cpuCount)
VM.updateCpu(VirtualCpu) to update the cpu of the VM.
public int getCoresPerSocket()
throws VCloudException
Integer
VCloudExceptionpublic void setCoresPerSocket(int coresPerSocket)
coresPerSocket -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||