Class FirewallPolicyRuleType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<FirewallPolicyRuleType>
com.azure.resourcemanager.network.models.FirewallPolicyRuleType
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class FirewallPolicyRuleType extends com.azure.core.util.ExpandableStringEnum<FirewallPolicyRuleType>
Rule Type.
  • Field Details

    • APPLICATION_RULE

      public static final FirewallPolicyRuleType APPLICATION_RULE
      Static value ApplicationRule for FirewallPolicyRuleType.
    • NETWORK_RULE

      public static final FirewallPolicyRuleType NETWORK_RULE
      Static value NetworkRule for FirewallPolicyRuleType.
    • NAT_RULE

      public static final FirewallPolicyRuleType NAT_RULE
      Static value NatRule for FirewallPolicyRuleType.
  • Constructor Details

    • FirewallPolicyRuleType

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

    • fromString

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

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