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 Details

    • INBOUND

      public static final SecurityRuleDirection INBOUND
      Static value Inbound for SecurityRuleDirection.
    • OUTBOUND

      public static final SecurityRuleDirection OUTBOUND
      Static value Outbound for SecurityRuleDirection.
  • Constructor Details

    • SecurityRuleDirection

      @Deprecated public SecurityRuleDirection()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of SecurityRuleDirection value.
  • Method Details

    • fromString

      public static SecurityRuleDirection fromString(String name)
      Creates or finds a SecurityRuleDirection from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding SecurityRuleDirection.
    • values

      public static Collection<SecurityRuleDirection> values()
      Gets known SecurityRuleDirection values.
      Returns:
      known SecurityRuleDirection values.