Share via


BatchAccountPoolResource.StopResize(CancellationToken) Method

Definition

This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. After stopping, the pool stabilizes at the number of nodes it was at when the stop operation was done. During the stop operation, the pool allocation state changes first to stopping and then to steady. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}/stopResize
  • Operation Id: Pool_StopResize
  • Default Api Version: 2024-07-01
  • Resource: BatchAccountPoolResource
public virtual Azure.Response<Azure.ResourceManager.Batch.BatchAccountPoolResource> StopResize (System.Threading.CancellationToken cancellationToken = default);
abstract member StopResize : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Batch.BatchAccountPoolResource>
override this.StopResize : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Batch.BatchAccountPoolResource>
Public Overridable Function StopResize (Optional cancellationToken As CancellationToken = Nothing) As Response(Of BatchAccountPoolResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to