Class LocalDnsMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<LocalDnsMode>
com.azure.resourcemanager.containerservice.models.LocalDnsMode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Mode of enablement for localDNS.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LocalDnsModeDisable localDNS.static final LocalDnsModeIf the current orchestrator version supports this feature, prefer enabling localDNS.static final LocalDnsModeEnable localDNS. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LocalDnsModefromString(String name) Creates or finds a LocalDnsMode from its string representation.static Collection<LocalDnsMode> values()Gets known LocalDnsMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
PREFERRED
If the current orchestrator version supports this feature, prefer enabling localDNS. -
REQUIRED
Enable localDNS. -
DISABLED
Disable localDNS.
-
-
Constructor Details
-
LocalDnsMode
Deprecated.Use thefromString(String)factory method.Creates a new instance of LocalDnsMode value.
-
-
Method Details
-
fromString
Creates or finds a LocalDnsMode from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding LocalDnsMode.
-
values
Gets known LocalDnsMode values.- Returns:
- known LocalDnsMode values.
-
fromString(String)factory method.