JobScheduleOperations.GetJobSchedule Method

Definition

Gets the specified CloudJobSchedule.

public Microsoft.Azure.Batch.CloudJobSchedule GetJobSchedule (string jobScheduleId, Microsoft.Azure.Batch.DetailLevel detailLevel = default, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default);
member this.GetJobSchedule : string * Microsoft.Azure.Batch.DetailLevel * seq<Microsoft.Azure.Batch.BatchClientBehavior> -> Microsoft.Azure.Batch.CloudJobSchedule
Public Function GetJobSchedule (jobScheduleId As String, Optional detailLevel As DetailLevel = Nothing, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing) As CloudJobSchedule

Parameters

jobScheduleId
System.String

The id of the job schedule to get.

detailLevel
DetailLevel

A DetailLevel used for controlling which properties are retrieved from the service.

additionalBehaviors
System.Collections.Generic.IEnumerable<BatchClientBehavior>

A collection of BatchClientBehavior instances that are applied to the Batch service request after the CustomBehaviors and detailLevel.

Returns

CloudJobSchedule

A CloudJobSchedule containing information about the specified Azure Batch job schedule.

Remarks

This is a blocking operation. For a non-blocking equivalent, see GetJobScheduleAsync(String, DetailLevel, IEnumerable<BatchClientBehavior>, CancellationToken).

Applies to