Share via


JobSpecification.JobReleaseTask Property

Definition

Gets or sets the Job Release Task for Jobs created under this schedule.

[Newtonsoft.Json.JsonProperty(PropertyName="jobReleaseTask")]
public Microsoft.Azure.Batch.Protocol.Models.JobReleaseTask JobReleaseTask { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="jobReleaseTask")>]
member this.JobReleaseTask : Microsoft.Azure.Batch.Protocol.Models.JobReleaseTask with get, set
Public Property JobReleaseTask As JobReleaseTask

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

The primary purpose of the Job Release Task is to undo changes to Nodes made by the Job Preparation Task. Example activities include deleting local files, or shutting down services that were started as part of Job preparation. A Job Release Task cannot be specified without also specifying a Job Preparation Task for the Job. The Batch service runs the Job Release Task on the Compute Nodes that have run the Job Preparation Task.

Applies to