共用方式為


AutoPoolSpecification Constructors

Definition

Overloads

AutoPoolSpecification()

Initializes a new instance of the AutoPoolSpecification class.

AutoPoolSpecification(PoolLifetimeOption, String, Nullable<Boolean>, PoolSpecification)

Initializes a new instance of the AutoPoolSpecification class.

AutoPoolSpecification()

Source:
AutoPoolSpecification.cs

Initializes a new instance of the AutoPoolSpecification class.

public AutoPoolSpecification ();
Public Sub New ()

Applies to

AutoPoolSpecification(PoolLifetimeOption, String, Nullable<Boolean>, PoolSpecification)

Source:
AutoPoolSpecification.cs

Initializes a new instance of the AutoPoolSpecification class.

public AutoPoolSpecification (Microsoft.Azure.Batch.Protocol.Models.PoolLifetimeOption poolLifetimeOption, string autoPoolIdPrefix = default, bool? keepAlive = default, Microsoft.Azure.Batch.Protocol.Models.PoolSpecification pool = default);
new Microsoft.Azure.Batch.Protocol.Models.AutoPoolSpecification : Microsoft.Azure.Batch.Protocol.Models.PoolLifetimeOption * string * Nullable<bool> * Microsoft.Azure.Batch.Protocol.Models.PoolSpecification -> Microsoft.Azure.Batch.Protocol.Models.AutoPoolSpecification
Public Sub New (poolLifetimeOption As PoolLifetimeOption, Optional autoPoolIdPrefix As String = Nothing, Optional keepAlive As Nullable(Of Boolean) = Nothing, Optional pool As PoolSpecification = Nothing)

Parameters

poolLifetimeOption
PoolLifetimeOption

The minimum lifetime of created auto Pools, and how multiple Jobs on a schedule are assigned to Pools.

autoPoolIdPrefix
String

A prefix to be added to the unique identifier when a Pool is automatically created.

keepAlive
Nullable<Boolean>

Whether to keep an auto Pool alive after its lifetime expires.

pool
PoolSpecification

The Pool specification for the auto Pool.

Applies to