Class SyncAgentState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<SyncAgentState>
com.azure.resourcemanager.sql.models.SyncAgentState
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
State of the sync agent.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SyncAgentStateStatic value NeverConnected for SyncAgentState.static final SyncAgentStateStatic value Offline for SyncAgentState.static final SyncAgentStateStatic value Online for SyncAgentState. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SyncAgentStatefromString(String name) Creates or finds a SyncAgentState from its string representation.static Collection<SyncAgentState> values()Gets known SyncAgentState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ONLINE
Static value Online for SyncAgentState. -
OFFLINE
Static value Offline for SyncAgentState. -
NEVER_CONNECTED
Static value NeverConnected for SyncAgentState.
-
-
Constructor Details
-
SyncAgentState
Deprecated.Use thefromString(String)factory method.Creates a new instance of SyncAgentState value.
-
-
Method Details
-
fromString
Creates or finds a SyncAgentState from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding SyncAgentState.
-
values
Gets known SyncAgentState values.- Returns:
- known SyncAgentState values.
-
fromString(String)factory method.