From 70a39b41546b2b42a1b6785e5b45e55f17b6e6c4 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Mon, 23 Apr 2018 23:37:48 +0000 Subject: [PATCH] Generated from 31811975eedc992370e0bd2b4d306797f9ae24ec Fix the wrong statement in description --- lib/services/batch/lib/operations/index.d.ts | 18 ++++++++----- lib/services/batch/lib/operations/job.js | 27 +++++++++++++------- 2 files changed, 30 insertions(+), 15 deletions(-) diff --git a/lib/services/batch/lib/operations/index.d.ts b/lib/services/batch/lib/operations/index.d.ts index 6427dbd599..8524df9d14 100644 --- a/lib/services/batch/lib/operations/index.d.ts +++ b/lib/services/batch/lib/operations/index.d.ts @@ -7536,9 +7536,12 @@ export interface Job { * @summary Terminates the specified job, marking it as completed. * * When a Terminate Job request is received, the Batch service sets the job to - * the terminating state. The Batch service then terminates any active or - * running tasks associated with the job, and runs any required Job Release - * tasks. The job then moves into the completed state. + * the terminating state. The Batch service then terminates any running tasks + * associated with the job and runs any required job release tasks. Then the + * job moves into the completed state. If there are any tasks in the job in the + * active state, they will remain in the active state. Once a job is + * terminated, new tasks cannot be added and any remaining active tasks will + * not be scheduled. * * @param {string} jobId The ID of the job to terminate. * @@ -7600,9 +7603,12 @@ export interface Job { * @summary Terminates the specified job, marking it as completed. * * When a Terminate Job request is received, the Batch service sets the job to - * the terminating state. The Batch service then terminates any active or - * running tasks associated with the job, and runs any required Job Release - * tasks. The job then moves into the completed state. + * the terminating state. The Batch service then terminates any running tasks + * associated with the job and runs any required job release tasks. Then the + * job moves into the completed state. If there are any tasks in the job in the + * active state, they will remain in the active state. Once a job is + * terminated, new tasks cannot be added and any remaining active tasks will + * not be scheduled. * * @param {string} jobId The ID of the job to terminate. * diff --git a/lib/services/batch/lib/operations/job.js b/lib/services/batch/lib/operations/job.js index dc6bf46f4b..36d1d0139e 100644 --- a/lib/services/batch/lib/operations/job.js +++ b/lib/services/batch/lib/operations/job.js @@ -2954,9 +2954,12 @@ function _enable(jobId, options, callback) { * @summary Terminates the specified job, marking it as completed. * * When a Terminate Job request is received, the Batch service sets the job to - * the terminating state. The Batch service then terminates any active or - * running tasks associated with the job, and runs any required Job Release - * tasks. The job then moves into the completed state. + * the terminating state. The Batch service then terminates any running tasks + * associated with the job and runs any required job release tasks. Then the + * job moves into the completed state. If there are any tasks in the job in the + * active state, they will remain in the active state. Once a job is + * terminated, new tasks cannot be added and any remaining active tasks will + * not be scheduled. * * @param {string} jobId The ID of the job to terminate. * @@ -9129,9 +9132,12 @@ class Job { * @summary Terminates the specified job, marking it as completed. * * When a Terminate Job request is received, the Batch service sets the job to - * the terminating state. The Batch service then terminates any active or - * running tasks associated with the job, and runs any required Job Release - * tasks. The job then moves into the completed state. + * the terminating state. The Batch service then terminates any running tasks + * associated with the job and runs any required job release tasks. Then the + * job moves into the completed state. If there are any tasks in the job in the + * active state, they will remain in the active state. Once a job is + * terminated, new tasks cannot be added and any remaining active tasks will + * not be scheduled. * * @param {string} jobId The ID of the job to terminate. * @@ -9205,9 +9211,12 @@ class Job { * @summary Terminates the specified job, marking it as completed. * * When a Terminate Job request is received, the Batch service sets the job to - * the terminating state. The Batch service then terminates any active or - * running tasks associated with the job, and runs any required Job Release - * tasks. The job then moves into the completed state. + * the terminating state. The Batch service then terminates any running tasks + * associated with the job and runs any required job release tasks. Then the + * job moves into the completed state. If there are any tasks in the job in the + * active state, they will remain in the active state. Once a job is + * terminated, new tasks cannot be added and any remaining active tasks will + * not be scheduled. * * @param {string} jobId The ID of the job to terminate. *