/// <summary>
 /// Lists all recurrences.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='accountName'>
 /// The Azure Data Lake Analytics account to execute job operations on.
 /// </param>
 /// <param name='startDateTime'>
 /// The start date for when to get the list of recurrences. The startDateTime
 /// and endDateTime can be no more than 30 days apart.
 /// </param>
 /// <param name='endDateTime'>
 /// The end date for when to get the list of recurrences. The startDateTime and
 /// endDateTime can be no more than 30 days apart.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <JobRecurrenceInformation> > ListAsync(this IRecurrenceOperations operations, string accountName, System.DateTimeOffset?startDateTime = default(System.DateTimeOffset?), System.DateTimeOffset?endDateTime = default(System.DateTimeOffset?), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListWithHttpMessagesAsync(accountName, startDateTime, endDateTime, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }