PoolLifetimeOption Enum

  • java.lang.Object
    • java.lang.Enum<PoolLifetimeOption>
      • com.microsoft.azure.batch.protocol.models.PoolLifetimeOption

public enum PoolLifetimeOption

Defines values for PoolLifetimeOption.

Fields

JOB

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.

JOB_SCHEDULE

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.

Methods

fromString(String value)

public static PoolLifetimeOption fromString(String value)

Parses a serialized value to a PoolLifetimeOption instance.

Parameters

value
String
the serialized value to parse.

Returns

the parsed PoolLifetimeOption object, or null if unable to parse.

toString()

public String toString()

Returns

String

Applies to