EndpointProtocol Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerregistry. models. EndpointProtocol
- com.
- com.
public final class EndpointProtocol
extends ExpandableStringEnum<EndpointProtocol>
The connectivity protocol for the registry.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Endpoint |
IPV4
IPv4 connectivity only. |
|
static final
Endpoint |
IPV4AND_IPV6
IPv4 and IPv6 (dual stack) connectivity. |
Constructor Summary
| Constructor | Description |
|---|---|
| EndpointProtocol() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Endpoint |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Endpoint |
fromString(String name)
Creates or finds a Endpoint |
|
static
Collection<Endpoint |
values()
Gets known Endpoint |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
IPV4
public static final EndpointProtocol IPV4
IPv4 connectivity only.
IPV4AND_IPV6
public static final EndpointProtocol IPV4AND_IPV6
IPv4 and IPv6 (dual stack) connectivity.
Constructor Details
EndpointProtocol
@Deprecated
public EndpointProtocol()
Deprecated
Creates a new instance of EndpointProtocol value.
Method Details
fromString
public static EndpointProtocol fromString(String name)
Creates or finds a EndpointProtocol from its string representation.
Parameters:
Returns:
values
public static Collection<EndpointProtocol> values()
Gets known EndpointProtocol values.
Returns: