Share via


NetworkWatchersOperationsExtensions.ListAllAsync Method

Definition

Gets all network watchers by subscription.

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

Parameters

operations
INetworkWatchersOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to