Interface SqlDatabase.UpdateStages.WithEdition
-
- All Known Subinterfaces:
SqlDatabase.Update
- Enclosing interface:
- SqlDatabase.UpdateStages
public static interface SqlDatabase.UpdateStages.WithEditionThe SQL Database definition to set the edition for database.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SqlDatabase.UpdatewithBasicEdition()Sets a "Basic" edition for the SQL Database.SqlDatabase.UpdatewithBasicEdition(SqlDatabaseBasicStorage maxStorageCapacity)Sets a "Basic" edition and maximum storage capacity for the SQL Database.SqlDatabase.UpdatewithPremiumEdition(SqlDatabasePremiumServiceObjective serviceObjective)Sets a "Premium" edition for the SQL Database.SqlDatabase.UpdatewithPremiumEdition(SqlDatabasePremiumServiceObjective serviceObjective, SqlDatabasePremiumStorage maxStorageCapacity)Sets a "Premium" edition and maximum storage capacity for the SQL Database.SqlDatabase.UpdatewithSku(DatabaseSku sku)Sets the sku for the SQL Database.SqlDatabase.UpdatewithSku(Sku sku)Sets the sku for the SQL Database.SqlDatabase.UpdatewithStandardEdition(SqlDatabaseStandardServiceObjective serviceObjective)Sets a "Standard" edition for the SQL Database.SqlDatabase.UpdatewithStandardEdition(SqlDatabaseStandardServiceObjective serviceObjective, SqlDatabaseStandardStorage maxStorageCapacity)Sets a "Standard" edition and maximum storage capacity for the SQL Database.
-
-
-
Method Detail
-
withSku
SqlDatabase.Update withSku(DatabaseSku sku)
Sets the sku for the SQL Database.- Parameters:
sku- sku to be set for database- Returns:
- The next stage of the update
-
withSku
SqlDatabase.Update withSku(Sku sku)
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
SqlDatabase.Update withBasicEdition(SqlDatabaseBasicStorage maxStorageCapacity)
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
SqlDatabase.Update withStandardEdition(SqlDatabaseStandardServiceObjective serviceObjective)
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
SqlDatabase.Update withPremiumEdition(SqlDatabasePremiumServiceObjective serviceObjective)
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
-
-