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