/// <summary>
 /// Create a job schedule.
 /// <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>
 /// <param name='parameters'>
 /// The parameters supplied to the create job schedule operation.
 /// </param>
 public static JobSchedule Create(this IJobScheduleOperations operations, string resourceGroupName, string automationAccountName, System.Guid jobScheduleId, JobScheduleCreateParameters parameters)
 {
     return(operations.CreateAsync(resourceGroupName, automationAccountName, jobScheduleId, parameters).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Create a job schedule.  (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='parameters'>
 /// Required. The parameters supplied to the create job schedule
 /// operation.
 /// </param>
 /// <returns>
 /// The response model for the create job schedule operation.
 /// </returns>
 public static Task <JobScheduleCreateResponse> CreateAsync(this IJobScheduleOperations operations, string automationAccount, JobScheduleCreateParameters parameters)
 {
     return(operations.CreateAsync(automationAccount, parameters, CancellationToken.None));
 }