JobScheduleOperationsExtensions.GetAsync Method

Definition

Gets information about the specified Job Schedule.

public static System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.CloudJobSchedule> GetAsync (this Microsoft.Azure.Batch.Protocol.IJobScheduleOperations operations, string jobScheduleId, Microsoft.Azure.Batch.Protocol.Models.JobScheduleGetOptions jobScheduleGetOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Batch.Protocol.IJobScheduleOperations * string * Microsoft.Azure.Batch.Protocol.Models.JobScheduleGetOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.CloudJobSchedule>
<Extension()>
Public Function GetAsync (operations As IJobScheduleOperations, jobScheduleId As String, Optional jobScheduleGetOptions As JobScheduleGetOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CloudJobSchedule)

Parameters

operations
IJobScheduleOperations

The operations group for this extension method.

jobScheduleId
System.String

The ID of the Job Schedule to get.

jobScheduleGetOptions
JobScheduleGetOptions

Additional parameters for the operation

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<CloudJobSchedule>

Applies to