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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET