Enum Class SqlDatabaseBasicStorage
- All Implemented Interfaces:
Serializable
,Comparable<SqlDatabaseBasicStorage>
,java.lang.constant.Constable
The maximum allowed storage capacity for a "Basic" edition of an Azure SQL Elastic Pool.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription1 GB storage capacity available for the database.100 MB storage capacity available for the database.2 GB storage capacity available for the database.100 MB storage capacity available for the database. -
Method Summary
Modifier and TypeMethodDescriptionlong
capacity()
long
static SqlDatabaseBasicStorage
Returns the enum constant of this class with the specified name.static SqlDatabaseBasicStorage[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MAX_100_MB
100 MB storage capacity available for the database. -
MAX_500_MB
100 MB storage capacity available for the database. -
MAX_1_GB
1 GB storage capacity available for the database. -
MAX_2_GB
2 GB storage capacity available for the database.
-
-
Method Details
-
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
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 nameNullPointerException
- 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
-