Share via


JobOperationsExtensions.ListFromJobScheduleAsync Method

Definition

Lists the Jobs that have been created under the specified Job Schedule.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Batch.Protocol.Models.CloudJob>> ListFromJobScheduleAsync (this Microsoft.Azure.Batch.Protocol.IJobOperations operations, string jobScheduleId, Microsoft.Azure.Batch.Protocol.Models.JobListFromJobScheduleOptions jobListFromJobScheduleOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member ListFromJobScheduleAsync : Microsoft.Azure.Batch.Protocol.IJobOperations * string * Microsoft.Azure.Batch.Protocol.Models.JobListFromJobScheduleOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Batch.Protocol.Models.CloudJob>>
<Extension()>
Public Function ListFromJobScheduleAsync (operations As IJobOperations, jobScheduleId As String, Optional jobListFromJobScheduleOptions As JobListFromJobScheduleOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of CloudJob))

Parameters

operations
IJobOperations

The operations group for this extension method.

jobScheduleId
String

The ID of the Job Schedule from which you want to get a list of Jobs.

jobListFromJobScheduleOptions
JobListFromJobScheduleOptions

Additional parameters for the operation

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to