JobOperationsExtensions.ListJobsAfterJobIdAsync(IJobOperations, String, Int32) Method

Definition

Gets numOfJobs after jobId from the specified HDInsight cluster.

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

Parameters

operations
IJobOperations

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

jobId
System.String

Optional. jobId from where to list jobs.

numOfJobs
System.Int32

Required. Number of jobs to fetch. Use -1 to get all.

Returns

System.Threading.Tasks.Task<JobListResponse>

The List Job operation response.

Applies to