Condividi tramite


JobOperationsExtensions.DeleteSparkBatchJobAsync Method

Definition

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

Parameters

operations
IJobOperations
batchId
Int32
requestedBy
String
cancellationToken
CancellationToken

Returns

Applies to