Class ManagedRuleEnabledState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ManagedRuleEnabledState>
com.azure.resourcemanager.network.models.ManagedRuleEnabledState
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class ManagedRuleEnabledState
extends com.azure.core.util.ExpandableStringEnum<ManagedRuleEnabledState>
The state of the managed rule. Defaults to Disabled if not specified.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ManagedRuleEnabledStateStatic value Disabled for ManagedRuleEnabledState.static final ManagedRuleEnabledStateStatic value Enabled for ManagedRuleEnabledState. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ManagedRuleEnabledStatefromString(String name) Creates or finds a ManagedRuleEnabledState from its string representation.static Collection<ManagedRuleEnabledState> values()Gets known ManagedRuleEnabledState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
DISABLED
Static value Disabled for ManagedRuleEnabledState. -
ENABLED
Static value Enabled for ManagedRuleEnabledState.
-
-
Constructor Details
-
ManagedRuleEnabledState
Deprecated.Use thefromString(String)factory method.Creates a new instance of ManagedRuleEnabledState value.
-
-
Method Details
-
fromString
Creates or finds a ManagedRuleEnabledState from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding ManagedRuleEnabledState.
-
values
Gets known ManagedRuleEnabledState values.- Returns:
- known ManagedRuleEnabledState values.
-
fromString(String)factory method.