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>

public final class CapabilityInner extends CapabilityBase
Capability for the Azure Database for PostgreSQL flexible server.
  • Constructor Details

    • CapabilityInner

      public CapabilityInner()
      Creates an instance of CapabilityInner class.
  • Method Details

    • name

      public String name()
      Get the name property: Name of flexible servers capabilities.
      Returns:
      the name value.
    • withName

      public CapabilityInner withName(String name)
      Set the name property: Name of flexible servers capabilities.
      Parameters:
      name - the name value to set.
      Returns:
      the CapabilityInner object itself.
    • supportedServerEditions

      public List<ServerEditionCapability> supportedServerEditions()
      Get the supportedServerEditions property: List of supported compute tiers.
      Returns:
      the supportedServerEditions value.
    • supportedServerVersions

      public List<ServerVersionCapability> supportedServerVersions()
      Get the supportedServerVersions property: List of supported major versions of PostgreSQL database engine.
      Returns:
      the supportedServerVersions value.
    • supportedFeatures

      public List<SupportedFeature> supportedFeatures()
      Get the supportedFeatures property: Features supported.
      Returns:
      the supportedFeatures value.
    • fastProvisioningSupported

      public FastProvisioningSupport 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

      public List<FastProvisioningEditionCapability> supportedFastProvisioningEditions()
      Get the supportedFastProvisioningEditions property: List of compute tiers supporting fast provisioning.
      Returns:
      the supportedFastProvisioningEditions value.
    • geoBackupSupported

      public GeographicallyRedundantBackupSupport 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

      public ZoneRedundantHighAvailabilitySupport 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

      public StorageAutoGrowthSupport 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

      public OnlineStorageResizeSupport 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

      public LocationRestricted 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

      public String reason()
      Get the reason property: The reason for the capability not being available.
      Overrides:
      reason in class CapabilityBase
      Returns:
      the reason value.
    • status

      public CapabilityStatus status()
      Get the status property: The status of the capability.
      Overrides:
      status in class CapabilityBase
      Returns:
      the status value.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class CapabilityBase
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<CapabilityBase>
      Overrides:
      toJson in class CapabilityBase
      Throws:
      IOException
    • fromJson

      public static CapabilityInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.