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
SqlDatabase.Update withExistingElasticPool(SqlElasticPool sqlElasticPool)

Sets the existing elastic pool for the SQLDatabase.

SqlDatabase.Update withExistingElasticPool(String elasticPoolName)

Sets the existing elastic pool for the SQLDatabase.

SqlDatabase.Update withNewElasticPool(Creatable<SqlElasticPool> sqlElasticPool)

Sets the new elastic pool for the SQLDatabase, this will create a new elastic pool while creating database.

SqlDatabase.UpdateStages.WithEdition 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:

sqlElasticPool - for the SQL Database

Returns:

The next stage of the update.

withExistingElasticPool

public Update withExistingElasticPool(String elasticPoolName)

Sets the existing elastic pool for the SQLDatabase.

Parameters:

elasticPoolName - for the SQL Database

Returns:

The next stage of the update.

withNewElasticPool

public Update withNewElasticPool(Creatable sqlElasticPool)

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.

withoutElasticPool

public WithEdition withoutElasticPool()

Removes database from it's elastic pool.

Returns:

The next stage of the update.

Applies to