Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Generated from 31811975eedc992370e0bd2b4d306797f9ae24ec
Fix the wrong statement in description
  • Loading branch information
AutorestCI committed Apr 23, 2018
commit 7ec1c0827af70f971f9ff1268a18e7e27a25c58a
7 changes: 5 additions & 2 deletions azure-batch/azure/batch/operations/job_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -799,8 +799,11 @@ def terminate(

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.
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 job_id: The ID of the job to terminate.
:type job_id: str
Expand Down
117 changes: 101 additions & 16 deletions azure-batch/build.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@
"pipe": "/tmp/pipe__root_.autorest.busy-lock:37199"
},
"personalLock": {
"name": "_root_.autorest.8216.386719855544.personal-lock",
"name": "_root_.autorest.1188.1826239947136.personal-lock",
"options": {
"port": 63645,
"host": "2130724149",
"port": 15992,
"host": "2130756626",
"exclusive": true
},
"pipe": "/tmp/pipe__root_.autorest.8216.386719855544.personal-lock:63645"
"pipe": "/tmp/pipe__root_.autorest.1188.1826239947136.personal-lock:15992"
},
"file": "/tmp/_root_.autorest.lock"
},
Expand Down Expand Up @@ -156,13 +156,13 @@
"pipe": "/tmp/pipe__root_.autorest.busy-lock:37199"
},
"personalLock": {
"name": "_root_.autorest.8216.386719855544.personal-lock",
"name": "_root_.autorest.1188.1826239947136.personal-lock",
"options": {
"port": 63645,
"host": "2130724149",
"port": 15992,
"host": "2130756626",
"exclusive": true
},
"pipe": "/tmp/pipe__root_.autorest.8216.386719855544.personal-lock:63645"
"pipe": "/tmp/pipe__root_.autorest.1188.1826239947136.personal-lock:15992"
},
"file": "/tmp/_root_.autorest.lock"
},
Expand Down Expand Up @@ -241,13 +241,98 @@
"pipe": "/tmp/pipe__root_.autorest.busy-lock:37199"
},
"personalLock": {
"name": "_root_.autorest.8216.386719855544.personal-lock",
"name": "_root_.autorest.1188.1826239947136.personal-lock",
"options": {
"port": 63645,
"host": "2130724149",
"port": 15992,
"host": "2130756626",
"exclusive": true
},
"pipe": "/tmp/pipe__root_.autorest.8216.386719855544.personal-lock:63645"
"pipe": "/tmp/pipe__root_.autorest.1188.1826239947136.personal-lock:15992"
},
"file": "/tmp/_root_.autorest.lock"
},
"dotnetPath": "/root/.dotnet"
},
"installationPath": "/root/.autorest"
},
{
"resolvedInfo": null,
"packageMetadata": {
"name": "@microsoft.azure/autorest.python",
"version": "2.1.40",
"dependencies": {
"dotnet-2.0.0": "^1.4.4"
},
"optionalDependencies": {},
"devDependencies": {
"@microsoft.azure/autorest.testserver": "^2.4.0",
"autorest": "^2.0.4203",
"coffee-script": "^1.11.1",
"dotnet-sdk-2.0.0": "^1.4.4",
"gulp": "^3.9.1",
"gulp-filter": "^5.0.0",
"gulp-line-ending-corrector": "^1.0.1",
"iced-coffee-script": "^108.0.11",
"marked": "^0.3.6",
"marked-terminal": "^2.0.0",
"moment": "^2.17.1",
"run-sequence": "*",
"shx": "^0.2.2",
"through2-parallel": "^0.1.3",
"yargs": "^8.0.2",
"yarn": "^1.0.2"
},
"bundleDependencies": false,
"peerDependencies": {},
"deprecated": false,
"_resolved": "/root/.autorest/@microsoft.azure_autorest.python@2.1.40/node_modules/@microsoft.azure/autorest.python",
"_integrity": null,
"_shasum": "9b3f08c892d725ac571b3a7dc8f781d76da64397",
"_shrinkwrap": null,
"bin": null,
"_id": "@microsoft.azure/autorest.python@2.1.40",
"_from": "file:/root/.autorest/@microsoft.azure_autorest.python@2.1.40/node_modules/@microsoft.azure/autorest.python",
"_requested": {
"type": "directory",
"where": "/root/.autorest/@microsoft.azure_autorest.python@2.1.40/node_modules/@microsoft.azure/autorest.python",
"raw": "/root/.autorest/@microsoft.azure_autorest.python@2.1.40/node_modules/@microsoft.azure/autorest.python",
"rawSpec": "/root/.autorest/@microsoft.azure_autorest.python@2.1.40/node_modules/@microsoft.azure/autorest.python",
"saveSpec": "file:/root/.autorest/@microsoft.azure_autorest.python@2.1.40/node_modules/@microsoft.azure/autorest.python",
"fetchSpec": "/root/.autorest/@microsoft.azure_autorest.python@2.1.40/node_modules/@microsoft.azure/autorest.python"
},
"_spec": "/root/.autorest/@microsoft.azure_autorest.python@2.1.40/node_modules/@microsoft.azure/autorest.python",
"_where": "/root/.autorest/@microsoft.azure_autorest.python@2.1.40/node_modules/@microsoft.azure/autorest.python"
},
"extensionManager": {
"installationPath": "/root/.autorest",
"sharedLock": {
"name": "/root/.autorest",
"exclusiveLock": {
"name": "_root_.autorest.exclusive-lock",
"options": {
"port": 45234,
"host": "2130706813",
"exclusive": true
},
"pipe": "/tmp/pipe__root_.autorest.exclusive-lock:45234"
},
"busyLock": {
"name": "_root_.autorest.busy-lock",
"options": {
"port": 37199,
"host": "2130756895",
"exclusive": true
},
"pipe": "/tmp/pipe__root_.autorest.busy-lock:37199"
},
"personalLock": {
"name": "_root_.autorest.1188.1826239947136.personal-lock",
"options": {
"port": 15992,
"host": "2130756626",
"exclusive": true
},
"pipe": "/tmp/pipe__root_.autorest.1188.1826239947136.personal-lock:15992"
},
"file": "/tmp/_root_.autorest.lock"
},
Expand Down Expand Up @@ -326,13 +411,13 @@
"pipe": "/tmp/pipe__root_.autorest.busy-lock:37199"
},
"personalLock": {
"name": "_root_.autorest.8216.386719855544.personal-lock",
"name": "_root_.autorest.1188.1826239947136.personal-lock",
"options": {
"port": 63645,
"host": "2130724149",
"port": 15992,
"host": "2130756626",
"exclusive": true
},
"pipe": "/tmp/pipe__root_.autorest.8216.386719855544.personal-lock:63645"
"pipe": "/tmp/pipe__root_.autorest.1188.1826239947136.personal-lock:15992"
},
"file": "/tmp/_root_.autorest.lock"
},
Expand Down