Interface SqlDatabase.UpdateStages.WithElasticPoolName
- All Known Subinterfaces:
SqlDatabase.Update
- Enclosing interface:
- SqlDatabase.UpdateStages
public static interface SqlDatabase.UpdateStages.WithElasticPoolName
The SQL Database definition to set the elastic pool for database.
-
Method Summary
Modifier and TypeMethodDescriptionwithExistingElasticPool
(SqlElasticPool sqlElasticPool) Sets the existing elastic pool for the SQLDatabase.withExistingElasticPool
(String elasticPoolName) Sets the existing elastic pool for the SQLDatabase.withNewElasticPool
(Creatable<SqlElasticPool> sqlElasticPool) Sets the new elastic pool for the SQLDatabase, this will create a new elastic pool while creating database.Removes database from it's elastic pool.
-
Method Details
-
withoutElasticPool
SqlDatabase.UpdateStages.WithEdition withoutElasticPool()Removes database from it's elastic pool.- Returns:
- The next stage of the update.
-
withExistingElasticPool
Sets the existing elastic pool for the SQLDatabase.- Parameters:
elasticPoolName
- for the SQL Database- Returns:
- The next stage of the update.
-
withExistingElasticPool
Sets the existing elastic pool for the SQLDatabase.- Parameters:
sqlElasticPool
- for the SQL Database- Returns:
- The next stage of the update.
-
withNewElasticPool
Sets the new elastic pool for the SQLDatabase, this will create a new elastic pool while creating database.- Parameters:
sqlElasticPool
- creatable definition for new elastic pool to be created for the SQL Database- Returns:
- The next stage of the update.
-