Class NetworkRuleAction
java.lang.Object
com.azure.core.util.ExpandableStringEnum<NetworkRuleAction>
com.azure.resourcemanager.keyvault.models.NetworkRuleAction
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class NetworkRuleAction
extends com.azure.core.util.ExpandableStringEnum<NetworkRuleAction>
The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass
property has been evaluated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final NetworkRuleActionStatic value Allow for NetworkRuleAction.static final NetworkRuleActionStatic value Deny for NetworkRuleAction. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NetworkRuleActionfromString(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, getValue, hashCode, toString, values
-
Field Details
-
ALLOW
Static value Allow for NetworkRuleAction. -
DENY
Static value Deny for NetworkRuleAction.
-
-
Constructor Details
-
NetworkRuleAction
Deprecated.Use thefromString(String)factory method.Creates a new instance of NetworkRuleAction value.
-
-
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.
-
fromString(String)factory method.