Class OperationalState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<OperationalState>
com.azure.resourcemanager.hybridnetwork.models.OperationalState
public final class OperationalState
extends com.azure.core.util.ExpandableStringEnum<OperationalState>
The operational state of the role instance.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final OperationalState
Static value Running for OperationalState.static final OperationalState
Static value Starting for OperationalState.static final OperationalState
Static value Stopped for OperationalState.static final OperationalState
Static value Stopping for OperationalState.static final OperationalState
Static value Unknown for OperationalState. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic OperationalState
fromString
(String name) Creates or finds a OperationalState from its string representation.static Collection<OperationalState>
values()
Gets known OperationalState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
UNKNOWN
Static value Unknown for OperationalState. -
STOPPED
Static value Stopped for OperationalState. -
RUNNING
Static value Running for OperationalState. -
STOPPING
Static value Stopping for OperationalState. -
STARTING
Static value Starting for OperationalState.
-
-
Constructor Details
-
OperationalState
public OperationalState()
-
-
Method Details
-
fromString
Creates or finds a OperationalState from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding OperationalState.
-
values
Gets known OperationalState values.- Returns:
- known OperationalState values.
-