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 Summary
ConstructorsConstructorDescriptionCreates an instance of ElasticPoolPerformanceLevelCapability class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ElasticPoolPerformanceLevelCapability from the JsonReader.Get the includedMaxSize property: The included (free) max size for this performance level.Get the maxDatabaseCount property: The maximum number of databases supported.Get the performanceLevel property: The performance level for the pool.reason()Get the reason property: The reason for the capability not being available.sku()Get the sku property: The sku.status()Get the status property: The status of the capability.Get the supportedLicenseTypes property: List of supported license types.Get the supportedMaintenanceConfigurations property: List of supported maintenance configurations.Get the supportedMaxSizes property: The list of supported max sizes.Get the supportedPerDatabaseMaxPerformanceLevels property: The list of supported per database max performance levels.Get the supportedPerDatabaseMaxSizes property: The list of supported per database max sizes.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withReason(String reason) Set the reason property: The reason for the capability not being available.Get the zoneRedundant property: Whether or not zone redundancy is supported for the performance level.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ElasticPoolPerformanceLevelCapability
public ElasticPoolPerformanceLevelCapability()Creates an instance of ElasticPoolPerformanceLevelCapability class.
-
-
Method Details
-
performanceLevel
Get the performanceLevel property: The performance level for the pool.- Returns:
- the performanceLevel value.
-
sku
-
supportedLicenseTypes
Get the supportedLicenseTypes property: List of supported license types.- Returns:
- the supportedLicenseTypes value.
-
maxDatabaseCount
Get the maxDatabaseCount property: The maximum number of databases supported.- Returns:
- the maxDatabaseCount value.
-
includedMaxSize
Get the includedMaxSize property: The included (free) max size for this performance level.- Returns:
- the includedMaxSize value.
-
supportedMaxSizes
Get the supportedMaxSizes property: The list of supported max sizes.- Returns:
- the supportedMaxSizes value.
-
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
Get the zoneRedundant property: Whether or not zone redundancy is supported for the performance level.- Returns:
- the zoneRedundant value.
-
supportedMaintenanceConfigurations
Get the supportedMaintenanceConfigurations property: List of supported maintenance configurations.- Returns:
- the supportedMaintenanceConfigurations value.
-
status
Get the status property: The status of the capability.- Returns:
- the status value.
-
reason
Get the reason property: The reason for the capability not being available.- Returns:
- the reason value.
-
withReason
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
- Specified by:
toJsonin interfacecom.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.
-