Partager via


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.

Constructor Summary

Constructor Description
ElasticPoolPerformanceLevelCapability()

Creates an instance of ElasticPoolPerformanceLevelCapability class.

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.

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ElasticPoolPerformanceLevelCapability withReason(String reason)

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

Boolean zoneRedundant()

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

Methods inherited from java.lang.Object

Constructor Details

ElasticPoolPerformanceLevelCapability

public ElasticPoolPerformanceLevelCapability()

Creates an instance of ElasticPoolPerformanceLevelCapability class.

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.

supportedLicenseTypes

public List supportedLicenseTypes()

Get the supportedLicenseTypes property: List of supported license types.

Returns:

the supportedLicenseTypes value.

supportedMaintenanceConfigurations

public List supportedMaintenanceConfigurations()

Get the supportedMaintenanceConfigurations property: List of supported maintenance configurations.

Returns:

the supportedMaintenanceConfigurations value.

supportedMaxSizes

public List supportedMaxSizes()

Get the supportedMaxSizes property: The list of supported max sizes.

Returns:

the supportedMaxSizes value.

supportedPerDatabaseMaxPerformanceLevels

public List supportedPerDatabaseMaxPerformanceLevels()

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

Returns:

the supportedPerDatabaseMaxPerformanceLevels value.

supportedPerDatabaseMaxSizes

public List supportedPerDatabaseMaxSizes()

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

Returns:

the supportedPerDatabaseMaxSizes value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withReason

public ElasticPoolPerformanceLevelCapability withReason(String reason)

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

Parameters:

reason - the reason value to set.

Returns:

the ElasticPoolPerformanceLevelCapability object itself.

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