你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BgpPeerState Class

public final class BgpPeerState
extends ExpandableStringEnum<BgpPeerState>

The BGP peer state.

Field Summary

Modifier and Type Field and Description
static final BgpPeerState CONNECTED

Static value Connected for BgpPeerState.

static final BgpPeerState CONNECTING

Static value Connecting for BgpPeerState.

static final BgpPeerState IDLE

Static value Idle for BgpPeerState.

static final BgpPeerState STOPPED

Static value Stopped for BgpPeerState.

static final BgpPeerState UNKNOWN

Static value Unknown for BgpPeerState.

Constructor Summary

Constructor Description
BgpPeerState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BgpPeerState value.

Method Summary

Modifier and Type Method and Description
static BgpPeerState fromString(String name)

Creates or finds a BgpPeerState from its string representation.

static Collection<BgpPeerState> values()

Gets known BgpPeerState values.

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

Use the fromString(String name) 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.

Applies to