Share via


JobScheduleOperationsExtensions.Delete Method

Definition

Deletes a Job Schedule from the specified Account.

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

Parameters

operations
IJobScheduleOperations

The operations group for this extension method.

jobScheduleId
String

The ID of the Job Schedule to delete.

jobScheduleDeleteOptions
JobScheduleDeleteOptions

Additional parameters for the operation

Returns

Remarks

When you delete a Job Schedule, this also deletes all Jobs and Tasks under that schedule. When Tasks are deleted, all the files in their working directories on the Compute Nodes are also deleted (the retention period is ignored). The Job Schedule statistics are no longer accessible once the Job Schedule is deleted, though they are still counted towards Account lifetime statistics.

Applies to