Class SnapshotSkuType

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

@Beta(V1_8_0) public final class SnapshotSkuType extends Object
Defines values for SnapshotSkuType.
  • Field Details

    • 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 Details

    • 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
    • accountType

      public SnapshotStorageAccountTypes 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