Class ReplicationState

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

public final class ReplicationState extends com.azure.core.util.ExpandableStringEnum<ReplicationState>
Indicates the replication state of a read replica. This property is returned only when the target server is a read replica. Possible values are Active, Broken, Catchup, Provisioning, Reconfiguring, and Updating.
  • Field Details

    • ACTIVE

      public static final ReplicationState ACTIVE
      Static value Active for ReplicationState.
    • CATCHUP

      public static final ReplicationState CATCHUP
      Static value Catchup for ReplicationState.
    • PROVISIONING

      public static final ReplicationState PROVISIONING
      Static value Provisioning for ReplicationState.
    • UPDATING

      public static final ReplicationState UPDATING
      Static value Updating for ReplicationState.
    • BROKEN

      public static final ReplicationState BROKEN
      Static value Broken for ReplicationState.
    • RECONFIGURING

      public static final ReplicationState RECONFIGURING
      Static value Reconfiguring for ReplicationState.
  • Constructor Details

    • ReplicationState

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

    • fromString

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

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