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 Details

    • ALLOW

      public static final SecurityRuleAccess ALLOW
      Static value Allow for SecurityRuleAccess.
    • DENY

      public static final SecurityRuleAccess DENY
      Static value Deny for SecurityRuleAccess.
  • Constructor Details

    • SecurityRuleAccess

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

    • fromString

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

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