SqlElasticPool.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 |
---|---|
Sql |
withExistingDatabase(SqlDatabase database)
Adds the database in the SQL elastic pool. |
Sql |
withExistingDatabase(String databaseName)
Adds an existing database in the SQL elastic pool. |
Sql |
withNewDatabase(String databaseName)
Creates a new database in the SQL elastic pool. |
Method Details
withExistingDatabase
public WithCreate withExistingDatabase(SqlDatabase database)
Adds the database in the SQL elastic pool.
Parameters:
Returns:
withExistingDatabase
public WithCreate withExistingDatabase(String databaseName)
Adds an existing database in the SQL elastic pool.
Parameters:
Returns:
withNewDatabase
public WithCreate withNewDatabase(String databaseName)
Creates a new database in the SQL elastic pool.
Parameters:
Returns:
Applies to
Azure SDK for Java