다음을 통해 공유


CloudPool.StopResize(IEnumerable<BatchClientBehavior>) Method

Definition

Stops a resize operation on this pool.

public void StopResize (System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default);
member this.StopResize : seq<Microsoft.Azure.Batch.BatchClientBehavior> -> unit
Public Sub StopResize (Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing)

Parameters

additionalBehaviors
IEnumerable<BatchClientBehavior>

A collection of BatchClientBehavior instances that are applied to the Batch service request after the CustomBehaviors.

Remarks

This operation stops an ongoing resize operation on the pool. The pool size will stabilize at the number of nodes it is at when the stop operation is done. During the stop operation, the pool AllocationState changes first to Stopping and then to Steady.

This is a blocking operation. For a non-blocking equivalent, see StopResizeAsync(IEnumerable<BatchClientBehavior>, CancellationToken).

Applies to