Interface SqlElasticPool
- All Superinterfaces:
- ChildResource<SqlServer>,- ExternalChildResource<SqlElasticPool,,- SqlServer> - HasInner<com.microsoft.azure.management.sql.implementation.ElasticPoolInner>,- HasName,- HasParent<SqlServer>,- HasResourceGroup,- Indexable,- Refreshable<SqlElasticPool>,- Updatable<SqlElasticPool.Update>
@Beta(V1_7_0)
public interface SqlElasticPool
extends ExternalChildResource<SqlElasticPool,SqlServer>, HasInner<com.microsoft.azure.management.sql.implementation.ElasticPoolInner>, HasResourceGroup, Refreshable<SqlElasticPool>, Updatable<SqlElasticPool.Update> 
An immutable client-side representation of an Azure SQL Elastic Pool.
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceGrouping of all the storage account definition stages.static interfaceContainer interface for all the definitions that need to be implemented.static interfaceThe template for a SQL Elastic Pool update operation, containing all the settings that can be modified.static interfaceGrouping of all the SQL Elastic Pool update stages.
- 
Method SummaryModifier and TypeMethodDescriptionaddExistingDatabase(SqlDatabase database) Adds an existing SQL Database to the Elastic Pool.addExistingDatabase(String databaseName) Adds an existing SQL Database to the Elastic Pool.addNewDatabase(String databaseName) Adds a new SQL Database to the Elastic Pool.org.joda.time.DateTimeintintvoiddelete()Deletes this SQL Elastic Pool from the parent SQL server.rx.CompletableDeletes this SQL Elastic Pool asynchronously from the parent SQL server.intdtu()edition()getDatabase(String databaseName) Gets the specific database in the elastic pool.rx.Observable<ElasticPoolActivity>rx.Observable<ElasticPoolDatabaseActivity>Lists the database metric definitions for this SQL Elastic Pool.rx.Observable<SqlDatabaseMetricDefinition>Asynchronously lists the database metric definitions for this SQL Elastic Pool.listDatabaseMetrics(String filter) Lists the database metrics for this SQL Elastic Pool.rx.Observable<SqlDatabaseMetric>listDatabaseMetricsAsync(String filter) Asynchronously lists the database metrics for this SQL Elastic Pool.Lists the SQL databases in this SQL Elastic Pool.rx.Observable<SqlDatabase>Asynchronously lists the SQL databases in this SQL Elastic Pool.parentId()region()removeDatabase(String databaseName) Removes an existing SQL Database from the Elastic Pool.state()intintDeprecated.Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.ExternalChildResourceidMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInnerinnerMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasNamenameMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasParentparentMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasResourceGroupresourceGroupNameMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.IndexablekeyMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Refreshablerefresh, refreshAsync
- 
Method Details- 
sqlServerNameString sqlServerName()- Returns:
- name of the SQL Server to which this elastic pool belongs
 
- 
creationDateorg.joda.time.DateTime creationDate()- Returns:
- the creation date of the Azure SQL Elastic Pool
 
- 
stateElasticPoolState state()- Returns:
- the state of the Azure SQL Elastic Pool
 
- 
editionElasticPoolEdition edition()- Returns:
- the edition of Azure SQL Elastic Pool
 
- 
dtuint dtu()- Returns:
- The total shared DTU for the SQL Azure Database Elastic Pool
 
- 
databaseDtuMaxint databaseDtuMax()- Returns:
- the maximum DTU any one SQL Azure database can consume.
 
- 
databaseDtuMinint databaseDtuMin()- Returns:
- the minimum DTU all SQL Azure Databases are guaranteed
 
- 
storageMBDeprecated.- Returns:
- the storage limit for the SQL Azure Database Elastic Pool in MB
 
- 
storageCapacityInMB@Beta(V1_7_0) int storageCapacityInMB()- Returns:
- the storage capacity limit for the SQL Azure Database Elastic Pool in MB
 
- 
parentId- Returns:
- the parent SQL server ID
 
- 
regionName- Returns:
- the name of the region the resource is in
 
- 
region- Returns:
- the region the resource is in
 
- 
listActivitiesList<ElasticPoolActivity> listActivities()- Returns:
- the information about elastic pool activities
 
- 
listActivitiesAsync- Returns:
- a representation of the deferred computation of the information about elastic pool activities
 
- 
listDatabaseActivitiesList<ElasticPoolDatabaseActivity> listDatabaseActivities()- Returns:
- the information about elastic pool database activities
 
- 
listDatabaseActivitiesAsync- Returns:
- the information about elastic pool database activities
 
- 
listDatabaseMetricsLists the database metrics for this SQL Elastic Pool.- Parameters:
- filter- an OData filter expression that describes a subset of metrics to return
- Returns:
- the elastic pool's database metrics
 
- 
listDatabaseMetricsAsyncAsynchronously lists the database metrics for this SQL Elastic Pool.- Parameters:
- filter- an OData filter expression that describes a subset of metrics to return
- Returns:
- a representation of the deferred computation of this call
 
- 
listDatabaseMetricDefinitionsLists the database metric definitions for this SQL Elastic Pool.- Returns:
- the elastic pool's metric definitions
 
- 
listDatabaseMetricDefinitionsAsyncAsynchronously lists the database metric definitions for this SQL Elastic Pool.- Returns:
- a representation of the deferred computation of this call
 
- 
listDatabasesList<SqlDatabase> listDatabases()Lists the SQL databases in this SQL Elastic Pool.- Returns:
- the information about databases in elastic pool
 
- 
listDatabasesAsyncAsynchronously lists the SQL databases in this SQL Elastic Pool.- Returns:
- a representation of the deferred computation of this call
 
- 
getDatabaseGets the specific database in the elastic pool.- Parameters:
- databaseName- name of the database to look into
- Returns:
- the information about specific database in elastic pool
 
- 
addNewDatabaseAdds a new SQL Database to the Elastic Pool.- Parameters:
- databaseName- name of the database
- Returns:
- the database
 
- 
addExistingDatabaseAdds an existing SQL Database to the Elastic Pool.- Parameters:
- databaseName- name of the database
- Returns:
- the database
 
- 
addExistingDatabaseAdds an existing SQL Database to the Elastic Pool.- Parameters:
- database- the database to be added
- Returns:
- the database
 
- 
removeDatabaseRemoves an existing SQL Database from the Elastic Pool.- Parameters:
- databaseName- name of the database
- Returns:
- the database
 
- 
deletevoid delete()Deletes this SQL Elastic Pool from the parent SQL server.
- 
deleteAsyncrx.Completable deleteAsync()Deletes this SQL Elastic Pool asynchronously from the parent SQL server.- Returns:
- a representation of the deferred computation of this call
 
 
-