VirtualNetworkLinks interface

Interface representing a VirtualNetworkLinks.

Methods

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

Creates or updates a virtual network link to the specified Private DNS zone.

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

Creates or updates a virtual network link to the specified Private DNS zone.

beginDelete(string, string, string, VirtualNetworkLinksDeleteOptionalParams)

Deletes a virtual network link to the specified Private DNS zone. WARNING: In case of a registration virtual network, all auto-registered DNS records in the zone for the virtual network will also be deleted. This operation cannot be undone.

beginDeleteAndWait(string, string, string, VirtualNetworkLinksDeleteOptionalParams)

Deletes a virtual network link to the specified Private DNS zone. WARNING: In case of a registration virtual network, all auto-registered DNS records in the zone for the virtual network will also be deleted. This operation cannot be undone.

beginUpdate(string, string, string, VirtualNetworkLink, VirtualNetworkLinksUpdateOptionalParams)

Updates a virtual network link to the specified Private DNS zone.

beginUpdateAndWait(string, string, string, VirtualNetworkLink, VirtualNetworkLinksUpdateOptionalParams)

Updates a virtual network link to the specified Private DNS zone.

get(string, string, string, VirtualNetworkLinksGetOptionalParams)

Gets a virtual network link to the specified Private DNS zone.

list(string, string, VirtualNetworkLinksListOptionalParams)

Lists the virtual network links to the specified Private DNS zone.

Method Details

Creates or updates a virtual network link to the specified Private DNS zone.

function beginCreateOrUpdate(resourceGroupName: string, privateZoneName: string, virtualNetworkLinkName: string, parameters: VirtualNetworkLink, options?: VirtualNetworkLinksCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualNetworkLink>, VirtualNetworkLink>>

Parameters

resourceGroupName

string

The name of the resource group.

privateZoneName

string

The name of the Private DNS zone (without a terminating dot).

virtualNetworkLinkName

string

The name of the virtual network link.

parameters
VirtualNetworkLink

Parameters supplied to the CreateOrUpdate operation.

options
VirtualNetworkLinksCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<VirtualNetworkLink>, VirtualNetworkLink>>

Creates or updates a virtual network link to the specified Private DNS zone.

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

Parameters

resourceGroupName

string

The name of the resource group.

privateZoneName

string

The name of the Private DNS zone (without a terminating dot).

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 the specified Private DNS zone. WARNING: In case of a registration virtual network, all auto-registered DNS records in the zone for the virtual network will also be deleted. This operation cannot be undone.

function beginDelete(resourceGroupName: string, privateZoneName: string, virtualNetworkLinkName: string, options?: VirtualNetworkLinksDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group.

privateZoneName

string

The name of the Private DNS zone (without a terminating dot).

virtualNetworkLinkName

string

The name of the virtual network link.

options
VirtualNetworkLinksDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

Deletes a virtual network link to the specified Private DNS zone. WARNING: In case of a registration virtual network, all auto-registered DNS records in the zone for the virtual network will also be deleted. This operation cannot be undone.

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

Parameters

resourceGroupName

string

The name of the resource group.

privateZoneName

string

The name of the Private DNS zone (without a terminating dot).

virtualNetworkLinkName

string

The name of the virtual network link.

options
VirtualNetworkLinksDeleteOptionalParams

The options parameters.

Returns

Promise<void>

Updates a virtual network link to the specified Private DNS zone.

function beginUpdate(resourceGroupName: string, privateZoneName: string, virtualNetworkLinkName: string, parameters: VirtualNetworkLink, options?: VirtualNetworkLinksUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualNetworkLink>, VirtualNetworkLink>>

Parameters

resourceGroupName

string

The name of the resource group.

privateZoneName

string

The name of the Private DNS zone (without a terminating dot).

virtualNetworkLinkName

string

The name of the virtual network link.

parameters
VirtualNetworkLink

Parameters supplied to the Update operation.

options
VirtualNetworkLinksUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<VirtualNetworkLink>, VirtualNetworkLink>>

Updates a virtual network link to the specified Private DNS zone.

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

Parameters

resourceGroupName

string

The name of the resource group.

privateZoneName

string

The name of the Private DNS zone (without a terminating dot).

virtualNetworkLinkName

string

The name of the virtual network link.

parameters
VirtualNetworkLink

Parameters supplied to the Update operation.

options
VirtualNetworkLinksUpdateOptionalParams

The options parameters.

Returns

Gets a virtual network link to the specified Private DNS zone.

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

Parameters

resourceGroupName

string

The name of the resource group.

privateZoneName

string

The name of the Private DNS zone (without a terminating dot).

virtualNetworkLinkName

string

The name of the virtual network link.

options
VirtualNetworkLinksGetOptionalParams

The options parameters.

Returns

Lists the virtual network links to the specified Private DNS zone.

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

Parameters

resourceGroupName

string

The name of the resource group.

privateZoneName

string

The name of the Private DNS zone (without a terminating dot).

options
VirtualNetworkLinksListOptionalParams

The options parameters.

Returns