Interface SqlElasticPoolOperations.DefinitionStages.WithDatabase
-
- All Known Subinterfaces:
SqlElasticPoolOperations.DefinitionStages.WithBasicEdition,SqlElasticPoolOperations.DefinitionStages.WithCreate,SqlElasticPoolOperations.DefinitionStages.WithPremiumEdition,SqlElasticPoolOperations.DefinitionStages.WithStandardEdition,SqlElasticPoolOperations.SqlElasticPoolOperationsDefinition
- Enclosing interface:
- SqlElasticPoolOperations.DefinitionStages
public static interface SqlElasticPoolOperations.DefinitionStages.WithDatabaseThe SQL Elastic Pool definition to add the Database in the Elastic Pool.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SqlDatabase.DefinitionStages.WithExistingDatabaseAfterElasticPool<SqlElasticPoolOperations.DefinitionStages.WithCreate>defineDatabase(String databaseName)Begins the definition of a new SQL Database to be added to this server.SqlElasticPoolOperations.DefinitionStages.WithCreatewithExistingDatabase(SqlDatabase database)Adds the database in the SQL elastic pool.SqlElasticPoolOperations.DefinitionStages.WithCreatewithExistingDatabase(String databaseName)Adds an existing database in the SQL elastic pool.SqlElasticPoolOperations.DefinitionStages.WithCreatewithNewDatabase(String databaseName)Creates a new database in the SQL elastic pool.
-
-
-
Method Detail
-
withNewDatabase
SqlElasticPoolOperations.DefinitionStages.WithCreate withNewDatabase(String databaseName)
Creates a new database in the SQL elastic pool.- Parameters:
databaseName- name of the new database to be added in the elastic pool- Returns:
- The next stage of the definition.
-
withExistingDatabase
SqlElasticPoolOperations.DefinitionStages.WithCreate withExistingDatabase(String databaseName)
Adds an existing database in the SQL elastic pool.- Parameters:
databaseName- name of the existing database to be added in the elastic pool- Returns:
- The next stage of the definition.
-
withExistingDatabase
SqlElasticPoolOperations.DefinitionStages.WithCreate withExistingDatabase(SqlDatabase database)
Adds the database in the SQL elastic pool.- Parameters:
database- database instance to be added in SQL elastic pool- Returns:
- The next stage of the definition.
-
defineDatabase
SqlDatabase.DefinitionStages.WithExistingDatabaseAfterElasticPool<SqlElasticPoolOperations.DefinitionStages.WithCreate> defineDatabase(String databaseName)
Begins the definition of a new SQL Database to be added to this server.- Parameters:
databaseName- the name of the new SQL Database- Returns:
- the first stage of the new SQL Database definition
-
-