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.Fluent.Models.NetworkWatcherInner>> ListAllAsync (this Microsoft.Azure.Management.Network.Fluent.INetworkWatchersOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListAllAsync : Microsoft.Azure.Management.Network.Fluent.INetworkWatchersOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.Network.Fluent.Models.NetworkWatcherInner>>
<Extension()>
Public Function ListAllAsync (operations As INetworkWatchersOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of NetworkWatcherInner))

Parameters

operations
INetworkWatchersOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to