Class DiskSkuTypes

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

public final class DiskSkuTypes extends Object
Defines values for DiskSkuTypes.
  • Field Details

    • STANDARD_LRS

      public static final DiskSkuTypes STANDARD_LRS
      Static value STANDARD_LRS for DiskSkuTypes.
    • PREMIUM_LRS

      public static final DiskSkuTypes PREMIUM_LRS
      Static value PREMIUM_LRS for DiskSkuTypes.
    • STANDARD_SSD_LRS

      public static final DiskSkuTypes STANDARD_SSD_LRS
      Static value STANDARD_SSD_LRS for DiskSkuTypes.
    • ULTRA_SSD_LRS

      public static final DiskSkuTypes ULTRA_SSD_LRS
      Static value ULTRA_SSD_LRS for DiskSkuTypes.
  • Constructor Details

    • DiskSkuTypes

      public DiskSkuTypes(DiskStorageAccountTypes value)
      Creates a custom value for DiskSkuTypes.
      Parameters:
      value - the custom value
  • Method Details

    • values

      public static DiskSkuTypes[] values()
      Returns:
      predefined disk SKU types
    • fromStorageAccountType

      public static DiskSkuTypes fromStorageAccountType(DiskStorageAccountTypes value)
      Parses a value into a disk SKU type and creates a new DiskSkuType instance if not found among the existing ones.
      Parameters:
      value - a disk SKU type name
      Returns:
      the parsed or created disk SKU type
    • fromDiskSku

      public static DiskSkuTypes fromDiskSku(DiskSku diskSku)
      Parses a value into a disk SKU type and creates a new DiskSkuType instance if not found among the existing ones.
      Parameters:
      diskSku - a disk SKU type name
      Returns:
      the parsed or created disk SKU type
    • accountType

      public DiskStorageAccountTypes accountType()
      Returns:
      the account type associated with the SKU.
    • hashCode

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

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

      public String toString()
      Overrides:
      toString in class Object