JobScheduleOperationsExtensions.DisableAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Disables a Job Schedule.
public static System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.JobScheduleDisableHeaders> DisableAsync (this Microsoft.Azure.Batch.Protocol.IJobScheduleOperations operations, string jobScheduleId, Microsoft.Azure.Batch.Protocol.Models.JobScheduleDisableOptions jobScheduleDisableOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member DisableAsync : Microsoft.Azure.Batch.Protocol.IJobScheduleOperations * string * Microsoft.Azure.Batch.Protocol.Models.JobScheduleDisableOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.JobScheduleDisableHeaders>
<Extension()>
Public Function DisableAsync (operations As IJobScheduleOperations, jobScheduleId As String, Optional jobScheduleDisableOptions As JobScheduleDisableOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of JobScheduleDisableHeaders)
Parameters
- operations
- IJobScheduleOperations
The operations group for this extension method.
- jobScheduleId
- String
The ID of the Job Schedule to disable.
- jobScheduleDisableOptions
- JobScheduleDisableOptions
Additional parameters for the operation
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
No new Jobs will be created until the Job Schedule is enabled again.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.