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() |
abstract Double | databaseDtuMax() |
abstract Double | databaseDtuMin() |
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() |
abstract
Elastic |
edition() |
abstract
Sql |
getDatabase(String databaseName)
Gets the specific database in the elastic pool. |
abstract
List<Elastic |
listActivities() |
abstract
Paged |
listActivitiesAsync() |
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() |
abstract Region | region() |
abstract String | regionName() |
abstract
Sql |
removeDatabase(String databaseName)
Removes an existing SQL Database from the Elastic Pool. |
abstract String | sqlServerName() |
abstract
Elastic |
state() |
abstract Long | storageCapacity() |
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()
Returns:
databaseDtuMax
public abstract Double databaseDtuMax()
Returns:
databaseDtuMin
public abstract Double databaseDtuMin()
Returns:
delete
public abstract void delete()
Deletes this SQL Elastic Pool from the parent SQL server.
deleteAsync
public abstract Mono
Deletes this SQL Elastic Pool asynchronously from the parent SQL server.
Returns:
dtu
public abstract int dtu()
Returns:
edition
public abstract ElasticPoolEdition edition()
Returns:
getDatabase
public abstract SqlDatabase getDatabase(String databaseName)
Gets the specific database in the elastic pool.
Parameters:
Returns:
listActivities
public abstract List
Returns:
listActivitiesAsync
public abstract PagedFlux
Returns:
listDatabases
public abstract List
Lists the SQL databases in this SQL Elastic Pool.
Returns:
listDatabasesAsync
public abstract PagedFlux
Asynchronously lists the SQL databases in this SQL Elastic Pool.
Returns:
parentId
public abstract String parentId()
Returns:
region
public abstract Region region()
Returns:
regionName
public abstract String regionName()
Returns:
removeDatabase
public abstract SqlDatabase removeDatabase(String databaseName)
Removes an existing SQL Database from the Elastic Pool.
Parameters:
Returns:
sqlServerName
public abstract String sqlServerName()
Returns:
state
public abstract ElasticPoolState state()
Returns:
storageCapacity
public abstract Long storageCapacity()
Returns:
Applies to
Azure SDK for Java