Class SnapshotSkuType


  • public final class SnapshotSkuType
    extends Object
    Defines values for SnapshotSkuType.
    • Field Detail

      • STANDARD_LRS

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

        public static final SnapshotSkuType PREMIUM_LRS
        Static value PREMIUM_LRS for SnapshotSkuType.
      • STANDARD_ZRS

        public static final SnapshotSkuType STANDARD_ZRS
        Static value STANDARD_ZRS for SnapshotSkuType.
    • Method Detail

      • values

        public static SnapshotSkuType[] values()
        Returns:
        predefined snapshot SKU types
      • fromStorageAccountType

        public static SnapshotSkuType fromStorageAccountType​(SnapshotStorageAccountTypes value)
        Parses a value into a snapshot SKU type and creates a new SnapshotSkuType instance if not found among the existing ones.
        Parameters:
        value - a snapshot SKU type name
        Returns:
        the parsed or created snapshot SKU type
      • fromSnapshotSku

        public static SnapshotSkuType fromSnapshotSku​(SnapshotSku snapshotSku)
        Parses a value into a snapshot SKU type and creates a new SnapshotSkuType instance if not found among the existing ones.
        Parameters:
        snapshotSku - a snapshot SKU type name
        Returns:
        the parsed or created snapshot SKU type
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object