File: test_batch.test_batch_jobs.yaml

package info (click to toggle)
python-azure 20181112%2Bgit-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 407,300 kB
  • sloc: python: 717,190; makefile: 201; sh: 76
file content (402 lines) | stat: -rw-r--r-- 23,521 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
interactions:
- request:
    body: '{"jobReleaseTask": {"commandLine": "cmd /c \"echo goodbye world\""}, "poolInfo":
      {"autoPoolSpecification": {"pool": {"cloudServiceConfiguration": {"osFamily":
      "5"}, "vmSize": "small"}, "poolLifetimeOption": "job"}}, "id": "batch_job1_8dcc0a7e",
      "jobPreparationTask": {"commandLine": "cmd /c \"echo hello world\""}}'
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['314']
      Content-Type: [application/json; odata=minimalmetadata; charset=utf-8]
      User-Agent: [python/3.5.4 (Windows-2008ServerR2-6.1.7601-SP1) requests/2.19.1
          msrest/0.5.4 msrest_azure/0.4.34 azure-batch/5.0.0 Azure-SDK-For-Python]
      accept-language: [en-US]
      ocp-date: ['Fri, 24 Aug 2018 07:25:51 GMT']
    method: POST
    uri: https://batch8dcc0a7e.eastus.batch.azure.com/jobs?api-version=2018-08-01.7.0
  response:
    body: {string: ''}
    headers:
      dataserviceid: ['https://batch8dcc0a7e.eastus.batch.azure.com/jobs/job-1']
      dataserviceversion: ['3.0']
      date: ['Fri, 24 Aug 2018 07:25:52 GMT']
      etag: ['0x8D60992D2D2508E']
      last-modified: ['Fri, 24 Aug 2018 07:25:52 GMT']
      location: ['https://batch8dcc0a7e.eastus.batch.azure.com/jobs/job-1']
      request-id: [86c97fb7-53b9-4b30-8f04-e4412fff8487]
      server: [Microsoft-HTTPAPI/2.0]
      strict-transport-security: [max-age=31536000; includeSubDomains]
      transfer-encoding: [chunked]
      x-content-type-options: [nosniff]
    status: {code: 201, message: Created}
- request:
    body: '{"poolInfo": {"autoPoolSpecification": {"pool": {"cloudServiceConfiguration":
      {"osFamily": "5"}, "vmSize": "small"}, "poolLifetimeOption": "job"}}, "priority":
      500, "constraints": {"maxTaskRetryCount": 3}}'
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['205']
      Content-Type: [application/json; odata=minimalmetadata; charset=utf-8]
      User-Agent: [python/3.5.4 (Windows-2008ServerR2-6.1.7601-SP1) requests/2.19.1
          msrest/0.5.4 msrest_azure/0.4.34 azure-batch/5.0.0 Azure-SDK-For-Python]
      accept-language: [en-US]
      ocp-date: ['Fri, 24 Aug 2018 07:25:52 GMT']
    method: PUT
    uri: https://batch8dcc0a7e.eastus.batch.azure.com/jobs/batch_job1_8dcc0a7e?api-version=2018-08-01.7.0
  response:
    body: {string: ''}
    headers:
      dataserviceid: ['https://batch8dcc0a7e.eastus.batch.azure.com/jobs/batch_job1_8dcc0a7e']
      dataserviceversion: ['3.0']
      date: ['Fri, 24 Aug 2018 07:25:53 GMT']
      etag: ['0x8D60992D359B762']
      last-modified: ['Fri, 24 Aug 2018 07:25:53 GMT']
      request-id: [bf05005a-17ec-438e-8850-c12542b0c932]
      server: [Microsoft-HTTPAPI/2.0]
      strict-transport-security: [max-age=31536000; includeSubDomains]
      transfer-encoding: [chunked]
      x-content-type-options: [nosniff]
    status: {code: 200, message: OK}
- request:
    body: '{"priority": 900}'
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['17']
      Content-Type: [application/json; odata=minimalmetadata; charset=utf-8]
      User-Agent: [python/3.5.4 (Windows-2008ServerR2-6.1.7601-SP1) requests/2.19.1
          msrest/0.5.4 msrest_azure/0.4.34 azure-batch/5.0.0 Azure-SDK-For-Python]
      accept-language: [en-US]
      ocp-date: ['Fri, 24 Aug 2018 07:25:53 GMT']
    method: PATCH
    uri: https://batch8dcc0a7e.eastus.batch.azure.com/jobs/batch_job1_8dcc0a7e?api-version=2018-08-01.7.0
  response:
    body: {string: ''}
    headers:
      dataserviceid: ['https://batch8dcc0a7e.eastus.batch.azure.com/jobs/batch_job1_8dcc0a7e']
      dataserviceversion: ['3.0']
      date: ['Fri, 24 Aug 2018 07:25:53 GMT']
      etag: ['0x8D60992D3C9FE7A']
      last-modified: ['Fri, 24 Aug 2018 07:25:54 GMT']
      request-id: [760df734-6e6e-4ebf-8a88-4c49acb6edde]
      server: [Microsoft-HTTPAPI/2.0]
      strict-transport-security: [max-age=31536000; includeSubDomains]
      transfer-encoding: [chunked]
      x-content-type-options: [nosniff]
    status: {code: 200, message: OK}
- request:
    body: null
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      User-Agent: [python/3.5.4 (Windows-2008ServerR2-6.1.7601-SP1) requests/2.19.1
          msrest/0.5.4 msrest_azure/0.4.34 azure-batch/5.0.0 Azure-SDK-For-Python]
      accept-language: [en-US]
      ocp-date: ['Fri, 24 Aug 2018 07:25:54 GMT']
    method: GET
    uri: https://batch8dcc0a7e.eastus.batch.azure.com/jobs/batch_job1_8dcc0a7e?api-version=2018-08-01.7.0
  response:
    body: {string: "{\r\n  \"odata.metadata\":\"https://batch8dcc0a7e.eastus.batch.azure.com/$metadata#jobs/@Element\",\"id\":\"batch_job1_8dcc0a7e\",\"url\":\"https://batch8dcc0a7e.eastus.batch.azure.com/jobs/batch_job1_8dcc0a7e\",\"eTag\":\"0x8D60992D3C9FE7A\",\"lastModified\":\"2018-08-24T07:25:54.260953Z\",\"creationTime\":\"2018-08-24T07:25:52.5461111Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-24T07:25:52.6377614Z\",\"priority\":900,\"usesTaskDependencies\":false,\"constraints\":{\r\n
        \   \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":3\r\n
        \ },\"jobPreparationTask\":{\r\n    \"id\":\"jobpreparation\",\"commandLine\":\"cmd
        /c \\\"echo hello world\\\"\",\"constraints\":{\r\n      \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\n
        \   },\"userIdentity\":{\r\n      \"autoUser\":{\r\n        \"elevationLevel\":\"nonadmin\"\r\n
        \     }\r\n    },\"waitForSuccess\":true,\"rerunOnNodeRebootAfterSuccess\":true\r\n
        \ },\"jobReleaseTask\":{\r\n    \"id\":\"jobrelease\",\"commandLine\":\"cmd
        /c \\\"echo goodbye world\\\"\",\"maxWallClockTime\":\"PT15M\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"userIdentity\":{\r\n
        \     \"autoUser\":{\r\n        \"elevationLevel\":\"nonadmin\"\r\n      }\r\n
        \   }\r\n  },\"poolInfo\":{\r\n    \"autoPoolSpecification\":{\r\n      \"poolLifetimeOption\":\"job\",\"keepAlive\":false,\"pool\":{\r\n
        \       \"vmSize\":\"small\",\"maxTasksPerNode\":1,\"taskSchedulingPolicy\":{\r\n
        \         \"nodeFillType\":\"Spread\"\r\n        },\"resizeTimeout\":\"PT15M\",\"targetDedicatedNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"cloudServiceConfiguration\":{\r\n
        \         \"osFamily\":\"5\",\"targetOSVersion\":\"*\"\r\n        }\r\n      }\r\n
        \   }\r\n  },\"executionInfo\":{\r\n    \"startTime\":\"2018-08-24T07:25:52.6377614Z\",\"poolId\":\"F1998748-A9F3-4162-8B53-2E40DBFC4F7D\"\r\n
        \ },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"noaction\"\r\n}"}
    headers:
      content-type: [application/json;odata=minimalmetadata]
      dataserviceversion: ['3.0']
      date: ['Fri, 24 Aug 2018 07:25:54 GMT']
      etag: ['0x8D60992D3C9FE7A']
      last-modified: ['Fri, 24 Aug 2018 07:25:54 GMT']
      request-id: [bf5cedce-ffa1-4b0e-aa25-d51ef78cd4ac]
      server: [Microsoft-HTTPAPI/2.0]
      strict-transport-security: [max-age=31536000; includeSubDomains]
      transfer-encoding: [chunked]
      x-content-type-options: [nosniff]
    status: {code: 200, message: OK}
- request:
    body: '{"poolInfo": {"autoPoolSpecification": {"pool": {"cloudServiceConfiguration":
      {"osFamily": "5"}, "vmSize": "small"}, "poolLifetimeOption": "job"}}, "onTaskFailure":
      "performexitoptionsjobaction", "id": "batch_job2_8dcc0a7e", "onAllTasksComplete":
      "terminatejob"}'
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['262']
      Content-Type: [application/json; odata=minimalmetadata; charset=utf-8]
      User-Agent: [python/3.5.4 (Windows-2008ServerR2-6.1.7601-SP1) requests/2.19.1
          msrest/0.5.4 msrest_azure/0.4.34 azure-batch/5.0.0 Azure-SDK-For-Python]
      accept-language: [en-US]
      ocp-date: ['Fri, 24 Aug 2018 07:25:55 GMT']
    method: POST
    uri: https://batch8dcc0a7e.eastus.batch.azure.com/jobs?api-version=2018-08-01.7.0
  response:
    body: {string: ''}
    headers:
      dataserviceid: ['https://batch8dcc0a7e.eastus.batch.azure.com/jobs/job-1']
      dataserviceversion: ['3.0']
      date: ['Fri, 24 Aug 2018 07:25:55 GMT']
      etag: ['0x8D60992D4C4DD2E']
      last-modified: ['Fri, 24 Aug 2018 07:25:55 GMT']
      location: ['https://batch8dcc0a7e.eastus.batch.azure.com/jobs/job-1']
      request-id: [1d4ca7d5-55c1-460d-a479-eddb9e831808]
      server: [Microsoft-HTTPAPI/2.0]
      strict-transport-security: [max-age=31536000; includeSubDomains]
      transfer-encoding: [chunked]
      x-content-type-options: [nosniff]
    status: {code: 201, message: Created}
- request:
    body: null
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      User-Agent: [python/3.5.4 (Windows-2008ServerR2-6.1.7601-SP1) requests/2.19.1
          msrest/0.5.4 msrest_azure/0.4.34 azure-batch/5.0.0 Azure-SDK-For-Python]
      accept-language: [en-US]
      ocp-date: ['Fri, 24 Aug 2018 07:25:55 GMT']
    method: GET
    uri: https://batch8dcc0a7e.eastus.batch.azure.com/jobs/batch_job2_8dcc0a7e?api-version=2018-08-01.7.0
  response:
    body: {string: "{\r\n  \"odata.metadata\":\"https://batch8dcc0a7e.eastus.batch.azure.com/$metadata#jobs/@Element\",\"id\":\"batch_job2_8dcc0a7e\",\"url\":\"https://batch8dcc0a7e.eastus.batch.azure.com/jobs/batch_job2_8dcc0a7e\",\"eTag\":\"0x8D60992D4C4DD2E\",\"lastModified\":\"2018-08-24T07:25:55.9050542Z\",\"creationTime\":\"2018-08-24T07:25:55.8870069Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-24T07:25:55.9050542Z\",\"priority\":0,\"usesTaskDependencies\":false,\"constraints\":{\r\n
        \   \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\n
        \ },\"poolInfo\":{\r\n    \"autoPoolSpecification\":{\r\n      \"poolLifetimeOption\":\"job\",\"keepAlive\":false,\"pool\":{\r\n
        \       \"vmSize\":\"small\",\"maxTasksPerNode\":1,\"taskSchedulingPolicy\":{\r\n
        \         \"nodeFillType\":\"Spread\"\r\n        },\"resizeTimeout\":\"PT15M\",\"targetDedicatedNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"cloudServiceConfiguration\":{\r\n
        \         \"osFamily\":\"5\",\"targetOSVersion\":\"*\"\r\n        }\r\n      }\r\n
        \   }\r\n  },\"executionInfo\":{\r\n    \"startTime\":\"2018-08-24T07:25:55.9050542Z\",\"poolId\":\"12314A8C-6F13-440C-B114-EC46A49DB295\"\r\n
        \ },\"onAllTasksComplete\":\"terminatejob\",\"onTaskFailure\":\"performexitoptionsjobaction\"\r\n}"}
    headers:
      content-type: [application/json;odata=minimalmetadata]
      dataserviceversion: ['3.0']
      date: ['Fri, 24 Aug 2018 07:25:55 GMT']
      etag: ['0x8D60992D4C4DD2E']
      last-modified: ['Fri, 24 Aug 2018 07:25:55 GMT']
      request-id: [493a1a6e-097f-47b8-9a82-1b1d7bc7fa09]
      server: [Microsoft-HTTPAPI/2.0]
      strict-transport-security: [max-age=31536000; includeSubDomains]
      transfer-encoding: [chunked]
      x-content-type-options: [nosniff]
    status: {code: 200, message: OK}
- request:
    body: null
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      User-Agent: [python/3.5.4 (Windows-2008ServerR2-6.1.7601-SP1) requests/2.19.1
          msrest/0.5.4 msrest_azure/0.4.34 azure-batch/5.0.0 Azure-SDK-For-Python]
      accept-language: [en-US]
      ocp-date: ['Fri, 24 Aug 2018 07:25:56 GMT']
    method: GET
    uri: https://batch8dcc0a7e.eastus.batch.azure.com/jobs?api-version=2018-08-01.7.0
  response:
    body: {string: "{\r\n  \"odata.metadata\":\"https://batch8dcc0a7e.eastus.batch.azure.com/$metadata#jobs\",\"value\":[\r\n
        \   {\r\n      \"id\":\"batch_job1_8dcc0a7e\",\"url\":\"https://batch8dcc0a7e.eastus.batch.azure.com/jobs/batch_job1_8dcc0a7e\",\"eTag\":\"0x8D60992D3C9FE7A\",\"lastModified\":\"2018-08-24T07:25:54.260953Z\",\"creationTime\":\"2018-08-24T07:25:52.5461111Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-24T07:25:52.6377614Z\",\"priority\":900,\"usesTaskDependencies\":false,\"constraints\":{\r\n
        \       \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":3\r\n
        \     },\"jobPreparationTask\":{\r\n        \"id\":\"jobpreparation\",\"commandLine\":\"cmd
        /c \\\"echo hello world\\\"\",\"constraints\":{\r\n          \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\n
        \       },\"userIdentity\":{\r\n          \"autoUser\":{\r\n            \"elevationLevel\":\"nonadmin\"\r\n
        \         }\r\n        },\"waitForSuccess\":true,\"rerunOnNodeRebootAfterSuccess\":true\r\n
        \     },\"jobReleaseTask\":{\r\n        \"id\":\"jobrelease\",\"commandLine\":\"cmd
        /c \\\"echo goodbye world\\\"\",\"maxWallClockTime\":\"PT15M\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"userIdentity\":{\r\n
        \         \"autoUser\":{\r\n            \"elevationLevel\":\"nonadmin\"\r\n
        \         }\r\n        }\r\n      },\"poolInfo\":{\r\n        \"autoPoolSpecification\":{\r\n
        \         \"poolLifetimeOption\":\"job\",\"keepAlive\":false,\"pool\":{\r\n
        \           \"vmSize\":\"small\",\"maxTasksPerNode\":1,\"taskSchedulingPolicy\":{\r\n
        \             \"nodeFillType\":\"Spread\"\r\n            },\"resizeTimeout\":\"PT15M\",\"targetDedicatedNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"cloudServiceConfiguration\":{\r\n
        \             \"osFamily\":\"5\",\"targetOSVersion\":\"*\"\r\n            }\r\n
        \         }\r\n        }\r\n      },\"executionInfo\":{\r\n        \"startTime\":\"2018-08-24T07:25:52.6377614Z\",\"poolId\":\"F1998748-A9F3-4162-8B53-2E40DBFC4F7D\"\r\n
        \     },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"noaction\"\r\n
        \   },{\r\n      \"id\":\"batch_job2_8dcc0a7e\",\"url\":\"https://batch8dcc0a7e.eastus.batch.azure.com/jobs/batch_job2_8dcc0a7e\",\"eTag\":\"0x8D60992D4C4DD2E\",\"lastModified\":\"2018-08-24T07:25:55.9050542Z\",\"creationTime\":\"2018-08-24T07:25:55.8870069Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-24T07:25:55.9050542Z\",\"priority\":0,\"usesTaskDependencies\":false,\"constraints\":{\r\n
        \       \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\n
        \     },\"poolInfo\":{\r\n        \"autoPoolSpecification\":{\r\n          \"poolLifetimeOption\":\"job\",\"keepAlive\":false,\"pool\":{\r\n
        \           \"vmSize\":\"small\",\"maxTasksPerNode\":1,\"taskSchedulingPolicy\":{\r\n
        \             \"nodeFillType\":\"Spread\"\r\n            },\"resizeTimeout\":\"PT15M\",\"targetDedicatedNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"cloudServiceConfiguration\":{\r\n
        \             \"osFamily\":\"5\",\"targetOSVersion\":\"*\"\r\n            }\r\n
        \         }\r\n        }\r\n      },\"executionInfo\":{\r\n        \"startTime\":\"2018-08-24T07:25:55.9050542Z\",\"poolId\":\"12314A8C-6F13-440C-B114-EC46A49DB295\"\r\n
        \     },\"onAllTasksComplete\":\"terminatejob\",\"onTaskFailure\":\"performexitoptionsjobaction\"\r\n
        \   }\r\n  ]\r\n}"}
    headers:
      content-type: [application/json;odata=minimalmetadata]
      dataserviceversion: ['3.0']
      date: ['Fri, 24 Aug 2018 07:25:57 GMT']
      request-id: [cfc71f59-d2d2-4280-95a3-b9d62c784c6d]
      server: [Microsoft-HTTPAPI/2.0]
      strict-transport-security: [max-age=31536000; includeSubDomains]
      transfer-encoding: [chunked]
      x-content-type-options: [nosniff]
    status: {code: 200, message: OK}
- request:
    body: '{"disableTasks": "requeue"}'
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['27']
      Content-Type: [application/json; odata=minimalmetadata; charset=utf-8]
      User-Agent: [python/3.5.4 (Windows-2008ServerR2-6.1.7601-SP1) requests/2.19.1
          msrest/0.5.4 msrest_azure/0.4.34 azure-batch/5.0.0 Azure-SDK-For-Python]
      accept-language: [en-US]
      ocp-date: ['Fri, 24 Aug 2018 07:25:57 GMT']
    method: POST
    uri: https://batch8dcc0a7e.eastus.batch.azure.com/jobs/batch_job1_8dcc0a7e/disable?api-version=2018-08-01.7.0
  response:
    body: {string: ''}
    headers:
      dataserviceid: ['https://batch8dcc0a7e.eastus.batch.azure.com/jobs/batch_job1_8dcc0a7e/disable']
      dataserviceversion: ['3.0']
      date: ['Fri, 24 Aug 2018 07:25:57 GMT']
      etag: ['0x8D60992D63CCB5E']
      last-modified: ['Fri, 24 Aug 2018 07:25:58 GMT']
      request-id: [4e32a6d0-d9f6-451a-b4ad-832992a7f4dd]
      server: [Microsoft-HTTPAPI/2.0]
      strict-transport-security: [max-age=31536000; includeSubDomains]
      transfer-encoding: [chunked]
      x-content-type-options: [nosniff]
    status: {code: 202, message: Accepted}
- request:
    body: null
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['0']
      User-Agent: [python/3.5.4 (Windows-2008ServerR2-6.1.7601-SP1) requests/2.19.1
          msrest/0.5.4 msrest_azure/0.4.34 azure-batch/5.0.0 Azure-SDK-For-Python]
      accept-language: [en-US]
      ocp-date: ['Fri, 24 Aug 2018 07:25:58 GMT']
    method: POST
    uri: https://batch8dcc0a7e.eastus.batch.azure.com/jobs/batch_job1_8dcc0a7e/enable?api-version=2018-08-01.7.0
  response:
    body: {string: ''}
    headers:
      dataserviceid: ['https://batch8dcc0a7e.eastus.batch.azure.com/jobs/batch_job1_8dcc0a7e/enable']
      dataserviceversion: ['3.0']
      date: ['Fri, 24 Aug 2018 07:25:59 GMT']
      etag: ['0x8D60992D6CA973D']
      last-modified: ['Fri, 24 Aug 2018 07:25:59 GMT']
      request-id: [173ddaa8-efeb-4a9e-99a4-d623bb505a64]
      server: [Microsoft-HTTPAPI/2.0]
      strict-transport-security: [max-age=31536000; includeSubDomains]
      transfer-encoding: [chunked]
      x-content-type-options: [nosniff]
    status: {code: 202, message: Accepted}
- request:
    body: null
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      User-Agent: [python/3.5.4 (Windows-2008ServerR2-6.1.7601-SP1) requests/2.19.1
          msrest/0.5.4 msrest_azure/0.4.34 azure-batch/5.0.0 Azure-SDK-For-Python]
      accept-language: [en-US]
      ocp-date: ['Fri, 24 Aug 2018 07:25:59 GMT']
    method: GET
    uri: https://batch8dcc0a7e.eastus.batch.azure.com/jobs/batch_job1_8dcc0a7e/jobpreparationandreleasetaskstatus?api-version=2018-08-01.7.0
  response:
    body: {string: "{\r\n  \"odata.metadata\":\"https://batch8dcc0a7e.eastus.batch.azure.com/$metadata#jobpreparationandreleasetaskstatuslist\",\"value\":[\r\n
        \   \r\n  ]\r\n}"}
    headers:
      content-type: [application/json;odata=minimalmetadata]
      dataserviceversion: ['3.0']
      date: ['Fri, 24 Aug 2018 07:25:59 GMT']
      request-id: [b450e14d-714b-441c-a66c-0552f9c25ebb]
      server: [Microsoft-HTTPAPI/2.0]
      strict-transport-security: [max-age=31536000; includeSubDomains]
      transfer-encoding: [chunked]
      x-content-type-options: [nosniff]
    status: {code: 200, message: OK}
- request:
    body: null
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['0']
      Content-Type: [application/json; odata=minimalmetadata; charset=utf-8]
      User-Agent: [python/3.5.4 (Windows-2008ServerR2-6.1.7601-SP1) requests/2.19.1
          msrest/0.5.4 msrest_azure/0.4.34 azure-batch/5.0.0 Azure-SDK-For-Python]
      accept-language: [en-US]
      ocp-date: ['Fri, 24 Aug 2018 07:26:00 GMT']
    method: POST
    uri: https://batch8dcc0a7e.eastus.batch.azure.com/jobs/batch_job1_8dcc0a7e/terminate?api-version=2018-08-01.7.0
  response:
    body: {string: ''}
    headers:
      dataserviceid: ['https://batch8dcc0a7e.eastus.batch.azure.com/jobs/batch_job1_8dcc0a7e/terminate']
      dataserviceversion: ['3.0']
      date: ['Fri, 24 Aug 2018 07:26:00 GMT']
      etag: ['0x8D60992D7C9E61B']
      last-modified: ['Fri, 24 Aug 2018 07:26:00 GMT']
      request-id: [418de998-c8c6-4684-9dc3-680c58e3b37e]
      server: [Microsoft-HTTPAPI/2.0]
      strict-transport-security: [max-age=31536000; includeSubDomains]
      transfer-encoding: [chunked]
      x-content-type-options: [nosniff]
    status: {code: 202, message: Accepted}
- request:
    body: null
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['0']
      User-Agent: [python/3.5.4 (Windows-2008ServerR2-6.1.7601-SP1) requests/2.19.1
          msrest/0.5.4 msrest_azure/0.4.34 azure-batch/5.0.0 Azure-SDK-For-Python]
      accept-language: [en-US]
      ocp-date: ['Fri, 24 Aug 2018 07:26:01 GMT']
    method: DELETE
    uri: https://batch8dcc0a7e.eastus.batch.azure.com/jobs/batch_job2_8dcc0a7e?api-version=2018-08-01.7.0
  response:
    body: {string: ''}
    headers:
      dataserviceversion: ['3.0']
      date: ['Fri, 24 Aug 2018 07:26:01 GMT']
      request-id: [b1c894bc-0414-4a1e-a22e-1fc76fa60170]
      server: [Microsoft-HTTPAPI/2.0]
      strict-transport-security: [max-age=31536000; includeSubDomains]
      transfer-encoding: [chunked]
      x-content-type-options: [nosniff]
    status: {code: 202, message: Accepted}
- request:
    body: null
    headers:
      Accept: [application/json]
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      User-Agent: [python/3.5.4 (Windows-2008ServerR2-6.1.7601-SP1) requests/2.19.1
          msrest/0.5.4 msrest_azure/0.4.34 azure-batch/5.0.0 Azure-SDK-For-Python]
      accept-language: [en-US]
      ocp-date: ['Fri, 24 Aug 2018 07:26:01 GMT']
    method: GET
    uri: https://batch8dcc0a7e.eastus.batch.azure.com/lifetimejobstats?api-version=2018-08-01.7.0
  response:
    body: {string: "{\r\n  \"odata.metadata\":\"https://batch8dcc0a7e.eastus.batch.azure.com/$metadata#jobstats/@Element\",\"url\":\"https://batch8dcc0a7e.eastus.batch.azure.com/lifetimejobstats\",\"startTime\":\"2018-08-24T07:25:33.4420121Z\",\"lastUpdateTime\":\"2018-08-24T07:25:33.4420121Z\",\"userCPUTime\":\"PT0S\",\"kernelCPUTime\":\"PT0S\",\"wallClockTime\":\"PT0S\",\"readIOps\":\"0\",\"writeIOps\":\"0\",\"readIOGiB\":0.0,\"writeIOGiB\":0.0,\"numTaskRetries\":\"0\",\"numSucceededTasks\":\"0\",\"numFailedTasks\":\"0\",\"waitTime\":\"PT0S\"\r\n}"}
    headers:
      content-type: [application/json;odata=minimalmetadata]
      dataserviceversion: ['3.0']
      date: ['Fri, 24 Aug 2018 07:26:02 GMT']
      request-id: [3e68d07d-1ee0-4950-8487-bb5ce3063931]
      server: [Microsoft-HTTPAPI/2.0]
      strict-transport-security: [max-age=31536000; includeSubDomains]
      transfer-encoding: [chunked]
      x-content-type-options: [nosniff]
    status: {code: 200, message: OK}
version: 1