Class ElasticPoolPerformanceLevelCapability


  • public final class ElasticPoolPerformanceLevelCapability
    extends Object
    The Elastic Pool performance level capability.
    • Constructor Detail

      • ElasticPoolPerformanceLevelCapability

        public ElasticPoolPerformanceLevelCapability()
    • Method Detail

      • performanceLevel

        public PerformanceLevelCapability performanceLevel()
        Get the performanceLevel property: The performance level for the pool.
        Returns:
        the performanceLevel value.
      • sku

        public Sku sku()
        Get the sku property: The sku.
        Returns:
        the sku value.
      • supportedLicenseTypes

        public List<LicenseTypeCapability> supportedLicenseTypes()
        Get the supportedLicenseTypes property: List of supported license types.
        Returns:
        the supportedLicenseTypes value.
      • maxDatabaseCount

        public Integer maxDatabaseCount()
        Get the maxDatabaseCount property: The maximum number of databases supported.
        Returns:
        the maxDatabaseCount value.
      • includedMaxSize

        public MaxSizeCapability includedMaxSize()
        Get the includedMaxSize property: The included (free) max size for this performance level.
        Returns:
        the includedMaxSize value.
      • supportedMaxSizes

        public List<MaxSizeRangeCapability> supportedMaxSizes()
        Get the supportedMaxSizes property: The list of supported max sizes.
        Returns:
        the supportedMaxSizes value.
      • supportedPerDatabaseMaxSizes

        public List<MaxSizeRangeCapability> supportedPerDatabaseMaxSizes()
        Get the supportedPerDatabaseMaxSizes property: The list of supported per database max sizes.
        Returns:
        the supportedPerDatabaseMaxSizes value.
      • supportedPerDatabaseMaxPerformanceLevels

        public List<ElasticPoolPerDatabaseMaxPerformanceLevelCapability> supportedPerDatabaseMaxPerformanceLevels()
        Get the supportedPerDatabaseMaxPerformanceLevels property: The list of supported per database max performance levels.
        Returns:
        the supportedPerDatabaseMaxPerformanceLevels value.
      • zoneRedundant

        public Boolean zoneRedundant()
        Get the zoneRedundant property: Whether or not zone redundancy is supported for the performance level.
        Returns:
        the zoneRedundant value.
      • status

        public CapabilityStatus status()
        Get the status property: The status of the capability.
        Returns:
        the status value.
      • reason

        public String reason()
        Get the reason property: The reason for the capability not being available.
        Returns:
        the reason value.
      • withReason

        public ElasticPoolPerformanceLevelCapability withReason​(String reason)
        Set the reason property: The reason for the capability not being available.
        Parameters:
        reason - the reason value to set.
        Returns:
        the ElasticPoolPerformanceLevelCapability object itself.
      • validate

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