Class RecommendedElasticPoolInner


  • public class RecommendedElasticPoolInner
    extends com.azure.core.management.ProxyResource
    Represents a recommended elastic pool.
    • Constructor Detail

      • RecommendedElasticPoolInner

        public RecommendedElasticPoolInner()
    • Method Detail

      • databaseEdition

        public ElasticPoolEdition databaseEdition()
        Get the databaseEdition property: The edition of the recommended elastic pool. The ElasticPoolEdition enumeration contains all the valid editions.
        Returns:
        the databaseEdition value.
      • dtu

        public Double dtu()
        Get the dtu property: The DTU for the recommended elastic pool.
        Returns:
        the dtu value.
      • withDtu

        public RecommendedElasticPoolInner withDtu​(Double dtu)
        Set the dtu property: The DTU for the recommended elastic pool.
        Parameters:
        dtu - the dtu value to set.
        Returns:
        the RecommendedElasticPoolInner object itself.
      • databaseDtuMin

        public Double databaseDtuMin()
        Get the databaseDtuMin property: The minimum DTU for the database.
        Returns:
        the databaseDtuMin value.
      • withDatabaseDtuMin

        public RecommendedElasticPoolInner withDatabaseDtuMin​(Double databaseDtuMin)
        Set the databaseDtuMin property: The minimum DTU for the database.
        Parameters:
        databaseDtuMin - the databaseDtuMin value to set.
        Returns:
        the RecommendedElasticPoolInner object itself.
      • databaseDtuMax

        public Double databaseDtuMax()
        Get the databaseDtuMax property: The maximum DTU for the database.
        Returns:
        the databaseDtuMax value.
      • withDatabaseDtuMax

        public RecommendedElasticPoolInner withDatabaseDtuMax​(Double databaseDtuMax)
        Set the databaseDtuMax property: The maximum DTU for the database.
        Parameters:
        databaseDtuMax - the databaseDtuMax value to set.
        Returns:
        the RecommendedElasticPoolInner object itself.
      • storageMB

        public Double storageMB()
        Get the storageMB property: Gets storage size in megabytes.
        Returns:
        the storageMB value.
      • withStorageMB

        public RecommendedElasticPoolInner withStorageMB​(Double storageMB)
        Set the storageMB property: Gets storage size in megabytes.
        Parameters:
        storageMB - the storageMB value to set.
        Returns:
        the RecommendedElasticPoolInner object itself.
      • observationPeriodStart

        public OffsetDateTime observationPeriodStart()
        Get the observationPeriodStart property: The observation period start (ISO8601 format).
        Returns:
        the observationPeriodStart value.
      • observationPeriodEnd

        public OffsetDateTime observationPeriodEnd()
        Get the observationPeriodEnd property: The observation period start (ISO8601 format).
        Returns:
        the observationPeriodEnd value.
      • maxObservedDtu

        public Double maxObservedDtu()
        Get the maxObservedDtu property: Gets maximum observed DTU.
        Returns:
        the maxObservedDtu value.
      • maxObservedStorageMB

        public Double maxObservedStorageMB()
        Get the maxObservedStorageMB property: Gets maximum observed storage in megabytes.
        Returns:
        the maxObservedStorageMB value.
      • databases

        public List<TrackedResource> databases()
        Get the databases property: The list of databases in this pool. Expanded property.
        Returns:
        the databases value.
      • metrics

        public List<RecommendedElasticPoolMetricInner> metrics()
        Get the metrics property: The list of databases housed in the server. Expanded property.
        Returns:
        the metrics value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.