/// <summary> /// Retrieve the Dsc configuration compilation job identified by job /// id. (see /// http://aka.ms/azureautomationsdk/dsccompilationjoboperations for /// more information) /// </summary> /// <param name='operations'> /// Reference to the /// Microsoft.Azure.Management.Automation.IDscCompilationJobOperations. /// </param> /// <param name='resourceGroupName'> /// Required. The name of the resource group /// </param> /// <param name='automationAccount'> /// Required. The automation account name. /// </param> /// <param name='jobId'> /// Required. The Dsc configuration compilation job id. /// </param> /// <returns> /// The response model for the get Dsc compilation job operation. /// </returns> public static Task <DscCompilationJobGetResponse> GetAsync(this IDscCompilationJobOperations operations, string resourceGroupName, string automationAccount, Guid jobId) { return(operations.GetAsync(resourceGroupName, automationAccount, jobId, CancellationToken.None)); }
/// <summary> /// Retrieve the Dsc configuration compilation job identified by job id. /// <see href="http://aka.ms/azureautomationsdk/dsccompilationjoboperations" /> /// </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='compilationJobName'> /// The the DSC configuration Id. /// </param> public static DscCompilationJob Get(this IDscCompilationJobOperations operations, string resourceGroupName, string automationAccountName, string compilationJobName) { return(operations.GetAsync(resourceGroupName, automationAccountName, compilationJobName).GetAwaiter().GetResult()); }