Condividi tramite


JobOperationsExtensions.SubmitSparkBatchJobAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.HDInsight.Job.Models.SparkBatchJob> SubmitSparkBatchJobAsync (this Microsoft.Azure.HDInsight.Job.IJobOperations operations, Microsoft.Azure.HDInsight.Job.Models.SparkBatchJobRequest sparkBatchJobRequest, string requestedBy = "ambari", System.Threading.CancellationToken cancellationToken = default);
static member SubmitSparkBatchJobAsync : Microsoft.Azure.HDInsight.Job.IJobOperations * Microsoft.Azure.HDInsight.Job.Models.SparkBatchJobRequest * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.HDInsight.Job.Models.SparkBatchJob>
<Extension()>
Public Function SubmitSparkBatchJobAsync (operations As IJobOperations, sparkBatchJobRequest As SparkBatchJobRequest, Optional requestedBy As String = "ambari", Optional cancellationToken As CancellationToken = Nothing) As Task(Of SparkBatchJob)

Parameters

operations
IJobOperations
sparkBatchJobRequest
SparkBatchJobRequest
requestedBy
String
cancellationToken
CancellationToken

Returns

Applies to