ManagedInstanceEditionCapability Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. ManagedInstanceEditionCapability
- com.
Implements
public final class ManagedInstanceEditionCapability
implements JsonSerializable<ManagedInstanceEditionCapability>
The managed server capability.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
| Boolean |
isGeneralPurposeV2()
Get the is |
| String |
name()
Get the name property: The managed 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 |
supportedFamilies()
Get the supported |
|
List<Storage |
supportedStorageCapabilities()
Get the supported |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
fromJson
public static ManagedInstanceEditionCapability fromJson(JsonReader jsonReader)
Reads an instance of ManagedInstanceEditionCapability from the JsonReader.
Parameters:
Returns:
Throws:
isGeneralPurposeV2
public Boolean isGeneralPurposeV2()
Get the isGeneralPurposeV2 property: Whether or not this is a GPv2 variant of General Purpose edition.
Returns:
name
public String name()
Get the name property: The managed 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:
supportedFamilies
public List<ManagedInstanceFamilyCapability> supportedFamilies()
Get the supportedFamilies property: The supported families.
Returns:
supportedStorageCapabilities
public List<StorageCapability> supportedStorageCapabilities()
Get the supportedStorageCapabilities property: The list of supported storage capabilities for this edition.
Returns:
toJson
validate
public void validate()
Validates the instance.