Enum SqlDatabaseStandardStorage
- java.lang.Object
-
- java.lang.Enum<SqlDatabaseStandardStorage>
-
- com.azure.resourcemanager.sql.models.SqlDatabaseStandardStorage
-
- All Implemented Interfaces:
Serializable,Comparable<SqlDatabaseStandardStorage>
public enum SqlDatabaseStandardStorage extends Enum<SqlDatabaseStandardStorage>
The maximum allowed storage capacity for a "Standard" edition of an Azure SQL Elastic Pool.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MAX_1_GB1 GB storage capacity available for the database.MAX_1_TB1 TB storage capacity available for the database (only with ServiceObjective "S3" or higher).MAX_10_GB10 GB storage capacity available for the database.MAX_100_GB100 GB storage capacity available for the database.MAX_100_MB100 MB storage capacity available for the database.MAX_150_GB150 GB storage capacity available for the database.MAX_2_GB2 GB storage capacity available for the database.MAX_20_GB20 GB storage capacity available for the database.MAX_200_GB200 GB storage capacity available for the database.MAX_250_GB250 GB storage capacity available for the database.MAX_30_GB30 GB storage capacity available for the database.MAX_300_GB300 GB storage capacity available for the database (only with ServiceObjective "S3" or higher).MAX_40_GB40 GB storage capacity available for the database.MAX_400_GB400 GB storage capacity available for the database (only with ServiceObjective "S3" or higher).MAX_5_GB5 GB storage capacity available for the database.MAX_50_GB50 GB storage capacity available for the database.MAX_500_GB500 GB storage capacity available for the database (only with ServiceObjective "S3" or higher).MAX_500_MB100 MB storage capacity available for the database.MAX_750_GB750 GB storage capacity available for the database (only with ServiceObjective "S3" or higher).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longcapacity()longcapacityInMB()static SqlDatabaseStandardStoragevalueOf(String name)Returns the enum constant of this type with the specified name.static SqlDatabaseStandardStorage[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MAX_100_MB
public static final SqlDatabaseStandardStorage MAX_100_MB
100 MB storage capacity available for the database.
-
MAX_500_MB
public static final SqlDatabaseStandardStorage MAX_500_MB
100 MB storage capacity available for the database.
-
MAX_1_GB
public static final SqlDatabaseStandardStorage MAX_1_GB
1 GB storage capacity available for the database.
-
MAX_2_GB
public static final SqlDatabaseStandardStorage MAX_2_GB
2 GB storage capacity available for the database.
-
MAX_5_GB
public static final SqlDatabaseStandardStorage MAX_5_GB
5 GB storage capacity available for the database.
-
MAX_10_GB
public static final SqlDatabaseStandardStorage MAX_10_GB
10 GB storage capacity available for the database.
-
MAX_20_GB
public static final SqlDatabaseStandardStorage MAX_20_GB
20 GB storage capacity available for the database.
-
MAX_30_GB
public static final SqlDatabaseStandardStorage MAX_30_GB
30 GB storage capacity available for the database.
-
MAX_40_GB
public static final SqlDatabaseStandardStorage MAX_40_GB
40 GB storage capacity available for the database.
-
MAX_50_GB
public static final SqlDatabaseStandardStorage MAX_50_GB
50 GB storage capacity available for the database.
-
MAX_100_GB
public static final SqlDatabaseStandardStorage MAX_100_GB
100 GB storage capacity available for the database.
-
MAX_150_GB
public static final SqlDatabaseStandardStorage MAX_150_GB
150 GB storage capacity available for the database.
-
MAX_200_GB
public static final SqlDatabaseStandardStorage MAX_200_GB
200 GB storage capacity available for the database.
-
MAX_250_GB
public static final SqlDatabaseStandardStorage MAX_250_GB
250 GB storage capacity available for the database.
-
MAX_300_GB
public static final SqlDatabaseStandardStorage MAX_300_GB
300 GB storage capacity available for the database (only with ServiceObjective "S3" or higher).
-
MAX_400_GB
public static final SqlDatabaseStandardStorage MAX_400_GB
400 GB storage capacity available for the database (only with ServiceObjective "S3" or higher).
-
MAX_500_GB
public static final SqlDatabaseStandardStorage MAX_500_GB
500 GB storage capacity available for the database (only with ServiceObjective "S3" or higher).
-
MAX_750_GB
public static final SqlDatabaseStandardStorage MAX_750_GB
750 GB storage capacity available for the database (only with ServiceObjective "S3" or higher).
-
MAX_1_TB
public static final SqlDatabaseStandardStorage MAX_1_TB
1 TB storage capacity available for the database (only with ServiceObjective "S3" or higher).
-
-
Method Detail
-
values
public static SqlDatabaseStandardStorage[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SqlDatabaseStandardStorage c : SqlDatabaseStandardStorage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SqlDatabaseStandardStorage valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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
-
-