ManagedInstanceEditionCapability Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. ManagedInstanceEditionCapability
- com.
Implements
public final class ManagedInstanceEditionCapability
implements JsonSerializable<ManagedInstanceEditionCapability>
The managed server capability.
Constructor Summary
Constructor | Description |
---|---|
ManagedInstanceEditionCapability() |
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 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. |
Managed |
withReason(String reason)
Set the reason property: The reason for the capability not being available. |
Boolean |
zoneRedundant()
Get the zone |
Methods inherited from java.lang.Object
Constructor Details
ManagedInstanceEditionCapability
public ManagedInstanceEditionCapability()
Creates an instance of ManagedInstanceEditionCapability class.
Method Details
fromJson
public static ManagedInstanceEditionCapability fromJson(JsonReader jsonReader)
Reads an instance of ManagedInstanceEditionCapability from the JsonReader.
Parameters:
Returns:
Throws:
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
Get the supportedFamilies property: The supported families.
Returns:
supportedStorageCapabilities
public List
Get the supportedStorageCapabilities property: The list of supported storage capabilities for this edition.
Returns:
toJson
validate
public void validate()
Validates the instance.
withReason
public ManagedInstanceEditionCapability withReason(String reason)
Set the reason property: The reason for the capability not being available.
Parameters:
Returns:
zoneRedundant
public Boolean zoneRedundant()
Get the zoneRedundant property: Whether or not zone redundancy is supported for the edition.
Returns:
Applies to
Azure SDK for Java