ManagedInstanceFamilyCapability Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. ManagedInstanceFamilyCapability
- com.
Implements
public final class ManagedInstanceFamilyCapability
implements JsonSerializable<ManagedInstanceFamilyCapability>
The managed server family capability.
Constructor Summary
Constructor | Description |
---|---|
ManagedInstanceFamilyCapability() |
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: Family name. |
String |
reason()
Get the reason property: The reason for the capability not being available. |
String |
sku()
Get the sku property: SKU name. |
Capability |
status()
Get the status property: The status of the capability. |
List<License |
supportedLicenseTypes()
Get the supported |
List<Managed |
supportedVcoresValues()
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
ManagedInstanceFamilyCapability
public ManagedInstanceFamilyCapability()
Creates an instance of ManagedInstanceFamilyCapability class.
Method Details
fromJson
public static ManagedInstanceFamilyCapability fromJson(JsonReader jsonReader)
Reads an instance of ManagedInstanceFamilyCapability from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Family name.
Returns:
reason
public String reason()
Get the reason property: The reason for the capability not being available.
Returns:
sku
public String sku()
Get the sku property: SKU name.
Returns:
status
public CapabilityStatus status()
Get the status property: The status of the capability.
Returns:
supportedLicenseTypes
public List
Get the supportedLicenseTypes property: List of supported license types.
Returns:
supportedVcoresValues
public List
Get the supportedVcoresValues property: List of supported virtual cores values.
Returns:
toJson
validate
public void validate()
Validates the instance.
withReason
public ManagedInstanceFamilyCapability withReason(String reason)
Set the reason property: The reason for the capability not being available.
Parameters:
Returns:
Applies to
Azure SDK for Java