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

ExpressRoutePeeringState Class

public final class ExpressRoutePeeringState
extends ExpandableStringEnum<ExpressRoutePeeringState>

The state of peering.

Field Summary

Modifier and Type Field and Description
static final ExpressRoutePeeringState DISABLED

Static value Disabled for ExpressRoutePeeringState.

static final ExpressRoutePeeringState ENABLED

Static value Enabled for ExpressRoutePeeringState.

Constructor Summary

Constructor Description
ExpressRoutePeeringState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ExpressRoutePeeringState value.

Method Summary

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

Creates or finds a ExpressRoutePeeringState from its string representation.

static Collection<ExpressRoutePeeringState> values()

Gets known ExpressRoutePeeringState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final ExpressRoutePeeringState DISABLED

Static value Disabled for ExpressRoutePeeringState.

ENABLED

public static final ExpressRoutePeeringState ENABLED

Static value Enabled for ExpressRoutePeeringState.

Constructor Details

ExpressRoutePeeringState

@Deprecated
public ExpressRoutePeeringState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ExpressRoutePeeringState value.

Method Details

fromString

public static ExpressRoutePeeringState fromString(String name)

Creates or finds a ExpressRoutePeeringState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ExpressRoutePeeringState.

values

public static Collection<ExpressRoutePeeringState> values()

Gets known ExpressRoutePeeringState values.

Returns:

known ExpressRoutePeeringState values.

Applies to