Delen via


JobOperationsExtensions.DeleteSparkSessionJobAsync Method

Definition

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

Parameters

operations
IJobOperations
sessionId
Int32
requestedBy
String
cancellationToken
CancellationToken

Returns

Applies to