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
Modifier and TypeFieldDescriptionstatic final NetworkRuleAction
Static value Allow for NetworkRuleAction.static final NetworkRuleAction
Static value Deny for NetworkRuleAction. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic NetworkRuleAction
fromString
(String name) Creates or finds a NetworkRuleAction from its string representation.static Collection<NetworkRuleAction>
values()
Gets known NetworkRuleAction values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
ALLOW
Static value Allow for NetworkRuleAction. -
DENY
Static value Deny for NetworkRuleAction.
-
-
Constructor Details
-
NetworkRuleAction
public NetworkRuleAction()
-
-
Method Details
-
fromString
Creates or finds a NetworkRuleAction from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding NetworkRuleAction.
-
values
Gets known NetworkRuleAction values.- Returns:
- known NetworkRuleAction values.
-