VirtualMachineSizeInner Class
- java.
lang. Object - com.
azure. resourcemanager. compute. fluent. models. VirtualMachineSizeInner
- com.
Implements
public final class VirtualMachineSizeInner
implements JsonSerializable<VirtualMachineSizeInner>
Describes the properties of a VM size.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
| Integer |
maxDataDiskCount()
Get the max |
| Integer |
memoryInMB()
Get the memory |
| String |
name()
Get the name property: The name of the virtual machine size. |
| Integer |
numberOfCores()
Get the number |
| Integer |
osDiskSizeInMB()
Get the os |
| Integer |
resourceDiskSizeInMB()
Get the resource |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
fromJson
public static VirtualMachineSizeInner fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineSizeInner from the JsonReader.
Parameters:
Returns:
Throws:
maxDataDiskCount
public Integer maxDataDiskCount()
Get the maxDataDiskCount property: The maximum number of data disks that can be attached to the virtual machine size.
Returns:
memoryInMB
public Integer memoryInMB()
Get the memoryInMB property: The amount of memory, in MB, supported by the virtual machine size.
Returns:
name
public String name()
Get the name property: The name of the virtual machine size.
Returns:
numberOfCores
public Integer numberOfCores()
Get the numberOfCores property: The number of cores supported by the virtual machine size. For Constrained vCPU capable VM sizes, this number represents the total vCPUs of quota that the VM uses. For accurate vCPU count, please refer to https://docs.microsoft.com/azure/virtual-machines/constrained-vcpu or https://docs.microsoft.com/rest/api/compute/resourceskus/list.
Returns:
osDiskSizeInMB
public Integer osDiskSizeInMB()
Get the osDiskSizeInMB property: The OS disk size, in MB, allowed by the virtual machine size.
Returns:
resourceDiskSizeInMB
public Integer resourceDiskSizeInMB()
Get the resourceDiskSizeInMB property: The resource disk size, in MB, allowed by the virtual machine size.
Returns:
toJson
validate
public void validate()
Validates the instance.