Class SecurityRuleProtocol
java.lang.Object
com.azure.core.util.ExpandableStringEnum<SecurityRuleProtocol>
com.azure.resourcemanager.network.models.SecurityRuleProtocol
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class SecurityRuleProtocol
extends com.azure.core.util.ExpandableStringEnum<SecurityRuleProtocol>
Network protocol this rule applies to.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final SecurityRuleProtocol
Static value Ah for SecurityRuleProtocol.static final SecurityRuleProtocol
Static value * for SecurityRuleProtocol.static final SecurityRuleProtocol
Static value Esp for SecurityRuleProtocol.static final SecurityRuleProtocol
Static value Icmp for SecurityRuleProtocol.static final SecurityRuleProtocol
Static value Tcp for SecurityRuleProtocol.static final SecurityRuleProtocol
Static value Udp for SecurityRuleProtocol. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SecurityRuleProtocol
fromString
(String name) Creates or finds a SecurityRuleProtocol from its string representation.static Collection<SecurityRuleProtocol>
values()
Gets known SecurityRuleProtocol values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
TCP
Static value Tcp for SecurityRuleProtocol. -
UDP
Static value Udp for SecurityRuleProtocol. -
ICMP
Static value Icmp for SecurityRuleProtocol. -
ESP
Static value Esp for SecurityRuleProtocol. -
ASTERISK
Static value * for SecurityRuleProtocol. -
AH
Static value Ah for SecurityRuleProtocol.
-
-
Constructor Details
-
SecurityRuleProtocol
Deprecated.Use thefromString(String)
factory method.Creates a new instance of SecurityRuleProtocol value.
-
-
Method Details
-
fromString
Creates or finds a SecurityRuleProtocol from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding SecurityRuleProtocol.
-
values
Gets known SecurityRuleProtocol values.- Returns:
- known SecurityRuleProtocol values.
-
fromString(String)
factory method.