ElasticPoolPerformanceLevelCapability Class

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

Implements

public final class ElasticPoolPerformanceLevelCapability
implements JsonSerializable<ElasticPoolPerformanceLevelCapability>

The Elastic Pool performance level capability.

Method Summary

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

Reads an instance of ElasticPoolPerformanceLevelCapability from the JsonReader.

MaxSizeCapability includedMaxSize()

Get the includedMaxSize property: The included (free) max size for this performance level.

Integer maxDatabaseCount()

Get the maxDatabaseCount property: The maximum number of databases supported.

PerformanceLevelCapability performanceLevel()

Get the performanceLevel property: The performance level for the pool.

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<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 max sizes.

List<MinCapacityCapability> supportedMinCapacities()

Get the supportedMinCapacities property: List of supported min capacities.

PerDatabaseAutoPauseDelayTimeRange supportedPerDatabaseAutoPauseDelay()

Get the supportedPerDatabaseAutoPauseDelay property: Supported time range for per database auto pause delay.

List<ElasticPoolPerDatabaseMaxPerformanceLevelCapability> supportedPerDatabaseMaxPerformanceLevels()

Get the supportedPerDatabaseMaxPerformanceLevels property: The list of supported per database max performance levels.

List<MaxSizeRangeCapability> supportedPerDatabaseMaxSizes()

Get the supportedPerDatabaseMaxSizes property: The list of supported per database max sizes.

List<ZonePinningCapability> supportedZones()

Get the supportedZones property: List of supported availability zones.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Boolean zoneRedundant()

Get the zoneRedundant property: Whether or not zone redundancy is supported for the performance level.

Methods inherited from java.lang.Object

Method Details

fromJson

public static ElasticPoolPerformanceLevelCapability fromJson(JsonReader jsonReader)

Reads an instance of ElasticPoolPerformanceLevelCapability from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

includedMaxSize

public MaxSizeCapability includedMaxSize()

Get the includedMaxSize property: The included (free) max size for this performance level.

Returns:

the includedMaxSize value.

maxDatabaseCount

public Integer maxDatabaseCount()

Get the maxDatabaseCount property: The maximum number of databases supported.

Returns:

the maxDatabaseCount value.

performanceLevel

public PerformanceLevelCapability performanceLevel()

Get the performanceLevel property: The performance level for the pool.

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.

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 max sizes.

Returns:

the supportedMaxSizes value.

supportedMinCapacities

public List<MinCapacityCapability> supportedMinCapacities()

Get the supportedMinCapacities property: List of supported min capacities.

Returns:

the supportedMinCapacities value.

supportedPerDatabaseAutoPauseDelay

public PerDatabaseAutoPauseDelayTimeRange supportedPerDatabaseAutoPauseDelay()

Get the supportedPerDatabaseAutoPauseDelay property: Supported time range for per database auto pause delay.

Returns:

the supportedPerDatabaseAutoPauseDelay value.

supportedPerDatabaseMaxPerformanceLevels

public List<ElasticPoolPerDatabaseMaxPerformanceLevelCapability> supportedPerDatabaseMaxPerformanceLevels()

Get the supportedPerDatabaseMaxPerformanceLevels property: The list of supported per database max performance levels.

Returns:

the supportedPerDatabaseMaxPerformanceLevels value.

supportedPerDatabaseMaxSizes

public List<MaxSizeRangeCapability> supportedPerDatabaseMaxSizes()

Get the supportedPerDatabaseMaxSizes property: The list of supported per database max sizes.

Returns:

the supportedPerDatabaseMaxSizes 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.

zoneRedundant

public Boolean zoneRedundant()

Get the zoneRedundant property: Whether or not zone redundancy is supported for the performance level.

Returns:

the zoneRedundant value.

Applies to