public final class Protocol extends com.azure.core.util.ExpandableStringEnum<Protocol>
| Modifier and Type | Field and Description |
|---|---|
static Protocol |
HTTP
Static value Http for Protocol.
|
static Protocol |
HTTPS
Static value Https for Protocol.
|
static Protocol |
ICMP
Static value Icmp for Protocol.
|
static Protocol |
TCP
Static value Tcp for Protocol.
|
| Constructor and Description |
|---|
Protocol() |
| Modifier and Type | Method and Description |
|---|---|
static Protocol |
fromString(String name)
Creates or finds a Protocol from its string representation.
|
static Collection<Protocol> |
values() |
public static final Protocol TCP
public static final Protocol HTTP
public static final Protocol HTTPS
public static final Protocol ICMP
public static Protocol fromString(String name)
name - a name to look for.public static Collection<Protocol> values()
Copyright © 2020 Microsoft Corporation. All rights reserved.