Class AzureFirewallNetworkRuleProtocol
java.lang.Object
com.azure.core.util.ExpandableStringEnum<AzureFirewallNetworkRuleProtocol>
com.azure.resourcemanager.network.models.AzureFirewallNetworkRuleProtocol
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class AzureFirewallNetworkRuleProtocol
extends com.azure.core.util.ExpandableStringEnum<AzureFirewallNetworkRuleProtocol>
The protocol of a Network Rule resource.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AzureFirewallNetworkRuleProtocolStatic value Any for AzureFirewallNetworkRuleProtocol.static final AzureFirewallNetworkRuleProtocolStatic value ICMP for AzureFirewallNetworkRuleProtocol.static final AzureFirewallNetworkRuleProtocolStatic value TCP for AzureFirewallNetworkRuleProtocol.static final AzureFirewallNetworkRuleProtocolStatic value UDP for AzureFirewallNetworkRuleProtocol. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromString(String name) Creates or finds a AzureFirewallNetworkRuleProtocol from its string representation.values()Gets known AzureFirewallNetworkRuleProtocol values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
TCP
Static value TCP for AzureFirewallNetworkRuleProtocol. -
UDP
Static value UDP for AzureFirewallNetworkRuleProtocol. -
ANY
Static value Any for AzureFirewallNetworkRuleProtocol. -
ICMP
Static value ICMP for AzureFirewallNetworkRuleProtocol.
-
-
Constructor Details
-
AzureFirewallNetworkRuleProtocol
Deprecated.Use thefromString(String)factory method.Creates a new instance of AzureFirewallNetworkRuleProtocol value.
-
-
Method Details
-
fromString
Creates or finds a AzureFirewallNetworkRuleProtocol from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding AzureFirewallNetworkRuleProtocol.
-
values
Gets known AzureFirewallNetworkRuleProtocol values.- Returns:
- known AzureFirewallNetworkRuleProtocol values.
-
fromString(String)factory method.