Class ProtocolType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ProtocolType>
com.azure.resourcemanager.network.models.ProtocolType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
RNM supported protocol types.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ProtocolTypeStatic value Ah for ProtocolType.static final ProtocolTypeStatic value All for ProtocolType.static final ProtocolTypeStatic value DoNotUse for ProtocolType.static final ProtocolTypeStatic value Esp for ProtocolType.static final ProtocolTypeStatic value Gre for ProtocolType.static final ProtocolTypeStatic value Icmp for ProtocolType.static final ProtocolTypeStatic value Tcp for ProtocolType.static final ProtocolTypeStatic value Udp for ProtocolType.static final ProtocolTypeStatic value Vxlan for ProtocolType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ProtocolTypefromString(String name) Creates or finds a ProtocolType from its string representation.static Collection<ProtocolType> values()Gets known ProtocolType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
DO_NOT_USE
Static value DoNotUse for ProtocolType. -
ICMP
Static value Icmp for ProtocolType. -
TCP
Static value Tcp for ProtocolType. -
UDP
Static value Udp for ProtocolType. -
GRE
Static value Gre for ProtocolType. -
ESP
Static value Esp for ProtocolType. -
AH
Static value Ah for ProtocolType. -
VXLAN
Static value Vxlan for ProtocolType. -
ALL
Static value All for ProtocolType.
-
-
Constructor Details
-
ProtocolType
Deprecated.Use thefromString(String)factory method.Creates a new instance of ProtocolType value.
-
-
Method Details
-
fromString
Creates or finds a ProtocolType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding ProtocolType.
-
values
Gets known ProtocolType values.- Returns:
- known ProtocolType values.
-
fromString(String)factory method.