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>
Possible states of a server.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ServerStateStatic value Disabled for ServerState.static final ServerStateStatic value Dropping for ServerState.static final ServerStateStatic value Inaccessible for ServerState.static final ServerStateStatic value Provisioning for ServerState.static final ServerStateStatic value Ready for ServerState.static final ServerStateStatic value Restarting for ServerState.static final ServerStateStatic value Starting for ServerState.static final ServerStateStatic value Stopped for ServerState.static final ServerStateStatic value Stopping for ServerState.static final ServerStateStatic value Updating for ServerState. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ServerStatefromString(String name) Creates or finds a ServerState from its string representation.static Collection<ServerState> values()Gets known ServerState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
READY
Static value Ready for ServerState. -
DROPPING
Static value Dropping for ServerState. -
DISABLED
Static value Disabled for ServerState. -
STARTING
Static value Starting for ServerState. -
STOPPING
Static value Stopping for ServerState. -
STOPPED
Static value Stopped for ServerState. -
UPDATING
Static value Updating for ServerState. -
RESTARTING
Static value Restarting for ServerState. -
INACCESSIBLE
Static value Inaccessible for ServerState. -
PROVISIONING
Static value Provisioning for ServerState.
-
-
Constructor Details
-
ServerState
Deprecated.Use thefromString(String)factory method.Creates a new instance of ServerState value.
-
-
Method Details
-
fromString
Creates or finds a ServerState from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding ServerState.
-
values
Gets known ServerState values.- Returns:
- known ServerState values.
-
fromString(String)factory method.