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.
  • Method Details

    • sqlServerName

      String sqlServerName()
      Returns:
      name of the SQL Server to which this elastic pool belongs
    • creationDate

      org.joda.time.DateTime creationDate()
      Returns:
      the creation date of the Azure SQL Elastic Pool
    • state

      Returns:
      the state of the Azure SQL Elastic Pool
    • edition

      Returns:
      the edition of Azure SQL Elastic Pool
    • dtu

      int dtu()
      Returns:
      The total shared DTU for the SQL Azure Database Elastic Pool
    • databaseDtuMax

      int databaseDtuMax()
      Returns:
      the maximum DTU any one SQL Azure database can consume.
    • databaseDtuMin

      int databaseDtuMin()
      Returns:
      the minimum DTU all SQL Azure Databases are guaranteed
    • storageMB

      @Deprecated int storageMB()
      Deprecated.
      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

      @Beta(V1_7_0) String parentId()
      Returns:
      the parent SQL server ID
    • regionName

      @Beta(V1_7_0) String regionName()
      Returns:
      the name of the region the resource is in
    • region

      @Beta(V1_7_0) Region region()
      Returns:
      the region the resource is in
    • listActivities

      List<ElasticPoolActivity> listActivities()
      Returns:
      the information about elastic pool activities
    • listActivitiesAsync

      @Beta(V1_7_0) rx.Observable<ElasticPoolActivity> listActivitiesAsync()
      Returns:
      a representation of the deferred computation of the information about elastic pool activities
    • listDatabaseActivities

      List<ElasticPoolDatabaseActivity> listDatabaseActivities()
      Returns:
      the information about elastic pool database activities
    • listDatabaseActivitiesAsync

      @Beta(V1_7_0) rx.Observable<ElasticPoolDatabaseActivity> listDatabaseActivitiesAsync()
      Returns:
      the information about elastic pool database activities
    • listDatabaseMetrics

      @Beta(V1_7_0) List<SqlDatabaseMetric> listDatabaseMetrics(String filter)
      Lists 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
    • listDatabaseMetricsAsync

      @Beta(V1_7_0) rx.Observable<SqlDatabaseMetric> listDatabaseMetricsAsync(String filter)
      Asynchronously 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
    • listDatabaseMetricDefinitions

      @Beta(V1_7_0) List<SqlDatabaseMetricDefinition> listDatabaseMetricDefinitions()
      Lists the database metric definitions for this SQL Elastic Pool.
      Returns:
      the elastic pool's metric definitions
    • listDatabaseMetricDefinitionsAsync

      @Beta(V1_7_0) rx.Observable<SqlDatabaseMetricDefinition> listDatabaseMetricDefinitionsAsync()
      Asynchronously lists the database metric definitions for this SQL Elastic Pool.
      Returns:
      a representation of the deferred computation of this call
    • listDatabases

      List<SqlDatabase> listDatabases()
      Lists the SQL databases in this SQL Elastic Pool.
      Returns:
      the information about databases in elastic pool
    • listDatabasesAsync

      @Beta(V1_7_0) rx.Observable<SqlDatabase> listDatabasesAsync()
      Asynchronously lists the SQL databases in this SQL Elastic Pool.
      Returns:
      a representation of the deferred computation of this call
    • getDatabase

      SqlDatabase getDatabase(String databaseName)
      Gets 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
    • addNewDatabase

      @Beta(V1_7_0) SqlDatabase addNewDatabase(String databaseName)
      Adds a new SQL Database to the Elastic Pool.
      Parameters:
      databaseName - name of the database
      Returns:
      the database
    • addExistingDatabase

      @Beta(V1_7_0) SqlDatabase addExistingDatabase(String databaseName)
      Adds an existing SQL Database to the Elastic Pool.
      Parameters:
      databaseName - name of the database
      Returns:
      the database
    • addExistingDatabase

      @Beta(V1_7_0) SqlDatabase addExistingDatabase(SqlDatabase database)
      Adds an existing SQL Database to the Elastic Pool.
      Parameters:
      database - the database to be added
      Returns:
      the database
    • removeDatabase

      @Beta(V1_7_0) SqlDatabase removeDatabase(String databaseName)
      Removes an existing SQL Database from the Elastic Pool.
      Parameters:
      databaseName - name of the database
      Returns:
      the database
    • delete

      void delete()
      Deletes this SQL Elastic Pool from the parent SQL server.
    • deleteAsync

      rx.Completable deleteAsync()
      Deletes this SQL Elastic Pool asynchronously from the parent SQL server.
      Returns:
      a representation of the deferred computation of this call