ManagedInstanceVersionCapability Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. ManagedInstanceVersionCapability
- com.
Implements
public final class ManagedInstanceVersionCapability
implements JsonSerializable<ManagedInstanceVersionCapability>
The managed instance capability.
Constructor Summary
Constructor | Description |
---|---|
ManagedInstanceVersionCapability() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
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<Managed |
supportedEditions()
Get the supported |
List<Instance |
supportedInstancePoolEditions()
Get the supported |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Managed |
withReason(String reason)
Set the reason property: The reason for the capability not being available. |
Methods inherited from java.lang.Object
Constructor Details
ManagedInstanceVersionCapability
public ManagedInstanceVersionCapability()
Creates an instance of ManagedInstanceVersionCapability class.
Method Details
fromJson
public static ManagedInstanceVersionCapability fromJson(JsonReader jsonReader)
Reads an instance of ManagedInstanceVersionCapability 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
Get the supportedEditions property: The list of supported managed instance editions.
Returns:
supportedInstancePoolEditions
public List
Get the supportedInstancePoolEditions property: The list of supported instance pool editions.
Returns:
toJson
validate
public void validate()
Validates the instance.
withReason
public ManagedInstanceVersionCapability withReason(String reason)
Set the reason property: The reason for the capability not being available.
Parameters:
Returns:
Applies to
Azure SDK for Java