RecommendedElasticPool Interface

Implements

HasId HasManager<com.microsoft.azure.management.sql.implementation.SqlServerManager> HasName HasResourceGroup HasInner<com.microsoft.azure.management.sql.implementation.RecommendedElasticPoolInner> Refreshable<RecommendedElasticPool>

public interface RecommendedElasticPool
extends Refreshable<RecommendedElasticPool>, HasInner<com.microsoft.azure.management.sql.implementation.RecommendedElasticPoolInner>, HasResourceGroup, HasName, HasId, HasManager<com.microsoft.azure.management.sql.implementation.SqlServerManager>

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

Method Summary

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

Get a specific database in the recommended database.

abstract rx.Observable<SqlDatabase> getDatabaseAsync(String databaseName)

Get a specific database in the recommended database.

abstract java.util.List<SqlDatabase> listDatabases()

Fetches list of databases by making call to Azure.

abstract rx.Observable<SqlDatabase> listDatabasesAsync()

Fetches list of databases by making call to Azure.

abstract java.util.List<RecommendedElasticPoolMetric> listMetrics()

Fetches list of metrics information by making call to Azure.

abstract double maxObservedDtu()
abstract double maxObservedStorageMB()
abstract org.joda.time.DateTime observationPeriodEnd()
abstract org.joda.time.DateTime observationPeriodStart()
abstract java.lang.String sqlServerName()
abstract double storageMB()

Method Details

databaseDtuMax

public abstract double databaseDtuMax()

Returns:

the maximum DTU for the database.

databaseDtuMin

public abstract double databaseDtuMin()

Returns:

the minimum DTU for the database.

databaseEdition

public abstract 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 abstract List databases()

Returns:

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

dtu

public abstract double dtu()

Returns:

the DTU for the SQL Azure Recommended Elastic Pool.

getDatabase

public abstract 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 abstract 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 abstract List listDatabases()

Fetches list of databases by making call to Azure.

Returns:

list of the databases in recommended elastic pool

listDatabasesAsync

public abstract 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 abstract List listMetrics()

Fetches list of metrics information by making call to Azure.

Returns:

list of the databases in recommended elastic pool

maxObservedDtu

public abstract double maxObservedDtu()

Returns:

maximum observed DTU.

maxObservedStorageMB

public abstract double maxObservedStorageMB()

Returns:

maximum observed storage in megabytes.

observationPeriodEnd

public abstract DateTime observationPeriodEnd()

Returns:

the observation period start (ISO8601 format).

observationPeriodStart

public abstract DateTime observationPeriodStart()

Returns:

the observation period start (ISO8601 format).

sqlServerName


public abstract String sqlServerName()

Returns:

name of the SQL Server to which this database belongs

storageMB

public abstract double storageMB()

Returns:

storage size in megabytes.

Applies to