ServiceObjectiveCapability Class

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

Implements

public final class ServiceObjectiveCapability
implements JsonSerializable<ServiceObjectiveCapability>

The service objectives capability.

Method Summary

Modifier and Type Method and Description
String computeModel()

Get the computeModel property: The compute model.

static ServiceObjectiveCapability fromJson(JsonReader jsonReader)

Reads an instance of ServiceObjectiveCapability from the JsonReader.

UUID id()

Get the id property: The unique ID of the service objective.

MaxSizeCapability includedMaxSize()

Get the includedMaxSize property: The included (free) max size.

String name()

Get the name property: The service objective name.

PerformanceLevelCapability performanceLevel()

Get the performanceLevel property: The performance level.

String reason()

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

Sku sku()

Get the sku property: The sku.

CapabilityStatus status()

Get the status property: The status of the capability.

AutoPauseDelayTimeRange supportedAutoPauseDelay()

Get the supportedAutoPauseDelay property: Supported time range for auto pause delay.

List<FreeLimitExhaustionBehaviorCapability> supportedFreeLimitExhaustionBehaviors()

Get the supportedFreeLimitExhaustionBehaviors property: List of supported free limit exhaustion behaviors.

List<LicenseTypeCapability> supportedLicenseTypes()

Get the supportedLicenseTypes property: List of supported license types.

List<MaintenanceConfigurationCapability> supportedMaintenanceConfigurations()

Get the supportedMaintenanceConfigurations property: List of supported maintenance configurations.

List<MaxSizeRangeCapability> supportedMaxSizes()

Get the supportedMaxSizes property: The list of supported maximum database sizes.

List<MinCapacityCapability> supportedMinCapacities()

Get the supportedMinCapacities property: List of supported min capacities.

List<ZonePinningCapability> supportedZones()

Get the supportedZones property: List of supported availability zones.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Boolean zonePinning()

Get the zonePinning property: Whether or not zone pinning is supported.

Boolean zoneRedundant()

Get the zoneRedundant property: Whether or not zone redundancy is supported for the service objective.

Methods inherited from java.lang.Object

Method Details

computeModel

public String computeModel()

Get the computeModel property: The compute model.

Returns:

the computeModel value.

fromJson

public static ServiceObjectiveCapability fromJson(JsonReader jsonReader)

Reads an instance of ServiceObjectiveCapability from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public UUID id()

Get the id property: The unique ID of the service objective.

Returns:

the id value.

includedMaxSize

public MaxSizeCapability includedMaxSize()

Get the includedMaxSize property: The included (free) max size.

Returns:

the includedMaxSize value.

name

public String name()

Get the name property: The service objective name.

Returns:

the name value.

performanceLevel

public PerformanceLevelCapability performanceLevel()

Get the performanceLevel property: The performance level.

Returns:

the performanceLevel value.

reason

public String reason()

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

Returns:

the reason value.

sku

public Sku sku()

Get the sku property: The sku.

Returns:

the sku value.

status

public CapabilityStatus status()

Get the status property: The status of the capability.

Returns:

the status value.

supportedAutoPauseDelay

public AutoPauseDelayTimeRange supportedAutoPauseDelay()

Get the supportedAutoPauseDelay property: Supported time range for auto pause delay.

Returns:

the supportedAutoPauseDelay value.

supportedFreeLimitExhaustionBehaviors

public List<FreeLimitExhaustionBehaviorCapability> supportedFreeLimitExhaustionBehaviors()

Get the supportedFreeLimitExhaustionBehaviors property: List of supported free limit exhaustion behaviors.

Returns:

the supportedFreeLimitExhaustionBehaviors value.

supportedLicenseTypes

public List<LicenseTypeCapability> supportedLicenseTypes()

Get the supportedLicenseTypes property: List of supported license types.

Returns:

the supportedLicenseTypes value.

supportedMaintenanceConfigurations

public List<MaintenanceConfigurationCapability> supportedMaintenanceConfigurations()

Get the supportedMaintenanceConfigurations property: List of supported maintenance configurations.

Returns:

the supportedMaintenanceConfigurations value.

supportedMaxSizes

public List<MaxSizeRangeCapability> supportedMaxSizes()

Get the supportedMaxSizes property: The list of supported maximum database sizes.

Returns:

the supportedMaxSizes value.

supportedMinCapacities

public List<MinCapacityCapability> supportedMinCapacities()

Get the supportedMinCapacities property: List of supported min capacities.

Returns:

the supportedMinCapacities value.

supportedZones

public List<ZonePinningCapability> supportedZones()

Get the supportedZones property: List of supported availability zones.

Returns:

the supportedZones value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

zonePinning

public Boolean zonePinning()

Get the zonePinning property: Whether or not zone pinning is supported.

Returns:

the zonePinning value.

zoneRedundant

public Boolean zoneRedundant()

Get the zoneRedundant property: Whether or not zone redundancy is supported for the service objective.

Returns:

the zoneRedundant value.

Applies to