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>

public final class BgpPeerState extends com.azure.core.util.ExpandableStringEnum<BgpPeerState>
The BGP peer state.
  • Field Details

    • UNKNOWN

      public static final BgpPeerState UNKNOWN
      Static value Unknown for BgpPeerState.
    • STOPPED

      public static final BgpPeerState STOPPED
      Static value Stopped for BgpPeerState.
    • IDLE

      public static final BgpPeerState IDLE
      Static value Idle for BgpPeerState.
    • CONNECTING

      public static final BgpPeerState CONNECTING
      Static value Connecting for BgpPeerState.
    • CONNECTED

      public static final BgpPeerState CONNECTED
      Static value Connected for BgpPeerState.
  • Constructor Details

    • BgpPeerState

      @Deprecated public BgpPeerState()
      Deprecated.
      Use the fromString(String) factory method.
      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:
      name - a name to look for.
      Returns:
      the corresponding BgpPeerState.
    • values

      public static Collection<BgpPeerState> values()
      Gets known BgpPeerState values.
      Returns:
      known BgpPeerState values.