/// <summary>
 /// Terminates a Job Schedule.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='jobScheduleId'>
 /// The ID of the Job Schedule to terminates.
 /// </param>
 /// <param name='jobScheduleTerminateOptions'>
 /// Additional parameters for the operation
 /// </param>
 public static JobScheduleTerminateHeaders Terminate(this IJobScheduleOperations operations, string jobScheduleId, JobScheduleTerminateOptions jobScheduleTerminateOptions = default(JobScheduleTerminateOptions))
 {
     return(operations.TerminateAsync(jobScheduleId, jobScheduleTerminateOptions).GetAwaiter().GetResult());
 }