Class InboundSecurityRulesProtocol
java.lang.Object
com.azure.core.util.ExpandableStringEnum<InboundSecurityRulesProtocol>
com.azure.resourcemanager.network.models.InboundSecurityRulesProtocol
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class InboundSecurityRulesProtocol
extends com.azure.core.util.ExpandableStringEnum<InboundSecurityRulesProtocol>
Protocol. This should be either TCP or UDP.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final InboundSecurityRulesProtocolStatic value TCP for InboundSecurityRulesProtocol.static final InboundSecurityRulesProtocolStatic value UDP for InboundSecurityRulesProtocol. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic InboundSecurityRulesProtocolfromString(String name) Creates or finds a InboundSecurityRulesProtocol from its string representation.values()Gets known InboundSecurityRulesProtocol values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
TCP
Static value TCP for InboundSecurityRulesProtocol. -
UDP
Static value UDP for InboundSecurityRulesProtocol.
-
-
Constructor Details
-
InboundSecurityRulesProtocol
Deprecated.Use thefromString(String)factory method.Creates a new instance of InboundSecurityRulesProtocol value.
-
-
Method Details
-
fromString
Creates or finds a InboundSecurityRulesProtocol from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding InboundSecurityRulesProtocol.
-
values
Gets known InboundSecurityRulesProtocol values.- Returns:
- known InboundSecurityRulesProtocol values.
-
fromString(String)factory method.