JobScheduleOperationsExtensions.ExistsAsync Method

Definition

Checks the specified Job Schedule exists.

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

Parameters

operations
IJobScheduleOperations

The operations group for this extension method.

jobScheduleId
String

The ID of the Job Schedule which you want to check.

jobScheduleExistsOptions
JobScheduleExistsOptions

Additional parameters for the operation

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to