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

FixedScaleSettings interface

修复了池的缩放设置。

属性

nodeDeallocationOption

如果省略,则默认值为“重新排队”。

resizeTimeout

默认值为 15 分钟。 超时值使用 ISO 8601 格式。 例如,使用 PT10M 10 分钟。 最小值为 5 分钟。 如果指定的值小于 5 分钟,Batch 服务将拒绝请求并显示错误;如果直接调用 REST API,则 HTTP 状态代码为 400(请求错误)。

targetDedicatedNodes

必须设置至少一个 targetDedicatedNodes,targetLowPriorityNodes。

targetLowPriorityNodes

必须设置至少一个 targetDedicatedNodes,targetLowPriorityNodes。

属性详细信息

nodeDeallocationOption

如果省略,则默认值为“重新排队”。

nodeDeallocationOption?: ComputeNodeDeallocationOption

属性值

resizeTimeout

默认值为 15 分钟。 超时值使用 ISO 8601 格式。 例如,使用 PT10M 10 分钟。 最小值为 5 分钟。 如果指定的值小于 5 分钟,Batch 服务将拒绝请求并显示错误;如果直接调用 REST API,则 HTTP 状态代码为 400(请求错误)。

resizeTimeout?: string

属性值

string

targetDedicatedNodes

必须设置至少一个 targetDedicatedNodes,targetLowPriorityNodes。

targetDedicatedNodes?: number

属性值

number

targetLowPriorityNodes

必须设置至少一个 targetDedicatedNodes,targetLowPriorityNodes。

targetLowPriorityNodes?: number

属性值

number