SqlElasticPool Interface
Implements
public interface SqlElasticPool
extends ExternalChildResource<SqlElasticPool,SqlServer>, HasInnerModel<ElasticPoolInner>, HasResourceGroup, Refreshable<SqlElasticPool>, Updatable<Update>
An immutable client-side representation of an Azure SQL Elastic Pool.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
Sql |
addExistingDatabase(SqlDatabase database)
Adds an existing SQL Database to the Elastic Pool. |
|
abstract
Sql |
addExistingDatabase(String databaseName)
Adds an existing SQL Database to the Elastic Pool. |
|
abstract
Sql |
addNewDatabase(String databaseName)
Adds a new SQL Database to the Elastic Pool. |
|
abstract
Offset |
creationDate()
Gets the creation date of the Azure SQL Elastic Pool. |
| abstract Double |
databaseDtuMax()
Gets the maximum DTU any one SQL Azure database can consume. |
| abstract Double |
databaseDtuMin()
Gets the minimum DTU all SQL Azure Databases are guaranteed. |
| abstract void |
delete()
Deletes this SQL Elastic Pool from the parent SQL server. |
| abstract Mono<Void> |
deleteAsync()
Deletes this SQL Elastic Pool asynchronously from the parent SQL server. |
| abstract int |
dtu()
Gets the total shared DTU for the SQL Azure Database Elastic Pool. |
|
abstract
Elastic |
edition()
Gets the edition of Azure SQL Elastic Pool. |
|
abstract
Sql |
getDatabase(String databaseName)
Gets the specific database in the elastic pool. |
|
abstract
List<Elastic |
listActivities()
Gets the information about elastic pool activities. |
|
abstract
Paged |
listActivitiesAsync()
Gets a representation of the deferred computation of the information about elastic pool activities. |
|
abstract
List<Sql |
listDatabases()
Lists the SQL databases in this SQL Elastic Pool. |
|
abstract
Paged |
listDatabasesAsync()
Asynchronously lists the SQL databases in this SQL Elastic Pool. |
| abstract String |
parentId()
Gets the parent SQL server ID. |
| abstract Region |
region()
Gets the region the resource is in. |
| abstract String |
regionName()
Gets the name of the region the resource is in. |
|
abstract
Sql |
removeDatabase(String databaseName)
Removes an existing SQL Database from the Elastic Pool. |
| abstract String |
sqlServerName()
Gets name of the SQL Server to which this elastic pool belongs. |
|
abstract
Elastic |
state()
Gets the state of the Azure SQL Elastic Pool. |
| abstract Long |
storageCapacity()
Gets the storage capacity limit for the SQL Azure Database Elastic Pool in Bytes. |
Method Details
addExistingDatabase
public abstract SqlDatabase addExistingDatabase(SqlDatabase database)
Adds an existing SQL Database to the Elastic Pool.
Parameters:
Returns:
addExistingDatabase
public abstract SqlDatabase addExistingDatabase(String databaseName)
Adds an existing SQL Database to the Elastic Pool.
Parameters:
Returns:
addNewDatabase
public abstract SqlDatabase addNewDatabase(String databaseName)
Adds a new SQL Database to the Elastic Pool.
Parameters:
Returns:
creationDate
public abstract OffsetDateTime creationDate()
Gets the creation date of the Azure SQL Elastic Pool.
Returns:
databaseDtuMax
public abstract Double databaseDtuMax()
Gets the maximum DTU any one SQL Azure database can consume.
Returns:
databaseDtuMin
public abstract Double databaseDtuMin()
Gets the minimum DTU all SQL Azure Databases are guaranteed.
Returns:
delete
public abstract void delete()
Deletes this SQL Elastic Pool from the parent SQL server.
deleteAsync
public abstract Mono<Void> deleteAsync()
Deletes this SQL Elastic Pool asynchronously from the parent SQL server.
Returns:
dtu
public abstract int dtu()
Gets the total shared DTU for the SQL Azure Database Elastic Pool.
Returns:
edition
public abstract ElasticPoolEdition edition()
Gets the edition of Azure SQL Elastic Pool.
Returns:
getDatabase
public abstract SqlDatabase getDatabase(String databaseName)
Gets the specific database in the elastic pool.
Parameters:
Returns:
listActivities
public abstract List<ElasticPoolActivity> listActivities()
Gets the information about elastic pool activities.
Returns:
listActivitiesAsync
public abstract PagedFlux<ElasticPoolActivity> listActivitiesAsync()
Gets a representation of the deferred computation of the information about elastic pool activities.
Returns:
listDatabases
public abstract List<SqlDatabase> listDatabases()
Lists the SQL databases in this SQL Elastic Pool.
Returns:
listDatabasesAsync
public abstract PagedFlux<SqlDatabase> listDatabasesAsync()
Asynchronously lists the SQL databases in this SQL Elastic Pool.
Returns:
parentId
public abstract String parentId()
Gets the parent SQL server ID.
Returns:
region
public abstract Region region()
Gets the region the resource is in.
Returns:
regionName
public abstract String regionName()
Gets the name of the region the resource is in.
Returns:
removeDatabase
public abstract SqlDatabase removeDatabase(String databaseName)
Removes an existing SQL Database from the Elastic Pool.
Parameters:
Returns:
sqlServerName
public abstract String sqlServerName()
Gets name of the SQL Server to which this elastic pool belongs.
Returns:
state
public abstract ElasticPoolState state()
Gets the state of the Azure SQL Elastic Pool.
Returns:
storageCapacity
public abstract Long storageCapacity()
Gets the storage capacity limit for the SQL Azure Database Elastic Pool in Bytes.
Returns: