/// <summary>
 /// Creates the Dsc compilation job of the configuration.  (see
 /// http://aka.ms/azureautomationsdk/dscconfigurationcompilejoboperations
 /// 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='parameters'>
 /// Required. The parameters supplied to the create compilation job
 /// operation.
 /// </param>
 /// <returns>
 /// The response model for the create Dsc Compilation job operation.
 /// </returns>
 public static Task <DscCompilationJobCreateResponse> CreateAsync(this IDscCompilationJobOperations operations, string resourceGroupName, string automationAccount, DscCompilationJobCreateParameters parameters)
 {
     return(operations.CreateAsync(resourceGroupName, automationAccount, parameters, CancellationToken.None));
 }
 /// <summary>
 /// Creates the Dsc compilation job of the configuration.
 /// <see href="http://aka.ms/azureautomationsdk/dscconfigurationcompilejoboperations" />
 /// </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>
 /// <param name='parameters'>
 /// The parameters supplied to the create compilation job operation.
 /// </param>
 public static DscCompilationJob Create(this IDscCompilationJobOperations operations, string resourceGroupName, string automationAccountName, string compilationJobName, DscCompilationJobCreateParameters parameters)
 {
     return(operations.CreateAsync(resourceGroupName, automationAccountName, compilationJobName, parameters).GetAwaiter().GetResult());
 }