Condividi tramite


JobOperationsExtensions.SubmitSparkSessionJobAsync Method

Definition

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

Parameters

operations
IJobOperations
sparkSessionJobRequest
SparkSessionJobRequest
requestedBy
String
cancellationToken
CancellationToken

Returns

Applies to