Partager via


BatchAccountPoolResource.DisableAutoScale(CancellationToken) Method

Definition

Disables automatic scaling for a pool.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to