Interface RecommendedElasticPool
- All Superinterfaces:
HasId
,HasInner<com.microsoft.azure.management.sql.implementation.RecommendedElasticPoolInner>
,HasManager<com.microsoft.azure.management.sql.implementation.SqlServerManager>
,HasName
,HasResourceGroup
,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 TypeMethodDescriptiondouble
double
double
dtu()
getDatabase
(String databaseName) Get a specific database in the recommended database.rx.Observable<SqlDatabase>
getDatabaseAsync
(String databaseName) Get a specific database in the recommended database.Fetches list of databases by making call to Azure.rx.Observable<SqlDatabase>
Fetches list of databases by making call to Azure.Fetches list of metrics information by making call to Azure.double
double
org.joda.time.DateTime
org.joda.time.DateTime
Deprecated.double
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasId
id
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
inner
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager
manager
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasName
name
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupName
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Refreshable
refresh, refreshAsync
-
Method Details
-
sqlServerName
Deprecated.- Returns:
- name of the SQL Server to which this database belongs
-
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'.
-
dtu
double dtu()- Returns:
- the DTU for the SQL Azure Recommended Elastic Pool.
-
databaseDtuMin
double databaseDtuMin()- Returns:
- the minimum DTU for the database.
-
databaseDtuMax
double databaseDtuMax()- Returns:
- the maximum DTU for the database.
-
storageMB
double storageMB()- Returns:
- storage size in megabytes.
-
observationPeriodStart
org.joda.time.DateTime observationPeriodStart()- Returns:
- the observation period start (ISO8601 format).
-
observationPeriodEnd
org.joda.time.DateTime observationPeriodEnd()- Returns:
- the observation period start (ISO8601 format).
-
maxObservedDtu
double maxObservedDtu()- Returns:
- maximum observed DTU.
-
maxObservedStorageMB
double maxObservedStorageMB()- Returns:
- maximum observed storage in megabytes.
-
databases
List<SqlDatabase> databases()- Returns:
- the list of Azure SQL Databases in this pool. Expanded property.
-
listDatabases
List<SqlDatabase> listDatabases()Fetches list of databases by making call to Azure.- Returns:
- list of the databases in recommended elastic pool
-
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
-
getDatabase
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
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
-
listMetrics
List<RecommendedElasticPoolMetric> listMetrics()Fetches list of metrics information by making call to Azure.- Returns:
- list of the databases in recommended elastic pool
-