JobPatchParameter.withPoolInfo(PoolInformation poolInfo) Method

定义

Set 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 specification in the poolInfo, only the keepAlive property can be updated, and then only if the auto pool has a poolLifetimeOption of job. If omitted, the job continues to run on its current pool.

public JobPatchParameter withPoolInfo(PoolInformation poolInfo)

参数

poolInfo
PoolInformation

the poolInfo value to set

返回

the JobPatchParameter object itself.

适用于