RecommendedElasticPool Interface

public interface RecommendedElasticPool extends Refreshable,HasInner,HasResourceGroup,HasName,HasId,HasManager,Refreshable,HasInner,HasResourceGroup,HasName,HasId,HasManager

An immutable client-side representation of an Azure SQL Recommended ElasticPool.

Method Summary

Modifier and Type Method and Description
double databaseDtuMax()
double databaseDtuMin()
ElasticPoolEdition databaseEdition()
List<SqlDatabase> databases()
double dtu()
SqlDatabase getDatabase(String databaseName)

Get a specific database in the recommended database.

Observable<SqlDatabase> getDatabaseAsync(String databaseName)

Get a specific database in the recommended database.

List<SqlDatabase> listDatabases()

Fetches list of databases by making call to Azure.

Observable<SqlDatabase> listDatabasesAsync()

Fetches list of databases by making call to Azure.

List<RecommendedElasticPoolMetric> listMetrics()

Fetches list of metrics information by making call to Azure.

double maxObservedDtu()
double maxObservedStorageMB()
DateTime observationPeriodEnd()
DateTime observationPeriodStart()
String sqlServerName()
double storageMB()

Inherited Members

Method Details

databaseDtuMax

public double databaseDtuMax()

Returns:

the maximum DTU for the database.

databaseDtuMin

public double databaseDtuMin()

Returns:

the minimum DTU for the database.

databaseEdition

public ElasticPoolEdition databaseEdition()

Returns:

the edition of the Azure SQL Recommended Elastic Pool. The ElasticPoolEditions enumeration contains all the valid editions. Possible values include: 'Basic', 'Standard', 'Premium'.

databases

public List databases()

Returns:

the list of Azure SQL Databases in this pool. Expanded property.

dtu

public double dtu()

Returns:

the DTU for the SQL Azure Recommended Elastic Pool.

getDatabase

public SqlDatabase getDatabase(String databaseName)

Get a specific database in the recommended database.

Parameters:

databaseName - name of the database to be fetched

Returns:

information on the database recommended in recommended elastic pool

getDatabaseAsync

public Observable getDatabaseAsync(String databaseName)

Get a specific database in the recommended database.

Parameters:

databaseName - name of the database to be fetched

Returns:

a representation of the deferred computation to get the database in the recommended elastic pool

listDatabases

public List listDatabases()

Fetches list of databases by making call to Azure.

Returns:

list of the databases in recommended elastic pool

listDatabasesAsync

public Observable listDatabasesAsync()

Fetches list of databases by making call to Azure.

Returns:

a representation of the deferred computation of the databases in this recommended elastic pool

listMetrics

public List listMetrics()

Fetches list of metrics information by making call to Azure.

Returns:

list of the databases in recommended elastic pool

maxObservedDtu

public double maxObservedDtu()

Returns:

maximum observed DTU.

maxObservedStorageMB

public double maxObservedStorageMB()

Returns:

maximum observed storage in megabytes.

observationPeriodEnd

public DateTime observationPeriodEnd()

Returns:

the observation period start (ISO8601 format).

observationPeriodStart

public DateTime observationPeriodStart()

Returns:

the observation period start (ISO8601 format).

sqlServerName

public String sqlServerName()

Returns:

name of the SQL Server to which this database belongs

storageMB

public double storageMB()

Returns:

storage size in megabytes.

Applies to