ResolutionPolicy Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. privatedns. models. ResolutionPolicy
- com.
- com.
public final class ResolutionPolicy
extends 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
Modifier and Type | Field and Description |
---|---|
static final
Resolution |
DEFAULT
Static value Default for Resolution |
static final
Resolution |
NX_DOMAIN_REDIRECT
Static value Nx |
Constructor Summary
Constructor | Description |
---|---|
ResolutionPolicy() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Resolution |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Resolution |
fromString(String name)
Creates or finds a Resolution |
static
Collection<Resolution |
values()
Gets known Resolution |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DEFAULT
public static final ResolutionPolicy DEFAULT
Static value Default for ResolutionPolicy.
NX_DOMAIN_REDIRECT
public static final ResolutionPolicy NX_DOMAIN_REDIRECT
Static value NxDomainRedirect for ResolutionPolicy.
Constructor Details
ResolutionPolicy
@Deprecated
public ResolutionPolicy()
Deprecated
Creates a new instance of ResolutionPolicy value.
Method Details
fromString
public static ResolutionPolicy fromString(String name)
Creates or finds a ResolutionPolicy from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known ResolutionPolicy values.
Returns:
Applies to
Azure SDK for Java