SqlDatabase.DefinitionStages.WithElasticPoolName<ParentT> Interface

Type Parameters

ParentT

the stage of the parent definition to return to after attaching this definition

public static interface SqlDatabase.DefinitionStages.WithElasticPoolName

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

Method Summary

Modifier and Type Method and Description
abstract WithExistingDatabaseAfterElasticPool<ParentT> withExistingElasticPool(SqlElasticPool sqlElasticPool)

Sets the existing elastic pool for the SQLDatabase.

abstract WithExistingDatabaseAfterElasticPool<ParentT> withExistingElasticPool(String elasticPoolName)

Sets the existing elastic pool for the SQLDatabase.

abstract WithExistingDatabaseAfterElasticPool<ParentT> withNewElasticPool(Creatable<SqlElasticPool> sqlElasticPool)

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

Method Details

withExistingElasticPool

public abstract SqlDatabase.DefinitionStages.WithExistingDatabaseAfterElasticPool withExistingElasticPool(SqlElasticPool sqlElasticPool)

Sets the existing elastic pool for the SQLDatabase.

Parameters:

sqlElasticPool - for the SQL Database

Returns:

The next stage of the definition.

withExistingElasticPool

public abstract SqlDatabase.DefinitionStages.WithExistingDatabaseAfterElasticPool withExistingElasticPool(String elasticPoolName)

Sets the existing elastic pool for the SQLDatabase.

Parameters:

elasticPoolName - for the SQL Database

Returns:

The next stage of the definition.

withNewElasticPool

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

Applies to