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