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 Summary
FieldsModifier and TypeFieldDescriptionstatic final FirewallPolicyRuleTypeStatic value ApplicationRule for FirewallPolicyRuleType.static final FirewallPolicyRuleTypeStatic value NatRule for FirewallPolicyRuleType.static final FirewallPolicyRuleTypeStatic value NetworkRule for FirewallPolicyRuleType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FirewallPolicyRuleTypefromString(String name) Creates or finds a FirewallPolicyRuleType from its string representation.static Collection<FirewallPolicyRuleType> values()Gets known FirewallPolicyRuleType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
APPLICATION_RULE
Static value ApplicationRule for FirewallPolicyRuleType. -
NETWORK_RULE
Static value NetworkRule for FirewallPolicyRuleType. -
NAT_RULE
Static value NatRule for FirewallPolicyRuleType.
-
-
Constructor Details
-
FirewallPolicyRuleType
Deprecated.Use thefromString(String)factory method.Creates a new instance of FirewallPolicyRuleType value.
-
-
Method Details
-
fromString
Creates or finds a FirewallPolicyRuleType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding FirewallPolicyRuleType.
-
values
Gets known FirewallPolicyRuleType values.- Returns:
- known FirewallPolicyRuleType values.
-
fromString(String)factory method.