Class StorageType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<StorageType>
com.azure.resourcemanager.postgresqlflexibleserver.models.StorageType
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class StorageType extends com.azure.core.util.ExpandableStringEnum<StorageType>
Type of storage assigned to a server. Allowed values are Premium_LRS, PremiumV2_LRS, or UltraSSD_LRS. If not specified, it defaults to Premium_LRS.
  • Field Details

    • PREMIUM_LRS

      public static final StorageType PREMIUM_LRS
      Static value Premium_LRS for StorageType.
    • PREMIUM_V2_LRS

      public static final StorageType PREMIUM_V2_LRS
      Static value PremiumV2_LRS for StorageType.
    • ULTRA_SSD_LRS

      public static final StorageType ULTRA_SSD_LRS
      Static value UltraSSD_LRS for StorageType.
  • Constructor Details

    • StorageType

      @Deprecated public StorageType()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of StorageType value.
  • Method Details

    • fromString

      public static StorageType fromString(String name)
      Creates or finds a StorageType from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding StorageType.
    • values

      public static Collection<StorageType> values()
      Gets known StorageType values.
      Returns:
      known StorageType values.