Class StorageMbCapability

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

public final class StorageMbCapability extends CapabilityBase
Storage size (in MB) capability.
  • Constructor Details

    • StorageMbCapability

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

    • supportedIops

      public Integer supportedIops()
      Get the supportedIops property: Minimum IOPS supported by the storage size.
      Returns:
      the supportedIops value.
    • supportedMaximumIops

      public Integer supportedMaximumIops()
      Get the supportedMaximumIops property: Maximum IOPS supported by the storage size.
      Returns:
      the supportedMaximumIops value.
    • storageSizeMb

      public Long storageSizeMb()
      Get the storageSizeMb property: Minimum supported size (in MB) of storage.
      Returns:
      the storageSizeMb value.
    • maximumStorageSizeMb

      public Long maximumStorageSizeMb()
      Get the maximumStorageSizeMb property: Maximum supported size (in MB) of storage.
      Returns:
      the maximumStorageSizeMb value.
    • supportedThroughput

      public Integer supportedThroughput()
      Get the supportedThroughput property: Minimum supported throughput (in MB/s) of storage.
      Returns:
      the supportedThroughput value.
    • supportedMaximumThroughput

      public Integer supportedMaximumThroughput()
      Get the supportedMaximumThroughput property: Maximum supported throughput (in MB/s) of storage.
      Returns:
      the supportedMaximumThroughput value.
    • defaultIopsTier

      public String defaultIopsTier()
      Get the defaultIopsTier property: Default IOPS for this tier and storage size.
      Returns:
      the defaultIopsTier value.
    • supportedIopsTiers

      public List<StorageTierCapability> supportedIopsTiers()
      Get the supportedIopsTiers property: List of all supported storage tiers for this tier and storage size.
      Returns:
      the supportedIopsTiers 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 StorageMbCapability fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of StorageMbCapability from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of StorageMbCapability 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 StorageMbCapability.