@Beta(value=V1_7_0) public interface SqlElasticPool extends ExternalChildResource<SqlElasticPool,SqlServer>, HasInner<com.microsoft.azure.management.sql.implementation.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.
|
org.joda.time.DateTime |
creationDate() |
int |
databaseDtuMax() |
int |
databaseDtuMin() |
void |
delete()
Deletes this SQL Elastic Pool from the parent SQL server.
|
rx.Completable |
deleteAsync()
Deletes this SQL Elastic Pool asynchronously from the parent SQL server.
|
int |
dtu() |
ElasticPoolEditions |
edition() |
SqlDatabase |
getDatabase(String databaseName)
Gets the specific database in the elastic pool.
|
List<ElasticPoolActivity> |
listActivities() |
rx.Observable<ElasticPoolActivity> |
listActivitiesAsync() |
List<ElasticPoolDatabaseActivity> |
listDatabaseActivities() |
rx.Observable<ElasticPoolDatabaseActivity> |
listDatabaseActivitiesAsync() |
List<SqlDatabaseMetricDefinition> |
listDatabaseMetricDefinitions()
Lists the database metric definitions for this SQL Elastic Pool.
|
rx.Observable<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.
|
rx.Observable<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.
|
rx.Observable<SqlDatabase> |
listDatabasesAsync()
Asynchronously lists the SQL databases in this SQL Elastic Pool.
|
String |
parentId() |
Region |
region() |
String |
regionName() |
SqlDatabase |
removeDatabase(String databaseName)
Removes an existing SQL Database from the Elastic Pool.
|
String |
sqlServerName() |
ElasticPoolState |
state() |
int |
storageCapacityInMB() |
int |
storageMB()
Deprecated.
|
id
key
name
parent
refresh, refreshAsync
inner
resourceGroupName
String sqlServerName()
org.joda.time.DateTime creationDate()
ElasticPoolState state()
ElasticPoolEditions edition()
int dtu()
int databaseDtuMax()
int databaseDtuMin()
@Deprecated int storageMB()
@Beta(value=V1_7_0) int storageCapacityInMB()
@Beta(value=V1_7_0) String parentId()
@Beta(value=V1_7_0) String regionName()
@Beta(value=V1_7_0) Region region()
List<ElasticPoolActivity> listActivities()
@Beta(value=V1_7_0) rx.Observable<ElasticPoolActivity> listActivitiesAsync()
List<ElasticPoolDatabaseActivity> listDatabaseActivities()
@Beta(value=V1_7_0) rx.Observable<ElasticPoolDatabaseActivity> listDatabaseActivitiesAsync()
@Beta(value=V1_7_0) List<SqlDatabaseMetric> listDatabaseMetrics(String filter)
filter
- an OData filter expression that describes a subset of metrics to return@Beta(value=V1_7_0) rx.Observable<SqlDatabaseMetric> listDatabaseMetricsAsync(String filter)
filter
- an OData filter expression that describes a subset of metrics to return@Beta(value=V1_7_0) List<SqlDatabaseMetricDefinition> listDatabaseMetricDefinitions()
@Beta(value=V1_7_0) rx.Observable<SqlDatabaseMetricDefinition> listDatabaseMetricDefinitionsAsync()
List<SqlDatabase> listDatabases()
@Beta(value=V1_7_0) rx.Observable<SqlDatabase> listDatabasesAsync()
SqlDatabase getDatabase(String databaseName)
databaseName
- name of the database to look into@Beta(value=V1_7_0) SqlDatabase addNewDatabase(String databaseName)
databaseName
- name of the database@Beta(value=V1_7_0) SqlDatabase addExistingDatabase(String databaseName)
databaseName
- name of the database@Beta(value=V1_7_0) SqlDatabase addExistingDatabase(SqlDatabase database)
database
- the database to be added@Beta(value=V1_7_0) SqlDatabase removeDatabase(String databaseName)
databaseName
- name of the databasevoid delete()
rx.Completable deleteAsync()
Copyright © 2019. All rights reserved.