NetworkWatchersOperationsExtensions.ListAsync(INetworkWatchersOperations, String, CancellationToken) 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 = null);
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>>

Parameters

operations
INetworkWatchersOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<NetworkWatcherInner>>

Applies to