AdminState Class

public final class AdminState
extends ExpandableStringEnum<AdminState>

Property to indicate if the Express Route Gateway serves traffic when there are multiple Express Route Gateways in the vnet.

Field Summary

Modifier and Type Field and Description
static final AdminState DISABLED

Disabled.

static final AdminState ENABLED

Enabled.

Constructor Summary

Constructor Description
AdminState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AdminState value.

Method Summary

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

Creates or finds a AdminState from its string representation.

static Collection<AdminState> values()

Gets known AdminState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final AdminState DISABLED

Disabled.

ENABLED

public static final AdminState ENABLED

Enabled.

Constructor Details

AdminState

@Deprecated
public AdminState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AdminState value.

Method Details

fromString

public static AdminState fromString(String name)

Creates or finds a AdminState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AdminState.

values

public static Collection<AdminState> values()

Gets known AdminState values.

Returns:

known AdminState values.

Applies to