NetworkWatchersOperationsExtensions.ListAsync Method

Definition

Gets all network watchers by resource group.

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Network.Fluent.Models.NetworkWatcherInner>> ListAsync (this Microsoft.Azure.Management.Network.Fluent.INetworkWatchersOperations operations, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Network.Fluent.INetworkWatchersOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.Network.Fluent.Models.NetworkWatcherInner>>
<Extension()>
Public Function ListAsync (operations As INetworkWatchersOperations, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of NetworkWatcherInner))

Parameters

operations
INetworkWatchersOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to