SqlDatabase.UpdateStages.WithElasticPoolName Interface

public static interface SqlDatabase.UpdateStages.WithElasticPoolName

The SQL Database definition to set the elastic pool for database.

Method Summary

Modifier and Type Method and Description
abstract Update withExistingElasticPool(SqlElasticPool sqlElasticPool)

Sets the existing elastic pool for the SQLDatabase.

abstract Update withExistingElasticPool(String elasticPoolName)

Sets the existing elastic pool for the SQLDatabase.

abstract Update withExistingElasticPoolId(String elasticPoolId)

Sets the existing elastic pool for the SQLDatabase.

abstract Update withNewElasticPool(Creatable<SqlElasticPool> sqlElasticPool)

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

abstract WithEdition withoutElasticPool()

Removes database from it's elastic pool.

Method Details

withExistingElasticPool

public abstract SqlDatabase.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 abstract SqlDatabase.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.

withExistingElasticPoolId

public abstract SqlDatabase.Update withExistingElasticPoolId(String elasticPoolId)

Sets the existing elastic pool for the SQLDatabase.

Parameters:

elasticPoolId - for the SQL Database

Returns:

The next stage of the definition.

withNewElasticPool

public abstract SqlDatabase.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 abstract SqlDatabase.UpdateStages.WithEdition withoutElasticPool()

Removes database from it's elastic pool.

Returns:

The next stage of the update.

Applies to