ResolutionPolicy Class

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 ResolutionPolicy DEFAULT

Static value Default for ResolutionPolicy.

static final ResolutionPolicy NX_DOMAIN_REDIRECT

Static value NxDomainRedirect for ResolutionPolicy.

Constructor Summary

Constructor Description
ResolutionPolicy()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ResolutionPolicy value.

Method Summary

Modifier and Type Method and Description
static ResolutionPolicy fromString(String name)

Creates or finds a ResolutionPolicy from its string representation.

static Collection<ResolutionPolicy> values()

Gets known ResolutionPolicy values.

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

Use the fromString(String name) factory method.

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:

name - a name to look for.

Returns:

the corresponding ResolutionPolicy.

values

public static Collection values()

Gets known ResolutionPolicy values.

Returns:

known ResolutionPolicy values.

Applies to