Class SecurityRuleDirection
java.lang.Object
com.azure.core.util.ExpandableStringEnum<SecurityRuleDirection>
com.azure.resourcemanager.network.models.SecurityRuleDirection
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class SecurityRuleDirection
extends com.azure.core.util.ExpandableStringEnum<SecurityRuleDirection>
The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SecurityRuleDirectionStatic value Inbound for SecurityRuleDirection.static final SecurityRuleDirectionStatic value Outbound for SecurityRuleDirection. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SecurityRuleDirectionfromString(String name) Creates or finds a SecurityRuleDirection from its string representation.static Collection<SecurityRuleDirection> values()Gets known SecurityRuleDirection values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
INBOUND
Static value Inbound for SecurityRuleDirection. -
OUTBOUND
Static value Outbound for SecurityRuleDirection.
-
-
Constructor Details
-
SecurityRuleDirection
Deprecated.Use thefromString(String)factory method.Creates a new instance of SecurityRuleDirection value.
-
-
Method Details
-
fromString
Creates or finds a SecurityRuleDirection from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding SecurityRuleDirection.
-
values
Gets known SecurityRuleDirection values.- Returns:
- known SecurityRuleDirection values.
-
fromString(String)factory method.