Share via


VirtualNetworkLinksOperationsExtensions.ListAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.PrivateDns.Models.VirtualNetworkLink>> ListAsync (this Microsoft.Azure.Management.PrivateDns.IVirtualNetworkLinksOperations operations, string resourceGroupName, string privateZoneName, int? top = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.PrivateDns.IVirtualNetworkLinksOperations * string * string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.PrivateDns.Models.VirtualNetworkLink>>
<Extension()>
Public Function ListAsync (operations As IVirtualNetworkLinksOperations, resourceGroupName As String, privateZoneName As String, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of VirtualNetworkLink))

Parameters

operations
IVirtualNetworkLinksOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

privateZoneName
String

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

top
Nullable<Int32>

The maximum number of virtual network links to return. If not specified, returns up to 100 virtual network links.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to