VirtualNetworkLinks interface

Interface representing a VirtualNetworkLinks.

Methods

beginCreateOrUpdate(string, string, string, VirtualNetworkLink, VirtualNetworkLinksCreateOrUpdateOptionalParams)

Creates or updates a virtual network link to a DNS forwarding ruleset.

beginCreateOrUpdateAndWait(string, string, string, VirtualNetworkLink, VirtualNetworkLinksCreateOrUpdateOptionalParams)

Creates or updates a virtual network link to a DNS forwarding ruleset.

beginDelete(string, string, string, VirtualNetworkLinksDeleteOptionalParams)

Deletes a virtual network link to a DNS forwarding ruleset. WARNING: This operation cannot be undone.

beginDeleteAndWait(string, string, string, VirtualNetworkLinksDeleteOptionalParams)

Deletes a virtual network link to a DNS forwarding ruleset. WARNING: This operation cannot be undone.

beginUpdate(string, string, string, VirtualNetworkLinkPatch, VirtualNetworkLinksUpdateOptionalParams)

Updates a virtual network link to a DNS forwarding ruleset.

beginUpdateAndWait(string, string, string, VirtualNetworkLinkPatch, VirtualNetworkLinksUpdateOptionalParams)

Updates a virtual network link to a DNS forwarding ruleset.

get(string, string, string, VirtualNetworkLinksGetOptionalParams)

Gets properties of a virtual network link to a DNS forwarding ruleset.

list(string, string, VirtualNetworkLinksListOptionalParams)

Lists virtual network links to a DNS forwarding ruleset.

Method Details

Creates or updates a virtual network link to a DNS forwarding ruleset.

function beginCreateOrUpdate(resourceGroupName: string, dnsForwardingRulesetName: string, virtualNetworkLinkName: string, parameters: VirtualNetworkLink, options?: VirtualNetworkLinksCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<VirtualNetworkLink>, VirtualNetworkLink>>

Parameters

resourceGroupName

string

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

dnsForwardingRulesetName

string

The name of the DNS forwarding ruleset.

virtualNetworkLinkName

string

The name of the virtual network link.

parameters
VirtualNetworkLink

Parameters supplied to the CreateOrUpdate operation.

options
VirtualNetworkLinksCreateOrUpdateOptionalParams

The options parameters.

Returns

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

Creates or updates a virtual network link to a DNS forwarding ruleset.

function beginCreateOrUpdateAndWait(resourceGroupName: string, dnsForwardingRulesetName: string, virtualNetworkLinkName: string, parameters: VirtualNetworkLink, options?: VirtualNetworkLinksCreateOrUpdateOptionalParams): Promise<VirtualNetworkLink>

Parameters

resourceGroupName

string

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

dnsForwardingRulesetName

string

The name of the DNS forwarding ruleset.

virtualNetworkLinkName

string

The name of the virtual network link.

parameters
VirtualNetworkLink

Parameters supplied to the CreateOrUpdate operation.

options
VirtualNetworkLinksCreateOrUpdateOptionalParams

The options parameters.

Returns

Deletes a virtual network link to a DNS forwarding ruleset. WARNING: This operation cannot be undone.

function beginDelete(resourceGroupName: string, dnsForwardingRulesetName: string, virtualNetworkLinkName: string, options?: VirtualNetworkLinksDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

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

dnsForwardingRulesetName

string

The name of the DNS forwarding ruleset.

virtualNetworkLinkName

string

The name of the virtual network link.

options
VirtualNetworkLinksDeleteOptionalParams

The options parameters.

Returns

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

Deletes a virtual network link to a DNS forwarding ruleset. WARNING: This operation cannot be undone.

function beginDeleteAndWait(resourceGroupName: string, dnsForwardingRulesetName: string, virtualNetworkLinkName: string, options?: VirtualNetworkLinksDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

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

dnsForwardingRulesetName

string

The name of the DNS forwarding ruleset.

virtualNetworkLinkName

string

The name of the virtual network link.

options
VirtualNetworkLinksDeleteOptionalParams

The options parameters.

Returns

Promise<void>

Updates a virtual network link to a DNS forwarding ruleset.

function beginUpdate(resourceGroupName: string, dnsForwardingRulesetName: string, virtualNetworkLinkName: string, parameters: VirtualNetworkLinkPatch, options?: VirtualNetworkLinksUpdateOptionalParams): Promise<PollerLike<PollOperationState<VirtualNetworkLink>, VirtualNetworkLink>>

Parameters

resourceGroupName

string

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

dnsForwardingRulesetName

string

The name of the DNS forwarding ruleset.

virtualNetworkLinkName

string

The name of the virtual network link.

parameters
VirtualNetworkLinkPatch

Parameters supplied to the Update operation.

options
VirtualNetworkLinksUpdateOptionalParams

The options parameters.

Returns

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

Updates a virtual network link to a DNS forwarding ruleset.

function beginUpdateAndWait(resourceGroupName: string, dnsForwardingRulesetName: string, virtualNetworkLinkName: string, parameters: VirtualNetworkLinkPatch, options?: VirtualNetworkLinksUpdateOptionalParams): Promise<VirtualNetworkLink>

Parameters

resourceGroupName

string

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

dnsForwardingRulesetName

string

The name of the DNS forwarding ruleset.

virtualNetworkLinkName

string

The name of the virtual network link.

parameters
VirtualNetworkLinkPatch

Parameters supplied to the Update operation.

options
VirtualNetworkLinksUpdateOptionalParams

The options parameters.

Returns

Gets properties of a virtual network link to a DNS forwarding ruleset.

function get(resourceGroupName: string, dnsForwardingRulesetName: string, virtualNetworkLinkName: string, options?: VirtualNetworkLinksGetOptionalParams): Promise<VirtualNetworkLink>

Parameters

resourceGroupName

string

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

dnsForwardingRulesetName

string

The name of the DNS forwarding ruleset.

virtualNetworkLinkName

string

The name of the virtual network link.

options
VirtualNetworkLinksGetOptionalParams

The options parameters.

Returns

Lists virtual network links to a DNS forwarding ruleset.

function list(resourceGroupName: string, dnsForwardingRulesetName: string, options?: VirtualNetworkLinksListOptionalParams): PagedAsyncIterableIterator<VirtualNetworkLink, VirtualNetworkLink[], PageSettings>

Parameters

resourceGroupName

string

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

dnsForwardingRulesetName

string

The name of the DNS forwarding ruleset.

options
VirtualNetworkLinksListOptionalParams

The options parameters.

Returns