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
Static value Connected for Bgp |
static final
Bgp |
CONNECTING
Static value Connecting for Bgp |
static final
Bgp |
IDLE
Static value Idle for Bgp |
static final
Bgp |
STOPPED
Static value Stopped for Bgp |
static final
Bgp |
UNKNOWN
Static value Unknown for Bgp |
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
Static value Connected for BgpPeerState.
CONNECTING
public static final BgpPeerState CONNECTING
Static value Connecting for BgpPeerState.
IDLE
public static final BgpPeerState IDLE
Static value Idle for BgpPeerState.
STOPPED
public static final BgpPeerState STOPPED
Static value Stopped for BgpPeerState.
UNKNOWN
public static final BgpPeerState UNKNOWN
Static value Unknown for BgpPeerState.
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
Gets known BgpPeerState values.
Returns:
Applies to
Azure SDK for Java