### YamlMime:JavaType
inheritances:
-
the constraints value
type:Get if omitted, the constraints are cleared.
syntax: public JobConstraints constraints() uid: com.microsoft.azure.batch.protocol.models.JobUpdateParameter.constraints() - fullName: com.microsoft.azure.batch.protocol.models.JobUpdateParameter.metadata() name: metadata() nameWithType: JobUpdateParameter.metadata() returns: description:the metadata value
type: List<Get if omitted, it takes the default value of an empty list; in effect, any existing metadata is deleted.
syntax: public Listthe onAllTasksComplete value
type:Get if omitted, the completion behavior is set to noaction. If the current value is terminatejob, this is an error because a job's completion behavior may not be changed from terminatejob to noaction. You may not change the value from terminatejob to noaction - that is, once you have engaged automatic job termination, you cannot turn it off again. If you try to do this, the request fails and Batch returns status code 400 (Bad Request) and an 'invalid property value' error response. If you do not specify this element in a PUT request, it is equivalent to passing noaction. This is an error if the current value is terminatejob. Possible values include: 'noAction', 'terminateJob'.
syntax: public OnAllTasksComplete onAllTasksComplete() uid: com.microsoft.azure.batch.protocol.models.JobUpdateParameter.onAllTasksComplete() - fullName: com.microsoft.azure.batch.protocol.models.JobUpdateParameter.poolInfo() name: poolInfo() nameWithType: JobUpdateParameter.poolInfo() returns: description:the poolInfo value
type:Get 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 specification in the poolInfo, only the keepAlive property can be updated, and then only if the auto pool has a poolLifetimeOption of job.
syntax: public PoolInformation poolInfo() uid: com.microsoft.azure.batch.protocol.models.JobUpdateParameter.poolInfo() - fullName: com.microsoft.azure.batch.protocol.models.JobUpdateParameter.priority() name: priority() nameWithType: JobUpdateParameter.priority() returns: description:the priority value
type:Get priority values can range from -1000 to 1000, with -1000 being the lowest priority and 1000 being the highest priority. If omitted, it is set to the default value 0.
syntax: public Integer priority() uid: com.microsoft.azure.batch.protocol.models.JobUpdateParameter.priority() - fullName: com.microsoft.azure.batch.protocol.models.JobUpdateParameter.withConstraints(JobConstraints constraints) name: withConstraints(JobConstraints constraints) nameWithType: JobUpdateParameter.withConstraints(JobConstraints constraints) parameters: - description:the constraints value to set
name: constraints type:the JobUpdateParameter object itself.
type:Set if omitted, the constraints are cleared.
syntax: public JobUpdateParameter withConstraints(JobConstraints constraints) uid: com.microsoft.azure.batch.protocol.models.JobUpdateParameter.withConstraints(JobConstraints) - fullName: com.microsoft.azure.batch.protocol.models.JobUpdateParameter.withMetadata(Listthe metadata value to set
name: metadata type: List<the JobUpdateParameter object itself.
type:Set if omitted, it takes the default value of an empty list; in effect, any existing metadata is deleted.
syntax: public JobUpdateParameter withMetadata(Listthe onAllTasksComplete value to set
name: onAllTasksComplete type:the JobUpdateParameter object itself.
type:Set if omitted, the completion behavior is set to noaction. If the current value is terminatejob, this is an error because a job's completion behavior may not be changed from terminatejob to noaction. You may not change the value from terminatejob to noaction - that is, once you have engaged automatic job termination, you cannot turn it off again. If you try to do this, the request fails and Batch returns status code 400 (Bad Request) and an 'invalid property value' error response. If you do not specify this element in a PUT request, it is equivalent to passing noaction. This is an error if the current value is terminatejob. Possible values include: 'noAction', 'terminateJob'.
syntax: public JobUpdateParameter withOnAllTasksComplete(OnAllTasksComplete onAllTasksComplete) uid: com.microsoft.azure.batch.protocol.models.JobUpdateParameter.withOnAllTasksComplete(OnAllTasksComplete) - fullName: com.microsoft.azure.batch.protocol.models.JobUpdateParameter.withPoolInfo(PoolInformation poolInfo) name: withPoolInfo(PoolInformation poolInfo) nameWithType: JobUpdateParameter.withPoolInfo(PoolInformation poolInfo) parameters: - description:the poolInfo value to set
name: poolInfo type:the JobUpdateParameter object itself.
type:Set 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 specification in the poolInfo, only the keepAlive property can be updated, and then only if the auto pool has a poolLifetimeOption of job.
syntax: public JobUpdateParameter withPoolInfo(PoolInformation poolInfo) uid: com.microsoft.azure.batch.protocol.models.JobUpdateParameter.withPoolInfo(PoolInformation) - fullName: com.microsoft.azure.batch.protocol.models.JobUpdateParameter.withPriority(Integer priority) name: withPriority(Integer priority) nameWithType: JobUpdateParameter.withPriority(Integer priority) parameters: - description:the priority value to set
name: priority type:the JobUpdateParameter object itself.
type:Set priority values can range from -1000 to 1000, with -1000 being the lowest priority and 1000 being the highest priority. If omitted, it is set to the default value 0.
syntax: public JobUpdateParameter withPriority(Integer priority) uid: com.microsoft.azure.batch.protocol.models.JobUpdateParameter.withPriority(Integer) nameWithType: JobUpdateParameter syntax: public class JobUpdateParameter type: class uid: com.microsoft.azure.batch.protocol.models.JobUpdateParameter fullName: com.microsoft.azure.batch.protocol.models.JobUpdateParameter name: JobUpdateParameter package: com.microsoft.azure.batch.protocol.models summary:The set of changes to be made to a job.
metadata: {}