java.lang.Object
com.azure.core.util.ExpandableStringEnum<HaMode>
com.azure.resourcemanager.postgresqlflexibleserver.models.HaMode

public final class HaMode extends com.azure.core.util.ExpandableStringEnum<HaMode>
HA mode supported for a server.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final HaMode
    Static value SameZone for HaMode.
    static final HaMode
    Static value ZoneRedundant for HaMode.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Use the fromString(String) factory method.
  • Method Summary

    Modifier and Type
    Method
    Description
    static HaMode
    Creates or finds a HaMode from its string representation.
    Gets known HaMode values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • SAME_ZONE

      public static final HaMode SAME_ZONE
      Static value SameZone for HaMode.
    • ZONE_REDUNDANT

      public static final HaMode ZONE_REDUNDANT
      Static value ZoneRedundant for HaMode.
  • Constructor Details

  • Method Details

    • fromString

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

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