/// <summary> /// Retrieve a list of watchers. /// <see href="http://aka.ms/azureautomationsdk/watcheroperations" /> /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='nextPageLink'> /// The NextLink from the previous successful call to List operation. /// </param> public static IPage <Watcher> ListByAutomationAccountNext(this IWatcherOperations operations, string nextPageLink) { return(operations.ListByAutomationAccountNextAsync(nextPageLink).GetAwaiter().GetResult()); }