共用方式為


JobUpdateParameter.PoolInfo Property

Definition

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).

Applies to