Class AdminState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<AdminState>
com.azure.resourcemanager.network.models.AdminState
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Property to indicate if the Express Route Gateway serves traffic when there are multiple Express Route Gateways in
the vnet.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AdminStateStatic value Disabled for AdminState.static final AdminStateStatic value Enabled for AdminState. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AdminStatefromString(String name) Creates or finds a AdminState from its string representation.static Collection<AdminState> values()Gets known AdminState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ENABLED
Static value Enabled for AdminState. -
DISABLED
Static value Disabled for AdminState.
-
-
Constructor Details
-
AdminState
Deprecated.Use thefromString(String)factory method.Creates a new instance of AdminState value.
-
-
Method Details
-
fromString
Creates or finds a AdminState from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding AdminState.
-
values
Gets known AdminState values.- Returns:
- known AdminState values.
-
fromString(String)factory method.