Interface SqlDatabaseOperations.DefinitionStages.WithElasticPoolName
- All Known Subinterfaces:
SqlDatabaseOperations.DefinitionStages.Blank
,SqlDatabaseOperations.DefinitionStages.WithAllDifferentOptions
,SqlDatabaseOperations.SqlDatabaseOperationsDefinition
- Enclosing interface:
- SqlDatabaseOperations.DefinitionStages
public static interface SqlDatabaseOperations.DefinitionStages.WithElasticPoolName
The SQL Database definition to set the elastic pool for database.
-
Method Summary
Modifier and TypeMethodDescriptionSqlElasticPool.DefinitionStages.Blank<SqlDatabaseOperations.DefinitionStages.WithExistingDatabaseAfterElasticPool>
defineElasticPool
(String elasticPoolName) Begins the definition of a new SQL Elastic Pool to be added to this database parent SQL server.withExistingElasticPool
(SqlElasticPool sqlElasticPool) Sets the existing elastic pool for the SQLDatabase.withExistingElasticPool
(String elasticPoolName) Sets the existing elastic pool for the SQLDatabase.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
SqlDatabaseOperations.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.
-
withExistingElasticPool
SqlDatabaseOperations.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.
-
withNewElasticPool
SqlDatabaseOperations.DefinitionStages.WithExistingDatabaseAfterElasticPool 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.
-
defineElasticPool
@Beta(V1_7_0) SqlElasticPool.DefinitionStages.Blank<SqlDatabaseOperations.DefinitionStages.WithExistingDatabaseAfterElasticPool> defineElasticPool(String elasticPoolName) Begins the definition of a new SQL Elastic Pool to be added to this database parent SQL server.- Parameters:
elasticPoolName
- the name of the new SQL Elastic Pool- Returns:
- the first stage of the new SQL Elastic Pool definition
-