/// <summary>
 /// Delete the job schedule identified by job schedule name.
 /// <see href="http://aka.ms/azureautomationsdk/jobscheduleoperations" />
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of an Azure Resource group.
 /// </param>
 /// <param name='automationAccountName'>
 /// The name of the automation account.
 /// </param>
 /// <param name='jobScheduleId'>
 /// The job schedule name.
 /// </param>
 public static void Delete(this IJobScheduleOperations operations, string resourceGroupName, string automationAccountName, System.Guid jobScheduleId)
 {
     operations.DeleteAsync(resourceGroupName, automationAccountName, jobScheduleId).GetAwaiter().GetResult();
 }
 /// <summary>
 /// Deletes a Job Schedule from the specified Account.
 /// </summary>
 /// <remarks>
 /// When you delete a Job Schedule, this also deletes all Jobs and Tasks under
 /// that schedule. When Tasks are deleted, all the files in their working
 /// directories on the Compute Nodes are also deleted (the retention period is
 /// ignored). The Job Schedule statistics are no longer accessible once the Job
 /// Schedule is deleted, though they are still counted towards Account lifetime
 /// statistics.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='jobScheduleId'>
 /// The ID of the Job Schedule to delete.
 /// </param>
 /// <param name='jobScheduleDeleteOptions'>
 /// Additional parameters for the operation
 /// </param>
 public static JobScheduleDeleteHeaders Delete(this IJobScheduleOperations operations, string jobScheduleId, JobScheduleDeleteOptions jobScheduleDeleteOptions = default(JobScheduleDeleteOptions))
 {
     return(operations.DeleteAsync(jobScheduleId, jobScheduleDeleteOptions).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Delete the job schedule identified by job schedule name.  (see
 /// http://aka.ms/azureautomationsdk/jobscheduleoperations for more
 /// information)
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.WindowsAzure.Management.Automation.IJobScheduleOperations.
 /// </param>
 /// <param name='automationAccount'>
 /// Required. The automation account name.
 /// </param>
 /// <param name='jobScheduleName'>
 /// Required. The job schedule name.
 /// </param>
 /// <returns>
 /// A standard service response including an HTTP status code and
 /// request ID.
 /// </returns>
 public static Task <AzureOperationResponse> DeleteAsync(this IJobScheduleOperations operations, string automationAccount, Guid jobScheduleName)
 {
     return(operations.DeleteAsync(automationAccount, jobScheduleName, CancellationToken.None));
 }