JobOperationsExtensions.SubmitSparkSessionJobAsync 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.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