共用方式為


AutoPoolSpecification.KeepAlive Property

Definition

Gets or sets whether to keep an auto Pool alive after its lifetime expires.

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

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

If false, the Batch service deletes the Pool once its lifetime (as determined by the poolLifetimeOption setting) expires; that is, when the Job or Job Schedule completes. If true, the Batch service does not delete the Pool automatically. It is up to the user to delete auto Pools created with this option.

Applies to