Interface SqlDatabase.UpdateStages.WithEdition
- All Known Subinterfaces:
SqlDatabase.Update
- Enclosing interface:
- SqlDatabase.UpdateStages
public static interface SqlDatabase.UpdateStages.WithEdition
The SQL Database definition to set the edition for database.
-
Method Summary
Modifier and TypeMethodDescriptionSets a "Basic" edition for the SQL Database.withBasicEdition(SqlDatabaseBasicStorage maxStorageCapacity) Sets a "Basic" edition and maximum storage capacity for the SQL Database.withPremiumEdition(SqlDatabasePremiumServiceObjective serviceObjective) Sets a "Premium" edition for the SQL Database.withPremiumEdition(SqlDatabasePremiumServiceObjective serviceObjective, SqlDatabasePremiumStorage maxStorageCapacity) Sets a "Premium" edition and maximum storage capacity for the SQL Database.withSku(DatabaseSku sku) Sets the sku for the SQL Database.Sets the sku for the SQL Database.withStandardEdition(SqlDatabaseStandardServiceObjective serviceObjective) Sets a "Standard" edition for the SQL Database.withStandardEdition(SqlDatabaseStandardServiceObjective serviceObjective, SqlDatabaseStandardStorage maxStorageCapacity) Sets a "Standard" edition and maximum storage capacity for the SQL Database.
-
Method Details
-
withSku
Sets the sku for the SQL Database.- Parameters:
sku- sku to be set for database- Returns:
- The next stage of the update
-
withSku
Sets the sku for the SQL Database.- Parameters:
sku- sku/edition to be set for database, all possible capabilities could be found bySqlServers.getCapabilitiesByRegion(Region)- Returns:
- The next stage of the update
-
withBasicEdition
SqlDatabase.Update withBasicEdition()Sets a "Basic" edition for the SQL Database.- Returns:
- The next stage of the definition
-
withBasicEdition
Sets a "Basic" edition and maximum storage capacity for the SQL Database.- Parameters:
maxStorageCapacity- the maximum storage capacity- Returns:
- The next stage of the definition
-
withStandardEdition
Sets a "Standard" edition for the SQL Database.- Parameters:
serviceObjective- edition to be set for database- Returns:
- The next stage of the definition
-
withStandardEdition
SqlDatabase.Update withStandardEdition(SqlDatabaseStandardServiceObjective serviceObjective, SqlDatabaseStandardStorage maxStorageCapacity) Sets a "Standard" edition and maximum storage capacity for the SQL Database.- Parameters:
serviceObjective- edition to be set for databasemaxStorageCapacity- edition to be set for database- Returns:
- The next stage of the definition
-
withPremiumEdition
Sets a "Premium" edition for the SQL Database.- Parameters:
serviceObjective- edition to be set for database- Returns:
- The next stage of the definition
-
withPremiumEdition
SqlDatabase.Update withPremiumEdition(SqlDatabasePremiumServiceObjective serviceObjective, SqlDatabasePremiumStorage maxStorageCapacity) Sets a "Premium" edition and maximum storage capacity for the SQL Database.- Parameters:
serviceObjective- edition to be set for databasemaxStorageCapacity- edition to be set for database- Returns:
- The next stage of the definition
-