JobOperationsExtensions.SubmitSparkBatchJobAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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