Class Protocol
java.lang.Object
com.microsoft.rest.ExpandableStringEnum<Protocol>
com.microsoft.azure.management.network.Protocol
Defines values for Protocol.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Protocol
fromString
(String name) Creates or finds a Protocol from its string representation.static Collection<Protocol>
values()
Methods inherited from class com.microsoft.rest.ExpandableStringEnum
equals, fromString, hashCode, toString, values, withNameValue
-
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
public Protocol()
-
-
Method Details
-
fromString
Creates or finds a Protocol from its string representation.- Parameters:
name
- a name to look for- Returns:
- the corresponding Protocol
-
values
- Returns:
- known Protocol values
-