ElasticPoolPerDatabaseMinPerformanceLevelCapability Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. ElasticPoolPerDatabaseMinPerformanceLevelCapability
- com.
Implements
public final class ElasticPoolPerDatabaseMinPerformanceLevelCapability
implements JsonSerializable<ElasticPoolPerDatabaseMinPerformanceLevelCapability>
The minimum per-database performance level capability.
Constructor Summary
Constructor | Description |
---|---|
ElasticPoolPerDatabaseMinPerformanceLevelCapability() |
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 minimum 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. |
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
ElasticPoolPerDatabaseMinPerformanceLevelCapability
public ElasticPoolPerDatabaseMinPerformanceLevelCapability()
Creates an instance of ElasticPoolPerDatabaseMinPerformanceLevelCapability class.
Method Details
fromJson
public static ElasticPoolPerDatabaseMinPerformanceLevelCapability fromJson(JsonReader jsonReader)
Reads an instance of ElasticPoolPerDatabaseMinPerformanceLevelCapability from the JsonReader.
Parameters:
Returns:
Throws:
limit
public Double limit()
Get the limit property: The minimum 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:
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 ElasticPoolPerDatabaseMinPerformanceLevelCapability withReason(String reason)
Set the reason property: The reason for the capability not being available.
Parameters:
Returns:
Applies to
Azure SDK for Java