/// <summary>
 /// Retrieve a list of dsc compilation jobs.  (see
 /// http://aka.ms/azureautomationsdk/compilationjoboperations for more
 /// information)
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.Automation.IDscCompilationJobOperations.
 /// </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 job operation.
 /// </returns>
 public static Task<DscCompilationJobListResponse> ListAsync(this IDscCompilationJobOperations operations, string resourceGroupName, string automationAccount, DscCompilationJobListParameters parameters)
 {
     return operations.ListAsync(resourceGroupName, automationAccount, parameters, CancellationToken.None);
 }
 /// <summary>
 /// Retrieve a list of dsc compilation jobs.  (see
 /// http://aka.ms/azureautomationsdk/compilationjoboperations for more
 /// information)
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.Automation.IDscCompilationJobOperations.
 /// </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 job operation.
 /// </returns>
 public static DscCompilationJobListResponse List(this IDscCompilationJobOperations operations, string resourceGroupName, string automationAccount, DscCompilationJobListParameters parameters)
 {
     return Task.Factory.StartNew((object s) => 
     {
         return ((IDscCompilationJobOperations)s).ListAsync(resourceGroupName, automationAccount, parameters);
     }
     , operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
 }