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