CloudCapacity Class
- java.
lang. Object - com.
azure. resourcemanager. scvmm. models. CloudCapacity
- com.
public final class CloudCapacity
Cloud Capacity model.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| CloudCapacity() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Long |
cpuCount()
Get the cpu |
| Long |
memoryMB()
Get the memoryMB property: MemoryMB specifies a memory usage limit in megabytes. |
| void |
validate()
Validates the instance. |
| Long |
vmCount()
Get the vm |
|
Cloud |
withCpuCount(Long cpuCount)
Set the cpu |
|
Cloud |
withMemoryMB(Long memoryMB)
Set the memoryMB property: MemoryMB specifies a memory usage limit in megabytes. |
|
Cloud |
withVmCount(Long vmCount)
Set the vm |
Methods inherited from java.lang.Object
Constructor Details
CloudCapacity
public CloudCapacity()
Method Details
cpuCount
public Long cpuCount()
Get the cpuCount property: CPUCount specifies the maximum number of CPUs that can be allocated in the cloud.
Returns:
memoryMB
public Long memoryMB()
Get the memoryMB property: MemoryMB specifies a memory usage limit in megabytes.
Returns:
validate
public void validate()
Validates the instance.
vmCount
public Long vmCount()
Get the vmCount property: VMCount gives the max number of VMs that can be deployed in the cloud.
Returns:
withCpuCount
public CloudCapacity withCpuCount(Long cpuCount)
Set the cpuCount property: CPUCount specifies the maximum number of CPUs that can be allocated in the cloud.
Parameters:
Returns:
withMemoryMB
public CloudCapacity withMemoryMB(Long memoryMB)
Set the memoryMB property: MemoryMB specifies a memory usage limit in megabytes.
Parameters:
Returns:
withVmCount
public CloudCapacity withVmCount(Long vmCount)
Set the vmCount property: VMCount gives the max number of VMs that can be deployed in the cloud.
Parameters:
Returns: