/// <summary>
 /// Builds (compiles) the specified job in the specified Data Lake Analytics
 /// account for job correctness and validation.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='accountName'>
 /// The Azure Data Lake Analytics account to execute job operations on.
 /// </param>
 /// <param name='parameters'>
 /// The parameters to build a job.
 /// </param>
 public static JobInformation Build(this IJobOperations operations, string accountName, BuildJobParameters parameters)
 {
     return(operations.BuildAsync(accountName, parameters).GetAwaiter().GetResult());
 }
示例#2
0
 /// <summary>
 /// Builds (compiles) the specified job in the specified Data Lake
 /// Analytics account for job correctness and validation.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.DataLake.AnalyticsJob.IJobOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The name of the resource group.
 /// </param>
 /// <param name='accountName'>
 /// Required. The name of the Data Lake Analytics account to build the
 /// job for
 /// </param>
 /// <param name='parameters'>
 /// Required. The parameters to build a job, which simulates submission.
 /// </param>
 /// <returns>
 /// Data Lake Analytics job information response from a build or create
 /// request.
 /// </returns>
 public static Task <JobInfoBuildOrCreateResponse> BuildAsync(this IJobOperations operations, string resourceGroupName, string accountName, JobInfoBuildOrCreateParameters parameters)
 {
     return(operations.BuildAsync(resourceGroupName, accountName, parameters, CancellationToken.None));
 }