Class SecurityRuleAccess
java.lang.Object
com.azure.core.util.ExpandableStringEnum<SecurityRuleAccess>
com.azure.resourcemanager.network.models.SecurityRuleAccess
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class SecurityRuleAccess
extends com.azure.core.util.ExpandableStringEnum<SecurityRuleAccess>
Whether network traffic is allowed or denied.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SecurityRuleAccessStatic value Allow for SecurityRuleAccess.static final SecurityRuleAccessStatic value Deny for SecurityRuleAccess. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SecurityRuleAccessfromString(String name) Creates or finds a SecurityRuleAccess from its string representation.static Collection<SecurityRuleAccess> values()Gets known SecurityRuleAccess values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ALLOW
Static value Allow for SecurityRuleAccess. -
DENY
Static value Deny for SecurityRuleAccess.
-
-
Constructor Details
-
SecurityRuleAccess
Deprecated.Use thefromString(String)factory method.Creates a new instance of SecurityRuleAccess value.
-
-
Method Details
-
fromString
Creates or finds a SecurityRuleAccess from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding SecurityRuleAccess.
-
values
Gets known SecurityRuleAccess values.- Returns:
- known SecurityRuleAccess values.
-
fromString(String)factory method.