SqlElasticPool Interface
Implements
public interface SqlElasticPool
extends ExternalChildResource<SqlElasticPool,SqlServer>, HasInner<com.microsoft.azure.management.sql.implementation.ElasticPoolInner>, HasResourceGroup, Refreshable<SqlElasticPool>, Updatable<Update>
An immutable client-side representation of an Azure SQL Elastic Pool.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Sql |
addExistingDatabase(SqlDatabase database)
Adds an existing SQL Database to the Elastic Pool. |
abstract
Sql |
addExistingDatabase(String databaseName)
Adds an existing SQL Database to the Elastic Pool. |
abstract
Sql |
addNewDatabase(String databaseName)
Adds a new SQL Database to the Elastic Pool. |
abstract org.joda.time.DateTime | creationDate() |
abstract int | databaseDtuMax() |
abstract int | databaseDtuMin() |
abstract void |
delete()
Deletes this SQL Elastic Pool from the parent SQL server. |
abstract rx.Completable |
deleteAsync()
Deletes this SQL Elastic Pool asynchronously from the parent SQL server. |
abstract int | dtu() |
abstract
Elastic |
edition() |
abstract
Sql |
getDatabase(String databaseName)
Gets the specific database in the elastic pool. |
abstract
java.util.List<Elastic |
listActivities() |
abstract
rx.Observable<Elastic |
listActivitiesAsync() |
abstract
java.util.List<Elastic |
listDatabaseActivities() |
abstract
rx.Observable<Elastic |
listDatabaseActivitiesAsync() |
abstract
java.util.List<Sql |
listDatabaseMetricDefinitions()
Lists the database metric definitions for this SQL Elastic Pool. |
abstract
rx.Observable<Sql |
listDatabaseMetricDefinitionsAsync()
Asynchronously lists the database metric definitions for this SQL Elastic Pool. |
abstract
java.util.List<Sql |
listDatabaseMetrics(String filter)
Lists the database metrics for this SQL Elastic Pool. |
abstract
rx.Observable<Sql |
listDatabaseMetricsAsync(String filter)
Asynchronously lists the database metrics for this SQL Elastic Pool. |
abstract
java.util.List<Sql |
listDatabases()
Lists the SQL databases in this SQL Elastic Pool. |
abstract
rx.Observable<Sql |
listDatabasesAsync()
Asynchronously lists the SQL databases in this SQL Elastic Pool. |
abstract java.lang.String | parentId() |
abstract Region | region() |
abstract java.lang.String | regionName() |
abstract
Sql |
removeDatabase(String databaseName)
Removes an existing SQL Database from the Elastic Pool. |
abstract java.lang.String | sqlServerName() |
abstract
Elastic |
state() |
abstract int | storageCapacityInMB() |
abstract int | storageMB() |
Method Details
addExistingDatabase
public abstract SqlDatabase addExistingDatabase(SqlDatabase database)
Adds an existing SQL Database to the Elastic Pool.
Parameters:
Returns:
addExistingDatabase
public abstract SqlDatabase addExistingDatabase(String databaseName)
Adds an existing SQL Database to the Elastic Pool.
Parameters:
Returns:
addNewDatabase
public abstract SqlDatabase addNewDatabase(String databaseName)
Adds a new SQL Database to the Elastic Pool.
Parameters:
Returns:
creationDate
public abstract DateTime creationDate()
Returns:
databaseDtuMax
public abstract int databaseDtuMax()
Returns:
databaseDtuMin
public abstract int databaseDtuMin()
Returns:
delete
public abstract void delete()
Deletes this SQL Elastic Pool from the parent SQL server.
deleteAsync
public abstract Completable deleteAsync()
Deletes this SQL Elastic Pool asynchronously from the parent SQL server.
Returns:
dtu
public abstract int dtu()
Returns:
edition
public abstract ElasticPoolEdition edition()
Returns:
getDatabase
public abstract SqlDatabase getDatabase(String databaseName)
Gets the specific database in the elastic pool.
Parameters:
Returns:
listActivities
public abstract List
Returns:
listActivitiesAsync
public abstract Observable
Returns:
listDatabaseActivities
public abstract List
Returns:
listDatabaseActivitiesAsync
public abstract Observable
Returns:
listDatabaseMetricDefinitions
public abstract List
Lists the database metric definitions for this SQL Elastic Pool.
Returns:
listDatabaseMetricDefinitionsAsync
public abstract Observable
Asynchronously lists the database metric definitions for this SQL Elastic Pool.
Returns:
listDatabaseMetrics
public abstract List
Lists the database metrics for this SQL Elastic Pool.
Parameters:
Returns:
listDatabaseMetricsAsync
public abstract Observable
Asynchronously lists the database metrics for this SQL Elastic Pool.
Parameters:
Returns:
listDatabases
public abstract List
Lists the SQL databases in this SQL Elastic Pool.
Returns:
listDatabasesAsync
public abstract Observable
Asynchronously lists the SQL databases in this SQL Elastic Pool.
Returns:
parentId
public abstract String parentId()
Returns:
region
public abstract Region region()
Returns:
regionName
public abstract String regionName()
Returns:
removeDatabase
public abstract SqlDatabase removeDatabase(String databaseName)
Removes an existing SQL Database from the Elastic Pool.
Parameters:
Returns:
sqlServerName
public abstract String sqlServerName()
Returns:
state
public abstract ElasticPoolState state()
Returns:
storageCapacityInMB
public abstract int storageCapacityInMB()
Returns:
storageMB
public abstract int storageMB()
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för