Delen via


PoolResizeParameter Constructors

Definition

Overloads

PoolResizeParameter()

Initializes a new instance of the PoolResizeParameter class.

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

Initializes a new instance of the PoolResizeParameter class.

PoolResizeParameter()

Source:
PoolResizeParameter.cs

Initializes a new instance of the PoolResizeParameter class.

public PoolResizeParameter ();
Public Sub New ()

Applies to

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

Source:
PoolResizeParameter.cs

Initializes a new instance of the PoolResizeParameter class.

public PoolResizeParameter (int? targetDedicatedNodes = default, int? targetLowPriorityNodes = default, TimeSpan? resizeTimeout = default, Microsoft.Azure.Batch.Protocol.Models.ComputeNodeDeallocationOption? nodeDeallocationOption = default);
new Microsoft.Azure.Batch.Protocol.Models.PoolResizeParameter : Nullable<int> * Nullable<int> * Nullable<TimeSpan> * Nullable<Microsoft.Azure.Batch.Protocol.Models.ComputeNodeDeallocationOption> -> Microsoft.Azure.Batch.Protocol.Models.PoolResizeParameter
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)

Parameters

targetDedicatedNodes
Nullable<Int32>

The desired number of dedicated Compute Nodes in the Pool.

targetLowPriorityNodes
Nullable<Int32>

The desired number of Spot/Low-priority Compute Nodes in the Pool.

resizeTimeout
Nullable<TimeSpan>

The timeout for allocation of Nodes to the Pool or removal of Compute Nodes from the Pool.

nodeDeallocationOption
Nullable<ComputeNodeDeallocationOption>

Determines what to do with a Compute Node and its running task(s) if the Pool size is decreasing.

Applies to