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