Class NetworkRuleAction
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<NetworkRuleAction>
-
- com.azure.resourcemanager.cognitiveservices.models.NetworkRuleAction
-
public final class NetworkRuleAction extends com.azure.core.util.ExpandableStringEnum<NetworkRuleAction>
Defines values for NetworkRuleAction.
-
-
Field Summary
Fields Modifier and Type Field Description static NetworkRuleAction
ALLOW
Static value Allow for NetworkRuleAction.static NetworkRuleAction
DENY
Static value Deny for NetworkRuleAction.
-
Constructor Summary
Constructors Constructor Description NetworkRuleAction()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NetworkRuleAction
fromString(String name)
Creates or finds a NetworkRuleAction from its string representation.static Collection<NetworkRuleAction>
values()
-
-
-
Field Detail
-
ALLOW
public static final NetworkRuleAction ALLOW
Static value Allow for NetworkRuleAction.
-
DENY
public static final NetworkRuleAction DENY
Static value Deny for NetworkRuleAction.
-
-
Method Detail
-
fromString
public static NetworkRuleAction fromString(String name)
Creates or finds a NetworkRuleAction from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding NetworkRuleAction.
-
values
public static Collection<NetworkRuleAction> values()
- Returns:
- known NetworkRuleAction values.
-
-