ElasticPoolPerDatabaseMaxPerformanceLevelCapability Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. ElasticPoolPerDatabaseMaxPerformanceLevelCapability
- com.
Implements
public final class ElasticPoolPerDatabaseMaxPerformanceLevelCapability
implements JsonSerializable<ElasticPoolPerDatabaseMaxPerformanceLevelCapability>
The max per-database performance level capability.
Constructor Summary
Constructor | Description |
---|---|
ElasticPoolPerDatabaseMaxPerformanceLevelCapability() |
Creates an instance of Elastic |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Elastic |
fromJson(JsonReader jsonReader)
Reads an instance of Elastic |
Double |
limit()
Get the limit property: The maximum performance level per database. |
String |
reason()
Get the reason property: The reason for the capability not being available. |
Capability |
status()
Get the status property: The status of the capability. |
List<Elastic |
supportedPerDatabaseMinPerformanceLevels()
Get the supported |
Json |
toJson(JsonWriter jsonWriter) |
Performance |
unit()
Get the unit property: Unit type used to measure performance level. |
void |
validate()
Validates the instance. |
Elastic |
withReason(String reason)
Set the reason property: The reason for the capability not being available. |
Methods inherited from java.lang.Object
Constructor Details
ElasticPoolPerDatabaseMaxPerformanceLevelCapability
public ElasticPoolPerDatabaseMaxPerformanceLevelCapability()
Creates an instance of ElasticPoolPerDatabaseMaxPerformanceLevelCapability class.
Method Details
fromJson
public static ElasticPoolPerDatabaseMaxPerformanceLevelCapability fromJson(JsonReader jsonReader)
Reads an instance of ElasticPoolPerDatabaseMaxPerformanceLevelCapability from the JsonReader.
Parameters:
Returns:
Throws:
limit
public Double limit()
Get the limit property: The maximum performance level per database.
Returns:
reason
public String reason()
Get the reason property: The reason for the capability not being available.
Returns:
status
public CapabilityStatus status()
Get the status property: The status of the capability.
Returns:
supportedPerDatabaseMinPerformanceLevels
public List
Get the supportedPerDatabaseMinPerformanceLevels property: The list of supported min database performance levels.
Returns:
toJson
unit
public PerformanceLevelUnit unit()
Get the unit property: Unit type used to measure performance level.
Returns:
validate
public void validate()
Validates the instance.
withReason
public ElasticPoolPerDatabaseMaxPerformanceLevelCapability withReason(String reason)
Set the reason property: The reason for the capability not being available.
Parameters:
Returns:
Applies to
Azure SDK for Java