CloudPool.StopResizeAsync Method (IEnumerable<BatchClientBehavior>)
Stops a resize operation on this pool.
Namespace: Microsoft.Azure.Batch
Assembly: Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)
Syntax
public Task StopResizeAsync(
IEnumerable<BatchClientBehavior> additionalBehaviors = null
)
public:
Task^ StopResizeAsync(
IEnumerable<BatchClientBehavior^>^ additionalBehaviors = null
)
member StopResizeAsync :
additionalBehaviors:IEnumerable<BatchClientBehavior> = null -> Task
Public Function StopResizeAsync (
additionalBehaviors As IEnumerable(Of BatchClientBehavior)
) As Task
Parameters
additionalBehaviors
Type: System.Collections.Generic.IEnumerable<BatchClientBehavior>A collection of BatchClientBehavior instances that are applied to the Batch service request after the CustomBehaviors.
Return Value
Type: System.Threading.Tasks.Task
A Task that represents the asynchronous operation.
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.
The stop resize operation runs asynchronously.
See Also
CloudPool Class
Microsoft.Azure.Batch Namespace
Return to top