public interface SqlElasticPool extends ExternalChildResource<SqlElasticPool,SqlServer>, HasInnerModel<ElasticPoolInner>, HasResourceGroup, Refreshable<SqlElasticPool>, Updatable<SqlElasticPool.Update>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
SqlElasticPool.DefinitionStages
Grouping of all the storage account definition stages.
|
static interface |
SqlElasticPool.SqlElasticPoolDefinition<ParentT>
Container interface for all the definitions that need to be implemented.
|
static interface |
SqlElasticPool.Update
The template for a SQL Elastic Pool update operation, containing all the settings that can be modified.
|
static interface |
SqlElasticPool.UpdateStages
Grouping of all the SQL Elastic Pool update stages.
|
| Modifier and Type | Method and Description |
|---|---|
SqlDatabase |
addExistingDatabase(SqlDatabase database)
Adds an existing SQL Database to the Elastic Pool.
|
SqlDatabase |
addExistingDatabase(String databaseName)
Adds an existing SQL Database to the Elastic Pool.
|
SqlDatabase |
addNewDatabase(String databaseName)
Adds a new SQL Database to the Elastic Pool.
|
OffsetDateTime |
creationDate() |
Double |
databaseDtuMax() |
Double |
databaseDtuMin() |
void |
delete()
Deletes this SQL Elastic Pool from the parent SQL server.
|
Mono<Void> |
deleteAsync()
Deletes this SQL Elastic Pool asynchronously from the parent SQL server.
|
int |
dtu() |
ElasticPoolEdition |
edition() |
SqlDatabase |
getDatabase(String databaseName)
Gets the specific database in the elastic pool.
|
List<ElasticPoolActivity> |
listActivities() |
com.azure.core.http.rest.PagedFlux<ElasticPoolActivity> |
listActivitiesAsync() |
List<ElasticPoolDatabaseActivity> |
listDatabaseActivities() |
com.azure.core.http.rest.PagedFlux<ElasticPoolDatabaseActivity> |
listDatabaseActivitiesAsync() |
List<SqlDatabaseMetricDefinition> |
listDatabaseMetricDefinitions()
Lists the database metric definitions for this SQL Elastic Pool.
|
com.azure.core.http.rest.PagedFlux<SqlDatabaseMetricDefinition> |
listDatabaseMetricDefinitionsAsync()
Asynchronously lists the database metric definitions for this SQL Elastic Pool.
|
List<SqlDatabaseMetric> |
listDatabaseMetrics(String filter)
Lists the database metrics for this SQL Elastic Pool.
|
com.azure.core.http.rest.PagedFlux<SqlDatabaseMetric> |
listDatabaseMetricsAsync(String filter)
Asynchronously lists the database metrics for this SQL Elastic Pool.
|
List<SqlDatabase> |
listDatabases()
Lists the SQL databases in this SQL Elastic Pool.
|
com.azure.core.http.rest.PagedFlux<SqlDatabase> |
listDatabasesAsync()
Asynchronously lists the SQL databases in this SQL Elastic Pool.
|
String |
parentId() |
com.azure.core.management.Region |
region() |
String |
regionName() |
SqlDatabase |
removeDatabase(String databaseName)
Removes an existing SQL Database from the Elastic Pool.
|
String |
sqlServerName() |
ElasticPoolState |
state() |
Long |
storageCapacity() |
idnameparentrefresh, refreshAsyncinnerModelresourceGroupNameString sqlServerName()
OffsetDateTime creationDate()
ElasticPoolState state()
ElasticPoolEdition edition()
int dtu()
Double databaseDtuMax()
Double databaseDtuMin()
Long storageCapacity()
String parentId()
String regionName()
com.azure.core.management.Region region()
List<ElasticPoolActivity> listActivities()
com.azure.core.http.rest.PagedFlux<ElasticPoolActivity> listActivitiesAsync()
List<ElasticPoolDatabaseActivity> listDatabaseActivities()
com.azure.core.http.rest.PagedFlux<ElasticPoolDatabaseActivity> listDatabaseActivitiesAsync()
List<SqlDatabaseMetric> listDatabaseMetrics(String filter)
filter - an OData filter expression that describes a subset of metrics to returncom.azure.core.http.rest.PagedFlux<SqlDatabaseMetric> listDatabaseMetricsAsync(String filter)
filter - an OData filter expression that describes a subset of metrics to returnList<SqlDatabaseMetricDefinition> listDatabaseMetricDefinitions()
com.azure.core.http.rest.PagedFlux<SqlDatabaseMetricDefinition> listDatabaseMetricDefinitionsAsync()
List<SqlDatabase> listDatabases()
com.azure.core.http.rest.PagedFlux<SqlDatabase> listDatabasesAsync()
SqlDatabase getDatabase(String databaseName)
databaseName - name of the database to look intoSqlDatabase addNewDatabase(String databaseName)
databaseName - name of the databaseSqlDatabase addExistingDatabase(String databaseName)
databaseName - name of the databaseSqlDatabase addExistingDatabase(SqlDatabase database)
database - the database to be addedSqlDatabase removeDatabase(String databaseName)
databaseName - name of the databasevoid delete()
Copyright © 2020 Microsoft Corporation. All rights reserved.