CloudCapacity Class
- java.
lang. Object - com.
azure. resourcemanager. scvmm. models. CloudCapacity
- com.
Implements
public final class CloudCapacity
implements JsonSerializable<CloudCapacity>
Cloud Capacity model.
Constructor Summary
| Constructor | Description |
|---|---|
| CloudCapacity() |
Creates an instance of Cloud |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Long |
cpuCount()
Get the cpu |
|
static
Cloud |
fromJson(JsonReader jsonReader)
Reads an instance of Cloud |
| Long |
memoryMB()
Get the memoryMB property: MemoryMB specifies a memory usage limit in megabytes. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| Long |
vmCount()
Get the vm |
Methods inherited from java.lang.Object
Constructor Details
CloudCapacity
public CloudCapacity()
Creates an instance of CloudCapacity class.
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:
fromJson
public static CloudCapacity fromJson(JsonReader jsonReader)
Reads an instance of CloudCapacity from the JsonReader.
Parameters:
Returns:
Throws:
memoryMB
public Long memoryMB()
Get the memoryMB property: MemoryMB specifies a memory usage limit in megabytes.
Returns:
toJson
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: