ContainerGroupNetworkProtocol Class

public final class ContainerGroupNetworkProtocol
extends ExpandableStringEnum<ContainerGroupNetworkProtocol>

The protocol associated with the port.

Field Summary

Modifier and Type Field and Description
static final ContainerGroupNetworkProtocol TCP

Static value TCP for ContainerGroupNetworkProtocol.

static final ContainerGroupNetworkProtocol UDP

Static value UDP for ContainerGroupNetworkProtocol.

Constructor Summary

Constructor Description
ContainerGroupNetworkProtocol()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ContainerGroupNetworkProtocol value.

Method Summary

Modifier and Type Method and Description
static ContainerGroupNetworkProtocol fromString(String name)

Creates or finds a ContainerGroupNetworkProtocol from its string representation.

static Collection<ContainerGroupNetworkProtocol> values()

Gets known ContainerGroupNetworkProtocol values.

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

Use the fromString(String name) factory method.

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:

name - a name to look for.

Returns:

the corresponding ContainerGroupNetworkProtocol.

values

public static Collection values()

Gets known ContainerGroupNetworkProtocol values.

Returns:

known ContainerGroupNetworkProtocol values.

Applies to