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

FixedScaleSettings 构造函数

定义

重载

FixedScaleSettings()

初始化 FixedScaleSettings 类的新实例。

FixedScaleSettings(Nullable<TimeSpan>, Nullable<Int32>, Nullable<Int32>, Nullable<ComputeNodeDeallocationOption>)

初始化 FixedScaleSettings 类的新实例。

FixedScaleSettings()

初始化 FixedScaleSettings 类的新实例。

public FixedScaleSettings ();
Public Sub New ()

适用于

FixedScaleSettings(Nullable<TimeSpan>, Nullable<Int32>, Nullable<Int32>, Nullable<ComputeNodeDeallocationOption>)

初始化 FixedScaleSettings 类的新实例。

public FixedScaleSettings (TimeSpan? resizeTimeout = default, int? targetDedicatedNodes = default, int? targetLowPriorityNodes = default, Microsoft.Azure.Management.Batch.Models.ComputeNodeDeallocationOption? nodeDeallocationOption = default);
new Microsoft.Azure.Management.Batch.Models.FixedScaleSettings : Nullable<TimeSpan> * Nullable<int> * Nullable<int> * Nullable<Microsoft.Azure.Management.Batch.Models.ComputeNodeDeallocationOption> -> Microsoft.Azure.Management.Batch.Models.FixedScaleSettings
Public Sub New (Optional resizeTimeout As Nullable(Of TimeSpan) = Nothing, Optional targetDedicatedNodes As Nullable(Of Integer) = Nothing, Optional targetLowPriorityNodes As Nullable(Of Integer) = Nothing, Optional nodeDeallocationOption As Nullable(Of ComputeNodeDeallocationOption) = Nothing)

参数

resizeTimeout
Nullable<TimeSpan>

将计算节点分配到池的超时。

targetDedicatedNodes
Nullable<Int32>

池中所需专用计算节点数。

targetLowPriorityNodes
Nullable<Int32>

池中所需的现成/低优先级计算节点数。

nodeDeallocationOption
Nullable<ComputeNodeDeallocationOption>

确定节点及其正在运行的任务 () 池大小减小时如何操作。

适用于