/// <summary> /// Lists all of the Job Schedules in the specified Account. /// </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> /// <param name='jobScheduleListNextOptions'> /// Additional parameters for the operation /// </param> public static IPage <CloudJobSchedule> ListNext(this IJobScheduleOperations operations, string nextPageLink, JobScheduleListNextOptions jobScheduleListNextOptions = default(JobScheduleListNextOptions)) { return(operations.ListNextAsync(nextPageLink, jobScheduleListNextOptions).GetAwaiter().GetResult()); }
/// <summary> /// Retrieve next list of schedules. (see /// http://aka.ms/azureautomationsdk/jobscheduleoperations for more /// information) /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.WindowsAzure.Management.Automation.IJobScheduleOperations. /// </param> /// <param name='nextLink'> /// Required. The link to retrieve next set of items. /// </param> /// <returns> /// The response model for the list job schedule operation. /// </returns> public static Task <JobScheduleListResponse> ListNextAsync(this IJobScheduleOperations operations, string nextLink) { return(operations.ListNextAsync(nextLink, CancellationToken.None)); }