JobOperationsExtensions.KillJobAsync(IJobOperations, String) JobOperationsExtensions.KillJobAsync(IJobOperations, String) JobOperationsExtensions.KillJobAsync(IJobOperations, String) Method

Definition

Initiates cancel on given running job in the specified HDInsight cluster.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.HDInsight.Job.Models.JobGetResponse> KillJobAsync (this Microsoft.Azure.Management.HDInsight.Job.IJobOperations operations, string jobId);
static member KillJobAsync : Microsoft.Azure.Management.HDInsight.Job.IJobOperations * string -> System.Threading.Tasks.Task<Microsoft.Azure.Management.HDInsight.Job.Models.JobGetResponse>
<Extension()>
Public Function KillJobAsync (operations As IJobOperations, jobId As String) As Task(Of JobGetResponse)
Parameters
operations
IJobOperations IJobOperations IJobOperations

Reference to the Microsoft.Azure.Management.HDInsight.Job.IJobOperations.

jobId
String String String

Required. The id of the job.

Returns

The Get Job operation response.

Applies to