Class Protocol
java.lang.Object
com.azure.core.util.ExpandableStringEnum<Protocol>
com.azure.resourcemanager.network.models.Protocol
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Network protocol.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ProtocolfromString(String name) Creates or finds a Protocol from its string representation.static Collection<Protocol> values()Gets known Protocol values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
TCP
Static value Tcp for Protocol. -
HTTP
Static value Http for Protocol. -
HTTPS
Static value Https for Protocol. -
ICMP
Static value Icmp for Protocol.
-
-
Constructor Details
-
Protocol
Deprecated.Use thefromString(String)factory method.Creates a new instance of Protocol value.
-
-
Method Details
-
fromString
Creates or finds a Protocol from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding Protocol.
-
values
Gets known Protocol values.- Returns:
- known Protocol values.
-
fromString(String)factory method.