Class RuleAction
java.lang.Object
com.azure.core.util.ExpandableStringEnum<RuleAction>
com.azure.resourcemanager.machinelearning.models.RuleAction
The action enum for networking rule.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RuleActionStatic value Allow for RuleAction.static final RuleActionStatic value Deny for RuleAction. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RuleActionfromString(String name) Creates or finds a RuleAction from its string representation.static Collection<RuleAction>values()Gets known RuleAction values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
ALLOW
Static value Allow for RuleAction. -
DENY
Static value Deny for RuleAction.
-
-
Constructor Details
-
RuleAction
Deprecated.Use thefromString(String)factory method.Creates a new instance of RuleAction value.
-
-
Method Details
-
fromString
Creates or finds a RuleAction from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding RuleAction.
-
values
Gets known RuleAction values.- Returns:
- known RuleAction values.
-
fromString(String)factory method.