Enum SqlDatabasePremiumStorage
- java.lang.Object
-
- java.lang.Enum<SqlDatabasePremiumStorage>
-
- com.azure.resourcemanager.sql.models.SqlDatabasePremiumStorage
-
- All Implemented Interfaces:
Serializable,Comparable<SqlDatabasePremiumStorage>
public enum SqlDatabasePremiumStorage extends Enum<SqlDatabasePremiumStorage>
The maximum allowed storage capacity for a "Premium" 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.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_1280_GB1280 GB storage capacity available for the database (only with ServiceObjective "P9" or higher).MAX_150_GB150 GB storage capacity available for the database.MAX_1536_GB1536 GB storage capacity available for the database (only with ServiceObjective "P9" or higher).MAX_1792_GB1792 GB storage capacity available for the database (only with ServiceObjective "P9" or higher).MAX_2_GB2 GB storage capacity available for the database.MAX_2_TB2 TB storage capacity available for the database (only with ServiceObjective "P9" or higher).MAX_20_GB20 GB storage capacity available for the database.MAX_200_GB200 GB storage capacity available for the database.MAX_2304_GB2304 GB storage capacity available for the database (only with ServiceObjective "P9" or higher).MAX_250_GB250 GB storage capacity available for the database.MAX_2560_GB2560 GB storage capacity available for the database (only with ServiceObjective "P9" or higher).MAX_2816_GB2816 GB storage capacity available for the database (only with ServiceObjective "P9" or higher).MAX_3_TB3 TB storage capacity available for the database (only with ServiceObjective "P9" or higher).MAX_30_GB30 GB storage capacity available for the database.MAX_300_GB300 GB storage capacity available for the database.MAX_3328_GB3328 GB storage capacity available for the database (only with ServiceObjective "P9" or higher).MAX_3584_GB3584 GB storage capacity available for the database (only with ServiceObjective "P9" or higher).MAX_3840_GB3840 GB storage capacity available for the database (only with ServiceObjective "P9" or higher).MAX_4_TB4 TB storage capacity available for the database (only with ServiceObjective "P9" or higher).MAX_40_GB40 GB storage capacity available for the database.MAX_400_GB400 GB storage capacity available for the database.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.MAX_500_MB100 MB storage capacity available for the database.MAX_750_GB750 GB storage capacity available for the database.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longcapacity()longcapacityInMB()static SqlDatabasePremiumStoragevalueOf(String name)Returns the enum constant of this type with the specified name.static SqlDatabasePremiumStorage[]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 SqlDatabasePremiumStorage MAX_100_MB
100 MB storage capacity available for the database.
-
MAX_500_MB
public static final SqlDatabasePremiumStorage MAX_500_MB
100 MB storage capacity available for the database.
-
MAX_1_GB
public static final SqlDatabasePremiumStorage MAX_1_GB
1 GB storage capacity available for the database.
-
MAX_2_GB
public static final SqlDatabasePremiumStorage MAX_2_GB
2 GB storage capacity available for the database.
-
MAX_5_GB
public static final SqlDatabasePremiumStorage MAX_5_GB
5 GB storage capacity available for the database.
-
MAX_10_GB
public static final SqlDatabasePremiumStorage MAX_10_GB
10 GB storage capacity available for the database.
-
MAX_20_GB
public static final SqlDatabasePremiumStorage MAX_20_GB
20 GB storage capacity available for the database.
-
MAX_30_GB
public static final SqlDatabasePremiumStorage MAX_30_GB
30 GB storage capacity available for the database.
-
MAX_40_GB
public static final SqlDatabasePremiumStorage MAX_40_GB
40 GB storage capacity available for the database.
-
MAX_50_GB
public static final SqlDatabasePremiumStorage MAX_50_GB
50 GB storage capacity available for the database.
-
MAX_100_GB
public static final SqlDatabasePremiumStorage MAX_100_GB
100 GB storage capacity available for the database.
-
MAX_150_GB
public static final SqlDatabasePremiumStorage MAX_150_GB
150 GB storage capacity available for the database.
-
MAX_200_GB
public static final SqlDatabasePremiumStorage MAX_200_GB
200 GB storage capacity available for the database.
-
MAX_250_GB
public static final SqlDatabasePremiumStorage MAX_250_GB
250 GB storage capacity available for the database.
-
MAX_300_GB
public static final SqlDatabasePremiumStorage MAX_300_GB
300 GB storage capacity available for the database.
-
MAX_400_GB
public static final SqlDatabasePremiumStorage MAX_400_GB
400 GB storage capacity available for the database.
-
MAX_500_GB
public static final SqlDatabasePremiumStorage MAX_500_GB
500 GB storage capacity available for the database.
-
MAX_750_GB
public static final SqlDatabasePremiumStorage MAX_750_GB
750 GB storage capacity available for the database.
-
MAX_1_TB
public static final SqlDatabasePremiumStorage MAX_1_TB
1 TB storage capacity available for the database.
-
MAX_1280_GB
public static final SqlDatabasePremiumStorage MAX_1280_GB
1280 GB storage capacity available for the database (only with ServiceObjective "P9" or higher).
-
MAX_1536_GB
public static final SqlDatabasePremiumStorage MAX_1536_GB
1536 GB storage capacity available for the database (only with ServiceObjective "P9" or higher).
-
MAX_1792_GB
public static final SqlDatabasePremiumStorage MAX_1792_GB
1792 GB storage capacity available for the database (only with ServiceObjective "P9" or higher).
-
MAX_2_TB
public static final SqlDatabasePremiumStorage MAX_2_TB
2 TB storage capacity available for the database (only with ServiceObjective "P9" or higher).
-
MAX_2304_GB
public static final SqlDatabasePremiumStorage MAX_2304_GB
2304 GB storage capacity available for the database (only with ServiceObjective "P9" or higher).
-
MAX_2560_GB
public static final SqlDatabasePremiumStorage MAX_2560_GB
2560 GB storage capacity available for the database (only with ServiceObjective "P9" or higher).
-
MAX_2816_GB
public static final SqlDatabasePremiumStorage MAX_2816_GB
2816 GB storage capacity available for the database (only with ServiceObjective "P9" or higher).
-
MAX_3_TB
public static final SqlDatabasePremiumStorage MAX_3_TB
3 TB storage capacity available for the database (only with ServiceObjective "P9" or higher).
-
MAX_3328_GB
public static final SqlDatabasePremiumStorage MAX_3328_GB
3328 GB storage capacity available for the database (only with ServiceObjective "P9" or higher).
-
MAX_3584_GB
public static final SqlDatabasePremiumStorage MAX_3584_GB
3584 GB storage capacity available for the database (only with ServiceObjective "P9" or higher).
-
MAX_3840_GB
public static final SqlDatabasePremiumStorage MAX_3840_GB
3840 GB storage capacity available for the database (only with ServiceObjective "P9" or higher).
-
MAX_4_TB
public static final SqlDatabasePremiumStorage MAX_4_TB
4 TB storage capacity available for the database (only with ServiceObjective "P9" or higher).
-
-
Method Detail
-
values
public static SqlDatabasePremiumStorage[] 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 (SqlDatabasePremiumStorage c : SqlDatabasePremiumStorage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SqlDatabasePremiumStorage 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
-
-