/// <summary> /// Adds a Job Schedule to the specified Account. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='cloudJobSchedule'> /// The Job Schedule to be added. /// </param> /// <param name='jobScheduleAddOptions'> /// Additional parameters for the operation /// </param> public static JobScheduleAddHeaders Add(this IJobScheduleOperations operations, JobScheduleAddParameter cloudJobSchedule, JobScheduleAddOptions jobScheduleAddOptions = default(JobScheduleAddOptions)) { return(operations.AddAsync(cloudJobSchedule, jobScheduleAddOptions).GetAwaiter().GetResult()); }