JobUpdateParameter.PoolInfo Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the Pool on which the Batch service runs the Job's Tasks.
[Newtonsoft.Json.JsonProperty(PropertyName="poolInfo")]
public Microsoft.Azure.Batch.Protocol.Models.PoolInformation PoolInfo { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="poolInfo")>]
member this.PoolInfo : Microsoft.Azure.Batch.Protocol.Models.PoolInformation with get, set
Public Property PoolInfo As PoolInformation
Property Value
- Attributes
-
Newtonsoft.Json.JsonPropertyAttribute
Remarks
You may change the Pool for a Job only when the Job is disabled. The Update 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).