Class ElasticPoolPerformanceLevelCapability

java.lang.Object
com.azure.resourcemanager.sql.models.ElasticPoolPerformanceLevelCapability
All Implemented Interfaces:
com.azure.json.JsonSerializable<ElasticPoolPerformanceLevelCapability>

public final class ElasticPoolPerformanceLevelCapability extends Object implements com.azure.json.JsonSerializable<ElasticPoolPerformanceLevelCapability>
The Elastic Pool performance level capability.
  • Constructor Details

    • ElasticPoolPerformanceLevelCapability

      public ElasticPoolPerformanceLevelCapability()
      Creates an instance of ElasticPoolPerformanceLevelCapability class.
  • Method Details

    • 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.
    • supportedMaintenanceConfigurations

      public List<MaintenanceConfigurationCapability> supportedMaintenanceConfigurations()
      Get the supportedMaintenanceConfigurations property: List of supported maintenance configurations.
      Returns:
      the supportedMaintenanceConfigurations 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.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ElasticPoolPerformanceLevelCapability>
      Throws:
      IOException
    • fromJson

      public static ElasticPoolPerformanceLevelCapability fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ElasticPoolPerformanceLevelCapability from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ElasticPoolPerformanceLevelCapability if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the ElasticPoolPerformanceLevelCapability.