Class CapabilityInner
java.lang.Object
com.azure.resourcemanager.postgresqlflexibleserver.models.CapabilityBase
com.azure.resourcemanager.postgresqlflexibleserver.fluent.models.CapabilityInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<CapabilityBase>
Capability for the Azure Database for PostgreSQL flexible server.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the fastProvisioningSupported property: Indicates if fast provisioning is supported.static CapabilityInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of CapabilityInner from the JsonReader.Get the geoBackupSupported property: Indicates if geographically redundant backups are supported in this location.name()Get the name property: Name of flexible servers capabilities.Get the onlineResizeSupported property: Indicates if resizing the storage, without interrupting the operation of the database engine, is supported in this location for the given subscription.reason()Get the reason property: The reason for the capability not being available.Get the restricted property: Indicates if this location is restricted.status()Get the status property: The status of the capability.Get the storageAutoGrowthSupported property: Indicates if storage autogrow is supported in this location.Get the supportedFastProvisioningEditions property: List of compute tiers supporting fast provisioning.Get the supportedFeatures property: Features supported.Get the supportedServerEditions property: List of supported compute tiers.Get the supportedServerVersions property: List of supported major versions of PostgreSQL database engine.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Set the name property: Name of flexible servers capabilities.Get the zoneRedundantHaAndGeoBackupSupported property: Indicates if high availability with zone redundancy is supported in conjunction with geographically redundant backups in this location.Get the zoneRedundantHaSupported property: Indicates if high availability with zone redundancy is supported in this location.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
CapabilityInner
public CapabilityInner()Creates an instance of CapabilityInner class.
-
-
Method Details
-
name
Get the name property: Name of flexible servers capabilities.- Returns:
- the name value.
-
withName
Set the name property: Name of flexible servers capabilities.- Parameters:
name- the name value to set.- Returns:
- the CapabilityInner object itself.
-
supportedServerEditions
Get the supportedServerEditions property: List of supported compute tiers.- Returns:
- the supportedServerEditions value.
-
supportedServerVersions
Get the supportedServerVersions property: List of supported major versions of PostgreSQL database engine.- Returns:
- the supportedServerVersions value.
-
supportedFeatures
Get the supportedFeatures property: Features supported.- Returns:
- the supportedFeatures value.
-
fastProvisioningSupported
Get the fastProvisioningSupported property: Indicates if fast provisioning is supported. 'Enabled' means fast provisioning is supported. 'Disabled' stands for fast provisioning is not supported. Will be deprecated in the future. Look to Supported Features for 'FastProvisioning'.- Returns:
- the fastProvisioningSupported value.
-
supportedFastProvisioningEditions
Get the supportedFastProvisioningEditions property: List of compute tiers supporting fast provisioning.- Returns:
- the supportedFastProvisioningEditions value.
-
geoBackupSupported
Get the geoBackupSupported property: Indicates if geographically redundant backups are supported in this location. 'Enabled' means geographically redundant backups are supported. 'Disabled' stands for geographically redundant backup is not supported. Will be deprecated in the future. Look to Supported Features for 'GeoBackup'.- Returns:
- the geoBackupSupported value.
-
zoneRedundantHaSupported
Get the zoneRedundantHaSupported property: Indicates if high availability with zone redundancy is supported in this location. 'Enabled' means high availability with zone redundancy is supported. 'Disabled' stands for high availability with zone redundancy is not supported. Will be deprecated in the future. Look to Supported Features for 'ZoneRedundantHa'.- Returns:
- the zoneRedundantHaSupported value.
-
zoneRedundantHaAndGeoBackupSupported
public ZoneRedundantHighAvailabilityAndGeographicallyRedundantBackupSupport zoneRedundantHaAndGeoBackupSupported()Get the zoneRedundantHaAndGeoBackupSupported property: Indicates if high availability with zone redundancy is supported in conjunction with geographically redundant backups in this location. 'Enabled' means high availability with zone redundancy is supported in conjunction with geographically redundant backups is supported. 'Disabled' stands for high availability with zone redundancy is supported in conjunction with geographically redundant backups is not supported. Will be deprecated in the future. Look to Supported Features for 'ZoneRedundantHaAndGeoBackup'.- Returns:
- the zoneRedundantHaAndGeoBackupSupported value.
-
storageAutoGrowthSupported
Get the storageAutoGrowthSupported property: Indicates if storage autogrow is supported in this location. 'Enabled' means storage autogrow is supported. 'Disabled' stands for storage autogrow is not supported. Will be deprecated in the future. Look to Supported Features for 'StorageAutoGrowth'.- Returns:
- the storageAutoGrowthSupported value.
-
onlineResizeSupported
Get the onlineResizeSupported property: Indicates if resizing the storage, without interrupting the operation of the database engine, is supported in this location for the given subscription. 'Enabled' means resizing the storage without interrupting the operation of the database engine is supported. 'Disabled' means resizing the storage without interrupting the operation of the database engine is not supported. Will be deprecated in the future. Look to Supported Features for 'OnlineResize'.- Returns:
- the onlineResizeSupported value.
-
restricted
Get the restricted property: Indicates if this location is restricted. 'Enabled' means location is restricted. 'Disabled' stands for location is not restricted. Will be deprecated in the future. Look to Supported Features for 'Restricted'.- Returns:
- the restricted value.
-
reason
Get the reason property: The reason for the capability not being available.- Overrides:
reasonin classCapabilityBase- Returns:
- the reason value.
-
status
Get the status property: The status of the capability.- Overrides:
statusin classCapabilityBase- Returns:
- the status value.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classCapabilityBase- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<CapabilityBase>- Overrides:
toJsonin classCapabilityBase- Throws:
IOException
-
fromJson
Reads an instance of CapabilityInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of CapabilityInner 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 CapabilityInner.
-