/// <summary> /// Gets the specified network watcher by resource group. /// </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 NetworkWatcher Get(this INetworkWatchersOperations operations, string resourceGroupName, string networkWatcherName) { return(operations.GetAsync(resourceGroupName, networkWatcherName).GetAwaiter().GetResult()); }