Udostępnij za pośrednictwem


JobReleaseTask.RetentionTime Property

Definition

Gets or sets the minimum time to retain the Task directory for the Job Release Task on the Compute Node. After this time, the Batch service may delete the Task directory and all its contents.

[Newtonsoft.Json.JsonProperty(PropertyName="retentionTime")]
public TimeSpan? RetentionTime { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="retentionTime")>]
member this.RetentionTime : Nullable<TimeSpan> with get, set
Public Property RetentionTime As Nullable(Of TimeSpan)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

The default is 7 days, i.e. the Task directory will be retained for 7 days unless the Compute Node is removed or the Job is deleted.

Applies to