Exemplo n.º 1
0
 /// <summary>
 /// Retrieve a list of watchers.  (see
 /// http://aka.ms/azureautomationsdk/watcheroperations for more
 /// information)
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.Automation.IWatcherOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The name of the resource group.
 /// </param>
 /// <param name='automationAccount'>
 /// Required. The automation account name.
 /// </param>
 /// <returns>
 /// The response model for the list watcher operation.
 /// </returns>
 public static Task <WatcherListResponse> ListAsync(this IWatcherOperations operations, string resourceGroupName, string automationAccount)
 {
     return(operations.ListAsync(resourceGroupName, automationAccount, CancellationToken.None));
 }