Class ResolutionPolicy
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ResolutionPolicy>
com.azure.resourcemanager.privatedns.models.ResolutionPolicy
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class ResolutionPolicy
extends com.azure.core.util.ExpandableStringEnum<ResolutionPolicy>
The resolution policy on the virtual network link. Only applicable for virtual network links to privatelink zones,
and for A,AAAA,CNAME queries. When set to 'NxDomainRedirect', Azure DNS resolver falls back to public resolution if
private dns query resolution results in non-existent domain response.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ResolutionPolicyStatic value Default for ResolutionPolicy.static final ResolutionPolicyStatic value NxDomainRedirect for ResolutionPolicy. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ResolutionPolicyfromString(String name) Creates or finds a ResolutionPolicy from its string representation.static Collection<ResolutionPolicy> values()Gets known ResolutionPolicy values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
DEFAULT
Static value Default for ResolutionPolicy. -
NX_DOMAIN_REDIRECT
Static value NxDomainRedirect for ResolutionPolicy.
-
-
Constructor Details
-
ResolutionPolicy
Deprecated.Use thefromString(String)factory method.Creates a new instance of ResolutionPolicy value.
-
-
Method Details
-
fromString
Creates or finds a ResolutionPolicy from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding ResolutionPolicy.
-
values
Gets known ResolutionPolicy values.- Returns:
- known ResolutionPolicy values.
-
fromString(String)factory method.