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 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494
|
interactions:
- 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 06:58:42 GMT']
method: GET
uri: https://batchf0260dd0.eastus.batch.azure.com/nodeagentskus?api-version=2018-08-01.7.0
response:
body: {string: "{\r\n \"odata.metadata\":\"https://batchf0260dd0.eastus.batch.azure.com/$metadata#nodeagentskus\",\"value\":[\r\n
\ {\r\n \"id\":\"batch.node.centos 7\",\"verifiedImageReferences\":[\r\n
\ {\r\n \"publisher\":\"OpenLogic\",\"offer\":\"CentOS\",\"sku\":\"7.5\",\"version\":\"latest\"\r\n
\ },{\r\n \"publisher\":\"OpenLogic\",\"offer\":\"CentOS-HPC\",\"sku\":\"7.4\",\"version\":\"latest\"\r\n
\ },{\r\n \"publisher\":\"OpenLogic\",\"offer\":\"CentOS-HPC\",\"sku\":\"7.3\",\"version\":\"latest\"\r\n
\ },{\r\n \"publisher\":\"OpenLogic\",\"offer\":\"CentOS-HPC\",\"sku\":\"7.1\",\"version\":\"latest\"\r\n
\ },{\r\n \"publisher\":\"Oracle\",\"offer\":\"Oracle-Linux\",\"sku\":\"7.4\",\"version\":\"latest\"\r\n
\ },{\r\n \"publisher\":\"microsoft-ads\",\"offer\":\"linux-data-science-vm\",\"sku\":\"linuxdsvm\",\"version\":\"latest\"\r\n
\ },{\r\n \"publisher\":\"batch\",\"offer\":\"rendering-centos73\",\"sku\":\"rendering\",\"version\":\"latest\"\r\n
\ },{\r\n \"publisher\":\"microsoft-azure-batch\",\"offer\":\"centos-container\",\"sku\":\"7-5\",\"version\":\"latest\"\r\n
\ },{\r\n \"publisher\":\"microsoft-azure-batch\",\"offer\":\"centos-container-rdma\",\"sku\":\"7-4\",\"version\":\"latest\"\r\n
\ }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.debian
8\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"Credativ\",\"offer\":\"Debian\",\"sku\":\"8\",\"version\":\"latest\"\r\n
\ }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.debian
9\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"Credativ\",\"offer\":\"Debian\",\"sku\":\"9\",\"version\":\"latest\"\r\n
\ }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.ubuntu
14.04\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"Canonical\",\"offer\":\"UbuntuServer\",\"sku\":\"14.04.5-LTS\",\"version\":\"latest\"\r\n
\ }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.ubuntu
16.04\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"Canonical\",\"offer\":\"UbuntuServer\",\"sku\":\"16.04-LTS\",\"version\":\"latest\"\r\n
\ },{\r\n \"publisher\":\"microsoft-azure-batch\",\"offer\":\"ubuntu-server-container\",\"sku\":\"16-04-lts\",\"version\":\"latest\"\r\n
\ },{\r\n \"publisher\":\"microsoft-azure-batch\",\"offer\":\"ubuntu-server-container-rdma\",\"sku\":\"16-04-lts\",\"version\":\"latest\"\r\n
\ }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.ubuntu
18.04\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"Canonical\",\"offer\":\"UbuntuServer\",\"sku\":\"18.04-LTS\",\"version\":\"latest\"\r\n
\ }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.windows
amd64\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2008-R2-SP1\",\"version\":\"latest\"\r\n
\ },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2008-R2-SP1-smalldisk\",\"version\":\"latest\"\r\n
\ },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2012-Datacenter\",\"version\":\"latest\"\r\n
\ },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2012-Datacenter-smalldisk\",\"version\":\"latest\"\r\n
\ },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2012-R2-Datacenter\",\"version\":\"latest\"\r\n
\ },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2012-R2-Datacenter-smalldisk\",\"version\":\"latest\"\r\n
\ },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2016-Datacenter\",\"version\":\"latest\"\r\n
\ },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2016-Datacenter-smalldisk\",\"version\":\"latest\"\r\n
\ },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2016-Datacenter-with-Containers\",\"version\":\"latest\"\r\n
\ },{\r\n \"publisher\":\"microsoft-dsvm\",\"offer\":\"dsvm-windows\",\"sku\":\"server-2016\",\"version\":\"latest\"\r\n
\ },{\r\n \"publisher\":\"batch\",\"offer\":\"rendering-windows2016\",\"sku\":\"rendering\",\"version\":\"latest\"\r\n
\ }\r\n ],\"osType\":\"windows\"\r\n }\r\n ]\r\n}"}
headers:
content-type: [application/json;odata=minimalmetadata]
dataserviceversion: ['3.0']
date: ['Fri, 24 Aug 2018 06:58:43 GMT']
request-id: [8dbeae8a-9a0c-464d-b66b-9a89342f1ca2]
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: '{"virtualMachineConfiguration": {"windowsConfiguration": {"enableAutomaticUpdates":
true}, "nodeAgentSKUId": "batch.node.windows amd64", "imageReference": {"publisher":
"MicrosoftWindowsServer", "sku": "2016-Datacenter-smalldisk", "offer": "WindowsServer"}},
"id": "batch_iaas_f0260dd0", "vmSize": "Standard_A1", "userAccounts": [{"password":
"kt#_gahr!@aGERDXA", "name": "test-user-1"}, {"elevationLevel": "admin", "password":
"kt#_gahr!@aGERDXA", "name": "test-user-2"}], "taskSchedulingPolicy": {"nodeFillType":
"pack"}}'
headers:
Accept: [application/json]
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
Content-Length: ['523']
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 06:58:43 GMT']
method: POST
uri: https://batchf0260dd0.eastus.batch.azure.com/pools?api-version=2018-08-01.7.0
response:
body: {string: ''}
headers:
dataserviceid: ['https://batchf0260dd0.eastus.batch.azure.com/pools/batch_iaas_f0260dd0']
dataserviceversion: ['3.0']
date: ['Fri, 24 Aug 2018 06:58:44 GMT']
etag: ['0x8D6098F0876C250']
last-modified: ['Fri, 24 Aug 2018 06:58:44 GMT']
location: ['https://batchf0260dd0.eastus.batch.azure.com/pools/batch_iaas_f0260dd0']
request-id: [d9d38088-6fd9-4ffd-a0fc-a4ab141c5e29]
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 06:58:44 GMT']
method: GET
uri: https://batchf0260dd0.eastus.batch.azure.com/nodecounts?api-version=2018-08-01.7.0
response:
body: {string: "{\r\n \"odata.metadata\":\"https://batchf0260dd0.eastus.batch.azure.com/$metadata#poolnodecounts\",\"value\":[\r\n
\ {\r\n \"poolId\":\"batch_iaas_f0260dd0\",\"dedicated\":{\r\n \"creating\":0,\"idle\":0,\"leavingPool\":0,\"offline\":0,\"preempted\":0,\"rebooting\":0,\"reimaging\":0,\"running\":0,\"starting\":0,\"startTaskFailed\":0,\"unusable\":0,\"unknown\":0,\"waitingForStartTask\":0,\"total\":0\r\n
\ },\"lowPriority\":{\r\n \"creating\":0,\"idle\":0,\"leavingPool\":0,\"offline\":0,\"preempted\":0,\"rebooting\":0,\"reimaging\":0,\"running\":0,\"starting\":0,\"startTaskFailed\":0,\"unusable\":0,\"unknown\":0,\"waitingForStartTask\":0,\"total\":0\r\n
\ }\r\n }\r\n ]\r\n}"}
headers:
content-type: [application/json;odata=minimalmetadata]
dataserviceversion: ['3.0']
date: ['Fri, 24 Aug 2018 06:58:45 GMT']
request-id: [6a7acf41-f197-4819-867c-ef280ccf6a7b]
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: 'b''b\''b\\\''{"virtualMachineConfiguration": {"nodeAgentSKUId": "batch.node.ubuntu
16.04", "imageReference": {"publisher": "Canonical", "sku": "16.04-LTS", "offer":
"UbuntuServer"}}, "id": "batch_network_f0260dd0", "networkConfiguration": {"subnetId":
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"},
"vmSize": "Standard_A1"}\\\''\'''''
headers:
Accept: [application/json]
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
Content-Length: ['405']
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 06:58:45 GMT']
return-client-request-id: ['false']
method: POST
uri: https://batchf0260dd0.eastus.batch.azure.com/pools?api-version=2018-08-01.7.0&timeout=45
response:
body: {string: "{\r\n \"odata.metadata\":\"https://batchf0260dd0.eastus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"InvalidPropertyValue\",\"message\":{\r\n
\ \"lang\":\"en-US\",\"value\":\"The value provided for one of the properties
in the request body is invalid.\\nRequestId:77328016-7531-42ad-8238-f4d3f1ca7a58\\nTime:2018-08-24T06:58:46.5432738Z\"\r\n
\ },\"values\":[\r\n {\r\n \"key\":\"PropertyName\",\"value\":\"subnetId\"\r\n
\ },{\r\n \"key\":\"PropertyValue\",\"value\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1\"\r\n
\ },{\r\n \"key\":\"Reason\",\"value\":\"The specified subnetId is
in a different subscription and cannot be used with the current Batch account
in subscription 00000000-0000-0000-0000-000000000000\"\r\n }\r\n ]\r\n}"}
headers:
content-length: ['845']
content-type: [application/json;odata=minimalmetadata]
dataserviceversion: ['3.0']
date: ['Fri, 24 Aug 2018 06:58:45 GMT']
request-id: [77328016-7531-42ad-8238-f4d3f1ca7a58]
server: [Microsoft-HTTPAPI/2.0]
strict-transport-security: [max-age=31536000; includeSubDomains]
x-content-type-options: [nosniff]
status: {code: 400, message: The value provided for one of the properties in the
request body is invalid.}
- request:
body: 'b''b\''b\\\''{"virtualMachineConfiguration": {"nodeAgentSKUId": "batch.node.ubuntu
16.04", "imageReference": {"virtualMachineImageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test/providers/Microsoft.Compute/images/FakeImage"}},
"id": "batch_image_f0260dd0", "vmSize": "Standard_A1"}\\\''\'''''
headers:
Accept: [application/json]
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
Content-Length: ['298']
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 06:58:46 GMT']
return-client-request-id: ['false']
method: POST
uri: https://batchf0260dd0.eastus.batch.azure.com/pools?api-version=2018-08-01.7.0&timeout=45
response:
body: {string: "{\r\n \"odata.metadata\":\"https://batchf0260dd0.eastus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"InvalidPropertyValue\",\"message\":{\r\n
\ \"lang\":\"en-US\",\"value\":\"The value provided for one of the properties
in the request body is invalid.\\nRequestId:21fdc10c-a9ba-4b36-a2f5-774096edd858\\nTime:2018-08-24T06:58:47.4802887Z\"\r\n
\ },\"values\":[\r\n {\r\n \"key\":\"PropertyName\",\"value\":\"virtualMachineImageId\"\r\n
\ },{\r\n \"key\":\"PropertyValue\",\"value\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test/providers/Microsoft.Compute/images/FakeImage\"\r\n
\ },{\r\n \"key\":\"Reason\",\"value\":\"The specified virtualMachineImageId
is in a different subscription and cannot be used with the current Batch account
in subscription 00000000-0000-0000-0000-000000000000\"\r\n }\r\n ]\r\n}"}
headers:
content-length: ['850']
content-type: [application/json;odata=minimalmetadata]
dataserviceversion: ['3.0']
date: ['Fri, 24 Aug 2018 06:58:47 GMT']
request-id: [21fdc10c-a9ba-4b36-a2f5-774096edd858]
server: [Microsoft-HTTPAPI/2.0]
strict-transport-security: [max-age=31536000; includeSubDomains]
x-content-type-options: [nosniff]
status: {code: 400, message: The value provided for one of the properties in the
request body is invalid.}
- request:
body: '{"virtualMachineConfiguration": {"nodeAgentSKUId": "batch.node.ubuntu 16.04",
"osDisk": {"caching": "readwrite"}, "imageReference": {"publisher": "Canonical",
"sku": "16.04-LTS", "offer": "UbuntuServer"}}, "id": "batch_osdisk_f0260dd0",
"vmSize": "Standard_A1"}'
headers:
Accept: [application/json]
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
Content-Length: ['261']
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 06:58:47 GMT']
method: POST
uri: https://batchf0260dd0.eastus.batch.azure.com/pools?api-version=2018-08-01.7.0
response:
body: {string: ''}
headers:
dataserviceid: ['https://batchf0260dd0.eastus.batch.azure.com/pools/batch_osdisk_f0260dd0']
dataserviceversion: ['3.0']
date: ['Fri, 24 Aug 2018 06:58:48 GMT']
etag: ['0x8D6098F0AB48090']
last-modified: ['Fri, 24 Aug 2018 06:58:48 GMT']
location: ['https://batchf0260dd0.eastus.batch.azure.com/pools/batch_osdisk_f0260dd0']
request-id: [34a7e8ea-4ce0-4640-a9ae-4cae78fa2348]
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 06:58:48 GMT']
method: GET
uri: https://batchf0260dd0.eastus.batch.azure.com/pools/batch_osdisk_f0260dd0?api-version=2018-08-01.7.0
response:
body: {string: "{\r\n \"odata.metadata\":\"https://batchf0260dd0.eastus.batch.azure.com/$metadata#pools/@Element\",\"id\":\"batch_osdisk_f0260dd0\",\"url\":\"https://batchf0260dd0.eastus.batch.azure.com/pools/batch_osdisk_f0260dd0\",\"eTag\":\"0x8D6098F0AB48090\",\"lastModified\":\"2018-08-24T06:58:48.4078736Z\",\"creationTime\":\"2018-08-24T06:58:48.4078736Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-24T06:58:48.4078736Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-08-24T06:58:48.8058971Z\",\"vmSize\":\"standard_a1\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"maxTasksPerNode\":1,\"taskSchedulingPolicy\":{\r\n
\ \"nodeFillType\":\"Spread\"\r\n },\"virtualMachineConfiguration\":{\r\n
\ \"imageReference\":{\r\n \"publisher\":\"Canonical\",\"offer\":\"UbuntuServer\",\"sku\":\"16.04-LTS\",\"version\":\"latest\"\r\n
\ },\"osDisk\":{\r\n \"caching\":\"ReadWrite\"\r\n },\"nodeAgentSKUId\":\"batch.node.ubuntu
16.04\"\r\n }\r\n}"}
headers:
content-type: [application/json;odata=minimalmetadata]
dataserviceversion: ['3.0']
date: ['Fri, 24 Aug 2018 06:58:49 GMT']
etag: ['0x8D6098F0AB48090']
last-modified: ['Fri, 24 Aug 2018 06:58:48 GMT']
request-id: [2240ec32-4502-4d42-b5a3-a4ff36320ea7]
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: '{"virtualMachineConfiguration": {"nodeAgentSKUId": "batch.node.ubuntu 16.04",
"dataDisks": [{"lun": 1, "diskSizeGB": 50}], "imageReference": {"publisher":
"Canonical", "sku": "16.04-LTS", "offer": "UbuntuServer"}}, "id": "batch_disk_f0260dd0",
"vmSize": "Standard_A1"}'
headers:
Accept: [application/json]
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
Content-Length: ['268']
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 06:58:49 GMT']
method: POST
uri: https://batchf0260dd0.eastus.batch.azure.com/pools?api-version=2018-08-01.7.0
response:
body: {string: ''}
headers:
dataserviceid: ['https://batchf0260dd0.eastus.batch.azure.com/pools/batch_disk_f0260dd0']
dataserviceversion: ['3.0']
date: ['Fri, 24 Aug 2018 06:58:50 GMT']
etag: ['0x8D6098F0BCD43C3']
last-modified: ['Fri, 24 Aug 2018 06:58:50 GMT']
location: ['https://batchf0260dd0.eastus.batch.azure.com/pools/batch_disk_f0260dd0']
request-id: [8205d82b-ba94-45d7-83e0-079db095264c]
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 06:58:50 GMT']
method: GET
uri: https://batchf0260dd0.eastus.batch.azure.com/pools/batch_disk_f0260dd0?api-version=2018-08-01.7.0
response:
body: {string: "{\r\n \"odata.metadata\":\"https://batchf0260dd0.eastus.batch.azure.com/$metadata#pools/@Element\",\"id\":\"batch_disk_f0260dd0\",\"url\":\"https://batchf0260dd0.eastus.batch.azure.com/pools/batch_disk_f0260dd0\",\"eTag\":\"0x8D6098F0BCD43C3\",\"lastModified\":\"2018-08-24T06:58:50.2478787Z\",\"creationTime\":\"2018-08-24T06:58:50.2478787Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-24T06:58:50.2478787Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-08-24T06:58:50.6939495Z\",\"vmSize\":\"standard_a1\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"maxTasksPerNode\":1,\"taskSchedulingPolicy\":{\r\n
\ \"nodeFillType\":\"Spread\"\r\n },\"virtualMachineConfiguration\":{\r\n
\ \"imageReference\":{\r\n \"publisher\":\"Canonical\",\"offer\":\"UbuntuServer\",\"sku\":\"16.04-LTS\",\"version\":\"latest\"\r\n
\ },\"nodeAgentSKUId\":\"batch.node.ubuntu 16.04\",\"dataDisks\":[\r\n {\r\n
\ \"lun\":1,\"caching\":\"none\",\"diskSizeGB\":50,\"storageAccountType\":\"standard_lrs\"\r\n
\ }\r\n ]\r\n }\r\n}"}
headers:
content-type: [application/json;odata=minimalmetadata]
dataserviceversion: ['3.0']
date: ['Fri, 24 Aug 2018 06:58:50 GMT']
etag: ['0x8D6098F0BCD43C3']
last-modified: ['Fri, 24 Aug 2018 06:58:50 GMT']
request-id: [98d8cc5c-3340-430a-b395-694321f47bbb]
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: '{"virtualMachineConfiguration": {"nodeAgentSKUId": "batch.node.ubuntu 16.04",
"dataDisks": [{"lun": 1, "diskSizeGB": 50}], "imageReference": {"publisher":
"Canonical", "sku": "16.04-LTS", "offer": "UbuntuServer"}}, "id": "batch_app_f0260dd0",
"applicationLicenses": ["maya"], "vmSize": "Standard_A1"}'
headers:
Accept: [application/json]
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
Content-Length: ['300']
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 06:58:51 GMT']
method: POST
uri: https://batchf0260dd0.eastus.batch.azure.com/pools?api-version=2018-08-01.7.0
response:
body: {string: ''}
headers:
dataserviceid: ['https://batchf0260dd0.eastus.batch.azure.com/pools/batch_app_f0260dd0']
dataserviceversion: ['3.0']
date: ['Fri, 24 Aug 2018 06:58:51 GMT']
etag: ['0x8D6098F0D03B6F1']
last-modified: ['Fri, 24 Aug 2018 06:58:52 GMT']
location: ['https://batchf0260dd0.eastus.batch.azure.com/pools/batch_app_f0260dd0']
request-id: [1a29f859-87e6-4f37-8a4d-df59d2e9e129]
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 06:58:52 GMT']
method: GET
uri: https://batchf0260dd0.eastus.batch.azure.com/pools/batch_app_f0260dd0?api-version=2018-08-01.7.0
response:
body: {string: "{\r\n \"odata.metadata\":\"https://batchf0260dd0.eastus.batch.azure.com/$metadata#pools/@Element\",\"id\":\"batch_app_f0260dd0\",\"url\":\"https://batchf0260dd0.eastus.batch.azure.com/pools/batch_app_f0260dd0\",\"eTag\":\"0x8D6098F0D03B6F1\",\"lastModified\":\"2018-08-24T06:58:52.2824433Z\",\"creationTime\":\"2018-08-24T06:58:52.2824433Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-24T06:58:52.2824433Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-08-24T06:58:52.6834553Z\",\"vmSize\":\"standard_a1\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"maxTasksPerNode\":1,\"taskSchedulingPolicy\":{\r\n
\ \"nodeFillType\":\"Spread\"\r\n },\"virtualMachineConfiguration\":{\r\n
\ \"imageReference\":{\r\n \"publisher\":\"Canonical\",\"offer\":\"UbuntuServer\",\"sku\":\"16.04-LTS\",\"version\":\"latest\"\r\n
\ },\"nodeAgentSKUId\":\"batch.node.ubuntu 16.04\",\"dataDisks\":[\r\n {\r\n
\ \"lun\":1,\"caching\":\"none\",\"diskSizeGB\":50,\"storageAccountType\":\"standard_lrs\"\r\n
\ }\r\n ]\r\n },\"applicationLicenses\":[\r\n \"maya\"\r\n ]\r\n}"}
headers:
content-type: [application/json;odata=minimalmetadata]
dataserviceversion: ['3.0']
date: ['Fri, 24 Aug 2018 06:58:53 GMT']
etag: ['0x8D6098F0D03B6F1']
last-modified: ['Fri, 24 Aug 2018 06:58:52 GMT']
request-id: [1890971c-ba0a-4710-8cf6-d3ea05e3ec7a]
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 06:58:53 GMT']
method: GET
uri: https://batchf0260dd0.eastus.batch.azure.com/pools?api-version=2018-08-01.7.0
response:
body: {string: "{\r\n \"odata.metadata\":\"https://batchf0260dd0.eastus.batch.azure.com/$metadata#pools\",\"value\":[\r\n
\ {\r\n \"id\":\"batch_app_f0260dd0\",\"url\":\"https://batchf0260dd0.eastus.batch.azure.com/pools/batch_app_f0260dd0\",\"eTag\":\"0x8D6098F0D03B6F1\",\"lastModified\":\"2018-08-24T06:58:52.2824433Z\",\"creationTime\":\"2018-08-24T06:58:52.2824433Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-24T06:58:52.2824433Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-08-24T06:58:52.6834553Z\",\"vmSize\":\"standard_a1\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"maxTasksPerNode\":1,\"taskSchedulingPolicy\":{\r\n
\ \"nodeFillType\":\"Spread\"\r\n },\"virtualMachineConfiguration\":{\r\n
\ \"imageReference\":{\r\n \"publisher\":\"Canonical\",\"offer\":\"UbuntuServer\",\"sku\":\"16.04-LTS\",\"version\":\"latest\"\r\n
\ },\"nodeAgentSKUId\":\"batch.node.ubuntu 16.04\",\"dataDisks\":[\r\n
\ {\r\n \"lun\":1,\"caching\":\"none\",\"diskSizeGB\":50,\"storageAccountType\":\"standard_lrs\"\r\n
\ }\r\n ]\r\n },\"applicationLicenses\":[\r\n \"maya\"\r\n
\ ]\r\n },{\r\n \"id\":\"batch_disk_f0260dd0\",\"url\":\"https://batchf0260dd0.eastus.batch.azure.com/pools/batch_disk_f0260dd0\",\"eTag\":\"0x8D6098F0BCD43C3\",\"lastModified\":\"2018-08-24T06:58:50.2478787Z\",\"creationTime\":\"2018-08-24T06:58:50.2478787Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-24T06:58:50.2478787Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-08-24T06:58:50.6939495Z\",\"vmSize\":\"standard_a1\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"maxTasksPerNode\":1,\"taskSchedulingPolicy\":{\r\n
\ \"nodeFillType\":\"Spread\"\r\n },\"virtualMachineConfiguration\":{\r\n
\ \"imageReference\":{\r\n \"publisher\":\"Canonical\",\"offer\":\"UbuntuServer\",\"sku\":\"16.04-LTS\",\"version\":\"latest\"\r\n
\ },\"nodeAgentSKUId\":\"batch.node.ubuntu 16.04\",\"dataDisks\":[\r\n
\ {\r\n \"lun\":1,\"caching\":\"none\",\"diskSizeGB\":50,\"storageAccountType\":\"standard_lrs\"\r\n
\ }\r\n ]\r\n }\r\n },{\r\n \"id\":\"batch_iaas_f0260dd0\",\"url\":\"https://batchf0260dd0.eastus.batch.azure.com/pools/batch_iaas_f0260dd0\",\"eTag\":\"0x8D6098F0876C250\",\"lastModified\":\"2018-08-24T06:58:44.6477904Z\",\"creationTime\":\"2018-08-24T06:58:44.6477904Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-24T06:58:44.6477904Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-08-24T06:58:44.7587826Z\",\"vmSize\":\"standard_a1\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"userAccounts\":[\r\n
\ {\r\n \"name\":\"test-user-1\",\"elevationLevel\":\"nonadmin\"\r\n
\ },{\r\n \"name\":\"test-user-2\",\"elevationLevel\":\"admin\"\r\n
\ }\r\n ],\"maxTasksPerNode\":1,\"taskSchedulingPolicy\":{\r\n
\ \"nodeFillType\":\"Pack\"\r\n },\"virtualMachineConfiguration\":{\r\n
\ \"imageReference\":{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2016-Datacenter-smalldisk\",\"version\":\"latest\"\r\n
\ },\"nodeAgentSKUId\":\"batch.node.windows amd64\",\"windowsConfiguration\":{\r\n
\ \"enableAutomaticUpdates\":true\r\n }\r\n }\r\n },{\r\n
\ \"id\":\"batch_osdisk_f0260dd0\",\"url\":\"https://batchf0260dd0.eastus.batch.azure.com/pools/batch_osdisk_f0260dd0\",\"eTag\":\"0x8D6098F0AB48090\",\"lastModified\":\"2018-08-24T06:58:48.4078736Z\",\"creationTime\":\"2018-08-24T06:58:48.4078736Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-24T06:58:48.4078736Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-08-24T06:58:48.8058971Z\",\"vmSize\":\"standard_a1\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"maxTasksPerNode\":1,\"taskSchedulingPolicy\":{\r\n
\ \"nodeFillType\":\"Spread\"\r\n },\"virtualMachineConfiguration\":{\r\n
\ \"imageReference\":{\r\n \"publisher\":\"Canonical\",\"offer\":\"UbuntuServer\",\"sku\":\"16.04-LTS\",\"version\":\"latest\"\r\n
\ },\"osDisk\":{\r\n \"caching\":\"ReadWrite\"\r\n },\"nodeAgentSKUId\":\"batch.node.ubuntu
16.04\"\r\n }\r\n }\r\n ]\r\n}"}
headers:
content-type: [application/json;odata=minimalmetadata]
dataserviceversion: ['3.0']
date: ['Fri, 24 Aug 2018 06:58:54 GMT']
request-id: [a5834dff-a415-4bb1-a1f9-644fb6e7ea8f]
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 06:58:54 GMT']
return-client-request-id: ['false']
method: GET
uri: https://batchf0260dd0.eastus.batch.azure.com/pools?maxresults=1&api-version=2018-08-01.7.0&timeout=30
response:
body: {string: "{\r\n \"odata.metadata\":\"https://batchf0260dd0.eastus.batch.azure.com/$metadata#pools\",\"value\":[\r\n
\ {\r\n \"id\":\"batch_app_f0260dd0\",\"url\":\"https://batchf0260dd0.eastus.batch.azure.com/pools/batch_app_f0260dd0\",\"eTag\":\"0x8D6098F0D03B6F1\",\"lastModified\":\"2018-08-24T06:58:52.2824433Z\",\"creationTime\":\"2018-08-24T06:58:52.2824433Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-24T06:58:52.2824433Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-08-24T06:58:52.6834553Z\",\"vmSize\":\"standard_a1\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"maxTasksPerNode\":1,\"taskSchedulingPolicy\":{\r\n
\ \"nodeFillType\":\"Spread\"\r\n },\"virtualMachineConfiguration\":{\r\n
\ \"imageReference\":{\r\n \"publisher\":\"Canonical\",\"offer\":\"UbuntuServer\",\"sku\":\"16.04-LTS\",\"version\":\"latest\"\r\n
\ },\"nodeAgentSKUId\":\"batch.node.ubuntu 16.04\",\"dataDisks\":[\r\n
\ {\r\n \"lun\":1,\"caching\":\"none\",\"diskSizeGB\":50,\"storageAccountType\":\"standard_lrs\"\r\n
\ }\r\n ]\r\n },\"applicationLicenses\":[\r\n \"maya\"\r\n
\ ]\r\n }\r\n ],\"odata.nextLink\":\"https://batchf0260dd0.eastus.batch.azure.com/pools?maxresults=1&api-version=2018-08-01.7.0&timeout=30&$skiptoken=WATV2:svCGInRCHD/N5oVI5QOwgJPSTYKuoVdoFHTJ0nEWfEyFnaGb/Pep5FFGL5MUo8DO0GijdR2/xIiD6YIOXXsDrD8zJRuUyES%5EOryeegmcqWPPnDsc9M1MxXZxlvBL4mSuOYpmxNA62Sd42uLCG13POSjGobXLnXMTT32sDlJUwT8mshFZTySmHQQ7Tt3Kp2B0f%5E0WcGJpWBe%5E2txfV44BtDOMjQRH0zMoulAx4MpL2vQauUhIKZFnBzvdR8S2s6orKN6N4RNrQXMoVsfD0q%5EvChY8rgsv3yod/jrH3ewN22E=:1$1\"\r\n}"}
headers:
content-type: [application/json;odata=minimalmetadata]
dataserviceversion: ['3.0']
date: ['Fri, 24 Aug 2018 06:58:55 GMT']
request-id: [512032ae-4bc5-4026-8d04-c411e4daec62]
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 06:58:55 GMT']
return-client-request-id: ['false']
method: GET
uri: https://batchf0260dd0.eastus.batch.azure.com/pools?maxresults=1000&$select=id%2Cstate&$filter=startswith%28id%2C%27batch_app_%27%29&$expand=stats&api-version=2018-08-01.7.0&timeout=30
response:
body: {string: "{\r\n \"odata.metadata\":\"https://batchf0260dd0.eastus.batch.azure.com/$metadata#pools\",\"value\":[\r\n
\ {\r\n \"id\":\"batch_app_f0260dd0\",\"state\":\"active\"\r\n }\r\n
\ ]\r\n}"}
headers:
content-type: [application/json;odata=minimalmetadata]
dataserviceversion: ['3.0']
date: ['Fri, 24 Aug 2018 06:58:55 GMT']
request-id: [cef74f28-4fb2-4082-b769-0f4646b41d3a]
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
|