BgpPeerState Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. network. models. BgpPeerState
- com.
- com.
public final class BgpPeerState
extends ExpandableStringEnum<BgpPeerState>
The BGP peer state.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Bgp |
CONNECTED
Connected. |
|
static final
Bgp |
CONNECTING
Connecting. |
|
static final
Bgp |
IDLE
Idle. |
|
static final
Bgp |
STOPPED
Stopped. |
|
static final
Bgp |
UNKNOWN
Unknown. |
Constructor Summary
| Constructor | Description |
|---|---|
| BgpPeerState() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Bgp |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Bgp |
fromString(String name)
Creates or finds a Bgp |
|
static
Collection<Bgp |
values()
Gets known Bgp |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
CONNECTED
public static final BgpPeerState CONNECTED
Connected.
CONNECTING
public static final BgpPeerState CONNECTING
Connecting.
IDLE
public static final BgpPeerState IDLE
Idle.
STOPPED
public static final BgpPeerState STOPPED
Stopped.
UNKNOWN
public static final BgpPeerState UNKNOWN
Unknown.
Constructor Details
BgpPeerState
@Deprecated
public BgpPeerState()
Deprecated
Creates a new instance of BgpPeerState value.
Method Details
fromString
public static BgpPeerState fromString(String name)
Creates or finds a BgpPeerState from its string representation.
Parameters:
Returns:
values
public static Collection<BgpPeerState> values()
Gets known BgpPeerState values.
Returns: