/// <summary>
 /// Retrieve a list of dsc nodes.  (see
 /// http://aka.ms/azureautomationsdk/dscnodeoperations for more
 /// information)
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.Automation.IDscNodeOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The name of the resource group
 /// </param>
 /// <param name='automationAccount'>
 /// Required. The automation account name.
 /// </param>
 /// <param name='parameters'>
 /// Optional. The parameters supplied to the list operation.
 /// </param>
 /// <returns>
 /// The response model for the list dsc nodes operation.
 /// </returns>
 public static Task<DscNodeListResponse> ListAsync(this IDscNodeOperations operations, string resourceGroupName, string automationAccount, DscNodeListParameters parameters)
 {
     return operations.ListAsync(resourceGroupName, automationAccount, parameters, CancellationToken.None);
 }
 /// <summary>
 /// Retrieve a list of dsc nodes.  (see
 /// http://aka.ms/azureautomationsdk/dscnodeoperations for more
 /// information)
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.Automation.IDscNodeOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The name of the resource group
 /// </param>
 /// <param name='automationAccount'>
 /// Required. The automation account name.
 /// </param>
 /// <param name='parameters'>
 /// Optional. The parameters supplied to the list operation.
 /// </param>
 /// <returns>
 /// The response model for the list dsc nodes operation.
 /// </returns>
 public static DscNodeListResponse List(this IDscNodeOperations operations, string resourceGroupName, string automationAccount, DscNodeListParameters parameters)
 {
     return Task.Factory.StartNew((object s) => 
     {
         return ((IDscNodeOperations)s).ListAsync(resourceGroupName, automationAccount, parameters);
     }
     , operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
 }