TaskConstraints.RetentionTime Property
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.
Gets or sets the minimum time to retain the working directory for the task on the compute node where it ran, from the time it completes execution. After this time, the Batch service may delete the working directory and all its contents.
public TimeSpan? RetentionTime { get; set; }
member this.RetentionTime : Nullable<TimeSpan> with get, set
Public Property RetentionTime As Nullable(Of TimeSpan)
Property Value
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應