Class VirtualMachineScaleSetSkuTypes

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

public class VirtualMachineScaleSetSkuTypes extends Object
Scale set virtual machine SKU types.
  • Field Details

  • Constructor Details

    • VirtualMachineScaleSetSkuTypes

      public VirtualMachineScaleSetSkuTypes(String skuName, String skuTier)
      Creates a custom value for VirtualMachineSizeTypes.
      Parameters:
      skuName - a SKU name
      skuTier - a SKU tier
    • VirtualMachineScaleSetSkuTypes

      public VirtualMachineScaleSetSkuTypes(Sku sku)
      Creates a custom value for VirtualMachineSizeTypes.
      Parameters:
      sku - the SKU
  • Method Details

    • values

      public static VirtualMachineScaleSetSkuTypes[] values()
      Returns:
      predefined virtual machine scale set SKU types
    • fromSku

      public static VirtualMachineScaleSetSkuTypes fromSku(Sku sku)
      Parses a SKU into a VMSS SKU type and creates a new VirtualMachineScaleSetSkuType instance if not found among the existing ones.
      Parameters:
      sku - a VMSS SKU
      Returns:
      the parsed or created VMSS SKU type
    • fromSkuNameAndTier

      public static VirtualMachineScaleSetSkuTypes fromSkuNameAndTier(String skuName, String skuTier)
      Parses into a VMSS SKU type and creates a new VMSS SKU type instance if not found among the existing ones.
      Parameters:
      skuName - a SKU name
      skuTier - a SKU tier
      Returns:
      a VMSS SKU type
    • sku

      public Sku sku()
      Returns:
      the SKU
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object