Interface SqlDatabaseOperations.DefinitionStages.WithEditionDefaults
- All Superinterfaces:
Creatable<SqlDatabase>, HasName, Indexable, Resource.DefinitionWithTags<SqlDatabaseOperations.DefinitionStages.WithCreateFinal>, SqlDatabaseOperations.DefinitionStages.WithCreateFinal
- All Known Subinterfaces:
SqlDatabaseOperations.DefinitionStages.Blank, SqlDatabaseOperations.DefinitionStages.WithAllDifferentOptions, SqlDatabaseOperations.DefinitionStages.WithCreateAllOptions, SqlDatabaseOperations.SqlDatabaseOperationsDefinition
- Enclosing interface:
SqlDatabaseOperations.DefinitionStages
public static interface SqlDatabaseOperations.DefinitionStages.WithEditionDefaults
extends SqlDatabaseOperations.DefinitionStages.WithCreateFinal
The SQL Database definition to set the edition for database with defaults.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe SQL Database definition to set the collation for database. -
Method Summary
Modifier and TypeMethodDescriptionSets a "Basic" edition for the SQL Database.withBasicEdition(SqlDatabaseBasicStorage maxStorageCapacity) Sets a "Basic" edition 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.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.Methods inherited from interface Creatable
create, create, createAsync, createAsyncMethods inherited from interface Resource.DefinitionWithTags
withTag, withTags
-
Method Details
-
withBasicEdition
SqlDatabaseOperations.DefinitionStages.WithEditionDefaults withBasicEdition()Sets a "Basic" edition for the SQL Database.- Returns:
- The next stage of the definition
-
withBasicEdition
SqlDatabaseOperations.DefinitionStages.WithEditionDefaults withBasicEdition(SqlDatabaseBasicStorage maxStorageCapacity) Sets a "Basic" edition for the SQL Database.- Parameters:
maxStorageCapacity- the maximum storage capacity- Returns:
- The next stage of the definition
-
withStandardEdition
SqlDatabaseOperations.DefinitionStages.WithEditionDefaults 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
SqlDatabaseOperations.DefinitionStages.WithEditionDefaults 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
SqlDatabaseOperations.DefinitionStages.WithEditionDefaults 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
SqlDatabaseOperations.DefinitionStages.WithEditionDefaults 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
-