Interface VirtualMachineSize
- All Superinterfaces:
HasName
A type representing virtual machine size available for a subscription in a region.
-
Method Summary
Modifier and TypeMethodDescriptionintintintintintThe virtual machine size type if the sku describes sku for virtual machine resource type.
-
Method Details
-
numberOfCores
int numberOfCores()- Returns:
- the number of cores supported by the VM size
-
osDiskSizeInMB
int osDiskSizeInMB()- Returns:
- the OS disk size allowed by the VM size
-
resourceDiskSizeInMB
int resourceDiskSizeInMB()- Returns:
- the resource disk size allowed by the VM size
-
memoryInMB
int memoryInMB()- Returns:
- the memory size supported by the VM size
-
maxDataDiskCount
int maxDataDiskCount()- Returns:
- the maximum number of data disks allowed by a VM size
-
virtualMachineSizeType
VirtualMachineSizeTypes virtualMachineSizeType()The virtual machine size type if the sku describes sku for virtual machine resource type.The size can be used for
VirtualMachine.DefinitionStages.WithVMSize.withSize(VirtualMachineSizeTypes)andVirtualMachine.Update.withSize(VirtualMachineSizeTypes).- Returns:
- the virtual machine size type
-