共用方式為


JobAddParameter.JobReleaseTask Property

Definition

Gets or sets the Job Release Task.

[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

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 Nodes that have run the Job Preparation Task. The primary purpose of the Job Release Task is to undo changes to Compute 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.

Applies to