Interface SqlDatabase.DefinitionStages.WithElasticPoolName<ParentT>
-
- Type Parameters:
ParentT- the stage of the parent definition to return to after attaching this definition
- All Known Subinterfaces:
SqlDatabase.DefinitionStages.Blank<ParentT>,SqlDatabase.DefinitionStages.WithAllDifferentOptions<ParentT>,SqlDatabase.SqlDatabaseDefinition<ParentT>
- Enclosing interface:
- SqlDatabase.DefinitionStages
public static interface SqlDatabase.DefinitionStages.WithElasticPoolName<ParentT>The SQL Database definition to set the elastic pool for database.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SqlDatabase.DefinitionStages.WithExistingDatabaseAfterElasticPool<ParentT>withExistingElasticPool(SqlElasticPool sqlElasticPool)Sets the existing elastic pool for the SQLDatabase.SqlDatabase.DefinitionStages.WithExistingDatabaseAfterElasticPool<ParentT>withExistingElasticPool(String elasticPoolName)Sets the existing elastic pool for the SQLDatabase.SqlDatabase.DefinitionStages.WithExistingDatabaseAfterElasticPool<ParentT>withExistingElasticPoolId(String elasticPoolId)Sets the existing elastic pool for the SQLDatabase.SqlDatabase.DefinitionStages.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 Detail
-
withExistingElasticPool
SqlDatabase.DefinitionStages.WithExistingDatabaseAfterElasticPool<ParentT> withExistingElasticPool(String elasticPoolName)
Sets the existing elastic pool for the SQLDatabase.- Parameters:
elasticPoolName- for the SQL Database- Returns:
- The next stage of the definition.
-
withExistingElasticPoolId
SqlDatabase.DefinitionStages.WithExistingDatabaseAfterElasticPool<ParentT> withExistingElasticPoolId(String elasticPoolId)
Sets the existing elastic pool for the SQLDatabase.- Parameters:
elasticPoolId- for the SQL Database- Returns:
- The next stage of the definition.
-
withExistingElasticPool
SqlDatabase.DefinitionStages.WithExistingDatabaseAfterElasticPool<ParentT> withExistingElasticPool(SqlElasticPool sqlElasticPool)
Sets the existing elastic pool for the SQLDatabase.- Parameters:
sqlElasticPool- for the SQL Database- Returns:
- The next stage of the definition.
-
withNewElasticPool
SqlDatabase.DefinitionStages.WithExistingDatabaseAfterElasticPool<ParentT> withNewElasticPool(Creatable<SqlElasticPool> 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.
-
-