NetworkRuleAction Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. keyvault. models. NetworkRuleAction
- com.
- com.
public final class NetworkRuleAction
extends 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
Modifier and Type | Field and Description |
---|---|
static final
Network |
ALLOW
Static value Allow for Network |
static final
Network |
DENY
Static value Deny for Network |
Constructor Summary
Constructor | Description |
---|---|
NetworkRuleAction() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Network |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Network |
fromString(String name)
Creates or finds a Network |
static
Collection<Network |
values()
Gets known Network |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ALLOW
public static final NetworkRuleAction ALLOW
Static value Allow for NetworkRuleAction.
DENY
public static final NetworkRuleAction DENY
Static value Deny for NetworkRuleAction.
Constructor Details
NetworkRuleAction
@Deprecated
public NetworkRuleAction()
Deprecated
Creates a new instance of NetworkRuleAction value.
Method Details
fromString
public static NetworkRuleAction fromString(String name)
Creates or finds a NetworkRuleAction from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known NetworkRuleAction values.
Returns:
Applies to
Azure SDK for Java