public final class ManagedInstanceVersionCapability extends Object
| Constructor and Description |
|---|
ManagedInstanceVersionCapability() |
| Modifier and Type | Method and Description |
|---|---|
String |
name()
Get the name property: The server version name.
|
String |
reason()
Get the reason property: The reason for the capability not being available.
|
CapabilityStatus |
status()
Get the status property: The status of the capability.
|
List<ManagedInstanceEditionCapability> |
supportedEditions()
Get the supportedEditions property: The list of supported managed instance editions.
|
List<InstancePoolEditionCapability> |
supportedInstancePoolEditions()
Get the supportedInstancePoolEditions property: The list of supported instance pool editions.
|
void |
validate()
Validates the instance.
|
ManagedInstanceVersionCapability |
withReason(String reason)
Set the reason property: The reason for the capability not being available.
|
public String name()
public List<ManagedInstanceEditionCapability> supportedEditions()
public List<InstancePoolEditionCapability> supportedInstancePoolEditions()
public CapabilityStatus status()
public String reason()
public ManagedInstanceVersionCapability withReason(String reason)
reason - the reason value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.