ManagedInstanceVcoresCapability Class

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

Implements

public final class ManagedInstanceVcoresCapability
implements JsonSerializable<ManagedInstanceVcoresCapability>

The managed instance virtual cores capability.

Constructor Summary

Constructor Description
ManagedInstanceVcoresCapability()

Creates an instance of ManagedInstanceVcoresCapability class.

Method Summary

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

Reads an instance of ManagedInstanceVcoresCapability from the JsonReader.

MaxSizeCapability includedMaxSize()

Get the includedMaxSize property: Included size.

Boolean instancePoolSupported()

Get the instancePoolSupported property: True if this service objective is supported for managed instances in an instance pool.

String name()

Get the name property: The virtual cores identifier.

String reason()

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

Boolean standaloneSupported()

Get the standaloneSupported property: True if this service objective is supported for standalone managed instances.

CapabilityStatus status()

Get the status property: The status of the capability.

List<ManagedInstanceMaintenanceConfigurationCapability> supportedMaintenanceConfigurations()

Get the supportedMaintenanceConfigurations property: List of supported maintenance configurations.

List<MaxSizeRangeCapability> supportedStorageSizes()

Get the supportedStorageSizes property: Storage size ranges.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Integer value()

Get the value property: The virtual cores value.

ManagedInstanceVcoresCapability withReason(String reason)

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

Methods inherited from java.lang.Object

Constructor Details

ManagedInstanceVcoresCapability

public ManagedInstanceVcoresCapability()

Creates an instance of ManagedInstanceVcoresCapability class.

Method Details

fromJson

public static ManagedInstanceVcoresCapability fromJson(JsonReader jsonReader)

Reads an instance of ManagedInstanceVcoresCapability from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ManagedInstanceVcoresCapability 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 ManagedInstanceVcoresCapability.

includedMaxSize

public MaxSizeCapability includedMaxSize()

Get the includedMaxSize property: Included size.

Returns:

the includedMaxSize value.

instancePoolSupported

public Boolean instancePoolSupported()

Get the instancePoolSupported property: True if this service objective is supported for managed instances in an instance pool.

Returns:

the instancePoolSupported value.

name

public String name()

Get the name property: The virtual cores identifier.

Returns:

the name value.

reason

public String reason()

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

Returns:

the reason value.

standaloneSupported

public Boolean standaloneSupported()

Get the standaloneSupported property: True if this service objective is supported for standalone managed instances.

Returns:

the standaloneSupported value.

status

public CapabilityStatus status()

Get the status property: The status of the capability.

Returns:

the status value.

supportedMaintenanceConfigurations

public List supportedMaintenanceConfigurations()

Get the supportedMaintenanceConfigurations property: List of supported maintenance configurations.

Returns:

the supportedMaintenanceConfigurations value.

supportedStorageSizes

public List supportedStorageSizes()

Get the supportedStorageSizes property: Storage size ranges.

Returns:

the supportedStorageSizes value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public Integer value()

Get the value property: The virtual cores value.

Returns:

the value value.

withReason

public ManagedInstanceVcoresCapability withReason(String reason)

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

Parameters:

reason - the reason value to set.

Returns:

the ManagedInstanceVcoresCapability object itself.

Applies to