Interface SqlElasticPool

All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.arm.models.ChildResource<SqlServer>, com.azure.resourcemanager.resources.fluentcore.arm.models.ExternalChildResource<SqlElasticPool, SqlServer>, com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<ElasticPoolInner>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasName, com.azure.resourcemanager.resources.fluentcore.arm.models.HasParent<SqlServer>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup, com.azure.resourcemanager.resources.fluentcore.model.Indexable, com.azure.resourcemanager.resources.fluentcore.model.Refreshable<SqlElasticPool>, com.azure.resourcemanager.resources.fluentcore.model.Updatable<SqlElasticPool.Update>

public interface SqlElasticPool extends com.azure.resourcemanager.resources.fluentcore.arm.models.ExternalChildResource<SqlElasticPool, SqlServer>, com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<ElasticPoolInner>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup, com.azure.resourcemanager.resources.fluentcore.model.Refreshable<SqlElasticPool>, com.azure.resourcemanager.resources.fluentcore.model.Updatable<SqlElasticPool.Update>
An immutable client-side representation of an Azure SQL Elastic Pool.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Grouping of all the storage account definition stages.
    static interface 
    Container interface for all the definitions that need to be implemented.
    static interface 
    The template for a SQL Elastic Pool update operation, containing all the settings that can be modified.
    static interface 
    Grouping of all the SQL Elastic Pool update stages.
  • Method Summary

    Modifier and Type
    Method
    Description
    Adds an existing SQL Database to the Elastic Pool.
    Adds an existing SQL Database to the Elastic Pool.
    addNewDatabase(String databaseName)
    Adds a new SQL Database to the Elastic Pool.
    Gets the creation date of the Azure SQL Elastic Pool.
    Gets the maximum DTU any one SQL Azure database can consume.
    Gets the minimum DTU all SQL Azure Databases are guaranteed.
    void
    Deletes this SQL Elastic Pool from the parent SQL server.
    Deletes this SQL Elastic Pool asynchronously from the parent SQL server.
    int
    dtu()
    Gets the total shared DTU for the SQL Azure Database Elastic Pool.
    Gets the edition of Azure SQL Elastic Pool.
    getDatabase(String databaseName)
    Gets the specific database in the elastic pool.
    Gets the information about elastic pool activities.
    com.azure.core.http.rest.PagedFlux<ElasticPoolActivity>
    Gets a representation of the deferred computation of the information about elastic pool activities.
    Lists the SQL databases in this SQL Elastic Pool.
    com.azure.core.http.rest.PagedFlux<SqlDatabase>
    Asynchronously lists the SQL databases in this SQL Elastic Pool.
    Gets the parent SQL server ID.
    com.azure.core.management.Region
    Gets the region the resource is in.
    Gets the name of the region the resource is in.
    removeDatabase(String databaseName)
    Removes an existing SQL Database from the Elastic Pool.
    Gets name of the SQL Server to which this elastic pool belongs.
    Gets the state of the Azure SQL Elastic Pool.
    Gets the storage capacity limit for the SQL Azure Database Elastic Pool in Bytes.

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.ExternalChildResource

    id

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel

    innerModel

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName

    name

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasParent

    parent

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup

    resourceGroupName

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Indexable

    key

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable

    refresh, refreshAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Updatable

    update
  • Method Details

    • sqlServerName

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

      OffsetDateTime creationDate()
      Gets the creation date of the Azure SQL Elastic Pool.
      Returns:
      the creation date of the Azure SQL Elastic Pool
    • state

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

      Gets the edition of Azure SQL Elastic Pool.
      Returns:
      the edition of Azure SQL Elastic Pool
    • dtu

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

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

      Double databaseDtuMin()
      Gets the minimum DTU all SQL Azure Databases are guaranteed.
      Returns:
      the minimum DTU all SQL Azure Databases are guaranteed
    • storageCapacity

      Long storageCapacity()
      Gets the storage capacity limit for the SQL Azure Database Elastic Pool in Bytes.
      Returns:
      the storage capacity limit for the SQL Azure Database Elastic Pool in Bytes
    • parentId

      String parentId()
      Gets the parent SQL server ID.
      Returns:
      the parent SQL server ID
    • regionName

      String regionName()
      Gets the name of the region the resource is in.
      Returns:
      the name of the region the resource is in
    • region

      com.azure.core.management.Region region()
      Gets the region the resource is in.
      Returns:
      the region the resource is in
    • listActivities

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

      com.azure.core.http.rest.PagedFlux<ElasticPoolActivity> listActivitiesAsync()
      Gets a representation of the deferred computation of the information about elastic pool activities.
      Returns:
      a representation of the deferred computation of the information about elastic pool activities
    • listDatabases

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

      com.azure.core.http.rest.PagedFlux<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

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

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

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

      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

      Mono<Void> deleteAsync()
      Deletes this SQL Elastic Pool asynchronously from the parent SQL server.
      Returns:
      a representation of the deferred computation of this call