Udostępnij za pośrednictwem


PoolSpecification.ResizeTimeout Property

Definition

Gets or sets the timeout for allocation of Compute Nodes to the Pool.

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

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

This timeout applies only to manual scaling; it has no effect when enableAutoScale is set to true. The default value is 15 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).

Applies to