Condividi tramite


PoolLifetimeOption Enum

Definition

Defines values for PoolLifetimeOption.

[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public enum PoolLifetimeOption
[<Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))>]
type PoolLifetimeOption = 
Public Enum PoolLifetimeOption
Inheritance
PoolLifetimeOption
Attributes
Newtonsoft.Json.JsonConverterAttribute

Fields

Job 1

The Pool exists for the lifetime of the Job to which it is dedicated. The Batch service creates the Pool when it creates the Job. If the 'job' option is applied to a Job Schedule, the Batch service creates a new auto Pool for every Job created on the schedule.

JobSchedule 0

The Pool exists for the lifetime of the Job Schedule. The Batch Service creates the Pool when it creates the first Job on the schedule. You may apply this option only to Job Schedules, not to Jobs.

Applies to