RuleAction Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. machinelearning. models. RuleAction
- com.
- com.
public final class RuleAction
extends ExpandableStringEnum<RuleAction>
The action enum for networking rule.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Rule |
ALLOW
Static value Allow for Rule |
|
static final
Rule |
DENY
Static value Deny for Rule |
Constructor Summary
| Constructor | Description |
|---|---|
| RuleAction() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Rule |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Rule |
fromString(String name)
Creates or finds a Rule |
|
static
Collection<Rule |
values()
Gets known Rule |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ALLOW
public static final RuleAction ALLOW
Static value Allow for RuleAction.
DENY
public static final RuleAction DENY
Static value Deny for RuleAction.
Constructor Details
RuleAction
@Deprecated
public RuleAction()
Deprecated
Creates a new instance of RuleAction value.
Method Details
fromString
public static RuleAction fromString(String name)
Creates or finds a RuleAction from its string representation.
Parameters:
Returns:
values
public static Collection<RuleAction> values()
Gets known RuleAction values.
Returns: