Enum Class SqlDatabaseBasicStorage

java.lang.Object
java.lang.Enum<SqlDatabaseBasicStorage>
com.microsoft.azure.management.sql.SqlDatabaseBasicStorage
All Implemented Interfaces:
Serializable, Comparable<SqlDatabaseBasicStorage>, java.lang.constant.Constable

@Beta(V1_7_0) public enum SqlDatabaseBasicStorage extends Enum<SqlDatabaseBasicStorage>
The maximum allowed storage capacity for a "Basic" edition of an Azure SQL Elastic Pool.
  • Enum Constant Details

    • MAX_100_MB

      public static final SqlDatabaseBasicStorage MAX_100_MB
      100 MB storage capacity available for the database.
    • MAX_500_MB

      public static final SqlDatabaseBasicStorage MAX_500_MB
      100 MB storage capacity available for the database.
    • MAX_1_GB

      public static final SqlDatabaseBasicStorage MAX_1_GB
      1 GB storage capacity available for the database.
    • MAX_2_GB

      public static final SqlDatabaseBasicStorage MAX_2_GB
      2 GB storage capacity available for the database.
  • Method Details

    • values

      public static SqlDatabaseBasicStorage[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SqlDatabaseBasicStorage valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • capacityInMB

      public long capacityInMB()
      Returns:
      the maximum allowed storage capacity in MB for the SQL Database
    • capacity

      public long capacity()
      Returns:
      the maximum allowed storage capacity in bytes for the SQL Database