Class BgpPeerState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<BgpPeerState>
com.azure.resourcemanager.network.models.BgpPeerState
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
The BGP peer state.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BgpPeerStateStatic value Connected for BgpPeerState.static final BgpPeerStateStatic value Connecting for BgpPeerState.static final BgpPeerStateStatic value Idle for BgpPeerState.static final BgpPeerStateStatic value Stopped for BgpPeerState.static final BgpPeerStateStatic value Unknown for BgpPeerState. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BgpPeerStatefromString(String name) Creates or finds a BgpPeerState from its string representation.static Collection<BgpPeerState> values()Gets known BgpPeerState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
UNKNOWN
Static value Unknown for BgpPeerState. -
STOPPED
Static value Stopped for BgpPeerState. -
IDLE
Static value Idle for BgpPeerState. -
CONNECTING
Static value Connecting for BgpPeerState. -
CONNECTED
Static value Connected for BgpPeerState.
-
-
Constructor Details
-
BgpPeerState
Deprecated.Use thefromString(String)factory method.Creates a new instance of BgpPeerState value.
-
-
Method Details
-
fromString
Creates or finds a BgpPeerState from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding BgpPeerState.
-
values
Gets known BgpPeerState values.- Returns:
- known BgpPeerState values.
-
fromString(String)factory method.