/// <summary> /// Deletes the specified network watcher resource. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='networkWatcherName'> /// The name of the network watcher. /// </param> public static void BeginDelete(this INetworkWatchersOperations operations, string resourceGroupName, string networkWatcherName) { operations.BeginDeleteAsync(resourceGroupName, networkWatcherName).GetAwaiter().GetResult(); }