ConnectionMonitorsOperationsExtensions.StopAsync Method

Definition

Stops the specified connection monitor.

public static System.Threading.Tasks.Task StopAsync (this Microsoft.Azure.Management.Network.IConnectionMonitorsOperations operations, string resourceGroupName, string networkWatcherName, string connectionMonitorName, System.Threading.CancellationToken cancellationToken = default);
static member StopAsync : Microsoft.Azure.Management.Network.IConnectionMonitorsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function StopAsync (operations As IConnectionMonitorsOperations, resourceGroupName As String, networkWatcherName As String, connectionMonitorName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IConnectionMonitorsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group containing Network Watcher.

networkWatcherName
String

The name of the Network Watcher resource.

connectionMonitorName
String

The name of the connection monitor.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to