ReadScaleCapability Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. ReadScaleCapability
- com.
Implements
public final class ReadScaleCapability
implements JsonSerializable<ReadScaleCapability>
The read scale capability.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Read |
fromJson(JsonReader jsonReader)
Reads an instance of Read |
| Integer |
maxNumberOfReplicas()
Get the max |
| 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) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
fromJson
public static ReadScaleCapability fromJson(JsonReader jsonReader)
Reads an instance of ReadScaleCapability from the JsonReader.
Parameters:
Returns:
Throws:
maxNumberOfReplicas
public Integer maxNumberOfReplicas()
Get the maxNumberOfReplicas property: The maximum number of read scale replicas.
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
validate
public void validate()
Validates the instance.