JobScheduleOperationsExtensions.Disable Method

Definition

Disables a Job Schedule.

public static Microsoft.Azure.Batch.Protocol.Models.JobScheduleDisableHeaders Disable (this Microsoft.Azure.Batch.Protocol.IJobScheduleOperations operations, string jobScheduleId, Microsoft.Azure.Batch.Protocol.Models.JobScheduleDisableOptions jobScheduleDisableOptions = default);
static member Disable : Microsoft.Azure.Batch.Protocol.IJobScheduleOperations * string * Microsoft.Azure.Batch.Protocol.Models.JobScheduleDisableOptions -> Microsoft.Azure.Batch.Protocol.Models.JobScheduleDisableHeaders
<Extension()>
Public Function Disable (operations As IJobScheduleOperations, jobScheduleId As String, Optional jobScheduleDisableOptions As JobScheduleDisableOptions = Nothing) As JobScheduleDisableHeaders

Parameters

operations
IJobScheduleOperations

The operations group for this extension method.

jobScheduleId
System.String

The ID of the Job Schedule to disable.

jobScheduleDisableOptions
JobScheduleDisableOptions

Additional parameters for the operation

Returns

JobScheduleDisableHeaders

Remarks

No new Jobs will be created until the Job Schedule is enabled again.

Applies to