DnsResolvers interface

Interface representing a DnsResolvers.

Methods

beginCreateOrUpdate(string, string, DnsResolver, DnsResolversCreateOrUpdateOptionalParams)

Creates or updates a DNS resolver.

beginCreateOrUpdateAndWait(string, string, DnsResolver, DnsResolversCreateOrUpdateOptionalParams)

Creates or updates a DNS resolver.

beginDelete(string, string, DnsResolversDeleteOptionalParams)

Deletes a DNS resolver. WARNING: This operation cannot be undone.

beginDeleteAndWait(string, string, DnsResolversDeleteOptionalParams)

Deletes a DNS resolver. WARNING: This operation cannot be undone.

beginUpdate(string, string, DnsResolverPatch, DnsResolversUpdateOptionalParams)

Updates a DNS resolver.

beginUpdateAndWait(string, string, DnsResolverPatch, DnsResolversUpdateOptionalParams)

Updates a DNS resolver.

get(string, string, DnsResolversGetOptionalParams)

Gets properties of a DNS resolver.

list(DnsResolversListOptionalParams)

Lists DNS resolvers in all resource groups of a subscription.

listByResourceGroup(string, DnsResolversListByResourceGroupOptionalParams)

Lists DNS resolvers within a resource group.

listByVirtualNetwork(string, string, DnsResolversListByVirtualNetworkOptionalParams)

Lists DNS resolver resource IDs linked to a virtual network.

Method Details

beginCreateOrUpdate(string, string, DnsResolver, DnsResolversCreateOrUpdateOptionalParams)

Creates or updates a DNS resolver.

function beginCreateOrUpdate(resourceGroupName: string, dnsResolverName: string, parameters: DnsResolver, options?: DnsResolversCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<DnsResolver>, DnsResolver>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

dnsResolverName

string

The name of the DNS resolver.

parameters
DnsResolver

Parameters supplied to the CreateOrUpdate operation.

options
DnsResolversCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<DnsResolver>, DnsResolver>>

beginCreateOrUpdateAndWait(string, string, DnsResolver, DnsResolversCreateOrUpdateOptionalParams)

Creates or updates a DNS resolver.

function beginCreateOrUpdateAndWait(resourceGroupName: string, dnsResolverName: string, parameters: DnsResolver, options?: DnsResolversCreateOrUpdateOptionalParams): Promise<DnsResolver>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

dnsResolverName

string

The name of the DNS resolver.

parameters
DnsResolver

Parameters supplied to the CreateOrUpdate operation.

options
DnsResolversCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<DnsResolver>

beginDelete(string, string, DnsResolversDeleteOptionalParams)

Deletes a DNS resolver. WARNING: This operation cannot be undone.

function beginDelete(resourceGroupName: string, dnsResolverName: string, options?: DnsResolversDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

dnsResolverName

string

The name of the DNS resolver.

options
DnsResolversDeleteOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginDeleteAndWait(string, string, DnsResolversDeleteOptionalParams)

Deletes a DNS resolver. WARNING: This operation cannot be undone.

function beginDeleteAndWait(resourceGroupName: string, dnsResolverName: string, options?: DnsResolversDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

dnsResolverName

string

The name of the DNS resolver.

options
DnsResolversDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginUpdate(string, string, DnsResolverPatch, DnsResolversUpdateOptionalParams)

Updates a DNS resolver.

function beginUpdate(resourceGroupName: string, dnsResolverName: string, parameters: DnsResolverPatch, options?: DnsResolversUpdateOptionalParams): Promise<PollerLike<PollOperationState<DnsResolver>, DnsResolver>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

dnsResolverName

string

The name of the DNS resolver.

parameters
DnsResolverPatch

Parameters supplied to the Update operation.

options
DnsResolversUpdateOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<DnsResolver>, DnsResolver>>

beginUpdateAndWait(string, string, DnsResolverPatch, DnsResolversUpdateOptionalParams)

Updates a DNS resolver.

function beginUpdateAndWait(resourceGroupName: string, dnsResolverName: string, parameters: DnsResolverPatch, options?: DnsResolversUpdateOptionalParams): Promise<DnsResolver>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

dnsResolverName

string

The name of the DNS resolver.

parameters
DnsResolverPatch

Parameters supplied to the Update operation.

options
DnsResolversUpdateOptionalParams

The options parameters.

Returns

Promise<DnsResolver>

get(string, string, DnsResolversGetOptionalParams)

Gets properties of a DNS resolver.

function get(resourceGroupName: string, dnsResolverName: string, options?: DnsResolversGetOptionalParams): Promise<DnsResolver>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

dnsResolverName

string

The name of the DNS resolver.

options
DnsResolversGetOptionalParams

The options parameters.

Returns

Promise<DnsResolver>

list(DnsResolversListOptionalParams)

Lists DNS resolvers in all resource groups of a subscription.

function list(options?: DnsResolversListOptionalParams): PagedAsyncIterableIterator<DnsResolver, DnsResolver[], PageSettings>

Parameters

options
DnsResolversListOptionalParams

The options parameters.

Returns

listByResourceGroup(string, DnsResolversListByResourceGroupOptionalParams)

Lists DNS resolvers within a resource group.

function listByResourceGroup(resourceGroupName: string, options?: DnsResolversListByResourceGroupOptionalParams): PagedAsyncIterableIterator<DnsResolver, DnsResolver[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

options
DnsResolversListByResourceGroupOptionalParams

The options parameters.

Returns

listByVirtualNetwork(string, string, DnsResolversListByVirtualNetworkOptionalParams)

Lists DNS resolver resource IDs linked to a virtual network.

function listByVirtualNetwork(resourceGroupName: string, virtualNetworkName: string, options?: DnsResolversListByVirtualNetworkOptionalParams): PagedAsyncIterableIterator<SubResource, SubResource[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

virtualNetworkName

string

The name of the virtual network.

options
DnsResolversListByVirtualNetworkOptionalParams

The options parameters.

Returns