Partager via


BatchJobUpdateContent.PoolInfo Property

Definition

The Pool on which the Batch service runs the Job's Tasks. You may change the Pool for a Job only when the Job is disabled. The Patch Job call will fail if you include the poolInfo element and the Job is not disabled. If you specify an autoPoolSpecification in the poolInfo, only the keepAlive property of the autoPoolSpecification can be updated, and then only if the autoPoolSpecification has a poolLifetimeOption of Job (other job properties can be updated as normal). If omitted, the Job continues to run on its current Pool.

public Azure.Compute.Batch.BatchPoolInfo PoolInfo { get; set; }
member this.PoolInfo : Azure.Compute.Batch.BatchPoolInfo with get, set
Public Property PoolInfo As BatchPoolInfo

Property Value

Applies to