Class LocalDnsProtocol
java.lang.Object
com.azure.core.util.ExpandableStringEnum<LocalDnsProtocol>
com.azure.resourcemanager.containerservice.models.LocalDnsProtocol
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class LocalDnsProtocol
extends com.azure.core.util.ExpandableStringEnum<LocalDnsProtocol>
Enforce TCP or prefer UDP protocol for connections from localDNS to upstream DNS server.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LocalDnsProtocolStatic value ForceTCP for LocalDnsProtocol.static final LocalDnsProtocolStatic value PreferUDP for LocalDnsProtocol. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LocalDnsProtocolfromString(String name) Creates or finds a LocalDnsProtocol from its string representation.static Collection<LocalDnsProtocol> values()Gets known LocalDnsProtocol values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
PREFER_UDP
Static value PreferUDP for LocalDnsProtocol. -
FORCE_TCP
Static value ForceTCP for LocalDnsProtocol.
-
-
Constructor Details
-
LocalDnsProtocol
Deprecated.Use thefromString(String)factory method.Creates a new instance of LocalDnsProtocol value.
-
-
Method Details
-
fromString
Creates or finds a LocalDnsProtocol from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding LocalDnsProtocol.
-
values
Gets known LocalDnsProtocol values.- Returns:
- known LocalDnsProtocol values.
-
fromString(String)factory method.