FlexibleServerEditionCapability Class
- java.
lang. Object - com.
azure. resourcemanager. postgresqlflexibleserver. models. CapabilityBase - com.
azure. resourcemanager. postgresqlflexibleserver. models. FlexibleServerEditionCapability
- com.
- com.
public final class FlexibleServerEditionCapability
extends CapabilityBase
Flexible server edition capabilities.
Constructor Summary
Constructor | Description |
---|---|
FlexibleServerEditionCapability() |
Creates an instance of Flexible |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
defaultSkuName()
Get the default |
static
Flexible |
fromJson(JsonReader jsonReader)
Reads an instance of Flexible |
String |
name()
Get the name property: Server edition name. |
String |
reason()
Get the reason property: The reason for the capability not being available. |
Capability |
status()
Get the status property: The status of the capability. |
List<Server |
supportedServerSkus()
Get the supported |
List<Storage |
supportedStorageEditions()
Get the supported |
Json |
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:
fromJson
public static FlexibleServerEditionCapability fromJson(JsonReader jsonReader)
Reads an instance of FlexibleServerEditionCapability from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Server edition name.
Returns:
reason
public String reason()
Get the reason property: The reason for the capability not being available.
Overrides:
FlexibleServerEditionCapability.reason()Returns:
status
public CapabilityStatus status()
Get the status property: The status of the capability.
Overrides:
FlexibleServerEditionCapability.status()Returns:
supportedServerSkus
public List
Get the supportedServerSkus property: List of supported server SKUs.
Returns:
supportedStorageEditions
public List
Get the supportedStorageEditions property: The list of editions supported by this server edition.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
FlexibleServerEditionCapability.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
FlexibleServerEditionCapability.validate()Applies to
Azure SDK for Java