/// <summary> /// Retrieve 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 JobSchedule Get(this IJobScheduleOperations operations, string resourceGroupName, string automationAccountName, System.Guid jobScheduleId) { return(operations.GetAsync(resourceGroupName, automationAccountName, jobScheduleId).GetAwaiter().GetResult()); }
/// <summary> /// Gets information about the specified Job Schedule. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='jobScheduleId'> /// The ID of the Job Schedule to get. /// </param> /// <param name='jobScheduleGetOptions'> /// Additional parameters for the operation /// </param> public static CloudJobSchedule Get(this IJobScheduleOperations operations, string jobScheduleId, JobScheduleGetOptions jobScheduleGetOptions = default(JobScheduleGetOptions)) { return(operations.GetAsync(jobScheduleId, jobScheduleGetOptions).GetAwaiter().GetResult()); }
/// <summary> /// Retrieve 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> /// The response model for the get job schedule operation. /// </returns> public static Task <JobScheduleGetResponse> GetAsync(this IJobScheduleOperations operations, string automationAccount, Guid jobScheduleName) { return(operations.GetAsync(automationAccount, jobScheduleName, CancellationToken.None)); }