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