Interface RecommendedElasticPool
-
- All Superinterfaces:
HasId,HasInnerModel<RecommendedElasticPoolInner>,HasManager<SqlServerManager>,HasName,HasResourceGroup,Refreshable<RecommendedElasticPool>
public interface RecommendedElasticPool extends Refreshable<RecommendedElasticPool>, HasInnerModel<RecommendedElasticPoolInner>, HasResourceGroup, HasName, HasId, HasManager<SqlServerManager>
An immutable client-side representation of an Azure SQL Recommended ElasticPool.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doubledatabaseDtuMax()doubledatabaseDtuMin()ElasticPoolEditiondatabaseEdition()List<TrackedResource>databases()doubledtu()SqlDatabasegetDatabase(String databaseName)Get a specific database in the recommended database.Mono<SqlDatabase>getDatabaseAsync(String databaseName)Get a specific database in the recommended database.List<SqlDatabase>listDatabases()Fetches list of databases by making call to Azure.com.azure.core.http.rest.PagedFlux<SqlDatabase>listDatabasesAsync()Fetches list of databases by making call to Azure.List<RecommendedElasticPoolMetric>listMetrics()Fetches list of metrics information by making call to Azure.doublemaxObservedDtu()doublemaxObservedStorageMB()OffsetDateTimeobservationPeriodEnd()OffsetDateTimeobservationPeriodStart()StringsqlServerName()doublestorageMB()-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModel
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
manager
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
name
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupName
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable
refresh, refreshAsync
-
-
-
-
Method Detail
-
sqlServerName
String sqlServerName()
- Returns:
- name of the SQL Server to which this database belongs
-
databaseEdition
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'.
-
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
OffsetDateTime observationPeriodStart()
- Returns:
- the observation period start (ISO8601 format).
-
observationPeriodEnd
OffsetDateTime 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<TrackedResource> 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
com.azure.core.http.rest.PagedFlux<SqlDatabase> 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
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
Mono<SqlDatabase> 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
-
listMetrics
List<RecommendedElasticPoolMetric> listMetrics()
Fetches list of metrics information by making call to Azure.- Returns:
- list of the databases in recommended elastic pool
-
-