Class FastProvisioningEditionCapability

java.lang.Object
com.azure.resourcemanager.postgresqlflexibleserver.models.CapabilityBase
com.azure.resourcemanager.postgresqlflexibleserver.models.FastProvisioningEditionCapability
All Implemented Interfaces:
com.azure.json.JsonSerializable<CapabilityBase>

public final class FastProvisioningEditionCapability extends CapabilityBase
Capability of a fast provisioning compute tier.
  • Constructor Details

    • FastProvisioningEditionCapability

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

    • supportedTier

      public String supportedTier()
      Get the supportedTier property: Compute tier supporting fast provisioning.
      Returns:
      the supportedTier value.
    • supportedSku

      public String supportedSku()
      Get the supportedSku property: Compute name (SKU) supporting fast provisioning.
      Returns:
      the supportedSku value.
    • supportedStorageGb

      public Integer supportedStorageGb()
      Get the supportedStorageGb property: Storage size (in GB) supporting fast provisioning.
      Returns:
      the supportedStorageGb value.
    • supportedServerVersions

      public String supportedServerVersions()
      Get the supportedServerVersions property: Major version of PostgreSQL database engine supporting fast provisioning.
      Returns:
      the supportedServerVersions value.
    • serverCount

      public Integer serverCount()
      Get the serverCount property: Count of servers in cache matching this specification.
      Returns:
      the serverCount 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 FastProvisioningEditionCapability fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of FastProvisioningEditionCapability from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of FastProvisioningEditionCapability 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 FastProvisioningEditionCapability.