v7

latestSwagger 2.0raw.githubusercontent.com2019-12-163581169.9 KB
Pool

Stops an ongoing resize operation on the pool.

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.

post/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}/stopResize

Path parameters

resourceGroupNamestring required

The name of the resource group that contains the Batch account.

accountNamestring required

The name of the Batch account.

poolNamestring required

The pool name. This must be unique within the account.

subscriptionIdstring required

The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)

Query parameters

api-versionstring required

The API version to be used with the HTTP request.

Response

The operation was successful. The response contains the pool entity.

idstring

The ID of the resource.

namestring

The name of the resource.

typestring

The type of the resource.

etagstring

The ETag of the resource, used for concurrency statements.