Freigeben über


FlexibleServerEditionCapability Class

public final class FlexibleServerEditionCapability
extends CapabilityBase

Flexible server edition capabilities.

Constructor Summary

Constructor Description
FlexibleServerEditionCapability()

Creates an instance of FlexibleServerEditionCapability class.

Method Summary

Modifier and Type Method and Description
String defaultSkuName()

Get the defaultSkuName property: Default sku name for the server edition.

static FlexibleServerEditionCapability fromJson(JsonReader jsonReader)

Reads an instance of FlexibleServerEditionCapability from the JsonReader.

String name()

Get the name property: Server edition name.

String reason()

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

CapabilityStatus status()

Get the status property: The status of the capability.

List<ServerSkuCapability> supportedServerSkus()

Get the supportedServerSkus property: List of supported server SKUs.

List<StorageEditionCapability> supportedStorageEditions()

Get the supportedStorageEditions property: The list of editions supported by this server edition.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from CapabilityBase

Methods inherited from java.lang.Object

Constructor Details

FlexibleServerEditionCapability

public FlexibleServerEditionCapability()

Creates an instance of FlexibleServerEditionCapability class.

Method Details

defaultSkuName

public String defaultSkuName()

Get the defaultSkuName property: Default sku name for the server edition.

Returns:

the defaultSkuName value.

fromJson

public static FlexibleServerEditionCapability fromJson(JsonReader jsonReader)

Reads an instance of FlexibleServerEditionCapability from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Server edition name.

Returns:

the name value.

reason

public String reason()

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

Overrides:

FlexibleServerEditionCapability.reason()

Returns:

the reason value.

status

public CapabilityStatus status()

Get the status property: The status of the capability.

Overrides:

FlexibleServerEditionCapability.status()

Returns:

the status value.

supportedServerSkus

public List supportedServerSkus()

Get the supportedServerSkus property: List of supported server SKUs.

Returns:

the supportedServerSkus value.

supportedStorageEditions

public List supportedStorageEditions()

Get the supportedStorageEditions property: The list of editions supported by this server edition.

Returns:

the supportedStorageEditions value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

FlexibleServerEditionCapability.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

FlexibleServerEditionCapability.validate()

Applies to