SqlDatabase.UpdateStages.WithElasticPoolName Interface
public interface WithElasticPoolName
The SQL Database definition to set the elastic pool for database.
Method Summary
Modifier and Type | Method and Description |
---|---|
Sql |
withExistingElasticPool(SqlElasticPool sqlElasticPool)
Sets the existing elastic pool for the SQLDatabase. |
Sql |
withExistingElasticPool(String elasticPoolName)
Sets the existing elastic pool for the SQLDatabase. |
Sql |
withNewElasticPool(Creatable<SqlElasticPool> sqlElasticPool)
Sets the new elastic pool for the SQLDatabase, this will create a new elastic pool while creating database. |
Sql |
withoutElasticPool()
Removes database from it's elastic pool. |
Method Details
withExistingElasticPool
public Update withExistingElasticPool(SqlElasticPool sqlElasticPool)
Sets the existing elastic pool for the SQLDatabase.
Parameters:
Returns:
withExistingElasticPool
public Update withExistingElasticPool(String elasticPoolName)
Sets the existing elastic pool for the SQLDatabase.
Parameters:
Returns:
withNewElasticPool
public Update withNewElasticPool(Creatable
Sets the new elastic pool for the SQLDatabase, this will create a new elastic pool while creating database.
Parameters:
Returns:
withoutElasticPool
public WithEdition withoutElasticPool()
Removes database from it's elastic pool.
Returns:
Applies to
Azure SDK for Java