Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CloudPool.StopResize(IEnumerable<BatchClientBehavior>) 方法

定义

停止此池上的重设大小操作。

public void StopResize (System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default);
member this.StopResize : seq<Microsoft.Azure.Batch.BatchClientBehavior> -> unit
Public Sub StopResize (Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing)

参数

additionalBehaviors
IEnumerable<BatchClientBehavior>

在 之后应用于 Batch 服务请求的实例集合BatchClientBehaviorCustomBehaviors

注解

此操作会停止池上正在进行的重设大小操作。 完成停止操作时,池大小将稳定在节点数处。 在停止操作期间,池 AllocationState 首先更改为 Stopping ,然后更改为 Steady

这是一个阻止操作。 有关非阻塞等效项,请参阅 StopResizeAsync(IEnumerable<BatchClientBehavior>, CancellationToken)

适用于