Interface VirtualMachineSize

All Superinterfaces:
HasName

public interface VirtualMachineSize extends HasName
A type representing virtual machine size available for a subscription in a region.
  • 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) and VirtualMachine.Update.withSize(VirtualMachineSizeTypes).

      Returns:
      the virtual machine size type