Interface RecommendedElasticPool

    • Method Detail

      • sqlServerName

        String sqlServerName()
        Returns:
        name of the SQL Server to which this database belongs
      • databaseEdition

        ElasticPoolEdition databaseEdition()
        Returns:
        the edition of the Azure SQL Recommended Elastic Pool. The ElasticPoolEditions enumeration contains all the valid editions. Possible values include: 'Basic', 'Standard', 'Premium'.
      • dtu

        double dtu()
        Returns:
        the DTU for the SQL Azure Recommended Elastic Pool.
      • databaseDtuMin

        double databaseDtuMin()
        Returns:
        the minimum DTU for the database.
      • databaseDtuMax

        double databaseDtuMax()
        Returns:
        the maximum DTU for the database.
      • storageMB

        double storageMB()
        Returns:
        storage size in megabytes.
      • observationPeriodStart

        OffsetDateTime observationPeriodStart()
        Returns:
        the observation period start (ISO8601 format).
      • observationPeriodEnd

        OffsetDateTime observationPeriodEnd()
        Returns:
        the observation period start (ISO8601 format).
      • maxObservedDtu

        double maxObservedDtu()
        Returns:
        maximum observed DTU.
      • maxObservedStorageMB

        double maxObservedStorageMB()
        Returns:
        maximum observed storage in megabytes.
      • databases

        List<TrackedResource> databases()
        Returns:
        the list of Azure SQL Databases in this pool. Expanded property.
      • listDatabases

        List<SqlDatabase> listDatabases()
        Fetches list of databases by making call to Azure.
        Returns:
        list of the databases in recommended elastic pool
      • listDatabasesAsync

        com.azure.core.http.rest.PagedFlux<SqlDatabase> listDatabasesAsync()
        Fetches list of databases by making call to Azure.
        Returns:
        a representation of the deferred computation of the databases in this recommended elastic pool
      • getDatabase

        SqlDatabase getDatabase​(String databaseName)
        Get a specific database in the recommended database.
        Parameters:
        databaseName - name of the database to be fetched
        Returns:
        information on the database recommended in recommended elastic pool
      • getDatabaseAsync

        Mono<SqlDatabase> getDatabaseAsync​(String databaseName)
        Get a specific database in the recommended database.
        Parameters:
        databaseName - name of the database to be fetched
        Returns:
        a representation of the deferred computation to get the database in the recommended elastic pool
      • listMetrics

        List<RecommendedElasticPoolMetric> listMetrics()
        Fetches list of metrics information by making call to Azure.
        Returns:
        list of the databases in recommended elastic pool