Class ServerState

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

public final class ServerState extends com.azure.core.util.ExpandableStringEnum<ServerState>
Possible states of a server.
  • Field Details

    • READY

      public static final ServerState READY
      Static value Ready for ServerState.
    • DROPPING

      public static final ServerState DROPPING
      Static value Dropping for ServerState.
    • DISABLED

      public static final ServerState DISABLED
      Static value Disabled for ServerState.
    • STARTING

      public static final ServerState STARTING
      Static value Starting for ServerState.
    • STOPPING

      public static final ServerState STOPPING
      Static value Stopping for ServerState.
    • STOPPED

      public static final ServerState STOPPED
      Static value Stopped for ServerState.
    • UPDATING

      public static final ServerState UPDATING
      Static value Updating for ServerState.
    • RESTARTING

      public static final ServerState RESTARTING
      Static value Restarting for ServerState.
    • INACCESSIBLE

      public static final ServerState INACCESSIBLE
      Static value Inaccessible for ServerState.
    • PROVISIONING

      public static final ServerState PROVISIONING
      Static value Provisioning for ServerState.
  • Constructor Details

    • ServerState

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

    • fromString

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

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