Class DedicatedHostAllocatableVM

java.lang.Object
com.microsoft.azure.management.compute.DedicatedHostAllocatableVM

public class DedicatedHostAllocatableVM extends Object
Represents the dedicated host unutilized capacity in terms of a specific VM size.
  • Constructor Details

    • DedicatedHostAllocatableVM

      public DedicatedHostAllocatableVM()
  • Method Details

    • vmSize

      public String vmSize()
      Get vM size in terms of which the unutilized capacity is represented.
      Returns:
      the vmSize value
    • withVmSize

      public DedicatedHostAllocatableVM withVmSize(String vmSize)
      Set vM size in terms of which the unutilized capacity is represented.
      Parameters:
      vmSize - the vmSize value to set
      Returns:
      the DedicatedHostAllocatableVM object itself.
    • count

      public Double count()
      Get maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity.
      Returns:
      the count value
    • withCount

      public DedicatedHostAllocatableVM withCount(Double count)
      Set maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity.
      Parameters:
      count - the count value to set
      Returns:
      the DedicatedHostAllocatableVM object itself.