ServerVersionCapability Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. ServerVersionCapability
- com.
Implements
public final class ServerVersionCapability
implements JsonSerializable<ServerVersionCapability>
The server capability.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Server |
fromJson(JsonReader jsonReader)
Reads an instance of Server |
| String |
name()
Get the name property: The server version name. |
| 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<Edition |
supportedEditions()
Get the supported |
|
List<Elastic |
supportedElasticPoolEditions()
Get the supported |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
fromJson
public static ServerVersionCapability fromJson(JsonReader jsonReader)
Reads an instance of ServerVersionCapability from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The server version name.
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:
supportedEditions
public List<EditionCapability> supportedEditions()
Get the supportedEditions property: The list of supported database editions.
Returns:
supportedElasticPoolEditions
public List<ElasticPoolEditionCapability> supportedElasticPoolEditions()
Get the supportedElasticPoolEditions property: The list of supported elastic pool editions.
Returns:
toJson
validate
public void validate()
Validates the instance.