SqlElasticPoolOperations.DefinitionStages.WithDatabase Interface
public interface WithDatabase
The SQL Elastic Pool definition to add the Database in the Elastic Pool.
Method Summary
Modifier and Type | Method and Description |
---|---|
SqlDatabase.DefinitionStages.WithExistingDatabaseAfterElasticPool<Sql |
defineDatabase(String databaseName)
Begins the definition of a new SQL Database to be added to this server. |
SqlElasticPoolOperations.DefinitionStages.WithCreate |
withExistingDatabase(SqlDatabase database)
Adds the database in the SQL elastic pool. |
SqlElasticPoolOperations.DefinitionStages.WithCreate |
withExistingDatabase(String databaseName)
Adds an existing database in the SQL elastic pool. |
SqlElasticPoolOperations.DefinitionStages.WithCreate |
withNewDatabase(String databaseName)
Creates a new database in the SQL elastic pool. |
Method Details
defineDatabase
public SqlDatabase.DefinitionStages.WithExistingDatabaseAfterElasticPool
Begins the definition of a new SQL Database to be added to this server.
Parameters:
Returns:
withExistingDatabase
public SqlElasticPoolOperations.DefinitionStages.WithCreate withExistingDatabase(SqlDatabase database)
Adds the database in the SQL elastic pool.
Parameters:
Returns:
withExistingDatabase
public SqlElasticPoolOperations.DefinitionStages.WithCreate withExistingDatabase(String databaseName)
Adds an existing database in the SQL elastic pool.
Parameters:
Returns:
withNewDatabase
public SqlElasticPoolOperations.DefinitionStages.WithCreate withNewDatabase(String databaseName)
Creates a new database in the SQL elastic pool.
Parameters:
Returns:
Applies to
Azure SDK for Java