Share via


VirtualNetworkTapsOperationsExtensions.ListByResourceGroupAsync Method

Definition

Gets all the VirtualNetworkTaps in a subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.VirtualNetworkTap>> ListByResourceGroupAsync (this Microsoft.Azure.Management.Network.IVirtualNetworkTapsOperations operations, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member ListByResourceGroupAsync : Microsoft.Azure.Management.Network.IVirtualNetworkTapsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.VirtualNetworkTap>>
<Extension()>
Public Function ListByResourceGroupAsync (operations As IVirtualNetworkTapsOperations, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of VirtualNetworkTap))

Parameters

operations
IVirtualNetworkTapsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to