ContainerGroupNetworkProtocol Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerinstance. models. ContainerGroupNetworkProtocol
- com.
- com.
public final class ContainerGroupNetworkProtocol
extends ExpandableStringEnum<ContainerGroupNetworkProtocol>
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 |
---|---|
ContainerGroupNetworkProtocol() |
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 ContainerGroupNetworkProtocol TCP
Static value TCP for ContainerGroupNetworkProtocol.
UDP
public static final ContainerGroupNetworkProtocol UDP
Static value UDP for ContainerGroupNetworkProtocol.
Constructor Details
ContainerGroupNetworkProtocol
@Deprecated
public ContainerGroupNetworkProtocol()
Deprecated
Creates a new instance of ContainerGroupNetworkProtocol value.
Method Details
fromString
public static ContainerGroupNetworkProtocol fromString(String name)
Creates or finds a ContainerGroupNetworkProtocol from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known ContainerGroupNetworkProtocol values.
Returns:
Applies to
Azure SDK for Java