Class ServerState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ServerState>
com.azure.resourcemanager.mysqlflexibleserver.models.ServerState
The state of a server.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ServerState
Static value Disabled for ServerState.static final ServerState
Static value Dropping for ServerState.static final ServerState
Static value Ready for ServerState.static final ServerState
Static value Starting for ServerState.static final ServerState
Static value Stopped for ServerState.static final ServerState
Static value Stopping for ServerState.static final ServerState
Static value Updating for ServerState. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ServerState
fromString
(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, 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.
-
-
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.