你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
BatchAccountPoolResource.DisableAutoScale(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.