ManagedInstanceFamilyCapability Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.models.ManagedInstanceFamilyCapability

Implements

public final class ManagedInstanceFamilyCapability
implements JsonSerializable<ManagedInstanceFamilyCapability>

The managed server family capability.

Constructor Summary

Constructor Description
ManagedInstanceFamilyCapability()

Creates an instance of ManagedInstanceFamilyCapability class.

Method Summary

Modifier and Type Method and Description
static ManagedInstanceFamilyCapability fromJson(JsonReader jsonReader)

Reads an instance of ManagedInstanceFamilyCapability from the JsonReader.

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.

CapabilityStatus status()

Get the status property: The status of the capability.

List<LicenseTypeCapability> supportedLicenseTypes()

Get the supportedLicenseTypes property: List of supported license types.

List<ManagedInstanceVcoresCapability> supportedVcoresValues()

Get the supportedVcoresValues property: List of supported virtual cores values.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ManagedInstanceFamilyCapability 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:

jsonReader - The JsonReader being read.

Returns:

An instance of ManagedInstanceFamilyCapability if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ManagedInstanceFamilyCapability.

name

public String name()

Get the name property: Family name.

Returns:

the name value.

reason

public String reason()

Get the reason property: The reason for the capability not being available.

Returns:

the reason value.

sku

public String sku()

Get the sku property: SKU name.

Returns:

the sku value.

status

public CapabilityStatus status()

Get the status property: The status of the capability.

Returns:

the status value.

supportedLicenseTypes

public List supportedLicenseTypes()

Get the supportedLicenseTypes property: List of supported license types.

Returns:

the supportedLicenseTypes value.

supportedVcoresValues

public List supportedVcoresValues()

Get the supportedVcoresValues property: List of supported virtual cores values.

Returns:

the supportedVcoresValues value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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:

reason - the reason value to set.

Returns:

the ManagedInstanceFamilyCapability object itself.

Applies to