NetworkProtocol Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. network. models. NetworkProtocol
- com.
- com.
public final class NetworkProtocol
extends ExpandableStringEnum<NetworkProtocol>
Network Protocol.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Network |
ANY
Static value Any for Network |
static final
Network |
ICMP
Static value ICMP for Network |
static final
Network |
TCP
Static value TCP for Network |
static final
Network |
UDP
Static value UDP for Network |
Constructor Summary
Constructor | Description |
---|---|
NetworkProtocol() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Network |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Network |
fromString(String name)
Creates or finds a Network |
static
Collection<Network |
values()
Gets known Network |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ANY
public static final NetworkProtocol ANY
Static value Any for NetworkProtocol.
ICMP
public static final NetworkProtocol ICMP
Static value ICMP for NetworkProtocol.
TCP
public static final NetworkProtocol TCP
Static value TCP for NetworkProtocol.
UDP
public static final NetworkProtocol UDP
Static value UDP for NetworkProtocol.
Constructor Details
NetworkProtocol
@Deprecated
public NetworkProtocol()
Deprecated
Creates a new instance of NetworkProtocol value.
Method Details
fromString
public static NetworkProtocol fromString(String name)
Creates or finds a NetworkProtocol from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known NetworkProtocol values.
Returns:
Applies to
Azure SDK for Java