JobScheduleOperationsExtensions.TerminateAsync 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.
Terminates a Job Schedule.
public static System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.JobScheduleTerminateHeaders> TerminateAsync (this Microsoft.Azure.Batch.Protocol.IJobScheduleOperations operations, string jobScheduleId, Microsoft.Azure.Batch.Protocol.Models.JobScheduleTerminateOptions jobScheduleTerminateOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member TerminateAsync : Microsoft.Azure.Batch.Protocol.IJobScheduleOperations * string * Microsoft.Azure.Batch.Protocol.Models.JobScheduleTerminateOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.JobScheduleTerminateHeaders>
<Extension()>
Public Function TerminateAsync (operations As IJobScheduleOperations, jobScheduleId As String, Optional jobScheduleTerminateOptions As JobScheduleTerminateOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of JobScheduleTerminateHeaders)
Parameters
- operations
- IJobScheduleOperations
The operations group for this extension method.
- jobScheduleId
- String
The ID of the Job Schedule to terminates.
- jobScheduleTerminateOptions
- JobScheduleTerminateOptions
Additional parameters for the operation
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET