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

ResizeOperationStatus 构造函数

定义

重载

ResizeOperationStatus()

初始化 ResizeOperationStatus 类的新实例。

ResizeOperationStatus(Nullable<Int32>, Nullable<Int32>, Nullable<TimeSpan>, Nullable<ComputeNodeDeallocationOption>, Nullable<DateTime>, IList<ResizeError>)

初始化 ResizeOperationStatus 类的新实例。

ResizeOperationStatus()

初始化 ResizeOperationStatus 类的新实例。

public ResizeOperationStatus();
Public Sub New ()

适用于

ResizeOperationStatus(Nullable<Int32>, Nullable<Int32>, Nullable<TimeSpan>, Nullable<ComputeNodeDeallocationOption>, Nullable<DateTime>, IList<ResizeError>)

初始化 ResizeOperationStatus 类的新实例。

public ResizeOperationStatus(int? targetDedicatedNodes = default, int? targetLowPriorityNodes = default, TimeSpan? resizeTimeout = default, Microsoft.Azure.Management.Batch.Models.ComputeNodeDeallocationOption? nodeDeallocationOption = default, DateTime? startTime = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.ResizeError> errors = default);
new Microsoft.Azure.Management.Batch.Models.ResizeOperationStatus : Nullable<int> * Nullable<int> * Nullable<TimeSpan> * Nullable<Microsoft.Azure.Management.Batch.Models.ComputeNodeDeallocationOption> * Nullable<DateTime> * System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.ResizeError> -> Microsoft.Azure.Management.Batch.Models.ResizeOperationStatus
Public Sub New (Optional targetDedicatedNodes As Nullable(Of Integer) = Nothing, Optional targetLowPriorityNodes As Nullable(Of Integer) = Nothing, Optional resizeTimeout As Nullable(Of TimeSpan) = Nothing, Optional nodeDeallocationOption As Nullable(Of ComputeNodeDeallocationOption) = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional errors As IList(Of ResizeError) = Nothing)

参数

targetDedicatedNodes
Nullable<Int32>

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

targetLowPriorityNodes
Nullable<Int32>

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

resizeTimeout
Nullable<TimeSpan>

将计算节点分配到池或从池中删除计算节点的超时。

nodeDeallocationOption
Nullable<ComputeNodeDeallocationOption>

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

startTime
Nullable<DateTime>

开始重设大小操作的时间。

errors
IList<ResizeError>

在池上执行上次重设大小时遇到的任何错误的详细信息。

适用于