VirtualWansOperationsExtensions.ListByResourceGroupAsync(IVirtualWansOperations, String, CancellationToken) Method

Definition

Lists all the VirtualWANs in a resource group.

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

Parameters

operations
IVirtualWansOperations

The operations group for this extension method.

resourceGroupName
System.String

The resource group name of the VirtualWan.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<IPage<VirtualWAN>>

Applies to