diff --git a/azure-batch/tests/preparers.py b/azure-batch/tests/preparers.py new file mode 100644 index 000000000000..5b2204ad6351 --- /dev/null +++ b/azure-batch/tests/preparers.py @@ -0,0 +1,301 @@ +from collections import namedtuple +import io +import os +import requests +import time + +import azure.mgmt.batch +from azure.mgmt.batch import models +import azure.batch +from azure.batch.batch_auth import SharedKeyCredentials + +from azure_devtools.scenario_tests.preparers import ( + AbstractPreparer, + SingleValueReplacer, +) +from azure_devtools.scenario_tests.exceptions import AzureTestError + +from devtools_testutils import AzureMgmtPreparer, ResourceGroupPreparer, FakeResource +from devtools_testutils.resource_testcase import RESOURCE_GROUP_PARAM + +BATCH_ACCOUNT_PARAM = 'batch_account' +STORAGE_ACCOUNT_PARAM = 'storage_account' +FakeAccount = namedtuple( + 'FakeResource', + ['name', 'account_endpoint'] +) + +class AccountPreparer(AzureMgmtPreparer): + def __init__(self, + name_prefix='batch', + location='westus', + parameter_name=BATCH_ACCOUNT_PARAM, + resource_group_parameter_name=RESOURCE_GROUP_PARAM, + disable_recording=True, playback_fake_resource=None, + client_kwargs=None): + super(AccountPreparer, self).__init__(name_prefix, 24, + disable_recording=disable_recording, + playback_fake_resource=playback_fake_resource, + client_kwargs=client_kwargs) + self.location = location + self.resource_group_parameter_name = resource_group_parameter_name + self.parameter_name = parameter_name + self.creds_parameter = 'credentials' + self.parameter_name_for_location='location' + + def _get_resource_group(self, **kwargs): + try: + return kwargs[self.resource_group_parameter_name] + except KeyError: + template = 'To create a batch account a resource group is required. Please add ' \ + 'decorator @{} in front of this storage account preparer.' + raise AzureTestError(template.format(ResourceGroupPreparer.__name__)) + + def _get_storage_account(self, **kwargs): + return kwargs.get(STORAGE_ACCOUNT_PARAM) + + def _add_app_package(self, group_name, batch_name): + self.client.application.create( + group_name, batch_name, 'application_id') + package_ref = self.client.application_package.create( + group_name, batch_name, 'application_id', 'v1.0') + try: + with io.BytesIO(b'Hello World') as f: + headers = {'x-ms-blob-type': 'BlockBlob'} + upload = requests.put(package_ref.storage_url, headers=headers, data=f.read()) + if not upload: + raise ValueError('Upload failed: {!r}'.format(upload)) + except Exception as err: + raise AzureTestError('Failed to upload test package: {}'.format(err)) + else: + self.client.application_package.activate(group_name, batch_name, 'application_id', 'v1.0', 'zip') + + def create_resource(self, name, **kwargs): + if self.is_live: + self.client = self.create_mgmt_client( + azure.mgmt.batch.BatchManagementClient) + group = self._get_resource_group(**kwargs) + batch_account = models.BatchAccountCreateParameters( + location=self.location, + ) + storage = self._get_storage_account(**kwargs) + if storage: + storage_resource = '/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Storage/storageAccounts/{}'.format( + self.test_class_instance.settings.SUBSCRIPTION_ID, + group.name, + storage.name + ) + batch_account.auto_storage=models.AutoStorageBaseProperties(storage_resource) + account_setup = self.client.batch_account.create( + group.name, + name, + batch_account) + self.resource = account_setup.result() + keys = self.client.batch_account.get_keys( + group.name, + name + ) + credentials = SharedKeyCredentials( + keys.account_name, + keys.primary) + if storage: + self._add_app_package(group.name, name) + + else: + self.resource = FakeAccount( + name=name, + account_endpoint="https://{}.{}.batch.azure.com".format(name, self.location)) + credentials = SharedKeyCredentials( + name, + 'ZmFrZV9hY29jdW50X2tleQ==') + return { + self.parameter_name: self.resource, + self.creds_parameter: credentials + } + + def remove_resource(self, name, **kwargs): + if self.is_live: + group = self._get_resource_group(**kwargs) + deleting = self.client.batch_account.delete(group.name, name) + try: + deleting.wait() + except: + pass + + +class PoolPreparer(AzureMgmtPreparer): + def __init__(self, + name_prefix='', + size=0, + os='Linux', + config='iaas', + parameter_name='batch_pool', + location=None, + resource_group_parameter_name=RESOURCE_GROUP_PARAM, + batch_account_parameter_name=BATCH_ACCOUNT_PARAM, + disable_recording=True, playback_fake_resource=None, + client_kwargs=None): + super(PoolPreparer, self).__init__(name_prefix, 24, + disable_recording=disable_recording, + playback_fake_resource=playback_fake_resource, + client_kwargs=client_kwargs) + self.size = size + self.os = os + self.config = config + self.resource_group_parameter_name = resource_group_parameter_name + self.batch_account_parameter_name = batch_account_parameter_name + self.parameter_name = parameter_name + + def _get_resource_group(self, **kwargs): + try: + return kwargs[self.resource_group_parameter_name] + except KeyError: + template = 'To create a batch account a resource group is required. Please add ' \ + 'decorator @{} in front of this storage account preparer.' + raise AzureTestError(template.format(ResourceGroupPreparer.__name__)) + + def _get_batch_account(self, **kwargs): + try: + return kwargs[self.batch_account_parameter_name] + except KeyError: + template = 'To create a batch poool, a batch account is required. Please add ' \ + 'decorator @AccountPreparer in front of this pool preparer.' + raise AzureTestError(template) + + def create_resource(self, name, **kwargs): + if self.is_live: + self.client = self.create_mgmt_client( + azure.mgmt.batch.BatchManagementClient) + group = self._get_resource_group(**kwargs) + batch_account = self._get_batch_account(**kwargs) + user = models.UserAccount('task-user', 'kt#_gahr!@aGERDXA', models.ElevationLevel.admin) + vm_size = 'Standard_A1' + + if self.config == 'paas': + vm_size = 'small' + deployment = models.DeploymentConfiguration( + cloud_service_configuration=models.CloudServiceConfiguration( + os_family='5')) + elif self.os == 'Windows': + deployment = models.DeploymentConfiguration( + virtual_machine_configuration=models.VirtualMachineConfiguration( + image_reference=models.ImageReference( + publisher='MicrosoftWindowsServer', + offer='WindowsServer', + sku='2016-Datacenter-smalldisk' + ), + node_agent_sku_id='batch.node.windows amd64')) + else: + deployment = models.DeploymentConfiguration( + virtual_machine_configuration=models.VirtualMachineConfiguration( + image_reference=models.ImageReference( + publisher='Canonical', + offer='UbuntuServer', + sku='16.04-LTS' + ), + node_agent_sku_id='batch.node.ubuntu 16.04')) + parameters = models.Pool( + display_name="test_pool", + vm_size=vm_size, + user_accounts=[user], + deployment_configuration=deployment, + scale_settings=models.ScaleSettings( + fixed_scale=models.FixedScaleSettings( + target_dedicated_nodes=self.size + ) + ) + ) + + pool_setup = self.client.pool.create( + group.name, batch_account.name, name, parameters) + self.resource = pool_setup.result() + while (self.resource.allocation_state != models.AllocationState.steady + and self.resource.current_dedicated_nodes < self.size): + time.sleep(10) + self.resource = self.client.pool.get(group.name, batch_account.name, name) + else: + self.resource = FakeResource(name=name, id=name) + return { + self.parameter_name: self.resource, + } + + def remove_resource(self, name, **kwargs): + if self.is_live: + group = self._get_resource_group(**kwargs) + account = self._get_batch_account(**kwargs) + self.client.pool.delete(group.name, account.name, name) + + +class JobPreparer(AzureMgmtPreparer): + def __init__(self, + name_prefix='batch', + parameter_name='batch_job', + batch_account_parameter_name=BATCH_ACCOUNT_PARAM, + batch_credentials_parameter_name='credentials', + batch_pool_parameter_name='batch_pool', + disable_recording=True, playback_fake_resource=None, + client_kwargs=None, **extra_args): + super(JobPreparer, self).__init__(name_prefix, 24, + disable_recording=disable_recording, + playback_fake_resource=playback_fake_resource, + client_kwargs=client_kwargs) + self.parameter_name = parameter_name + self.batch_account_parameter_name = batch_account_parameter_name + self.batch_credentials_parameter_name = batch_credentials_parameter_name + self.batch_pool_parameter_name = batch_pool_parameter_name + self.extra_args = extra_args + + def _get_batch_client(self, **kwargs): + try: + account = kwargs[self.batch_account_parameter_name] + credentials = kwargs[self.batch_credentials_parameter_name] + return azure.batch.BatchServiceClient( + credentials, base_url='https://' + account.account_endpoint) + except KeyError: + template = 'To create a batch job, a batch account is required. Please add ' \ + 'decorator @AccountPreparer in front of this job preparer.' + raise AzureTestError(template) + + def _get_batch_pool_id(self, **kwargs): + try: + pool_id = kwargs[self.batch_pool_parameter_name].name + return azure.batch.models.PoolInformation(pool_id=pool_id) + except KeyError: + auto_pool = azure.batch.models.AutoPoolSpecification( + pool_lifetime_option=azure.batch.models.PoolLifetimeOption.job, + pool=azure.batch.models.PoolSpecification( + vm_size='small', + cloud_service_configuration=azure.batch.models.CloudServiceConfiguration( + os_family='5' + ) + ) + ) + return azure.batch.models.PoolInformation( + auto_pool_specification=auto_pool + ) + + def create_resource(self, name, **kwargs): + if self.is_live: + self.client = self._get_batch_client(**kwargs) + pool = self._get_batch_pool_id(**kwargs) + self.resource = azure.batch.models.JobAddParameter( + id=name, + pool_info=pool, + **self.extra_args + ) + try: + self.client.job.add(self.resource) + except azure.batch.models.BatchErrorException as e: + message = "{}: ".format(e.error.code, e.error.message) + for v in e.error.values: + message += "\n{}: {}".format(v.key, v.value) + raise AzureTestError(message) + else: + self.resource = FakeResource(name=name, id=name) + return { + self.parameter_name: self.resource, + } + + def remove_resource(self, name, **kwargs): + if self.is_live: + self.client.job.delete(name) \ No newline at end of file diff --git a/azure-batch/tests/recordings/test_batch.test_batch_applications.yaml b/azure-batch/tests/recordings/test_batch.test_batch_applications.yaml new file mode 100644 index 000000000000..a8556bea3b0d --- /dev/null +++ b/azure-batch/tests/recordings/test_batch.test_batch_applications.yaml @@ -0,0 +1,124 @@ +interactions: +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Thu, 09 Nov 2017 00:59:44 GMT'] + method: GET + uri: https://batchf06f0dd7.japanwest.batch.azure.com/applications?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchf06f0dd7.japanwest.batch.azure.com/$metadata#listapplicationsummariesresponses\"\ + ,\"value\":[\r\n {\r\n \"id\":\"application_id\",\"versions\":[\r\n\ + \ \"v1.0\"\r\n ]\r\n }\r\n ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Thu, 09 Nov 2017 00:59:44 GMT'] + request-id: [b39d37c0-82e8-465a-aec1-309524099fc8] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Thu, 09 Nov 2017 00:59:45 GMT'] + method: GET + uri: https://batchf06f0dd7.japanwest.batch.azure.com/applications/application_id?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchf06f0dd7.japanwest.batch.azure.com/$metadata#getapplicationsummaryresponse/@Element\"\ + ,\"id\":\"application_id\",\"versions\":[\r\n \"v1.0\"\r\n ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Thu, 09 Nov 2017 00:59:46 GMT'] + request-id: [5e5086c5-dd74-4474-b1d2-30002f86be7f] + 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: '{"id": "python_task_with_app_package", "commandLine": "cmd /c \"echo hello + world\"", "applicationPackageReferences": [{"applicationId": "application_id", + "version": "v1.0"}]}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['174'] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Thu, 09 Nov 2017 00:59:46 GMT'] + method: POST + uri: https://batchf06f0dd7.japanwest.batch.azure.com/jobs/batchf06f0dd7/tasks?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batchf06f0dd7.japanwest.batch.azure.com/jobs/batchf06f0dd7/tasks/python_task_with_app_package'] + dataserviceversion: ['3.0'] + date: ['Thu, 09 Nov 2017 00:59:47 GMT'] + etag: ['0x8D5270D2C3221B1'] + last-modified: ['Thu, 09 Nov 2017 00:59:47 GMT'] + location: ['https://batchf06f0dd7.japanwest.batch.azure.com/jobs/batchf06f0dd7/tasks/python_task_with_app_package'] + request-id: [2859cc84-a2a7-48f9-9f05-ec66bc003e92] + 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] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Thu, 09 Nov 2017 00:59:47 GMT'] + method: GET + uri: https://batchf06f0dd7.japanwest.batch.azure.com/jobs/batchf06f0dd7/tasks/python_task_with_app_package?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchf06f0dd7.japanwest.batch.azure.com/$metadata#tasks/@Element\"\ + ,\"id\":\"python_task_with_app_package\",\"url\":\"https://batchf06f0dd7.japanwest.batch.azure.com/jobs/batchf06f0dd7/tasks/python_task_with_app_package\"\ + ,\"eTag\":\"0x8D5270D2C3221B1\",\"creationTime\":\"2017-11-09T00:59:47.2334257Z\"\ + ,\"lastModified\":\"2017-11-09T00:59:47.2334257Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-09T00:59:47.2334257Z\",\"commandLine\":\"\ + cmd /c \\\"echo hello world\\\"\",\"applicationPackageReferences\":[\r\n \ + \ {\r\n \"applicationId\":\"application_id\",\"version\":\"v1.0\"\r\ + \n }\r\n ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ + :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ + :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ + ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ + :0,\"requeueCount\":0\r\n }\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Thu, 09 Nov 2017 00:59:48 GMT'] + etag: ['0x8D5270D2C3221B1'] + last-modified: ['Thu, 09 Nov 2017 00:59:47 GMT'] + request-id: [77598d80-7e9a-484d-8ff2-a3fafd7a187a] + 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 diff --git a/azure-batch/tests/recordings/test_batch.test_batch_certificates.yaml b/azure-batch/tests/recordings/test_batch.test_batch_certificates.yaml new file mode 100644 index 000000000000..3a6105dbb3a2 --- /dev/null +++ b/azure-batch/tests/recordings/test_batch.test_batch_certificates.yaml @@ -0,0 +1,145 @@ +interactions: +- request: + body: '{"thumbprint": "cff2ab63c8c955aaf71989efa641b906558d9fb7", "thumbprintAlgorithm": + "sha1", "data": "MIIGMQIBAzCCBe0GCSqGSIb3DQEHAaCCBd4EggXaMIIF1jCCA8AGCSqGSIb3DQEHAaCCA7EEggOtMIIDqTCCA6UGCyqGSIb3DQEMCgECoIICtjCCArIwHAYKKoZIhvcNAQwBAzAOBAhyd3xCtln3iQICB9AEggKQhe5P10V9iV1BsDlwWT561Yu2hVq3JT8ae/ebx1ZR/gMApVereDKkS9Zg4vFyssusHebbK5pDpU8vfAqle0TM4m7wGsRj453ZorSPUfMpHvQnAOn+2pEpWdMThU7xvZ6DVpwhDOQk9166z+KnKdHGuJKh4haMT7Rw/6xZ1rsBt2423cwTrQVMQyACrEkianpuujubKltN99qRoFAxhQcnYE2KlYKw7lRcExq6mDSYAyk5xJZ1ZFdLj6MAryZroQit/0g5eyhoNEKwWbi8px5j71pRTf7yjN+deMGQKwbGl+3OgaL1UZ5fCjypbVL60kpIBxLZwIJ7p3jJ+q9pbq9zSdzshPYor5lxyUfXqaso/0/91ayNoBzg4hQGh618PhFI6RMGjwkzhB9xk74iweJ9HQyIHf8yx2RCSI22JuCMitPMWSGvOszhbNx3AEDLuiiAOHg391mprEtKZguOIr9LrJwem/YmcHbwyz5YAbZmiseKPkllfC7dafFfCFEkj6R2oegIsZo0pEKYisAXBqT0g+6/jGwuhlZcBo0f7UIZm88iA3MrJCjlXEgV5OcQdoWj+hq0lKEdnhtCKr03AIfukN6+4vjjarZeW1bs0swq0l3XFf5RHa11otshMS4mpewshB9iO9MuKWpRxuxeng4PlKZ/zuBqmPeUrjJ9454oK35Pq+dghfemt7AUpBH/KycDNIZgfdEWUZrRKBGnc519C+RTqxyt5hWL18nJk4LvSd3QKlJ1iyJxClhhb/NWEzPqNdyA5cxen+2T9bd/EqJ2KzRv5/BPVwTQkHH9W/TZElFyvFfOFIW2+03RKbVGw72Mr/0xKZ+awAnEfoU+SL/2Gj2m6PHkqFX2sOCi/tN9EA4xgdswEwYJKoZIhvcNAQkVMQYEBAEAAAAwXQYJKwYBBAGCNxEBMVAeTgBNAGkAYwByAG8AcwBvAGYAdAAgAFMAdAByAG8AbgBnACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcjBlBgkqhkiG9w0BCRQxWB5WAFAAdgBrAFQAbQBwADoANABjAGUANgAwADQAZABhAC0AMAA2ADgAMQAtADQANAAxADUALQBhADIAYwBhAC0ANQA3ADcAMwAwADgAZQA2AGQAOQBhAGMwggIOBgkqhkiG9w0BBwGgggH/BIIB+zCCAfcwggHzBgsqhkiG9w0BDAoBA6CCAcswggHHBgoqhkiG9w0BCRYBoIIBtwSCAbMwggGvMIIBXaADAgECAhAdka3aTQsIsUphgIXGUmeRMAkGBSsOAwIdBQAwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3kwHhcNMTYwMTAxMDcwMDAwWhcNMTgwMTAxMDcwMDAwWjASMRAwDgYDVQQDEwdub2Rlc2RrMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC5fhcxbJHxxBEIDzVOMc56s04U6k4GPY7yMR1m+rBGVRiAyV4RjY6U936dqXHCVD36ps2Q0Z+OeEgyCInkIyVeB1EwXcToOcyeS2YcUb0vRWZDouC3tuFdHwiK1Ed5iW/LksmXDotyV7kpqzaPhOFiMtBuMEwNJcPge9k17hRgRQIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAHl2M97QbpzdnwO5HoRBsiEExOcLTNg+GKCr7HUsbzfvrUivw+JLL7qjHAIc5phnK+F5bQ8HKe0L9YXBSKl+fvwxFTATBgkqhkiG9w0BCRUxBgQEAQAAADA7MB8wBwYFKw4DAhoEFGVtyGMqiBd32fGpzlGZQoRM6UQwBBTI0YHFFqTS4Go8CoLgswn29EiuUQICB9A=", + "certificateFormat": "pfx", "password": "nodesdk"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['2272'] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 17:43:15 GMT'] + method: POST + uri: https://batchf0370dc6.japanwest.batch.azure.com/certificates?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batchf0370dc6.japanwest.batch.azure.com/certificates(ThumbprintAlgorithm=sha1,Thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)'] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 17:43:15 GMT'] + location: ['https://batchf0370dc6.japanwest.batch.azure.com/certificates(ThumbprintAlgorithm=sha1,Thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)'] + request-id: [11ff1532-b547-450a-b30c-66a89f3c0ba6] + 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] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 17:43:15 GMT'] + method: GET + uri: https://batchf0370dc6.japanwest.batch.azure.com/certificates?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchf0370dc6.japanwest.batch.azure.com/$metadata#certificates\"\ + ,\"value\":[\r\n {\r\n \"thumbprint\":\"cff2ab63c8c955aaf71989efa641b906558d9fb7\"\ + ,\"thumbprintAlgorithm\":\"sha1\",\"url\":\"https://batchf0370dc6.japanwest.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)\"\ + ,\"state\":\"active\",\"stateTransitionTime\":\"2017-11-07T17:43:15.8259688Z\"\ + ,\"publicData\":\"MIIBrzCCAV2gAwIBAgIQHZGt2k0LCLFKYYCFxlJnkTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE2MDEwMTA3MDAwMFoXDTE4MDEwMTA3MDAwMFowEjEQMA4GA1UEAxMHbm9kZXNkazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuX4XMWyR8cQRCA81TjHOerNOFOpOBj2O8jEdZvqwRlUYgMleEY2OlPd+nalxwlQ9+qbNkNGfjnhIMgiJ5CMlXgdRMF3E6DnMnktmHFG9L0VmQ6Lgt7bhXR8IitRHeYlvy5LJlw6Lcle5Kas2j4ThYjLQbjBMDSXD4HvZNe4UYEUCAwEAAaNLMEkwRwYDVR0BBEAwPoAQEuQJLQYdHU8AjWEh3BZkY6EYMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5ghAGN2wAqgBkihHPuNSqXDX0MAkGBSsOAwIdBQADQQB5djPe0G6c3Z8DuR6EQbIhBMTnC0zYPhigq+x1LG83761Ir8PiSy+6oxwCHOaYZyvheW0PByntC/WFwUipfn78\"\ + \r\n }\r\n ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 17:43:16 GMT'] + request-id: [54e5af1f-eb4b-424f-910f-841264e0e4c1] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 17:43:16 GMT'] + method: GET + uri: https://batchf0370dc6.japanwest.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchf0370dc6.japanwest.batch.azure.com/$metadata#certificates/@Element\"\ + ,\"thumbprint\":\"cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"thumbprintAlgorithm\"\ + :\"sha1\",\"url\":\"https://batchf0370dc6.japanwest.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)\"\ + ,\"state\":\"active\",\"stateTransitionTime\":\"2017-11-07T17:43:15.8259688Z\"\ + ,\"publicData\":\"MIIBrzCCAV2gAwIBAgIQHZGt2k0LCLFKYYCFxlJnkTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE2MDEwMTA3MDAwMFoXDTE4MDEwMTA3MDAwMFowEjEQMA4GA1UEAxMHbm9kZXNkazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuX4XMWyR8cQRCA81TjHOerNOFOpOBj2O8jEdZvqwRlUYgMleEY2OlPd+nalxwlQ9+qbNkNGfjnhIMgiJ5CMlXgdRMF3E6DnMnktmHFG9L0VmQ6Lgt7bhXR8IitRHeYlvy5LJlw6Lcle5Kas2j4ThYjLQbjBMDSXD4HvZNe4UYEUCAwEAAaNLMEkwRwYDVR0BBEAwPoAQEuQJLQYdHU8AjWEh3BZkY6EYMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5ghAGN2wAqgBkihHPuNSqXDX0MAkGBSsOAwIdBQADQQB5djPe0G6c3Z8DuR6EQbIhBMTnC0zYPhigq+x1LG83761Ir8PiSy+6oxwCHOaYZyvheW0PByntC/WFwUipfn78\"\ + \r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 17:43:17 GMT'] + request-id: [d767e9ce-4630-4137-8999-19e0f7e5e6f9] + 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.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 17:43:17 GMT'] + method: POST + uri: https://batchf0370dc6.japanwest.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)/canceldelete?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchf0370dc6.japanwest.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\"\ + ,\"code\":\"CertificateStateActive\",\"message\":{\r\n \"lang\":\"en-US\"\ + ,\"value\":\"The specified certificate is in active state.\\nRequestId:e8e2f9ff-4882-436f-9aec-530e7e89f186\\\ + nTime:2017-11-07T17:43:17.8903897Z\"\r\n }\r\n}"} + headers: + content-length: ['358'] + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 17:43:17 GMT'] + request-id: [e8e2f9ff-4882-436f-9aec-530e7e89f186] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + status: {code: 409, message: The specified certificate is in active state.} +- 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.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 17:43:17 GMT'] + method: DELETE + uri: https://batchf0370dc6.japanwest.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 17:43:18 GMT'] + request-id: [ebc307e3-7463-4657-9b33-f2aa58d11f3d] + 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} +version: 1 diff --git a/azure-batch/tests/recordings/test_batch.test_batch_compute_node_user.yaml b/azure-batch/tests/recordings/test_batch.test_batch_compute_node_user.yaml new file mode 100644 index 000000000000..4d49c3362547 --- /dev/null +++ b/azure-batch/tests/recordings/test_batch.test_batch_compute_node_user.yaml @@ -0,0 +1,1676 @@ +interactions: +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:33:44 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"creating\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:33:34.0851994Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:33:45 GMT'] + request-id: [76fd9717-8ec8-4206-9e86-44b9d90760a7] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:33:55 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"creating\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:33:34.0851994Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:33:56 GMT'] + request-id: [0999d61f-c74a-4089-94e3-87497733c9e7] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:34:06 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"creating\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:33:34.0851994Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:34:07 GMT'] + request-id: [22cb1c2a-d0de-4b6d-a04a-357c17ae6513] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:34:17 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"creating\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:33:34.0851994Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:34:17 GMT'] + request-id: [ec812401-2159-4432-a746-80c7c7f9f937] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:34:27 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"creating\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:33:34.0851994Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:34:28 GMT'] + request-id: [cb8bd5b2-e222-46c4-a94c-6502fbb446c6] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:34:38 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:34:38 GMT'] + request-id: [a766cd03-6d05-4c6c-be1a-b407c5653b4d] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:34:48 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:34:49 GMT'] + request-id: [daf100d5-02c1-4587-8e9c-372dd0adf321] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:34:59 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:35:00 GMT'] + request-id: [23b30809-11b3-46f2-882d-bee5bcbf0a4c] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:35:10 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:35:10 GMT'] + request-id: [f78e5d47-e7c4-4671-b0e2-901bc559da1c] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:35:20 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:35:21 GMT'] + request-id: [24c4e6fc-d0e5-44aa-9448-826d2d670a44] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:35:31 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:35:32 GMT'] + request-id: [736af99b-e483-43e9-bf65-4a779a132765] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:35:42 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:35:42 GMT'] + request-id: [e0f15947-a2be-4f58-80b4-42d2df565702] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:35:52 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:35:53 GMT'] + request-id: [b5ef1ce6-1a73-45ec-ae38-42caa09b3321] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:36:03 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:36:03 GMT'] + request-id: [5548467e-16c6-4d43-a03b-908a9fcaa09d] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:36:13 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:36:13 GMT'] + request-id: [eb92a9b2-fedf-4a00-9bd0-95aa0776c01f] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:36:24 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:36:24 GMT'] + request-id: [47bf1e40-f9c4-4604-8586-62242b9b64de] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:36:35 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:36:36 GMT'] + request-id: [4f409faf-6c8b-452c-8575-938c16e48586] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:36:45 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:36:46 GMT'] + request-id: [65073541-8654-4dae-8eed-654d5d5753e9] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:36:56 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:36:56 GMT'] + request-id: [cd026d2f-6f76-4f8b-a3a1-3a2b77050f81] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:37:06 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:37:07 GMT'] + request-id: [1b55a34b-f4b5-434d-a30e-162e3cb24fbd] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:37:17 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:37:18 GMT'] + request-id: [95e2a3a7-f6a6-4d17-864d-dcb88e147c9b] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:37:28 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:37:28 GMT'] + request-id: [fe33b5c8-5c47-49c7-8fdf-b66c4f31481f] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:37:38 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:37:39 GMT'] + request-id: [f8ca1265-393f-4884-901d-07b5902448f2] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:37:49 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:37:50 GMT'] + request-id: [ef786d36-4093-426b-818a-add19983b0d2] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:38:00 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:37:59 GMT'] + request-id: [969d5e8a-68ca-4927-90b0-52c771b5bb77] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:38:10 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:38:11 GMT'] + request-id: [c31ca32f-4e44-48a7-9116-89f417d54b42] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:38:21 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:38:21 GMT'] + request-id: [46c388fb-608a-4dc1-9d31-225c0e2dca0c] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:38:31 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:38:32 GMT'] + request-id: [8c39f236-8553-4b02-9e35-2eee94aa4596] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:38:42 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:38:43 GMT'] + request-id: [6cc25d5c-d4d6-4cc4-94cb-b91360af8949] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:38:53 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:38:52 GMT'] + request-id: [c30e615c-9a47-482f-a212-176ee4a8843e] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:39:03 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:39:04 GMT'] + request-id: [88c0577f-347c-4b58-a6a1-95f77da91af0] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:39:14 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:39:14 GMT'] + request-id: [b68e5f88-836c-44fa-a002-dfdd527ab15a] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:39:24 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:39:25 GMT'] + request-id: [7682fce8-4147-4c90-a6bc-0ae4443befb8] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:39:35 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:39:36 GMT'] + request-id: [04f9ae94-e748-4c8d-8f30-01ceef65c111] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:39:46 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:39:46 GMT'] + request-id: [fc75c885-0182-4299-94c6-d4fb7c62cf15] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:39:56 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:39:57 GMT'] + request-id: [d790b25c-0012-40b5-b50f-eae0a0a21691] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:40:07 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:40:08 GMT'] + request-id: [e0a162d6-64da-4a2c-b111-9aaf6adc7948] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:40:18 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:40:17 GMT'] + request-id: [0476281b-d3c5-49f7-8fd1-bbd79122c5cc] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:40:28 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:40:29 GMT'] + request-id: [39adb77c-7c25-4027-b44c-a18e00ab0517] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:40:39 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:40:40 GMT'] + request-id: [ca176ffb-a98f-4b3a-8791-d83702b0d196] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:40:49 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:40:50 GMT'] + request-id: [b84c569d-36ef-4b3a-b169-aa8e5fef76c6] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:41:00 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:41:01 GMT'] + request-id: [27df8433-ed27-4e3b-b236-7ace9e784df6] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:41:10 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:41:11 GMT'] + request-id: [38338c99-e487-4a08-9c7e-7a05da44a971] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:41:21 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:41:22 GMT'] + request-id: [612457df-33b7-43d3-90d1-8d5ec847eefc] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:41:32 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:41:32 GMT'] + request-id: [7a489755-039b-4bfc-80a3-9c63d3892436] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:41:42 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\"\ + ,\"ipAddress\":\"100.77.164.86\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:41:43 GMT'] + request-id: [7c04ae01-f2b8-47f8-857d-a63f577beff9] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:41:53 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:34:34.2085836Z\",\"lastBootTime\":\"2017-11-08T23:41:42.2679879Z\"\ + ,\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\",\"ipAddress\":\"100.77.164.86\"\ + ,\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\",\"vmSize\":\"small\"\ + ,\"totalTasksRun\":0,\"totalTasksSucceeded\":0,\"runningTasksCount\":0,\"\ + isDedicated\":true\r\n }\r\n ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:41:54 GMT'] + request-id: [1b33154d-401e-4261-82cb-eba66b18af97] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:42:04 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:42:02.8765224Z\",\"lastBootTime\":\"2017-11-08T23:41:42.2679879Z\"\ + ,\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\",\"ipAddress\":\"100.77.164.86\"\ + ,\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\",\"vmSize\":\"small\"\ + ,\"totalTasksRun\":0,\"totalTasksSucceeded\":0,\"runningTasksCount\":0,\"\ + isDedicated\":true\r\n }\r\n ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:42:04 GMT'] + request-id: [62af8e50-a3a2-4355-83d2-2e5f086a7600] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:42:04 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch3c670ff0.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t233334z\"\ + ,\"url\":\"https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z\"\ + ,\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T23:42:02.8765224Z\",\"lastBootTime\":\"2017-11-08T23:41:42.2679879Z\"\ + ,\"allocationTime\":\"2017-11-08T23:33:34.0851994Z\",\"ipAddress\":\"100.77.164.86\"\ + ,\"affinityId\":\"TVM:tvm-1641561676_1-20171108t233334z\",\"vmSize\":\"small\"\ + ,\"totalTasksRun\":0,\"totalTasksSucceeded\":0,\"runningTasksCount\":0,\"\ + isDedicated\":true\r\n }\r\n ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:42:04 GMT'] + request-id: [3f48a597-381f-40f9-8bde-6e2d2817c686] + 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: '{"name": "BatchPythonSDKUser", "isAdmin": false, "password": "kt#_gahr!@aGERDXA"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['81'] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:42:05 GMT'] + method: POST + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z/users?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z/users/BatchPythonSDKUser'] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:42:18 GMT'] + location: ['https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z/users/BatchPythonSDKUser'] + request-id: [7e976564-5be4-47b0-a0fe-b4e2cff7bfcd] + 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: '{"password": "liilef#$DdRGSa_ewkjh"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['36'] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:42:19 GMT'] + method: PUT + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z/users/BatchPythonSDKUser?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z/users/BatchPythonSDKUser'] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:42:20 GMT'] + request-id: [e1136eaa-3b20-4538-815f-7b6909355af9] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:42:20 GMT'] + method: GET + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z/rdp?api-version=2017-09-01.6.0 + response: + body: {string: "full address:s:104.215.53.112\r\nLoadBalanceInfo:s:Cookie: mstshash=TVM#TVM_IN_0"} + headers: + content-type: [application/octet-stream] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:42:21 GMT'] + request-id: [83f77fae-8936-44ae-b08b-651c489817b9] + 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.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 23:42:21 GMT'] + method: DELETE + uri: https://batch3c670ff0.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_node_user3c670ff0/nodes/tvm-1641561676_1-20171108t233334z/users/BatchPythonSDKUser?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 23:42:26 GMT'] + request-id: [80cbaa99-c5b0-4e62-99dd-2b3f5f628023] + 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 diff --git a/azure-batch/tests/recordings/test_batch.test_batch_compute_nodes.yaml b/azure-batch/tests/recordings/test_batch.test_batch_compute_nodes.yaml new file mode 100644 index 000000000000..b4fdd974cafe --- /dev/null +++ b/azure-batch/tests/recordings/test_batch.test_batch_compute_nodes.yaml @@ -0,0 +1,1839 @@ +interactions: +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 21:58:41 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"creating\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:58:38.3283788Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"creating\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:58:38.3283788Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 21:58:41 GMT'] + request-id: [f45c2904-5d9c-40a2-8d27-ecdc76baf900] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 21:58:51 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"creating\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:58:38.3283788Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"creating\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:58:38.3283788Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 21:58:52 GMT'] + request-id: [27005d04-603c-46ea-8e67-542ae7a38f0a] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 21:59:02 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"creating\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:58:38.3283788Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"creating\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:58:38.3283788Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 21:59:03 GMT'] + request-id: [d0680f1e-5fa3-427c-8854-6a9030db92c9] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 21:59:13 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"creating\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:58:38.3283788Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"creating\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:58:38.3283788Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 21:59:13 GMT'] + request-id: [8cc9834b-5de2-406e-98b0-43de4c76c03f] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 21:59:23 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"creating\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:58:38.3283788Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"creating\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:58:38.3283788Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 21:59:24 GMT'] + request-id: [b5041cc1-24fe-4c93-8ddb-6682e5cbee5b] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 21:59:34 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"creating\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:58:38.3283788Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"creating\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:58:38.3283788Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 21:59:35 GMT'] + request-id: [1fd64ace-b4d6-4fec-bfd5-b3af5e87d72b] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 21:59:45 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 21:59:45 GMT'] + request-id: [b6cd043f-d0e7-44b2-84d1-13b3b2064d6e] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 21:59:55 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 21:59:56 GMT'] + request-id: [1ee78129-80ed-427c-a89e-641908e44a0b] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:00:06 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:00:05 GMT'] + request-id: [6487728c-e799-42ca-afd5-77f9bc0e7781] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:00:16 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:00:17 GMT'] + request-id: [902e99c9-4b63-416d-868c-494d2a6586c9] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:00:27 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:00:28 GMT'] + request-id: [3a8cb659-fd7e-4b77-858f-6344c03926e1] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:00:38 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:00:38 GMT'] + request-id: [abe2f86c-b7e9-4560-8d8b-5d004d53f2c3] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:00:48 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:00:48 GMT'] + request-id: [2003f081-369e-431a-8d7d-f0268d82e297] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:00:59 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:01:00 GMT'] + request-id: [6b209e6d-b712-4465-b735-5e1f753efbda] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:01:10 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:01:10 GMT'] + request-id: [2d77221b-13ec-40c3-b2be-327f36389802] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:01:20 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:01:20 GMT'] + request-id: [45f637e7-da10-430a-bb0e-bc3e88b0965d] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:01:31 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:01:32 GMT'] + request-id: [21295359-6bc6-48c1-9ead-2ff0b2d0776b] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:01:42 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:01:42 GMT'] + request-id: [2794b03f-19dd-4e28-a722-f867f6260256] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:01:52 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:01:53 GMT'] + request-id: [e7e91a2d-688d-48c4-a0bb-cf4d54db33d2] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:02:03 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:02:03 GMT'] + request-id: [4660517a-c316-464c-9371-df8064861a7b] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:02:13 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:02:13 GMT'] + request-id: [6baa8fd1-9072-4935-95b4-3a79e772a49f] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:02:24 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:02:24 GMT'] + request-id: [1e472e1a-157e-4864-8747-2c250fa459b5] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:02:34 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:02:35 GMT'] + request-id: [4c27e68f-88e0-4f6a-a4c6-5419f76131c1] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:02:45 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:02:46 GMT'] + request-id: [e8b5f22d-3d37-4b7a-a836-9c76218b2873] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:02:56 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:02:55 GMT'] + request-id: [2e080b5f-8862-4e9b-ac8d-1e76e1da29db] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:03:06 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:03:07 GMT'] + request-id: [069fafbd-27af-4742-aca6-9e91408cc21c] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:03:17 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:03:17 GMT'] + request-id: [e629af3f-d7b6-40e5-a387-434d83ea338b] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:03:27 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:03:28 GMT'] + request-id: [cb208a47-9403-4a52-92a6-a6bf12587ad4] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:03:38 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:03:38 GMT'] + request-id: [cf8f72cd-8fc9-4b8b-93f1-25cff29cf8de] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:03:49 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:03:49 GMT'] + request-id: [1eb42ab1-7680-4482-afde-8cb062d6d28e] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:03:59 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:04:00 GMT'] + request-id: [3dfe2848-7e37-4270-8a77-a373978fc956] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:04:10 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:04:10 GMT'] + request-id: [6c63fe4e-bb09-493b-ba77-a8ac16cde723] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:04:20 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:04:21 GMT'] + request-id: [415983e2-7cf6-49ef-b757-14a6c4c31c81] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:04:31 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:04:31 GMT'] + request-id: [99e5ad21-fb5e-4cec-b488-d612ee800e54] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:04:42 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:04:42 GMT'] + request-id: [0f4a652a-1e3e-45ee-9f0b-d2eedcd6ac7a] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:04:52 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:04:53 GMT'] + request-id: [3e0bc142-0844-4488-a396-b2d7f77a2da1] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:05:03 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:05:03 GMT'] + request-id: [428c481e-49f8-4668-88a9-e7c519f92e47] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:05:13 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:05:14 GMT'] + request-id: [31525d6d-5a22-40ce-a0b9-20da95b64396] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:05:24 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:05:24 GMT'] + request-id: [0903bdb1-78fc-4da4-8c70-f3cc7a5f2b92] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:05:34 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:05:35 GMT'] + request-id: [2242f7d7-4fb6-4e00-b6b2-46715a1ad1e7] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:05:45 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:05:46 GMT'] + request-id: [5a779dd3-897d-41d8-8269-e05d438504b6] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:05:56 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.198.58\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n },{\r\ + \n \"id\":\"tvm-1641561676_2-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:05:56 GMT'] + request-id: [8ab5c6d8-4740-4b57-8fe0-9cd63ee47b76] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:06:06 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"lastBootTime\":\"2017-11-08T22:05:59.5813156Z\"\ + ,\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\",\"ipAddress\":\"100.77.198.58\"\ + ,\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\",\"vmSize\":\"small\"\ + ,\"totalTasksRun\":0,\"totalTasksSucceeded\":0,\"runningTasksCount\":0,\"\ + isDedicated\":true\r\n },{\r\n \"id\":\"tvm-1641561676_2-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\"\ + ,\"ipAddress\":\"100.77.210.52\",\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\"\ + ,\"vmSize\":\"small\",\"totalTasksRun\":0,\"isDedicated\":true\r\n }\r\n\ + \ ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:06:07 GMT'] + request-id: [ad37ce22-981d-4c68-9000-c3c36152c6fa] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:06:17 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.3818979Z\",\"lastBootTime\":\"2017-11-08T22:05:59.5813156Z\"\ + ,\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\",\"ipAddress\":\"100.77.198.58\"\ + ,\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\",\"vmSize\":\"small\"\ + ,\"totalTasksRun\":0,\"totalTasksSucceeded\":0,\"runningTasksCount\":0,\"\ + isDedicated\":true\r\n },{\r\n \"id\":\"tvm-1641561676_2-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T21:59:38.387899Z\",\"lastBootTime\":\"2017-11-08T22:06:12.3155329Z\"\ + ,\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\",\"ipAddress\":\"100.77.210.52\"\ + ,\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\",\"vmSize\":\"small\"\ + ,\"totalTasksRun\":0,\"totalTasksSucceeded\":0,\"runningTasksCount\":0,\"\ + isDedicated\":true\r\n }\r\n ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:06:18 GMT'] + request-id: [beb265f8-3e02-46f9-8246-e147e78e02fd] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:06:28 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T22:06:21.4994293Z\",\"lastBootTime\":\"2017-11-08T22:05:59.5813156Z\"\ + ,\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\",\"ipAddress\":\"100.77.198.58\"\ + ,\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\",\"vmSize\":\"small\"\ + ,\"totalTasksRun\":0,\"totalTasksSucceeded\":0,\"runningTasksCount\":0,\"\ + isDedicated\":true\r\n },{\r\n \"id\":\"tvm-1641561676_2-20171108t215838z\"\ + ,\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z\"\ + ,\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T22:06:20.8570363Z\",\"lastBootTime\":\"2017-11-08T22:06:12.3155329Z\"\ + ,\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\",\"ipAddress\":\"100.77.210.52\"\ + ,\"affinityId\":\"TVM:tvm-1641561676_2-20171108t215838z\",\"vmSize\":\"small\"\ + ,\"totalTasksRun\":0,\"totalTasksSucceeded\":0,\"runningTasksCount\":0,\"\ + isDedicated\":true\r\n }\r\n ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:06:28 GMT'] + request-id: [92f8f1ce-6bc2-4d54-b3f5-2c31daa7e264] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:06:28 GMT'] + method: GET + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchff3f0e45.japanwest.batch.azure.com/$metadata#nodes/@Element\"\ + ,\"id\":\"tvm-1641561676_1-20171108t215838z\",\"url\":\"https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z\"\ + ,\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T22:06:21.4994293Z\",\"lastBootTime\":\"2017-11-08T22:05:59.5813156Z\"\ + ,\"allocationTime\":\"2017-11-08T21:58:38.3283788Z\",\"ipAddress\":\"100.77.198.58\"\ + ,\"affinityId\":\"TVM:tvm-1641561676_1-20171108t215838z\",\"vmSize\":\"small\"\ + ,\"totalTasksRun\":0,\"totalTasksSucceeded\":0,\"runningTasksCount\":0,\"\ + isDedicated\":true\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:06:28 GMT'] + request-id: [4c3873c7-32d6-4727-931f-6e2b3f6cd35c] + 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.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:06:29 GMT'] + method: POST + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z/disablescheduling?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z/disablescheduling'] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:06:30 GMT'] + request-id: [55d52a8b-2c7a-41fc-be97-8543074eae77] + 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.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:06:30 GMT'] + method: POST + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z/enablescheduling?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z/enablescheduling'] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:06:31 GMT'] + request-id: [14f0f6cb-bfdb-48fe-b5c5-31e57694b893] + 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: '{"nodeRebootOption": "terminate"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['33'] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:06:31 GMT'] + method: POST + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z/reboot?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_1-20171108t215838z/reboot'] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:06:32 GMT'] + request-id: [852bd819-bacd-45ad-b39a-b1579e8b0341] + 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: '{"nodeReimageOption": "terminate"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['34'] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:06:32 GMT'] + method: POST + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z/reimage?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/nodes/tvm-1641561676_2-20171108t215838z/reimage'] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:06:33 GMT'] + request-id: [8abc1349-8709-42ae-a183-d6edbe9af24f] + 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: '{"nodeList": ["tvm-1641561676_1-20171108t215838z", "tvm-1641561676_2-20171108t215838z"]}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['88'] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 22:06:33 GMT'] + method: POST + uri: https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/removenodes?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batchff3f0e45.japanwest.batch.azure.com/pools/test_batch_test_batch_compute_nodesff3f0e45/removenodes'] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 22:06:34 GMT'] + etag: ['0x8D526F4F941B8AF'] + last-modified: ['Wed, 08 Nov 2017 22:06:33 GMT'] + request-id: [4b35075e-887c-4019-ba82-ce3a94fa122b] + 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} +version: 1 diff --git a/azure-batch/tests/recordings/test_batch.test_batch_create_pools.yaml b/azure-batch/tests/recordings/test_batch.test_batch_create_pools.yaml new file mode 100644 index 000000000000..3a282e7c2ad1 --- /dev/null +++ b/azure-batch/tests/recordings/test_batch.test_batch_create_pools.yaml @@ -0,0 +1,573 @@ +interactions: +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 17:44:50 GMT'] + method: GET + uri: https://batchf0260dd0.japanwest.batch.azure.com/nodeagentskus?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchf0260dd0.japanwest.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.3\",\"version\":\"latest\"\r\n },{\r\n \"publisher\"\ + :\"OpenLogic\",\"offer\":\"CentOS-HPC\",\"sku\":\"7.3\",\"version\":\"latest\"\ + \r\n },{\r\n \"publisher\":\"Oracle\",\"offer\":\"Oracle-Linux\"\ + ,\"sku\":\"7.3\",\"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 ],\"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 \"publisher\":\"Credativ\",\"offer\"\ + :\"Debian\",\"sku\":\"8-backports\",\"version\":\"latest\"\r\n }\r\n\ + \ ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.opensuse\ + \ 13.2\",\"verifiedImageReferences\":[\r\n \r\n ],\"osType\":\"\ + linux\"\r\n },{\r\n \"id\":\"batch.node.opensuse 42.1\",\"verifiedImageReferences\"\ + :[\r\n {\r\n \"publisher\":\"SUSE\",\"offer\":\"SLES\",\"\ + sku\":\"12-SP2\",\"version\":\"latest\"\r\n },{\r\n \"publisher\"\ + :\"SUSE\",\"offer\":\"SLES-HPC\",\"sku\":\"12-SP1\",\"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\":\"Canonical\",\"offer\":\"UbuntuServer\",\"sku\":\"17.04\"\ + ,\"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\":\"2012-R2-Datacenter\",\"version\":\"latest\"\r\ + \n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\"\ + :\"WindowsServer\",\"sku\":\"2012-Datacenter\",\"version\":\"latest\"\r\n\ + \ },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\"\ + :\"WindowsServer\",\"sku\":\"2008-R2-SP1\",\"version\":\"latest\"\r\n \ + \ },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"\ + WindowsServer\",\"sku\":\"2016-Datacenter\",\"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-smalldisk\",\"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-smalldisk\",\"version\"\ + :\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\"\ + ,\"offer\":\"WindowsServer\",\"sku\":\"2016-Datacenter-with-Containers\",\"\ + version\":\"latest\"\r\n },{\r\n \"publisher\":\"microsoft-ads\"\ + ,\"offer\":\"standard-data-science-vm\",\"sku\":\"standard-data-science-vm\"\ + ,\"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: ['Tue, 07 Nov 2017 17:44:51 GMT'] + request-id: [e8b68903-7e9f-4edd-8fcf-2db587da6fa6] + 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: '{"id": "batch_iaas_f0260dd0", "vmSize": "Standard_A1", "virtualMachineConfiguration": + {"imageReference": {"publisher": "MicrosoftWindowsServer", "offer": "WindowsServer", + "sku": "2016-Datacenter-smalldisk"}, "nodeAgentSKUId": "batch.node.windows amd64", + "windowsConfiguration": {"enableAutomaticUpdates": true}}, "taskSchedulingPolicy": + {"nodeFillType": "pack"}, "userAccounts": [{"name": "test-user-1", "password": + "kt#_gahr!@aGERDXA"}, {"name": "test-user-2", "password": "kt#_gahr!@aGERDXA", + "elevationLevel": "admin"}]}' + 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.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 17:44:51 GMT'] + method: POST + uri: https://batchf0260dd0.japanwest.batch.azure.com/pools?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batchf0260dd0.japanwest.batch.azure.com/pools/batch_iaas_f0260dd0'] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 17:44:52 GMT'] + etag: ['0x8D526073FCBAD6C'] + last-modified: ['Tue, 07 Nov 2017 17:44:51 GMT'] + location: ['https://batchf0260dd0.japanwest.batch.azure.com/pools/batch_iaas_f0260dd0'] + request-id: [b86638e4-1ed7-45bb-a269-8bd7fb434be8] + 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: '{"id": "batch_network_f0260dd0", "vmSize": "Standard_A1", "virtualMachineConfiguration": + {"imageReference": {"publisher": "Canonical", "offer": "UbuntuServer", "sku": + "16.04-LTS"}, "nodeAgentSKUId": "batch.node.ubuntu 16.04"}, "networkConfiguration": + {"subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"}}' + 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.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 17:44:51 GMT'] + return-client-request-id: ['false'] + method: POST + uri: https://batchf0260dd0.japanwest.batch.azure.com/pools?api-version=2017-09-01.6.0&timeout=45 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchf0260dd0.japanwest.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:a8a3204d-c5a5-426e-82d8-35a6ec89b9e3\\nTime:2017-11-07T17:44:52.7092561Z\"\ + \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: ['848'] + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 17:44:52 GMT'] + request-id: [a8a3204d-c5a5-426e-82d8-35a6ec89b9e3] + 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: '{"id": "batch_image_f0260dd0", "vmSize": "Standard_A1", "virtualMachineConfiguration": + {"imageReference": {"virtualMachineImageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test/providers/Microsoft.Compute/images/FakeImage"}, + "nodeAgentSKUId": "batch.node.ubuntu 16.04"}}' + 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.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 17:44:52 GMT'] + return-client-request-id: ['false'] + method: POST + uri: https://batchf0260dd0.japanwest.batch.azure.com/pools?api-version=2017-09-01.6.0&timeout=45 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchf0260dd0.japanwest.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:4c3c7487-dafe-4033-b50d-09669347c5a3\\nTime:2017-11-07T17:44:53.4475580Z\"\ + \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: ['853'] + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 17:44:53 GMT'] + request-id: [4c3c7487-dafe-4033-b50d-09669347c5a3] + 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: '{"id": "batch_osdisk_f0260dd0", "vmSize": "Standard_A1", "virtualMachineConfiguration": + {"imageReference": {"publisher": "Canonical", "offer": "UbuntuServer", "sku": + "16.04-LTS"}, "osDisk": {"caching": "readWrite"}, "nodeAgentSKUId": "batch.node.ubuntu + 16.04"}}' + 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.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 17:44:53 GMT'] + method: POST + uri: https://batchf0260dd0.japanwest.batch.azure.com/pools?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batchf0260dd0.japanwest.batch.azure.com/pools/batch_osdisk_f0260dd0'] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 17:44:53 GMT'] + etag: ['0x8D52607410E9C42'] + last-modified: ['Tue, 07 Nov 2017 17:44:54 GMT'] + location: ['https://batchf0260dd0.japanwest.batch.azure.com/pools/batch_osdisk_f0260dd0'] + request-id: [a0d9e88a-3db7-4d54-8d2b-6873eaae6101] + 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] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 17:44:54 GMT'] + method: GET + uri: https://batchf0260dd0.japanwest.batch.azure.com/pools/batch_osdisk_f0260dd0?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchf0260dd0.japanwest.batch.azure.com/$metadata#pools/@Element\"\ + ,\"id\":\"batch_osdisk_f0260dd0\",\"url\":\"https://batchf0260dd0.japanwest.batch.azure.com/pools/batch_osdisk_f0260dd0\"\ + ,\"eTag\":\"0x8D52607410E9C42\",\"lastModified\":\"2017-11-07T17:44:54.0896322Z\"\ + ,\"creationTime\":\"2017-11-07T17:44:54.0896322Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-07T17:44:54.0896322Z\",\"allocationState\"\ + :\"resizing\",\"allocationStateTransitionTime\":\"2017-11-07T17:44:54.0896322Z\"\ + ,\"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: ['Tue, 07 Nov 2017 17:44:54 GMT'] + etag: ['0x8D52607410E9C42'] + last-modified: ['Tue, 07 Nov 2017 17:44:54 GMT'] + request-id: [6fb23ceb-e868-4d60-955c-51a95e8b7878] + 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: '{"id": "batch_disk_f0260dd0", "vmSize": "Standard_A1", "virtualMachineConfiguration": + {"imageReference": {"publisher": "Canonical", "offer": "UbuntuServer", "sku": + "16.04-LTS"}, "nodeAgentSKUId": "batch.node.ubuntu 16.04", "dataDisks": [{"lun": + 1, "diskSizeGB": 50}]}}' + 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.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 17:44:54 GMT'] + method: POST + uri: https://batchf0260dd0.japanwest.batch.azure.com/pools?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batchf0260dd0.japanwest.batch.azure.com/pools/batch_disk_f0260dd0'] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 17:44:55 GMT'] + etag: ['0x8D5260741CC334B'] + last-modified: ['Tue, 07 Nov 2017 17:44:55 GMT'] + location: ['https://batchf0260dd0.japanwest.batch.azure.com/pools/batch_disk_f0260dd0'] + request-id: [780ac576-3f16-4fe9-8012-315f730e6883] + 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] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 17:44:55 GMT'] + method: GET + uri: https://batchf0260dd0.japanwest.batch.azure.com/pools/batch_disk_f0260dd0?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchf0260dd0.japanwest.batch.azure.com/$metadata#pools/@Element\"\ + ,\"id\":\"batch_disk_f0260dd0\",\"url\":\"https://batchf0260dd0.japanwest.batch.azure.com/pools/batch_disk_f0260dd0\"\ + ,\"eTag\":\"0x8D5260741CC334B\",\"lastModified\":\"2017-11-07T17:44:55.3321291Z\"\ + ,\"creationTime\":\"2017-11-07T17:44:55.3321291Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-07T17:44:55.3321291Z\",\"allocationState\"\ + :\"steady\",\"allocationStateTransitionTime\":\"2017-11-07T17:44:55.780148Z\"\ + ,\"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: ['Tue, 07 Nov 2017 17:44:55 GMT'] + etag: ['0x8D5260741CC334B'] + last-modified: ['Tue, 07 Nov 2017 17:44:55 GMT'] + request-id: [18a19d09-3c8c-4ee9-9166-caf0ce8c8bd3] + 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: '{"id": "batch_app_f0260dd0", "vmSize": "Standard_A1", "virtualMachineConfiguration": + {"imageReference": {"publisher": "Canonical", "offer": "UbuntuServer", "sku": + "16.04-LTS"}, "nodeAgentSKUId": "batch.node.ubuntu 16.04", "dataDisks": [{"lun": + 1, "diskSizeGB": 50}]}, "applicationLicenses": ["maya"]}' + 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.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 17:44:55 GMT'] + method: POST + uri: https://batchf0260dd0.japanwest.batch.azure.com/pools?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batchf0260dd0.japanwest.batch.azure.com/pools/batch_app_f0260dd0'] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 17:44:56 GMT'] + etag: ['0x8D5260742838DBC'] + last-modified: ['Tue, 07 Nov 2017 17:44:56 GMT'] + location: ['https://batchf0260dd0.japanwest.batch.azure.com/pools/batch_app_f0260dd0'] + request-id: [c13fdfdb-8214-4ce3-9719-95e295667303] + 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] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 17:44:56 GMT'] + method: GET + uri: https://batchf0260dd0.japanwest.batch.azure.com/pools/batch_app_f0260dd0?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchf0260dd0.japanwest.batch.azure.com/$metadata#pools/@Element\"\ + ,\"id\":\"batch_app_f0260dd0\",\"url\":\"https://batchf0260dd0.japanwest.batch.azure.com/pools/batch_app_f0260dd0\"\ + ,\"eTag\":\"0x8D5260742838DBC\",\"lastModified\":\"2017-11-07T17:44:56.5337532Z\"\ + ,\"creationTime\":\"2017-11-07T17:44:56.5337532Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-07T17:44:56.5337532Z\",\"allocationState\"\ + :\"steady\",\"allocationStateTransitionTime\":\"2017-11-07T17:44:57.0987665Z\"\ + ,\"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: ['Tue, 07 Nov 2017 17:44:56 GMT'] + etag: ['0x8D5260742838DBC'] + last-modified: ['Tue, 07 Nov 2017 17:44:56 GMT'] + request-id: [f29e25f4-27f2-40bf-8fe9-d0c89a9eb7e7] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 17:44:57 GMT'] + method: GET + uri: https://batchf0260dd0.japanwest.batch.azure.com/pools?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchf0260dd0.japanwest.batch.azure.com/$metadata#pools\"\ + ,\"value\":[\r\n {\r\n \"id\":\"batch_app_f0260dd0\",\"url\":\"https://batchf0260dd0.japanwest.batch.azure.com/pools/batch_app_f0260dd0\"\ + ,\"eTag\":\"0x8D5260742838DBC\",\"lastModified\":\"2017-11-07T17:44:56.5337532Z\"\ + ,\"creationTime\":\"2017-11-07T17:44:56.5337532Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-07T17:44:56.5337532Z\",\"allocationState\"\ + :\"steady\",\"allocationStateTransitionTime\":\"2017-11-07T17:44:57.0987665Z\"\ + ,\"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.japanwest.batch.azure.com/pools/batch_disk_f0260dd0\"\ + ,\"eTag\":\"0x8D5260741CC334B\",\"lastModified\":\"2017-11-07T17:44:55.3321291Z\"\ + ,\"creationTime\":\"2017-11-07T17:44:55.3321291Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-07T17:44:55.3321291Z\",\"allocationState\"\ + :\"steady\",\"allocationStateTransitionTime\":\"2017-11-07T17:44:55.780148Z\"\ + ,\"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.japanwest.batch.azure.com/pools/batch_iaas_f0260dd0\"\ + ,\"eTag\":\"0x8D526073FCBAD6C\",\"lastModified\":\"2017-11-07T17:44:51.9732588Z\"\ + ,\"creationTime\":\"2017-11-07T17:44:51.9732588Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-07T17:44:51.9732588Z\",\"allocationState\"\ + :\"steady\",\"allocationStateTransitionTime\":\"2017-11-07T17:44:52.0820508Z\"\ + ,\"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.japanwest.batch.azure.com/pools/batch_osdisk_f0260dd0\"\ + ,\"eTag\":\"0x8D52607410E9C42\",\"lastModified\":\"2017-11-07T17:44:54.0896322Z\"\ + ,\"creationTime\":\"2017-11-07T17:44:54.0896322Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-07T17:44:54.0896322Z\",\"allocationState\"\ + :\"steady\",\"allocationStateTransitionTime\":\"2017-11-07T17:44:54.9786819Z\"\ + ,\"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: ['Tue, 07 Nov 2017 17:44:57 GMT'] + request-id: [1001eb92-92ae-4f7c-913c-26f3ba3aafd7] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 17:44:57 GMT'] + return-client-request-id: ['false'] + method: GET + uri: https://batchf0260dd0.japanwest.batch.azure.com/pools?api-version=2017-09-01.6.0&maxresults=1&timeout=30 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchf0260dd0.japanwest.batch.azure.com/$metadata#pools\"\ + ,\"value\":[\r\n {\r\n \"id\":\"batch_app_f0260dd0\",\"url\":\"https://batchf0260dd0.japanwest.batch.azure.com/pools/batch_app_f0260dd0\"\ + ,\"eTag\":\"0x8D5260742838DBC\",\"lastModified\":\"2017-11-07T17:44:56.5337532Z\"\ + ,\"creationTime\":\"2017-11-07T17:44:56.5337532Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-07T17:44:56.5337532Z\",\"allocationState\"\ + :\"steady\",\"allocationStateTransitionTime\":\"2017-11-07T17:44:57.0987665Z\"\ + ,\"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.japanwest.batch.azure.com/pools?api-version=2017-09-01.6.0&maxresults=1&timeout=30&$skiptoken=WATV2:zv9W0mMKHfG/4Fryqq6n%5EOImu%5E0qsSHVOBgMWsaAln9yHiwDTce1kYrivhxy8hxAX%5EJOroNWVQoCTpMaN8u8Y4RYOHcoqZiePZt38BJXcFn86bRcSDKa0z6bzFm3y2X06baGHWxsVTg7NB4kLg7e4F2xTDeYvvwMF0ZbtLAxe78VTh0JwoH/V6Jh5VJQB04gBG9jFd2/%5EhfShvtL/f5r0bMVT/DkWUZ%5EAPlzKjBOwHScmpvNTkXsKrpqe5cbENqigScjJhtG11AfNBGY5QaDzU1Jy%5Elv7XGADqlH1N7HcfQ=:1$1\"\ + \r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 17:44:58 GMT'] + request-id: [1c44ba64-d9c3-4096-ae75-51062d3e0aab] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 17:44:58 GMT'] + return-client-request-id: ['false'] + method: GET + uri: https://batchf0260dd0.japanwest.batch.azure.com/pools?api-version=2017-09-01.6.0&$filter=startswith%28id%2C%27batch_app_%27%29&$select=id%2Cstate&$expand=stats&maxresults=1000&timeout=30 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchf0260dd0.japanwest.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: ['Tue, 07 Nov 2017 17:44:59 GMT'] + request-id: [f814c466-6ce1-4054-98b2-b19fb2c1b291] + 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 diff --git a/azure-batch/tests/recordings/test_batch.test_batch_files.yaml b/azure-batch/tests/recordings/test_batch.test_batch_files.yaml new file mode 100644 index 000000000000..8079669154c9 --- /dev/null +++ b/azure-batch/tests/recordings/test_batch.test_batch_files.yaml @@ -0,0 +1,655 @@ +interactions: +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Thu, 09 Nov 2017 05:44:23 GMT'] + method: GET + uri: https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch498930ae3.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171109t054415z\"\ + ,\"url\":\"https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes/tvm-1641561676_1-20171109t054415z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-09T05:44:16.0111333Z\",\"allocationTime\":\"2017-11-09T05:44:15.9182783Z\"\ + ,\"ipAddress\":\"10.0.0.4\",\"affinityId\":\"TVM:tvm-1641561676_1-20171109t054415z\"\ + ,\"vmSize\":\"standard_a1\",\"totalTasksRun\":0,\"isDedicated\":true,\"endpointConfiguration\"\ + :{\r\n \"inboundEndpoints\":[\r\n {\r\n \"name\"\ + :\"SSHRule.0\",\"protocol\":\"tcp\",\"publicIPAddress\":\"104.215.54.107\"\ + ,\"publicFQDN\":\"dns9aaa1909-f040-423c-b81b-d2ec2607c49a-azurebatch-cloudservice.japanwest.cloudapp.azure.com\"\ + ,\"frontendPort\":50000,\"backendPort\":22\r\n }\r\n ]\r\n\ + \ }\r\n }\r\n ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Thu, 09 Nov 2017 05:44:24 GMT'] + request-id: [5a6d012a-d0b3-4c51-8651-d2f5b80752a4] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Thu, 09 Nov 2017 05:44:34 GMT'] + method: GET + uri: https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch498930ae3.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171109t054415z\"\ + ,\"url\":\"https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes/tvm-1641561676_1-20171109t054415z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-09T05:44:16.0111333Z\",\"allocationTime\":\"2017-11-09T05:44:15.9182783Z\"\ + ,\"ipAddress\":\"10.0.0.4\",\"affinityId\":\"TVM:tvm-1641561676_1-20171109t054415z\"\ + ,\"vmSize\":\"standard_a1\",\"totalTasksRun\":0,\"isDedicated\":true,\"endpointConfiguration\"\ + :{\r\n \"inboundEndpoints\":[\r\n {\r\n \"name\"\ + :\"SSHRule.0\",\"protocol\":\"tcp\",\"publicIPAddress\":\"104.215.54.107\"\ + ,\"publicFQDN\":\"dns9aaa1909-f040-423c-b81b-d2ec2607c49a-azurebatch-cloudservice.japanwest.cloudapp.azure.com\"\ + ,\"frontendPort\":50000,\"backendPort\":22\r\n }\r\n ]\r\n\ + \ }\r\n }\r\n ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Thu, 09 Nov 2017 05:44:35 GMT'] + request-id: [13073360-8393-4765-8b67-80ebf993fa1a] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Thu, 09 Nov 2017 05:44:45 GMT'] + method: GET + uri: https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch498930ae3.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171109t054415z\"\ + ,\"url\":\"https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes/tvm-1641561676_1-20171109t054415z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-09T05:44:16.0111333Z\",\"allocationTime\":\"2017-11-09T05:44:15.9182783Z\"\ + ,\"ipAddress\":\"10.0.0.4\",\"affinityId\":\"TVM:tvm-1641561676_1-20171109t054415z\"\ + ,\"vmSize\":\"standard_a1\",\"totalTasksRun\":0,\"isDedicated\":true,\"endpointConfiguration\"\ + :{\r\n \"inboundEndpoints\":[\r\n {\r\n \"name\"\ + :\"SSHRule.0\",\"protocol\":\"tcp\",\"publicIPAddress\":\"104.215.54.107\"\ + ,\"publicFQDN\":\"dns9aaa1909-f040-423c-b81b-d2ec2607c49a-azurebatch-cloudservice.japanwest.cloudapp.azure.com\"\ + ,\"frontendPort\":50000,\"backendPort\":22\r\n }\r\n ]\r\n\ + \ }\r\n }\r\n ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Thu, 09 Nov 2017 05:44:45 GMT'] + request-id: [cf058f90-6a08-4992-8bc1-20bcbdbb07ad] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Thu, 09 Nov 2017 05:44:55 GMT'] + method: GET + uri: https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch498930ae3.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171109t054415z\"\ + ,\"url\":\"https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes/tvm-1641561676_1-20171109t054415z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-09T05:44:16.0111333Z\",\"allocationTime\":\"2017-11-09T05:44:15.9182783Z\"\ + ,\"ipAddress\":\"10.0.0.4\",\"affinityId\":\"TVM:tvm-1641561676_1-20171109t054415z\"\ + ,\"vmSize\":\"standard_a1\",\"totalTasksRun\":0,\"isDedicated\":true,\"endpointConfiguration\"\ + :{\r\n \"inboundEndpoints\":[\r\n {\r\n \"name\"\ + :\"SSHRule.0\",\"protocol\":\"tcp\",\"publicIPAddress\":\"104.215.54.107\"\ + ,\"publicFQDN\":\"dns9aaa1909-f040-423c-b81b-d2ec2607c49a-azurebatch-cloudservice.japanwest.cloudapp.azure.com\"\ + ,\"frontendPort\":50000,\"backendPort\":22\r\n }\r\n ]\r\n\ + \ }\r\n }\r\n ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Thu, 09 Nov 2017 05:44:56 GMT'] + request-id: [26ac1020-e26c-4268-bc9d-998fd98600aa] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Thu, 09 Nov 2017 05:45:06 GMT'] + method: GET + uri: https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch498930ae3.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171109t054415z\"\ + ,\"url\":\"https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes/tvm-1641561676_1-20171109t054415z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-09T05:44:16.0111333Z\",\"allocationTime\":\"2017-11-09T05:44:15.9182783Z\"\ + ,\"ipAddress\":\"10.0.0.4\",\"affinityId\":\"TVM:tvm-1641561676_1-20171109t054415z\"\ + ,\"vmSize\":\"standard_a1\",\"totalTasksRun\":0,\"isDedicated\":true,\"endpointConfiguration\"\ + :{\r\n \"inboundEndpoints\":[\r\n {\r\n \"name\"\ + :\"SSHRule.0\",\"protocol\":\"tcp\",\"publicIPAddress\":\"104.215.54.107\"\ + ,\"publicFQDN\":\"dns9aaa1909-f040-423c-b81b-d2ec2607c49a-azurebatch-cloudservice.japanwest.cloudapp.azure.com\"\ + ,\"frontendPort\":50000,\"backendPort\":22\r\n }\r\n ]\r\n\ + \ }\r\n }\r\n ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Thu, 09 Nov 2017 05:45:06 GMT'] + request-id: [7f348876-9840-4a0b-adf2-7ca91a6c7791] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Thu, 09 Nov 2017 05:45:17 GMT'] + method: GET + uri: https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch498930ae3.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171109t054415z\"\ + ,\"url\":\"https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes/tvm-1641561676_1-20171109t054415z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-09T05:44:16.0111333Z\",\"allocationTime\":\"2017-11-09T05:44:15.9182783Z\"\ + ,\"ipAddress\":\"10.0.0.4\",\"affinityId\":\"TVM:tvm-1641561676_1-20171109t054415z\"\ + ,\"vmSize\":\"standard_a1\",\"totalTasksRun\":0,\"isDedicated\":true,\"endpointConfiguration\"\ + :{\r\n \"inboundEndpoints\":[\r\n {\r\n \"name\"\ + :\"SSHRule.0\",\"protocol\":\"tcp\",\"publicIPAddress\":\"104.215.54.107\"\ + ,\"publicFQDN\":\"dns9aaa1909-f040-423c-b81b-d2ec2607c49a-azurebatch-cloudservice.japanwest.cloudapp.azure.com\"\ + ,\"frontendPort\":50000,\"backendPort\":22\r\n }\r\n ]\r\n\ + \ }\r\n }\r\n ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Thu, 09 Nov 2017 05:45:16 GMT'] + request-id: [b6f4cc84-d27c-4c7c-b852-e52b2a13925b] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Thu, 09 Nov 2017 05:45:27 GMT'] + method: GET + uri: https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch498930ae3.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171109t054415z\"\ + ,\"url\":\"https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes/tvm-1641561676_1-20171109t054415z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-09T05:44:16.0111333Z\",\"allocationTime\":\"2017-11-09T05:44:15.9182783Z\"\ + ,\"ipAddress\":\"10.0.0.4\",\"affinityId\":\"TVM:tvm-1641561676_1-20171109t054415z\"\ + ,\"vmSize\":\"standard_a1\",\"totalTasksRun\":0,\"isDedicated\":true,\"endpointConfiguration\"\ + :{\r\n \"inboundEndpoints\":[\r\n {\r\n \"name\"\ + :\"SSHRule.0\",\"protocol\":\"tcp\",\"publicIPAddress\":\"104.215.54.107\"\ + ,\"publicFQDN\":\"dns9aaa1909-f040-423c-b81b-d2ec2607c49a-azurebatch-cloudservice.japanwest.cloudapp.azure.com\"\ + ,\"frontendPort\":50000,\"backendPort\":22\r\n }\r\n ]\r\n\ + \ }\r\n }\r\n ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Thu, 09 Nov 2017 05:45:28 GMT'] + request-id: [ae018043-7b29-46ed-9b9e-caebbdf89e31] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Thu, 09 Nov 2017 05:45:38 GMT'] + method: GET + uri: https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch498930ae3.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171109t054415z\"\ + ,\"url\":\"https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes/tvm-1641561676_1-20171109t054415z\"\ + ,\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-09T05:45:31.872896Z\",\"lastBootTime\":\"2017-11-09T05:45:31.679712Z\"\ + ,\"allocationTime\":\"2017-11-09T05:44:15.9182783Z\",\"ipAddress\":\"10.0.0.4\"\ + ,\"affinityId\":\"TVM:tvm-1641561676_1-20171109t054415z\",\"vmSize\":\"standard_a1\"\ + ,\"totalTasksRun\":0,\"totalTasksSucceeded\":0,\"runningTasksCount\":0,\"\ + isDedicated\":true,\"endpointConfiguration\":{\r\n \"inboundEndpoints\"\ + :[\r\n {\r\n \"name\":\"SSHRule.0\",\"protocol\":\"tcp\"\ + ,\"publicIPAddress\":\"104.215.54.107\",\"publicFQDN\":\"dns9aaa1909-f040-423c-b81b-d2ec2607c49a-azurebatch-cloudservice.japanwest.cloudapp.azure.com\"\ + ,\"frontendPort\":50000,\"backendPort\":22\r\n }\r\n ]\r\n\ + \ }\r\n }\r\n ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Thu, 09 Nov 2017 05:45:38 GMT'] + request-id: [861d4d2c-9e87-4d83-8494-ca01979687fb] + 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: '{"id": "test_task", "commandLine": "cmd /c \"echo hello world\""}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['65'] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Thu, 09 Nov 2017 05:45:39 GMT'] + method: POST + uri: https://batch498930ae3.japanwest.batch.azure.com/jobs/batch98930ae3/tasks?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batch498930ae3.japanwest.batch.azure.com/jobs/batch98930ae3/tasks/test_task'] + dataserviceversion: ['3.0'] + date: ['Thu, 09 Nov 2017 05:45:39 GMT'] + etag: ['0x8D527351BF7BFB1'] + last-modified: ['Thu, 09 Nov 2017 05:45:39 GMT'] + location: ['https://batch498930ae3.japanwest.batch.azure.com/jobs/batch98930ae3/tasks/test_task'] + request-id: [d10f15fe-fa05-4f84-918c-183892829f27] + 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] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Thu, 09 Nov 2017 05:45:39 GMT'] + method: GET + uri: https://batch498930ae3.japanwest.batch.azure.com/jobs/batch98930ae3/tasks/test_task?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch498930ae3.japanwest.batch.azure.com/$metadata#tasks/@Element\"\ + ,\"id\":\"test_task\",\"url\":\"https://batch498930ae3.japanwest.batch.azure.com/jobs/batch98930ae3/tasks/test_task\"\ + ,\"eTag\":\"0x8D527351BF7BFB1\",\"creationTime\":\"2017-11-09T05:45:39.8764465Z\"\ + ,\"lastModified\":\"2017-11-09T05:45:39.8764465Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-09T05:45:39.8764465Z\",\"commandLine\":\"\ + cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n \"autoUser\":{\r\ + \n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\ + \n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"retentionTime\"\ + :\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\n },\"executionInfo\"\ + :{\r\n \"retryCount\":0,\"requeueCount\":0\r\n }\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Thu, 09 Nov 2017 05:45:40 GMT'] + etag: ['0x8D527351BF7BFB1'] + last-modified: ['Thu, 09 Nov 2017 05:45:39 GMT'] + request-id: [8690f2d6-aa1d-4006-9471-0882b0554900] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Thu, 09 Nov 2017 05:45:45 GMT'] + method: GET + uri: https://batch498930ae3.japanwest.batch.azure.com/jobs/batch98930ae3/tasks/test_task?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch498930ae3.japanwest.batch.azure.com/$metadata#tasks/@Element\"\ + ,\"id\":\"test_task\",\"url\":\"https://batch498930ae3.japanwest.batch.azure.com/jobs/batch98930ae3/tasks/test_task\"\ + ,\"eTag\":\"0x8D527351BF7BFB1\",\"creationTime\":\"2017-11-09T05:45:39.8764465Z\"\ + ,\"lastModified\":\"2017-11-09T05:45:39.8764465Z\",\"state\":\"completed\"\ + ,\"stateTransitionTime\":\"2017-11-09T05:45:42.320496Z\",\"previousState\"\ + :\"running\",\"previousStateTransitionTime\":\"2017-11-09T05:45:41.068153Z\"\ + ,\"commandLine\":\"cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n\ + \ \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n\ + \ },\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\"\ + ,\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\ + \n },\"executionInfo\":{\r\n \"startTime\":\"2017-11-09T05:45:41.068337Z\"\ + ,\"endTime\":\"2017-11-09T05:45:42.320496Z\",\"failureInfo\":{\r\n \"\ + category\":\"UserError\",\"code\":\"CommandProgramNotFound\",\"message\":\"\ + The specified command program is not found\",\"details\":[\r\n {\r\n\ + \ \"name\":\"CommandLine\",\"value\":\"cmd /c \\\"echo hello world\\\ + \"\"\r\n },{\r\n \"name\":\"Message\",\"value\":\"The system\ + \ cannot find the file specified\"\r\n }\r\n ]\r\n },\"result\"\ + :\"Failure\",\"retryCount\":0,\"requeueCount\":0\r\n },\"nodeInfo\":{\r\n\ + \ \"affinityId\":\"TVM:tvm-1641561676_1-20171109t054415z\",\"nodeUrl\"\ + :\"https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes/tvm-1641561676_1-20171109t054415z\"\ + ,\"poolId\":\"test_batch_test_batch_files98930ae3\",\"nodeId\":\"tvm-1641561676_1-20171109t054415z\"\ + ,\"taskRootDirectory\":\"workitems/batch98930ae3/job-1/test_task\",\"taskRootDirectoryUrl\"\ + :\"https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes/tvm-1641561676_1-20171109t054415z/files/workitems/batch98930ae3/job-1/test_task\"\ + \r\n }\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Thu, 09 Nov 2017 05:45:46 GMT'] + etag: ['0x8D527351BF7BFB1'] + last-modified: ['Thu, 09 Nov 2017 05:45:39 GMT'] + request-id: [ac0533e1-235a-421c-a7d8-39240ca5f13c] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Thu, 09 Nov 2017 05:45:46 GMT'] + method: GET + uri: https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes/tvm-1641561676_1-20171109t054415z/files?recursive=true&api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch498930ae3.japanwest.batch.azure.com/$metadata#files\"\ + ,\"value\":[\r\n {\r\n \"name\":\"workitems/batch98930ae3\",\"url\"\ + :\"https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes/tvm-1641561676_1-20171109t054415z/files/workitems/batch98930ae3\"\ + ,\"isDirectory\":true\r\n },{\r\n \"name\":\"workitems/batch98930ae3/job-1/test_task/stdout.txt\"\ + ,\"url\":\"https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes/tvm-1641561676_1-20171109t054415z/files/workitems/batch98930ae3/job-1/test_task/stdout.txt\"\ + ,\"isDirectory\":false,\"properties\":{\r\n \"lastModified\":\"2017-11-09T05:45:42.143993Z\"\ + ,\"contentLength\":\"0\",\"contentType\":\"text/plain\",\"fileMode\":\"0o100644\"\ + \r\n }\r\n },{\r\n \"name\":\"workitems/batch98930ae3/job-1/test_task\"\ + ,\"url\":\"https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes/tvm-1641561676_1-20171109t054415z/files/workitems/batch98930ae3/job-1/test_task\"\ + ,\"isDirectory\":true\r\n },{\r\n \"name\":\"startup\",\"url\":\"\ + https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes/tvm-1641561676_1-20171109t054415z/files/startup\"\ + ,\"isDirectory\":true\r\n },{\r\n \"name\":\"shared\",\"url\":\"https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes/tvm-1641561676_1-20171109t054415z/files/shared\"\ + ,\"isDirectory\":true\r\n },{\r\n \"name\":\"workitems/batch98930ae3/job-1/test_task/wd\"\ + ,\"url\":\"https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes/tvm-1641561676_1-20171109t054415z/files/workitems/batch98930ae3/job-1/test_task/wd\"\ + ,\"isDirectory\":true\r\n },{\r\n \"name\":\"apppackages\",\"url\"\ + :\"https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes/tvm-1641561676_1-20171109t054415z/files/apppackages\"\ + ,\"isDirectory\":true\r\n },{\r\n \"name\":\"workitems/batch98930ae3/job-1/test_task/stderr.txt\"\ + ,\"url\":\"https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes/tvm-1641561676_1-20171109t054415z/files/workitems/batch98930ae3/job-1/test_task/stderr.txt\"\ + ,\"isDirectory\":false,\"properties\":{\r\n \"lastModified\":\"2017-11-09T05:45:42.143993Z\"\ + ,\"contentLength\":\"0\",\"contentType\":\"text/plain\",\"fileMode\":\"0o100644\"\ + \r\n }\r\n },{\r\n \"name\":\"workitems/batch98930ae3/job-1/test_task/certs\"\ + ,\"url\":\"https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes/tvm-1641561676_1-20171109t054415z/files/workitems/batch98930ae3/job-1/test_task/certs\"\ + ,\"isDirectory\":true\r\n },{\r\n \"name\":\"workitems\",\"url\":\"\ + https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes/tvm-1641561676_1-20171109t054415z/files/workitems\"\ + ,\"isDirectory\":true\r\n },{\r\n \"name\":\"workitems/batch98930ae3/job-1\"\ + ,\"url\":\"https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes/tvm-1641561676_1-20171109t054415z/files/workitems/batch98930ae3/job-1\"\ + ,\"isDirectory\":true\r\n }\r\n ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Thu, 09 Nov 2017 05:45:46 GMT'] + request-id: [7451ebeb-77a6-4388-8997-15a7ce14636b] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Thu, 09 Nov 2017 05:45:47 GMT'] + method: HEAD + uri: https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes/tvm-1641561676_1-20171109t054415z/files/workitems%2Fbatch98930ae3%2Fjob-1%2Ftest_task%2Fstdout.txt?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + content-length: ['0'] + content-type: [text/plain] + dataserviceversion: ['3.0'] + date: ['Thu, 09 Nov 2017 05:45:48 GMT'] + last-modified: ['Thu, 09 Nov 2017 05:45:42 GMT'] + ocp-batch-file-isdirectory: ['False'] + ocp-batch-file-mode: [0o100644] + ocp-batch-file-url: [https%3A%2F%2Fbatch498930ae3.japanwest.batch.azure.com%2Fpools%2Ftest_batch_test_batch_files98930ae3%2Fnodes%2Ftvm-1641561676_1-20171109t054415z%2Ffiles%2Fworkitems%2Fbatch98930ae3%2Fjob-1%2Ftest_task%2Fstdout.txt] + request-id: [3104a3be-be32-4ceb-879a-4ef98a62e75b] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Thu, 09 Nov 2017 05:45:48 GMT'] + method: GET + uri: https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes/tvm-1641561676_1-20171109t054415z/files/workitems%2Fbatch98930ae3%2Fjob-1%2Ftest_task%2Fstdout.txt?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + content-type: [text/plain] + dataserviceversion: ['3.0'] + date: ['Thu, 09 Nov 2017 05:45:48 GMT'] + last-modified: ['Thu, 09 Nov 2017 05:45:42 GMT'] + ocp-batch-file-isdirectory: ['False'] + ocp-batch-file-mode: [0o100644] + ocp-batch-file-url: [https%3A%2F%2Fbatch498930ae3.japanwest.batch.azure.com%2Fpools%2Ftest_batch_test_batch_files98930ae3%2Fnodes%2Ftvm-1641561676_1-20171109t054415z%2Ffiles%2Fworkitems%2Fbatch98930ae3%2Fjob-1%2Ftest_task%2Fstdout.txt] + request-id: [dd451ac7-cd82-46b7-9e35-3e28197e70dd] + 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.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Thu, 09 Nov 2017 05:45:48 GMT'] + method: DELETE + uri: https://batch498930ae3.japanwest.batch.azure.com/pools/test_batch_test_batch_files98930ae3/nodes/tvm-1641561676_1-20171109t054415z/files/workitems%2Fbatch98930ae3%2Fjob-1%2Ftest_task%2Fstdout.txt?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceversion: ['3.0'] + date: ['Thu, 09 Nov 2017 05:45:49 GMT'] + request-id: [54e3675f-703a-46d1-875a-ad5aa8094330] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Thu, 09 Nov 2017 05:45:49 GMT'] + method: GET + uri: https://batch498930ae3.japanwest.batch.azure.com/jobs/batch98930ae3/tasks/test_task/files?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch498930ae3.japanwest.batch.azure.com/$metadata#files\"\ + ,\"value\":[\r\n {\r\n \"name\":\"wd\",\"url\":\"https://batch498930ae3.japanwest.batch.azure.com/jobs/batch98930ae3/tasks/test_task/files/wd\"\ + ,\"isDirectory\":true\r\n },{\r\n \"name\":\"stderr.txt\",\"url\"\ + :\"https://batch498930ae3.japanwest.batch.azure.com/jobs/batch98930ae3/tasks/test_task/files/stderr.txt\"\ + ,\"isDirectory\":false,\"properties\":{\r\n \"lastModified\":\"2017-11-09T05:45:42.143993Z\"\ + ,\"contentLength\":\"0\",\"contentType\":\"text/plain\",\"fileMode\":\"0o100644\"\ + \r\n }\r\n },{\r\n \"name\":\"certs\",\"url\":\"https://batch498930ae3.japanwest.batch.azure.com/jobs/batch98930ae3/tasks/test_task/files/certs\"\ + ,\"isDirectory\":true\r\n }\r\n ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Thu, 09 Nov 2017 05:45:50 GMT'] + request-id: [192dc7e8-8b75-4119-8c43-9158f89ed007] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Thu, 09 Nov 2017 05:45:50 GMT'] + method: HEAD + uri: https://batch498930ae3.japanwest.batch.azure.com/jobs/batch98930ae3/tasks/test_task/files/stderr.txt?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + content-length: ['0'] + content-type: [text/plain] + dataserviceversion: ['3.0'] + date: ['Thu, 09 Nov 2017 05:45:51 GMT'] + last-modified: ['Thu, 09 Nov 2017 05:45:42 GMT'] + ocp-batch-file-isdirectory: ['False'] + ocp-batch-file-mode: [0o100644] + ocp-batch-file-url: [https%3A%2F%2Fbatch498930ae3.japanwest.batch.azure.com%2Fjobs%2Fbatch98930ae3%2Ftasks%2Ftest_task%2Ffiles%2Fstderr.txt] + request-id: [0f070f21-5388-46c9-8136-49fdddf598c1] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Thu, 09 Nov 2017 05:45:51 GMT'] + method: GET + uri: https://batch498930ae3.japanwest.batch.azure.com/jobs/batch98930ae3/tasks/test_task/files/stderr.txt?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + content-type: [text/plain] + dataserviceversion: ['3.0'] + date: ['Thu, 09 Nov 2017 05:45:52 GMT'] + last-modified: ['Thu, 09 Nov 2017 05:45:42 GMT'] + ocp-batch-file-isdirectory: ['False'] + ocp-batch-file-mode: [0o100644] + ocp-batch-file-url: [https%3A%2F%2Fbatch498930ae3.japanwest.batch.azure.com%2Fjobs%2Fbatch98930ae3%2Ftasks%2Ftest_task%2Ffiles%2Fstderr.txt] + request-id: [08f6a95e-a298-4be4-97b1-2aba639b75f6] + 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.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Thu, 09 Nov 2017 05:45:52 GMT'] + method: DELETE + uri: https://batch498930ae3.japanwest.batch.azure.com/jobs/batch98930ae3/tasks/test_task/files/stderr.txt?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceversion: ['3.0'] + date: ['Thu, 09 Nov 2017 05:45:53 GMT'] + request-id: [fa845412-adce-41a7-8a3a-a709050c56ce] + 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 diff --git a/azure-batch/tests/recordings/test_batch.test_batch_job_schedules.yaml b/azure-batch/tests/recordings/test_batch.test_batch_job_schedules.yaml new file mode 100644 index 000000000000..6730cfa8898f --- /dev/null +++ b/azure-batch/tests/recordings/test_batch.test_batch_job_schedules.yaml @@ -0,0 +1,327 @@ +interactions: +- request: + body: '{"id": "batch_schedule_fe140e2a", "schedule": {"startWindow": "PT1H", "recurrenceInterval": + "P1D"}, "jobSpecification": {"onAllTasksComplete": "terminateJob", "constraints": + {"maxTaskRetryCount": 2}, "poolInfo": {"poolId": "pool_id"}}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['235'] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: POST + uri: https://batchfe140e2a.japanwest.batch.azure.com/jobschedules?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batchfe140e2a.japanwest.batch.azure.com/jobschedules/batch_schedule_fe140e2a'] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 22:40:07 GMT'] + etag: ['0x8D526307EF62004'] + last-modified: ['Tue, 07 Nov 2017 22:40:07 GMT'] + location: ['https://batchfe140e2a.japanwest.batch.azure.com/jobschedules/batch_schedule_fe140e2a'] + request-id: [1de8b118-efef-4130-b4a6-efcbcd861728] + 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] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://batchfe140e2a.japanwest.batch.azure.com/jobschedules?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchfe140e2a.japanwest.batch.azure.com/$metadata#jobschedules\"\ + ,\"value\":[\r\n {\r\n \"id\":\"batch_schedule_fe140e2a\",\"url\"\ + :\"https://batchfe140e2a.japanwest.batch.azure.com/jobschedules/batch_schedule_fe140e2a\"\ + ,\"eTag\":\"0x8D526307EF62004\",\"lastModified\":\"2017-11-07T22:40:07.313818Z\"\ + ,\"creationTime\":\"2017-11-07T22:40:07.313818Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-07T22:40:07.313818Z\",\"schedule\":{\r\n \ + \ \"startWindow\":\"PT1H\",\"recurrenceInterval\":\"P1D\"\r\n },\"\ + jobSpecification\":{\r\n \"priority\":0,\"usesTaskDependencies\":false,\"\ + onAllTasksComplete\":\"terminatejob\",\"onTaskFailure\":\"noaction\",\"constraints\"\ + :{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\"\ + :2\r\n },\"poolInfo\":{\r\n \"poolId\":\"pool_id\"\r\n \ + \ }\r\n },\"executionInfo\":{\r\n \"nextRunTime\":\"2017-11-08T22:40:07.313818Z\"\ + ,\"recentJob\":{\r\n \"url\":\"https://batchfe140e2a.japanwest.batch.azure.com/jobs/batch_schedule_fe140e2a:job-1\"\ + ,\"id\":\"batch_schedule_fe140e2a:job-1\"\r\n }\r\n }\r\n }\r\ + \n ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 22:40:08 GMT'] + request-id: [979c687b-9cf0-4b08-a430-755f90c4094f] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://batchfe140e2a.japanwest.batch.azure.com/jobschedules/batch_schedule_fe140e2a?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchfe140e2a.japanwest.batch.azure.com/$metadata#jobschedules/@Element\"\ + ,\"id\":\"batch_schedule_fe140e2a\",\"url\":\"https://batchfe140e2a.japanwest.batch.azure.com/jobschedules/batch_schedule_fe140e2a\"\ + ,\"eTag\":\"0x8D526307EF62004\",\"lastModified\":\"2017-11-07T22:40:07.313818Z\"\ + ,\"creationTime\":\"2017-11-07T22:40:07.313818Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-07T22:40:07.313818Z\",\"schedule\":{\r\n \ + \ \"startWindow\":\"PT1H\",\"recurrenceInterval\":\"P1D\"\r\n },\"jobSpecification\"\ + :{\r\n \"priority\":0,\"usesTaskDependencies\":false,\"onAllTasksComplete\"\ + :\"terminatejob\",\"onTaskFailure\":\"noaction\",\"constraints\":{\r\n \ + \ \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\"\ + :2\r\n },\"poolInfo\":{\r\n \"poolId\":\"pool_id\"\r\n }\r\n },\"\ + executionInfo\":{\r\n \"nextRunTime\":\"2017-11-08T22:40:07.313818Z\",\"\ + recentJob\":{\r\n \"url\":\"https://batchfe140e2a.japanwest.batch.azure.com/jobs/batch_schedule_fe140e2a:job-1\"\ + ,\"id\":\"batch_schedule_fe140e2a:job-1\"\r\n }\r\n }\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 22:40:09 GMT'] + etag: ['0x8D526307EF62004'] + last-modified: ['Tue, 07 Nov 2017 22:40:07 GMT'] + request-id: [455dcc90-91d1-4357-9cb3-8488782e5ed0] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: HEAD + uri: https://batchfe140e2a.japanwest.batch.azure.com/jobschedules/batch_schedule_fe140e2a?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 22:40:10 GMT'] + etag: ['0x8D526307EF62004'] + last-modified: ['Tue, 07 Nov 2017 22:40:07 GMT'] + request-id: [2fc3e3fe-0b2b-48fc-97bd-785d34952316] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://batchfe140e2a.japanwest.batch.azure.com/jobschedules/batch_schedule_fe140e2a/jobs?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchfe140e2a.japanwest.batch.azure.com/$metadata#jobs\"\ + ,\"value\":[\r\n {\r\n \"id\":\"batch_schedule_fe140e2a:job-1\",\"\ + url\":\"https://batchfe140e2a.japanwest.batch.azure.com/jobs/batch_schedule_fe140e2a:job-1\"\ + ,\"eTag\":\"0x8D526307F03CE22\",\"lastModified\":\"2017-11-07T22:40:07.4034722Z\"\ + ,\"creationTime\":\"2017-11-07T22:40:07.3809907Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-07T22:40:07.4034722Z\",\"priority\":0,\"usesTaskDependencies\"\ + :false,\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\"\ + ,\"maxTaskRetryCount\":2\r\n },\"poolInfo\":{\r\n \"poolId\":\"\ + pool_id\"\r\n },\"executionInfo\":{\r\n \"startTime\":\"2017-11-07T22:40:07.4034722Z\"\ + ,\"poolId\":\"pool_id\"\r\n },\"onAllTasksComplete\":\"terminatejob\"\ + ,\"onTaskFailure\":\"noaction\"\r\n }\r\n ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 22:40:12 GMT'] + request-id: [e394c5ff-b1ad-4fe0-b2e7-fc7991212945] + 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.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: POST + uri: https://batchfe140e2a.japanwest.batch.azure.com/jobschedules/batch_schedule_fe140e2a/disable?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + content-length: ['0'] + dataserviceid: ['https://batchfe140e2a.japanwest.batch.azure.com/jobschedules/batch_schedule_fe140e2a/disable'] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 22:40:13 GMT'] + etag: ['0x8D526308282E74A'] + last-modified: ['Tue, 07 Nov 2017 22:40:13 GMT'] + request-id: [2fccb7be-b9a8-4055-ae47-07345d1f9316] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + status: {code: 204, message: No Content} +- 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.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: POST + uri: https://batchfe140e2a.japanwest.batch.azure.com/jobschedules/batch_schedule_fe140e2a/enable?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + content-length: ['0'] + dataserviceid: ['https://batchfe140e2a.japanwest.batch.azure.com/jobschedules/batch_schedule_fe140e2a/enable'] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 22:40:14 GMT'] + etag: ['0x8D52630835BF92F'] + last-modified: ['Tue, 07 Nov 2017 22:40:14 GMT'] + request-id: [8085b7b5-0a32-4cd8-b88c-aec944eb16d5] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + status: {code: 204, message: No Content} +- request: + body: '{"schedule": {"recurrenceInterval": "PT10H"}, "jobSpecification": {"poolInfo": + {"poolId": "pool_id"}}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['102'] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: PUT + uri: https://batchfe140e2a.japanwest.batch.azure.com/jobschedules/batch_schedule_fe140e2a?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batchfe140e2a.japanwest.batch.azure.com/jobschedules/batch_schedule_fe140e2a'] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 22:40:17 GMT'] + etag: ['0x8D5263084D0B64C'] + last-modified: ['Tue, 07 Nov 2017 22:40:17 GMT'] + request-id: [487a3d61-7d2f-4b37-be6f-d5f47b075c45] + 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: '{"schedule": {"recurrenceInterval": "PT5H"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['44'] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: PATCH + uri: https://batchfe140e2a.japanwest.batch.azure.com/jobschedules/batch_schedule_fe140e2a?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batchfe140e2a.japanwest.batch.azure.com/jobschedules/batch_schedule_fe140e2a'] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 22:40:17 GMT'] + etag: ['0x8D526308568288D'] + last-modified: ['Tue, 07 Nov 2017 22:40:18 GMT'] + request-id: [f43e8089-2b4a-4365-977c-057a555112fc] + 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.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: POST + uri: https://batchfe140e2a.japanwest.batch.azure.com/jobschedules/batch_schedule_fe140e2a/terminate?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batchfe140e2a.japanwest.batch.azure.com/jobschedules/batch_schedule_fe140e2a/terminate'] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 22:40:18 GMT'] + etag: ['0x8D5263085CF0962'] + last-modified: ['Tue, 07 Nov 2017 22:40:18 GMT'] + request-id: [64661459-2769-45db-8b7d-9154361e22b6] + 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'] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: DELETE + uri: https://batchfe140e2a.japanwest.batch.azure.com/jobschedules/batch_schedule_fe140e2a?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 22:40:19 GMT'] + request-id: [a4793292-6d08-486a-b1b4-f64d645be3ee] + 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} +version: 1 diff --git a/azure-batch/tests/recordings/test_batch.test_batch_jobs.yaml b/azure-batch/tests/recordings/test_batch.test_batch_jobs.yaml new file mode 100644 index 000000000000..4b9e9c9c4b3d --- /dev/null +++ b/azure-batch/tests/recordings/test_batch.test_batch_jobs.yaml @@ -0,0 +1,450 @@ +interactions: +- request: + body: '{"id": "batch_job1_8dcc0a7e", "jobPreparationTask": {"commandLine": "cmd + /c \"echo hello world\""}, "jobReleaseTask": {"commandLine": "cmd /c \"echo + goodbye world\""}, "poolInfo": {"autoPoolSpecification": {"poolLifetimeOption": + "job", "pool": {"vmSize": "small", "cloudServiceConfiguration": {"osFamily": + "5"}}}}}' + 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.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 18:29:01 GMT'] + method: POST + uri: https://batch8dcc0a7e.japanwest.batch.azure.com/jobs?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batch8dcc0a7e.japanwest.batch.azure.com/jobs/job-1'] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 18:29:02 GMT'] + etag: ['0x8D526D69639B1D0'] + last-modified: ['Wed, 08 Nov 2017 18:29:02 GMT'] + location: ['https://batch8dcc0a7e.japanwest.batch.azure.com/jobs/job-1'] + request-id: [313b0b59-485b-4d68-8aad-ffb0eb2418f9] + 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: '{"priority": 500, "constraints": {"maxTaskRetryCount": 3}, "poolInfo": + {"autoPoolSpecification": {"poolLifetimeOption": "job", "pool": {"vmSize": "small", + "cloudServiceConfiguration": {"osFamily": "5"}}}}}' + 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.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 18:29:02 GMT'] + method: PUT + uri: https://batch8dcc0a7e.japanwest.batch.azure.com/jobs/batch_job1_8dcc0a7e?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batch8dcc0a7e.japanwest.batch.azure.com/jobs/batch_job1_8dcc0a7e'] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 18:29:02 GMT'] + etag: ['0x8D526D696A1F88B'] + last-modified: ['Wed, 08 Nov 2017 18:29:03 GMT'] + request-id: [b89d89ed-3b96-41a1-a838-2a643cc2a08c] + 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.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 18:29:03 GMT'] + method: PATCH + uri: https://batch8dcc0a7e.japanwest.batch.azure.com/jobs/batch_job1_8dcc0a7e?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batch8dcc0a7e.japanwest.batch.azure.com/jobs/batch_job1_8dcc0a7e'] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 18:29:04 GMT'] + etag: ['0x8D526D696FFB7B3'] + last-modified: ['Wed, 08 Nov 2017 18:29:04 GMT'] + request-id: [2cb850ee-6ba4-499d-8687-0540ebdd0039] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 18:29:04 GMT'] + method: GET + uri: https://batch8dcc0a7e.japanwest.batch.azure.com/jobs/batch_job1_8dcc0a7e?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch8dcc0a7e.japanwest.batch.azure.com/$metadata#jobs/@Element\"\ + ,\"id\":\"batch_job1_8dcc0a7e\",\"url\":\"https://batch8dcc0a7e.japanwest.batch.azure.com/jobs/batch_job1_8dcc0a7e\"\ + ,\"eTag\":\"0x8D526D696FFB7B3\",\"lastModified\":\"2017-11-08T18:29:04.0991155Z\"\ + ,\"creationTime\":\"2017-11-08T18:29:02.7655532Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-08T18:29:02.801352Z\",\"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\":\"2017-11-08T18:29:02.801352Z\"\ + ,\"poolId\":\"DCADDA54-009F-4D86-815B-51D701BB8530\"\r\n },\"onAllTasksComplete\"\ + :\"noaction\",\"onTaskFailure\":\"noaction\"\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 18:29:04 GMT'] + etag: ['0x8D526D696FFB7B3'] + last-modified: ['Wed, 08 Nov 2017 18:29:04 GMT'] + request-id: [a88b4317-d028-4b5c-b307-a5d8b220c185] + 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: '{"id": "batch_job2_8dcc0a7e", "poolInfo": {"autoPoolSpecification": {"poolLifetimeOption": + "job", "pool": {"vmSize": "small", "cloudServiceConfiguration": {"osFamily": + "5"}}}}, "onAllTasksComplete": "terminateJob", "onTaskFailure": "performExitOptionsJobAction"}' + 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.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 18:29:04 GMT'] + method: POST + uri: https://batch8dcc0a7e.japanwest.batch.azure.com/jobs?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batch8dcc0a7e.japanwest.batch.azure.com/jobs/job-1'] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 18:29:04 GMT'] + etag: ['0x8D526D697D545E7'] + last-modified: ['Wed, 08 Nov 2017 18:29:05 GMT'] + location: ['https://batch8dcc0a7e.japanwest.batch.azure.com/jobs/job-1'] + request-id: [497210a3-c91b-475e-a409-027dcd5c1c8d] + 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] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 18:29:05 GMT'] + method: GET + uri: https://batch8dcc0a7e.japanwest.batch.azure.com/jobs/batch_job2_8dcc0a7e?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch8dcc0a7e.japanwest.batch.azure.com/$metadata#jobs/@Element\"\ + ,\"id\":\"batch_job2_8dcc0a7e\",\"url\":\"https://batch8dcc0a7e.japanwest.batch.azure.com/jobs/batch_job2_8dcc0a7e\"\ + ,\"eTag\":\"0x8D526D697D545E7\",\"lastModified\":\"2017-11-08T18:29:05.4986727Z\"\ + ,\"creationTime\":\"2017-11-08T18:29:05.4616407Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-08T18:29:05.4986727Z\",\"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\":\"2017-11-08T18:29:05.4986727Z\"\ + ,\"poolId\":\"6AB4D789-7340-4A27-B9D8-4246F04ABFA0\"\r\n },\"onAllTasksComplete\"\ + :\"terminatejob\",\"onTaskFailure\":\"performexitoptionsjobaction\"\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 18:29:05 GMT'] + etag: ['0x8D526D697D545E7'] + last-modified: ['Wed, 08 Nov 2017 18:29:05 GMT'] + request-id: [a7ede8a6-464e-45eb-bff9-0be6984f102a] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 18:29:06 GMT'] + method: GET + uri: https://batch8dcc0a7e.japanwest.batch.azure.com/jobs?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch8dcc0a7e.japanwest.batch.azure.com/$metadata#jobs\"\ + ,\"value\":[\r\n {\r\n \"id\":\"batch_job1_8dcc0a7e\",\"url\":\"https://batch8dcc0a7e.japanwest.batch.azure.com/jobs/batch_job1_8dcc0a7e\"\ + ,\"eTag\":\"0x8D526D696FFB7B3\",\"lastModified\":\"2017-11-08T18:29:04.0991155Z\"\ + ,\"creationTime\":\"2017-11-08T18:29:02.7655532Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-08T18:29:02.801352Z\",\"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\":\"2017-11-08T18:29:02.801352Z\",\"poolId\":\"DCADDA54-009F-4D86-815B-51D701BB8530\"\ + \r\n },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"noaction\"\ + \r\n },{\r\n \"id\":\"batch_job2_8dcc0a7e\",\"url\":\"https://batch8dcc0a7e.japanwest.batch.azure.com/jobs/batch_job2_8dcc0a7e\"\ + ,\"eTag\":\"0x8D526D697D545E7\",\"lastModified\":\"2017-11-08T18:29:05.4986727Z\"\ + ,\"creationTime\":\"2017-11-08T18:29:05.4616407Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-08T18:29:05.4986727Z\",\"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\":\"2017-11-08T18:29:05.4986727Z\",\"poolId\":\"6AB4D789-7340-4A27-B9D8-4246F04ABFA0\"\ + \r\n },\"onAllTasksComplete\":\"terminatejob\",\"onTaskFailure\":\"performexitoptionsjobaction\"\ + \r\n }\r\n ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 18:29:06 GMT'] + request-id: [40293e72-b5d8-4b35-a826-b7babe3f85c2] + 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.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 18:29:06 GMT'] + method: POST + uri: https://batch8dcc0a7e.japanwest.batch.azure.com/jobs/batch_job1_8dcc0a7e/disable?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batch8dcc0a7e.japanwest.batch.azure.com/jobs/batch_job1_8dcc0a7e/disable'] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 18:29:06 GMT'] + etag: ['0x8D526D698E258BB'] + last-modified: ['Wed, 08 Nov 2017 18:29:07 GMT'] + request-id: [3d03ae84-6d1b-43a8-84cc-07efe75c1505] + 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'] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 18:29:07 GMT'] + method: POST + uri: https://batch8dcc0a7e.japanwest.batch.azure.com/jobs/batch_job1_8dcc0a7e/enable?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batch8dcc0a7e.japanwest.batch.azure.com/jobs/batch_job1_8dcc0a7e/enable'] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 18:29:07 GMT'] + etag: ['0x8D526D6993ECDD0'] + last-modified: ['Wed, 08 Nov 2017 18:29:07 GMT'] + request-id: [de5592df-0405-47a2-8f88-9be6cc69ae85] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 18:29:07 GMT'] + method: GET + uri: https://batch8dcc0a7e.japanwest.batch.azure.com/jobs/batch_job1_8dcc0a7e/jobpreparationandreleasetaskstatus?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch8dcc0a7e.japanwest.batch.azure.com/$metadata#jobpreparationandreleasetaskstatuslist\"\ + ,\"value\":[\r\n \r\n ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 18:29:08 GMT'] + request-id: [9b8406a3-34cb-4404-a703-5e2a8426025e] + 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.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 18:29:08 GMT'] + method: POST + uri: https://batch8dcc0a7e.japanwest.batch.azure.com/jobs/batch_job1_8dcc0a7e/terminate?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batch8dcc0a7e.japanwest.batch.azure.com/jobs/batch_job1_8dcc0a7e/terminate'] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 18:29:08 GMT'] + etag: ['0x8D526D699FC047C'] + last-modified: ['Wed, 08 Nov 2017 18:29:09 GMT'] + request-id: [c1823e23-7d81-4f67-a14c-995855673072] + 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'] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 18:29:09 GMT'] + method: DELETE + uri: https://batch8dcc0a7e.japanwest.batch.azure.com/jobs/batch_job2_8dcc0a7e?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 18:29:08 GMT'] + request-id: [5d58cb09-3bed-4b5a-98e7-a9ef0e87b1ba] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 18:29:09 GMT'] + method: GET + uri: https://batch8dcc0a7e.japanwest.batch.azure.com/lifetimejobstats?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch8dcc0a7e.japanwest.batch.azure.com/$metadata#jobstats/@Element\"\ + ,\"url\":\"https://batch8dcc0a7e.japanwest.batch.azure.com/lifetimejobstats\"\ + ,\"startTime\":\"2017-11-08T18:28:44.2806356Z\",\"lastUpdateTime\":\"2017-11-08T18:28:44.2806356Z\"\ + ,\"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: ['Wed, 08 Nov 2017 18:29:09 GMT'] + request-id: [1542a2bc-6550-46b1-8ac5-ddf431734edb] + 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 diff --git a/azure-batch/tests/recordings/test_batch.test_batch_network_configuration.yaml b/azure-batch/tests/recordings/test_batch.test_batch_network_configuration.yaml new file mode 100644 index 000000000000..d5a21340ce66 --- /dev/null +++ b/azure-batch/tests/recordings/test_batch.test_batch_network_configuration.yaml @@ -0,0 +1,514 @@ +interactions: +- request: + body: '{"id": "batch_network_814e11b1", "vmSize": "Standard_A1", "virtualMachineConfiguration": + {"imageReference": {"publisher": "Canonical", "offer": "UbuntuServer", "sku": + "16.04-LTS"}, "nodeAgentSKUId": "batch.node.ubuntu 16.04"}, "targetDedicatedNodes": + 1, "networkConfiguration": {"endpointConfiguration": {"inboundNATPools": [{"name": + "TestEndpointConfig", "protocol": "udp", "backendPort": 64444, "frontendPortRangeStart": + 60000, "frontendPortRangeEnd": 61000, "networkSecurityGroupRules": [{"priority": + 150, "access": "allow", "sourceAddressPrefix": "*"}]}]}}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['561'] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: POST + uri: https://batch814e11b1.japanwest.batch.azure.com/pools?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batch814e11b1.japanwest.batch.azure.com/pools/batch_network_814e11b1'] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:31:21 GMT'] + etag: ['0x8D526DF4A893468'] + last-modified: ['Wed, 08 Nov 2017 19:31:21 GMT'] + location: ['https://batch814e11b1.japanwest.batch.azure.com/pools/batch_network_814e11b1'] + request-id: [445d5fbe-69c6-48eb-9eb3-a92ef25e3a3e] + 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] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://batch814e11b1.japanwest.batch.azure.com/pools/batch_network_814e11b1?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch814e11b1.japanwest.batch.azure.com/$metadata#pools/@Element\"\ + ,\"id\":\"batch_network_814e11b1\",\"url\":\"https://batch814e11b1.japanwest.batch.azure.com/pools/batch_network_814e11b1\"\ + ,\"eTag\":\"0x8D526DF4A893468\",\"lastModified\":\"2017-11-08T19:31:21.2861544Z\"\ + ,\"creationTime\":\"2017-11-08T19:31:21.2861544Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-08T19:31:21.2861544Z\",\"allocationState\"\ + :\"resizing\",\"allocationStateTransitionTime\":\"2017-11-08T19:31:21.2861544Z\"\ + ,\"vmSize\":\"standard_a1\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ + :0,\"targetDedicatedNodes\":1,\"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\"\r\n },\"\ + networkConfiguration\":{\r\n \"endpointConfiguration\":{\r\n \"inboundNATPools\"\ + :[\r\n {\r\n \"name\":\"TestEndpointConfig\",\"protocol\"\ + :\"udp\",\"backendPort\":64444,\"frontendPortRangeStart\":60000,\"frontendPortRangeEnd\"\ + :61000,\"networkSecurityGroupRules\":[\r\n {\r\n \"\ + priority\":150,\"access\":\"allow\",\"sourceAddressPrefix\":\"*\"\r\n \ + \ }\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:31:22 GMT'] + etag: ['0x8D526DF4A893468'] + last-modified: ['Wed, 08 Nov 2017 19:31:21 GMT'] + request-id: [004e15f0-65b9-450b-8eea-5ef0f18e0c74] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://batch814e11b1.japanwest.batch.azure.com/pools/batch_network_814e11b1?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch814e11b1.japanwest.batch.azure.com/$metadata#pools/@Element\"\ + ,\"id\":\"batch_network_814e11b1\",\"url\":\"https://batch814e11b1.japanwest.batch.azure.com/pools/batch_network_814e11b1\"\ + ,\"eTag\":\"0x8D526DF4A893468\",\"lastModified\":\"2017-11-08T19:31:21.2861544Z\"\ + ,\"creationTime\":\"2017-11-08T19:31:21.2861544Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-08T19:31:21.2861544Z\",\"allocationState\"\ + :\"resizing\",\"allocationStateTransitionTime\":\"2017-11-08T19:31:21.2861544Z\"\ + ,\"vmSize\":\"standard_a1\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ + :0,\"targetDedicatedNodes\":1,\"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\"\r\n },\"\ + networkConfiguration\":{\r\n \"endpointConfiguration\":{\r\n \"inboundNATPools\"\ + :[\r\n {\r\n \"name\":\"TestEndpointConfig\",\"protocol\"\ + :\"udp\",\"backendPort\":64444,\"frontendPortRangeStart\":60000,\"frontendPortRangeEnd\"\ + :61000,\"networkSecurityGroupRules\":[\r\n {\r\n \"\ + priority\":150,\"access\":\"allow\",\"sourceAddressPrefix\":\"*\"\r\n \ + \ }\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:31:35 GMT'] + etag: ['0x8D526DF4A893468'] + last-modified: ['Wed, 08 Nov 2017 19:31:21 GMT'] + request-id: [71e75b01-34e8-4234-a9dc-ab4c6d7e7d2a] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://batch814e11b1.japanwest.batch.azure.com/pools/batch_network_814e11b1?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch814e11b1.japanwest.batch.azure.com/$metadata#pools/@Element\"\ + ,\"id\":\"batch_network_814e11b1\",\"url\":\"https://batch814e11b1.japanwest.batch.azure.com/pools/batch_network_814e11b1\"\ + ,\"eTag\":\"0x8D526DF4A893468\",\"lastModified\":\"2017-11-08T19:31:21.2861544Z\"\ + ,\"creationTime\":\"2017-11-08T19:31:21.2861544Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-08T19:31:21.2861544Z\",\"allocationState\"\ + :\"resizing\",\"allocationStateTransitionTime\":\"2017-11-08T19:31:21.2861544Z\"\ + ,\"vmSize\":\"standard_a1\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ + :0,\"targetDedicatedNodes\":1,\"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\"\r\n },\"\ + networkConfiguration\":{\r\n \"endpointConfiguration\":{\r\n \"inboundNATPools\"\ + :[\r\n {\r\n \"name\":\"TestEndpointConfig\",\"protocol\"\ + :\"udp\",\"backendPort\":64444,\"frontendPortRangeStart\":60000,\"frontendPortRangeEnd\"\ + :61000,\"networkSecurityGroupRules\":[\r\n {\r\n \"\ + priority\":150,\"access\":\"allow\",\"sourceAddressPrefix\":\"*\"\r\n \ + \ }\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:31:44 GMT'] + etag: ['0x8D526DF4A893468'] + last-modified: ['Wed, 08 Nov 2017 19:31:21 GMT'] + request-id: [c42a3390-ca13-4629-a41d-4bee298db2da] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://batch814e11b1.japanwest.batch.azure.com/pools/batch_network_814e11b1?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch814e11b1.japanwest.batch.azure.com/$metadata#pools/@Element\"\ + ,\"id\":\"batch_network_814e11b1\",\"url\":\"https://batch814e11b1.japanwest.batch.azure.com/pools/batch_network_814e11b1\"\ + ,\"eTag\":\"0x8D526DF4A893468\",\"lastModified\":\"2017-11-08T19:31:21.2861544Z\"\ + ,\"creationTime\":\"2017-11-08T19:31:21.2861544Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-08T19:31:21.2861544Z\",\"allocationState\"\ + :\"resizing\",\"allocationStateTransitionTime\":\"2017-11-08T19:31:21.2861544Z\"\ + ,\"vmSize\":\"standard_a1\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ + :0,\"targetDedicatedNodes\":1,\"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\"\r\n },\"\ + networkConfiguration\":{\r\n \"endpointConfiguration\":{\r\n \"inboundNATPools\"\ + :[\r\n {\r\n \"name\":\"TestEndpointConfig\",\"protocol\"\ + :\"udp\",\"backendPort\":64444,\"frontendPortRangeStart\":60000,\"frontendPortRangeEnd\"\ + :61000,\"networkSecurityGroupRules\":[\r\n {\r\n \"\ + priority\":150,\"access\":\"allow\",\"sourceAddressPrefix\":\"*\"\r\n \ + \ }\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:31:56 GMT'] + etag: ['0x8D526DF4A893468'] + last-modified: ['Wed, 08 Nov 2017 19:31:21 GMT'] + request-id: [cc1377da-f1c1-4842-a9d2-d6c938e0fb9b] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://batch814e11b1.japanwest.batch.azure.com/pools/batch_network_814e11b1?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch814e11b1.japanwest.batch.azure.com/$metadata#pools/@Element\"\ + ,\"id\":\"batch_network_814e11b1\",\"url\":\"https://batch814e11b1.japanwest.batch.azure.com/pools/batch_network_814e11b1\"\ + ,\"eTag\":\"0x8D526DF4A893468\",\"lastModified\":\"2017-11-08T19:31:21.2861544Z\"\ + ,\"creationTime\":\"2017-11-08T19:31:21.2861544Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-08T19:31:21.2861544Z\",\"allocationState\"\ + :\"resizing\",\"allocationStateTransitionTime\":\"2017-11-08T19:31:21.2861544Z\"\ + ,\"vmSize\":\"standard_a1\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ + :0,\"targetDedicatedNodes\":1,\"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\"\r\n },\"\ + networkConfiguration\":{\r\n \"endpointConfiguration\":{\r\n \"inboundNATPools\"\ + :[\r\n {\r\n \"name\":\"TestEndpointConfig\",\"protocol\"\ + :\"udp\",\"backendPort\":64444,\"frontendPortRangeStart\":60000,\"frontendPortRangeEnd\"\ + :61000,\"networkSecurityGroupRules\":[\r\n {\r\n \"\ + priority\":150,\"access\":\"allow\",\"sourceAddressPrefix\":\"*\"\r\n \ + \ }\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:32:07 GMT'] + etag: ['0x8D526DF4A893468'] + last-modified: ['Wed, 08 Nov 2017 19:31:21 GMT'] + request-id: [25b5f8c1-b6ca-4fce-b0c0-0bf043784c8c] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://batch814e11b1.japanwest.batch.azure.com/pools/batch_network_814e11b1?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch814e11b1.japanwest.batch.azure.com/$metadata#pools/@Element\"\ + ,\"id\":\"batch_network_814e11b1\",\"url\":\"https://batch814e11b1.japanwest.batch.azure.com/pools/batch_network_814e11b1\"\ + ,\"eTag\":\"0x8D526DF4A893468\",\"lastModified\":\"2017-11-08T19:31:21.2861544Z\"\ + ,\"creationTime\":\"2017-11-08T19:31:21.2861544Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-08T19:31:21.2861544Z\",\"allocationState\"\ + :\"resizing\",\"allocationStateTransitionTime\":\"2017-11-08T19:31:21.2861544Z\"\ + ,\"vmSize\":\"standard_a1\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ + :0,\"targetDedicatedNodes\":1,\"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\"\r\n },\"\ + networkConfiguration\":{\r\n \"endpointConfiguration\":{\r\n \"inboundNATPools\"\ + :[\r\n {\r\n \"name\":\"TestEndpointConfig\",\"protocol\"\ + :\"udp\",\"backendPort\":64444,\"frontendPortRangeStart\":60000,\"frontendPortRangeEnd\"\ + :61000,\"networkSecurityGroupRules\":[\r\n {\r\n \"\ + priority\":150,\"access\":\"allow\",\"sourceAddressPrefix\":\"*\"\r\n \ + \ }\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:32:18 GMT'] + etag: ['0x8D526DF4A893468'] + last-modified: ['Wed, 08 Nov 2017 19:31:21 GMT'] + request-id: [b348ce01-e6d1-49b8-bff6-889768152c79] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://batch814e11b1.japanwest.batch.azure.com/pools/batch_network_814e11b1?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch814e11b1.japanwest.batch.azure.com/$metadata#pools/@Element\"\ + ,\"id\":\"batch_network_814e11b1\",\"url\":\"https://batch814e11b1.japanwest.batch.azure.com/pools/batch_network_814e11b1\"\ + ,\"eTag\":\"0x8D526DF4A893468\",\"lastModified\":\"2017-11-08T19:31:21.2861544Z\"\ + ,\"creationTime\":\"2017-11-08T19:31:21.2861544Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-08T19:31:21.2861544Z\",\"allocationState\"\ + :\"resizing\",\"allocationStateTransitionTime\":\"2017-11-08T19:31:21.2861544Z\"\ + ,\"vmSize\":\"standard_a1\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ + :0,\"targetDedicatedNodes\":1,\"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\"\r\n },\"\ + networkConfiguration\":{\r\n \"endpointConfiguration\":{\r\n \"inboundNATPools\"\ + :[\r\n {\r\n \"name\":\"TestEndpointConfig\",\"protocol\"\ + :\"udp\",\"backendPort\":64444,\"frontendPortRangeStart\":60000,\"frontendPortRangeEnd\"\ + :61000,\"networkSecurityGroupRules\":[\r\n {\r\n \"\ + priority\":150,\"access\":\"allow\",\"sourceAddressPrefix\":\"*\"\r\n \ + \ }\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:32:30 GMT'] + etag: ['0x8D526DF4A893468'] + last-modified: ['Wed, 08 Nov 2017 19:31:21 GMT'] + request-id: [e9ac3ff5-e816-4286-b554-81bac7907735] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://batch814e11b1.japanwest.batch.azure.com/pools/batch_network_814e11b1?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch814e11b1.japanwest.batch.azure.com/$metadata#pools/@Element\"\ + ,\"id\":\"batch_network_814e11b1\",\"url\":\"https://batch814e11b1.japanwest.batch.azure.com/pools/batch_network_814e11b1\"\ + ,\"eTag\":\"0x8D526DF4A893468\",\"lastModified\":\"2017-11-08T19:31:21.2861544Z\"\ + ,\"creationTime\":\"2017-11-08T19:31:21.2861544Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-08T19:31:21.2861544Z\",\"allocationState\"\ + :\"resizing\",\"allocationStateTransitionTime\":\"2017-11-08T19:31:21.2861544Z\"\ + ,\"vmSize\":\"standard_a1\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ + :0,\"targetDedicatedNodes\":1,\"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\"\r\n },\"\ + networkConfiguration\":{\r\n \"endpointConfiguration\":{\r\n \"inboundNATPools\"\ + :[\r\n {\r\n \"name\":\"TestEndpointConfig\",\"protocol\"\ + :\"udp\",\"backendPort\":64444,\"frontendPortRangeStart\":60000,\"frontendPortRangeEnd\"\ + :61000,\"networkSecurityGroupRules\":[\r\n {\r\n \"\ + priority\":150,\"access\":\"allow\",\"sourceAddressPrefix\":\"*\"\r\n \ + \ }\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:32:42 GMT'] + etag: ['0x8D526DF4A893468'] + last-modified: ['Wed, 08 Nov 2017 19:31:21 GMT'] + request-id: [48a2c82b-33b6-4ea2-a48b-e1c87ca1e473] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://batch814e11b1.japanwest.batch.azure.com/pools/batch_network_814e11b1?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch814e11b1.japanwest.batch.azure.com/$metadata#pools/@Element\"\ + ,\"id\":\"batch_network_814e11b1\",\"url\":\"https://batch814e11b1.japanwest.batch.azure.com/pools/batch_network_814e11b1\"\ + ,\"eTag\":\"0x8D526DF4A893468\",\"lastModified\":\"2017-11-08T19:31:21.2861544Z\"\ + ,\"creationTime\":\"2017-11-08T19:31:21.2861544Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-08T19:31:21.2861544Z\",\"allocationState\"\ + :\"resizing\",\"allocationStateTransitionTime\":\"2017-11-08T19:31:21.2861544Z\"\ + ,\"vmSize\":\"standard_a1\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ + :0,\"targetDedicatedNodes\":1,\"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\"\r\n },\"\ + networkConfiguration\":{\r\n \"endpointConfiguration\":{\r\n \"inboundNATPools\"\ + :[\r\n {\r\n \"name\":\"TestEndpointConfig\",\"protocol\"\ + :\"udp\",\"backendPort\":64444,\"frontendPortRangeStart\":60000,\"frontendPortRangeEnd\"\ + :61000,\"networkSecurityGroupRules\":[\r\n {\r\n \"\ + priority\":150,\"access\":\"allow\",\"sourceAddressPrefix\":\"*\"\r\n \ + \ }\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:32:55 GMT'] + etag: ['0x8D526DF4A893468'] + last-modified: ['Wed, 08 Nov 2017 19:31:21 GMT'] + request-id: [344397e9-51a9-43b0-8930-1ad3e14ff846] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://batch814e11b1.japanwest.batch.azure.com/pools/batch_network_814e11b1?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch814e11b1.japanwest.batch.azure.com/$metadata#pools/@Element\"\ + ,\"id\":\"batch_network_814e11b1\",\"url\":\"https://batch814e11b1.japanwest.batch.azure.com/pools/batch_network_814e11b1\"\ + ,\"eTag\":\"0x8D526DF4A893468\",\"lastModified\":\"2017-11-08T19:31:21.2861544Z\"\ + ,\"creationTime\":\"2017-11-08T19:31:21.2861544Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-08T19:31:21.2861544Z\",\"allocationState\"\ + :\"steady\",\"allocationStateTransitionTime\":\"2017-11-08T19:33:03.8020278Z\"\ + ,\"vmSize\":\"standard_a1\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ + :1,\"targetDedicatedNodes\":1,\"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\"\r\n },\"\ + networkConfiguration\":{\r\n \"endpointConfiguration\":{\r\n \"inboundNATPools\"\ + :[\r\n {\r\n \"name\":\"TestEndpointConfig\",\"protocol\"\ + :\"udp\",\"backendPort\":64444,\"frontendPortRangeStart\":60000,\"frontendPortRangeEnd\"\ + :61000,\"networkSecurityGroupRules\":[\r\n {\r\n \"\ + priority\":150,\"access\":\"allow\",\"sourceAddressPrefix\":\"*\"\r\n \ + \ }\r\n ]\r\n }\r\n ]\r\n }\r\n }\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:33:06 GMT'] + etag: ['0x8D526DF4A893468'] + last-modified: ['Wed, 08 Nov 2017 19:31:21 GMT'] + request-id: [885c12d9-b2a6-4e44-b87d-89c14b7f33a9] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://batch814e11b1.japanwest.batch.azure.com/pools/batch_network_814e11b1/nodes?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch814e11b1.japanwest.batch.azure.com/$metadata#nodes\"\ + ,\"value\":[\r\n {\r\n \"id\":\"tvm-1641561676_1-20171108t193303z\"\ + ,\"url\":\"https://batch814e11b1.japanwest.batch.azure.com/pools/batch_network_814e11b1/nodes/tvm-1641561676_1-20171108t193303z\"\ + ,\"state\":\"starting\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ + :\"2017-11-08T19:33:03.1389506Z\",\"allocationTime\":\"2017-11-08T19:33:03.0745995Z\"\ + ,\"ipAddress\":\"10.0.0.4\",\"affinityId\":\"TVM:tvm-1641561676_1-20171108t193303z\"\ + ,\"vmSize\":\"standard_a1\",\"totalTasksRun\":0,\"isDedicated\":true,\"endpointConfiguration\"\ + :{\r\n \"inboundEndpoints\":[\r\n {\r\n \"name\"\ + :\"TestEndpointConfig.0\",\"protocol\":\"udp\",\"publicIPAddress\":\"104.215.31.59\"\ + ,\"publicFQDN\":\"dns25bb8a4b-03c7-4b20-a3f2-5c97490394ae-azurebatch-cloudservice.japanwest.cloudapp.azure.com\"\ + ,\"frontendPort\":60000,\"backendPort\":64444\r\n },{\r\n \ + \ \"name\":\"SSHRule.0\",\"protocol\":\"tcp\",\"publicIPAddress\":\"104.215.31.59\"\ + ,\"publicFQDN\":\"dns25bb8a4b-03c7-4b20-a3f2-5c97490394ae-azurebatch-cloudservice.japanwest.cloudapp.azure.com\"\ + ,\"frontendPort\":50000,\"backendPort\":22\r\n }\r\n ]\r\n\ + \ }\r\n }\r\n ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:33:06 GMT'] + request-id: [c77874d4-2925-4246-8f73-4fa0a6bd6937] + 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 diff --git a/azure-batch/tests/recordings/test_batch.test_batch_scale_pools.yaml b/azure-batch/tests/recordings/test_batch.test_batch_scale_pools.yaml new file mode 100644 index 000000000000..ed2e6df767e5 --- /dev/null +++ b/azure-batch/tests/recordings/test_batch.test_batch_scale_pools.yaml @@ -0,0 +1,449 @@ +interactions: +- request: + body: '{"autoScaleFormula": "$TargetDedicatedNodes=2", "autoScaleEvaluationInterval": + "PT6M"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['86'] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 21:10:44 GMT'] + method: POST + uri: https://batche2690d64.japanwest.batch.azure.com/pools/test_batch_test_batch_scale_poolse2690d64/enableautoscale?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batche2690d64.japanwest.batch.azure.com/pools/test_batch_test_batch_scale_poolse2690d64/enableautoscale'] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 21:10:44 GMT'] + etag: ['0x8D5262402F19461'] + last-modified: ['Tue, 07 Nov 2017 21:10:45 GMT'] + request-id: [97e0ed88-a0f2-4af8-b9d8-39506a61ecc7] + 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: '{"autoScaleFormula": "$TargetDedicatedNodes=3"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['47'] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 21:10:45 GMT'] + method: POST + uri: https://batche2690d64.japanwest.batch.azure.com/pools/test_batch_test_batch_scale_poolse2690d64/evaluateautoscale?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batche2690d64.japanwest.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.AutoScaleRun\"\ + ,\"timestamp\":\"2017-11-07T21:10:45.6294794Z\",\"results\":\"$TargetDedicatedNodes=3;$TargetLowPriorityNodes=0;$NodeDeallocationOption=requeue\"\ + \r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceid: ['https://batche2690d64.japanwest.batch.azure.com/pools/test_batch_test_batch_scale_poolse2690d64/evaluateautoscale'] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 21:10:44 GMT'] + request-id: [dc51ff39-6c9b-4bc3-a69a-2ec43a7360ad] + 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.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 21:10:45 GMT'] + method: POST + uri: https://batche2690d64.japanwest.batch.azure.com/pools/test_batch_test_batch_scale_poolse2690d64/disableautoscale?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batche2690d64.japanwest.batch.azure.com/pools/test_batch_test_batch_scale_poolse2690d64/disableautoscale'] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 21:10:46 GMT'] + etag: ['0x8D5262403BB2568'] + last-modified: ['Tue, 07 Nov 2017 21:10:46 GMT'] + request-id: [82bc916c-9f53-43f1-b366-560e0e3bdf4d] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 21:10:46 GMT'] + method: GET + uri: https://batche2690d64.japanwest.batch.azure.com/pools/test_batch_test_batch_scale_poolse2690d64?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batche2690d64.japanwest.batch.azure.com/$metadata#pools/@Element\"\ + ,\"id\":\"test_batch_test_batch_scale_poolse2690d64\",\"url\":\"https://batche2690d64.japanwest.batch.azure.com/pools/test_batch_test_batch_scale_poolse2690d64\"\ + ,\"eTag\":\"0x8D5262403BB2568\",\"lastModified\":\"2017-11-07T21:10:46.6067816Z\"\ + ,\"creationTime\":\"2017-11-07T21:10:44.2408057Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-07T21:10:44.2408057Z\",\"allocationState\"\ + :\"stopping\",\"allocationStateTransitionTime\":\"2017-11-07T21:10:46.6067816Z\"\ + ,\"vmSize\":\"standard_a1\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ + :0,\"targetDedicatedNodes\":2,\"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\"\r\n }\r\ + \n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 21:10:47 GMT'] + etag: ['0x8D5262403BB2568'] + last-modified: ['Tue, 07 Nov 2017 21:10:46 GMT'] + request-id: [9d079a49-ef87-41da-b85e-4a42ac8cb358] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 21:11:07 GMT'] + method: GET + uri: https://batche2690d64.japanwest.batch.azure.com/pools/test_batch_test_batch_scale_poolse2690d64?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batche2690d64.japanwest.batch.azure.com/$metadata#pools/@Element\"\ + ,\"id\":\"test_batch_test_batch_scale_poolse2690d64\",\"url\":\"https://batche2690d64.japanwest.batch.azure.com/pools/test_batch_test_batch_scale_poolse2690d64\"\ + ,\"eTag\":\"0x8D5262403BB2568\",\"lastModified\":\"2017-11-07T21:10:46.6067816Z\"\ + ,\"creationTime\":\"2017-11-07T21:10:44.2408057Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-07T21:10:44.2408057Z\",\"allocationState\"\ + :\"stopping\",\"allocationStateTransitionTime\":\"2017-11-07T21:10:46.6067816Z\"\ + ,\"vmSize\":\"standard_a1\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ + :0,\"targetDedicatedNodes\":2,\"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\"\r\n }\r\ + \n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 21:11:07 GMT'] + etag: ['0x8D5262403BB2568'] + last-modified: ['Tue, 07 Nov 2017 21:10:46 GMT'] + request-id: [10c5456a-b11a-4905-b95c-d7e0ec16fd1e] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 21:11:27 GMT'] + method: GET + uri: https://batche2690d64.japanwest.batch.azure.com/pools/test_batch_test_batch_scale_poolse2690d64?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batche2690d64.japanwest.batch.azure.com/$metadata#pools/@Element\"\ + ,\"id\":\"test_batch_test_batch_scale_poolse2690d64\",\"url\":\"https://batche2690d64.japanwest.batch.azure.com/pools/test_batch_test_batch_scale_poolse2690d64\"\ + ,\"eTag\":\"0x8D5262403BB2568\",\"lastModified\":\"2017-11-07T21:10:46.6067816Z\"\ + ,\"creationTime\":\"2017-11-07T21:10:44.2408057Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-07T21:10:44.2408057Z\",\"allocationState\"\ + :\"steady\",\"allocationStateTransitionTime\":\"2017-11-07T21:11:27.5540764Z\"\ + ,\"vmSize\":\"standard_a1\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ + :0,\"targetDedicatedNodes\":2,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\"\ + :0,\"resizeErrors\":[\r\n {\r\n \"code\":\"ResizeStopped\",\"message\"\ + :\"Desired number of dedicated nodes could not be allocated due to a stop\ + \ resize operation\"\r\n }\r\n ],\"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\"\r\n }\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 21:11:28 GMT'] + etag: ['0x8D5262403BB2568'] + last-modified: ['Tue, 07 Nov 2017 21:10:46 GMT'] + request-id: [b270d71a-3397-47db-a4fc-656ac1ceb89b] + 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: '{"targetDedicatedNodes": 0, "targetLowPriorityNodes": 2}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['56'] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 21:11:28 GMT'] + method: POST + uri: https://batche2690d64.japanwest.batch.azure.com/pools/test_batch_test_batch_scale_poolse2690d64/resize?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batche2690d64.japanwest.batch.azure.com/pools/test_batch_test_batch_scale_poolse2690d64/resize'] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 21:11:29 GMT'] + etag: ['0x8D526241D40FFF7'] + last-modified: ['Tue, 07 Nov 2017 21:11:29 GMT'] + request-id: [d9e9cd88-1a37-4110-bc98-f84f2d3232b3] + 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'] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 21:11:29 GMT'] + method: POST + uri: https://batche2690d64.japanwest.batch.azure.com/pools/test_batch_test_batch_scale_poolse2690d64/stopresize?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batche2690d64.japanwest.batch.azure.com/pools/test_batch_test_batch_scale_poolse2690d64/stopresize'] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 21:11:30 GMT'] + etag: ['0x8D526241D9F4C3C'] + last-modified: ['Tue, 07 Nov 2017 21:11:30 GMT'] + request-id: [6ee2d76b-f092-4a7f-a9ff-a9c919811f9f] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 21:11:29 GMT'] + method: GET + uri: https://batche2690d64.japanwest.batch.azure.com/pools/test_batch_test_batch_scale_poolse2690d64?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batche2690d64.japanwest.batch.azure.com/$metadata#pools/@Element\"\ + ,\"id\":\"test_batch_test_batch_scale_poolse2690d64\",\"url\":\"https://batche2690d64.japanwest.batch.azure.com/pools/test_batch_test_batch_scale_poolse2690d64\"\ + ,\"eTag\":\"0x8D526241D9F4C3C\",\"lastModified\":\"2017-11-07T21:11:30.0450364Z\"\ + ,\"creationTime\":\"2017-11-07T21:10:44.2408057Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-07T21:10:44.2408057Z\",\"allocationState\"\ + :\"stopping\",\"allocationStateTransitionTime\":\"2017-11-07T21:11:30.0450364Z\"\ + ,\"vmSize\":\"standard_a1\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ + :0,\"targetDedicatedNodes\":2,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\"\ + :2,\"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\"\r\n }\r\ + \n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 21:11:30 GMT'] + etag: ['0x8D526241D9F4C3C'] + last-modified: ['Tue, 07 Nov 2017 21:11:30 GMT'] + request-id: [a0d3a34e-d5bc-47d8-8933-9deb2abc1da9] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 21:11:50 GMT'] + method: GET + uri: https://batche2690d64.japanwest.batch.azure.com/pools/test_batch_test_batch_scale_poolse2690d64?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batche2690d64.japanwest.batch.azure.com/$metadata#pools/@Element\"\ + ,\"id\":\"test_batch_test_batch_scale_poolse2690d64\",\"url\":\"https://batche2690d64.japanwest.batch.azure.com/pools/test_batch_test_batch_scale_poolse2690d64\"\ + ,\"eTag\":\"0x8D526241D9F4C3C\",\"lastModified\":\"2017-11-07T21:11:30.0450364Z\"\ + ,\"creationTime\":\"2017-11-07T21:10:44.2408057Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-07T21:10:44.2408057Z\",\"allocationState\"\ + :\"stopping\",\"allocationStateTransitionTime\":\"2017-11-07T21:11:30.0450364Z\"\ + ,\"vmSize\":\"standard_a1\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ + :0,\"targetDedicatedNodes\":2,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\"\ + :2,\"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\"\r\n }\r\ + \n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 21:11:51 GMT'] + etag: ['0x8D526241D9F4C3C'] + last-modified: ['Tue, 07 Nov 2017 21:11:30 GMT'] + request-id: [36d629a2-c585-4031-8509-c9667838ccd9] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 21:12:11 GMT'] + method: GET + uri: https://batche2690d64.japanwest.batch.azure.com/pools/test_batch_test_batch_scale_poolse2690d64?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batche2690d64.japanwest.batch.azure.com/$metadata#pools/@Element\"\ + ,\"id\":\"test_batch_test_batch_scale_poolse2690d64\",\"url\":\"https://batche2690d64.japanwest.batch.azure.com/pools/test_batch_test_batch_scale_poolse2690d64\"\ + ,\"eTag\":\"0x8D526241D9F4C3C\",\"lastModified\":\"2017-11-07T21:11:30.0450364Z\"\ + ,\"creationTime\":\"2017-11-07T21:10:44.2408057Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-07T21:10:44.2408057Z\",\"allocationState\"\ + :\"steady\",\"allocationStateTransitionTime\":\"2017-11-07T21:12:11.6676785Z\"\ + ,\"vmSize\":\"standard_a1\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ + :0,\"targetDedicatedNodes\":2,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\"\ + :2,\"resizeErrors\":[\r\n {\r\n \"code\":\"ResizeStopped\",\"message\"\ + :\"Desired number of dedicated nodes could not be allocated due to a stop\ + \ resize operation\"\r\n },{\r\n \"code\":\"ResizeStopped\",\"message\"\ + :\"Desired number of low priority nodes could not be allocated due to a stop\ + \ resize operation\"\r\n }\r\n ],\"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\"\r\n }\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 21:12:11 GMT'] + etag: ['0x8D526241D9F4C3C'] + last-modified: ['Tue, 07 Nov 2017 21:11:30 GMT'] + request-id: [b7fe0fcb-0a0f-4588-85a7-65ec680afc09] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 21:12:11 GMT'] + method: GET + uri: https://batche2690d64.japanwest.batch.azure.com/lifetimepoolstats?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batche2690d64.japanwest.batch.azure.com/$metadata#poolstats/@Element\"\ + ,\"url\":\"https://batche2690d64.japanwest.batch.azure.com/lifetimepoolstats\"\ + ,\"usageStats\":{\r\n \"startTime\":\"2017-11-07T21:10:24.0787022Z\",\"\ + lastUpdateTime\":\"2017-11-07T21:10:24.0787022Z\",\"dedicatedCoreTime\":\"\ + PT0S\"\r\n },\"resourceStats\":{\r\n \"startTime\":\"2017-11-07T21:10:24.0787022Z\"\ + ,\"diskReadIOps\":\"0\",\"diskWriteIOps\":\"0\",\"lastUpdateTime\":\"2017-11-07T21:10:24.0787022Z\"\ + ,\"avgCPUPercentage\":0.0,\"avgMemoryGiB\":0.0,\"peakMemoryGiB\":0.0,\"avgDiskGiB\"\ + :0.0,\"peakDiskGiB\":0.0,\"diskReadGiB\":0.0,\"diskWriteGiB\":0.0,\"networkReadGiB\"\ + :0.0,\"networkWriteGiB\":0.0\r\n }\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 21:12:12 GMT'] + request-id: [27f2de51-f6b1-4e5f-8139-f344a46a8dd4] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 21:12:12 GMT'] + method: GET + uri: https://batche2690d64.japanwest.batch.azure.com/poolusagemetrics?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batche2690d64.japanwest.batch.azure.com/$metadata#poolusagemetrics\"\ + ,\"value\":[\r\n \r\n ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 21:12:13 GMT'] + request-id: [025b19b9-9f5c-4d18-a7fc-f98bc9ff059a] + 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 diff --git a/azure-batch/tests/recordings/test_batch.test_batch_tasks.yaml b/azure-batch/tests/recordings/test_batch.test_batch_tasks.yaml new file mode 100644 index 000000000000..06bd1e99a913 --- /dev/null +++ b/azure-batch/tests/recordings/test_batch.test_batch_tasks.yaml @@ -0,0 +1,833 @@ +interactions: +- request: + body: '{"id": "batch_task1_98da0af6", "commandLine": "cmd /c \"echo hello world\"", + "exitConditions": {"exitCodes": [{"code": 1, "exitOptions": {"jobAction": "terminate"}}], + "exitCodeRanges": [{"start": 2, "end": 4, "exitOptions": {"jobAction": "disable"}}], + "default": {"jobAction": "none"}}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['286'] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 19:11:54 GMT'] + method: POST + uri: https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task1_98da0af6'] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:11:54 GMT'] + etag: ['0x8D526DC9343897D'] + last-modified: ['Wed, 08 Nov 2017 19:11:54 GMT'] + location: ['https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task1_98da0af6'] + request-id: [8217d935-984d-47f7-98ac-15d85e15f3af] + 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] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 19:11:55 GMT'] + method: GET + uri: https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task1_98da0af6?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch98da0af6.japanwest.batch.azure.com/$metadata#tasks/@Element\"\ + ,\"id\":\"batch_task1_98da0af6\",\"url\":\"https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task1_98da0af6\"\ + ,\"eTag\":\"0x8D526DC9343897D\",\"creationTime\":\"2017-11-08T19:11:54.8130685Z\"\ + ,\"lastModified\":\"2017-11-08T19:11:54.8130685Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-08T19:11:54.8130685Z\",\"commandLine\":\"\ + cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n \"autoUser\":{\r\ + \n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"exitConditions\"\ + :{\r\n \"exitCodes\":[\r\n {\r\n \"code\":1,\"exitOptions\"\ + :{\r\n \"jobAction\":\"terminate\"\r\n }\r\n }\r\n \ + \ ],\"exitCodeRanges\":[\r\n {\r\n \"start\":2,\"end\":4,\"exitOptions\"\ + :{\r\n \"jobAction\":\"disable\"\r\n }\r\n }\r\n ],\"\ + default\":{\r\n \"jobAction\":\"none\"\r\n }\r\n },\"constraints\"\ + :{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"retentionTime\"\ + :\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\n },\"executionInfo\"\ + :{\r\n \"retryCount\":0,\"requeueCount\":0\r\n }\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:11:55 GMT'] + etag: ['0x8D526DC9343897D'] + last-modified: ['Wed, 08 Nov 2017 19:11:54 GMT'] + request-id: [ff861d7a-2109-435a-9767-7f199ca96e1c] + 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: '{"id": "batch_task2_98da0af6", "commandLine": "cmd /c \"echo hello world\"", + "outputFiles": [{"filePattern": "../stdout.txt", "destination": {"container": + {"path": "taskLogs/output.txt", "containerUrl": "https://test.blob.core.windows.net:443/test-container"}}, + "uploadOptions": {"uploadCondition": "taskCompletion"}}, {"filePattern": "../stderr.txt", + "destination": {"container": {"path": "taskLogs/error.txt", "containerUrl": + "https://test.blob.core.windows.net:443/test-container"}}, "uploadOptions": + {"uploadCondition": "taskFailure"}}]}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['541'] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 19:11:55 GMT'] + method: POST + uri: https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task2_98da0af6'] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:11:56 GMT'] + etag: ['0x8D526DC9408573D'] + last-modified: ['Wed, 08 Nov 2017 19:11:56 GMT'] + location: ['https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task2_98da0af6'] + request-id: [f0067585-29fd-4b18-ac59-efd336433c4b] + 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] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 19:11:56 GMT'] + method: GET + uri: https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task2_98da0af6?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch98da0af6.japanwest.batch.azure.com/$metadata#tasks/@Element\"\ + ,\"id\":\"batch_task2_98da0af6\",\"url\":\"https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task2_98da0af6\"\ + ,\"eTag\":\"0x8D526DC9408573D\",\"creationTime\":\"2017-11-08T19:11:56.1028413Z\"\ + ,\"lastModified\":\"2017-11-08T19:11:56.1028413Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-08T19:11:56.1028413Z\",\"commandLine\":\"\ + cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ + :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ + \ \"containerUrl\":\"https://test.blob.core.windows.net:443/test-container\"\ + ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ + :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ + \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ + container\":{\r\n \"containerUrl\":\"https://test.blob.core.windows.net:443/test-container\"\ + ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ + :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ + \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ + :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ + :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ + ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ + :0,\"requeueCount\":0\r\n }\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:11:56 GMT'] + etag: ['0x8D526DC9408573D'] + last-modified: ['Wed, 08 Nov 2017 19:11:56 GMT'] + request-id: [c60c5a65-f2dd-4682-b865-ac7d73456e2e] + 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: '{"id": "batch_task3_98da0af6", "commandLine": "cmd /c \"echo hello world\"", + "userIdentity": {"autoUser": {"scope": "task", "elevationLevel": "admin"}}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['152'] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 19:11:56 GMT'] + method: POST + uri: https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task3_98da0af6'] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:11:56 GMT'] + etag: ['0x8D526DC94DB2E37'] + last-modified: ['Wed, 08 Nov 2017 19:11:57 GMT'] + location: ['https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task3_98da0af6'] + request-id: [2d3b984c-57b8-4fa7-a9d9-561f799f32da] + 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] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 19:11:57 GMT'] + method: GET + uri: https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task3_98da0af6?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch98da0af6.japanwest.batch.azure.com/$metadata#tasks/@Element\"\ + ,\"id\":\"batch_task3_98da0af6\",\"url\":\"https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task3_98da0af6\"\ + ,\"eTag\":\"0x8D526DC94DB2E37\",\"creationTime\":\"2017-11-08T19:11:57.4846007Z\"\ + ,\"lastModified\":\"2017-11-08T19:11:57.4846007Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-08T19:11:57.4846007Z\",\"commandLine\":\"\ + cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n \"autoUser\":{\r\ + \n \"scope\":\"task\",\"elevationLevel\":\"admin\"\r\n }\r\n },\"\ + constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\"\ + ,\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\ + \n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\":0\r\n \ + \ }\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:11:58 GMT'] + etag: ['0x8D526DC94DB2E37'] + last-modified: ['Wed, 08 Nov 2017 19:11:57 GMT'] + request-id: [45552e86-f52d-4188-a46b-719d3d45e0f6] + 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: '{"id": "batch_task4_98da0af6", "commandLine": "cmd /c \"echo hello world\"", + "authenticationTokenSettings": {"access": ["job"]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['128'] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 19:11:58 GMT'] + method: POST + uri: https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task4_98da0af6'] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:11:58 GMT'] + etag: ['0x8D526DC9583CB01'] + last-modified: ['Wed, 08 Nov 2017 19:11:58 GMT'] + location: ['https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task4_98da0af6'] + request-id: [278b153a-0b74-4491-940c-fa72655ac06c] + 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] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 19:11:58 GMT'] + method: GET + uri: https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task4_98da0af6?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch98da0af6.japanwest.batch.azure.com/$metadata#tasks/@Element\"\ + ,\"id\":\"batch_task4_98da0af6\",\"url\":\"https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task4_98da0af6\"\ + ,\"eTag\":\"0x8D526DC9583CB01\",\"creationTime\":\"2017-11-08T19:11:58.5896193Z\"\ + ,\"lastModified\":\"2017-11-08T19:11:58.5896193Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-08T19:11:58.5896193Z\",\"commandLine\":\"\ + cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n \"autoUser\":{\r\ + \n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"authenticationTokenSettings\"\ + :{\r\n \"access\":[\r\n \"job\"\r\n ]\r\n },\"constraints\":{\r\ + \n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"retentionTime\"\ + :\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\n },\"executionInfo\"\ + :{\r\n \"retryCount\":0,\"requeueCount\":0\r\n }\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:11:58 GMT'] + etag: ['0x8D526DC9583CB01'] + last-modified: ['Wed, 08 Nov 2017 19:11:58 GMT'] + request-id: [9feb773a-ea2b-43e0-9cf9-b908bd272bba] + 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: '{"id": "batch_task5_98da0af6", "commandLine": "cmd /c \"echo hello world\"", + "containerSettings": {"imageName": "windows_container:latest", "registry": {"username": + "username", "password": "password"}}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['202'] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 19:11:59 GMT'] + method: POST + uri: https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task5_98da0af6'] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:11:59 GMT'] + etag: ['0x8D526DC963614FF'] + last-modified: ['Wed, 08 Nov 2017 19:11:59 GMT'] + location: ['https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task5_98da0af6'] + request-id: [b02a005d-4eba-4124-affe-f0c37b3b12b1] + 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] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 19:11:59 GMT'] + method: GET + uri: https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task5_98da0af6?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch98da0af6.japanwest.batch.azure.com/$metadata#tasks/@Element\"\ + ,\"id\":\"batch_task5_98da0af6\",\"url\":\"https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task5_98da0af6\"\ + ,\"eTag\":\"0x8D526DC963614FF\",\"creationTime\":\"2017-11-08T19:11:59.7580543Z\"\ + ,\"lastModified\":\"2017-11-08T19:11:59.7580543Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-08T19:11:59.7580543Z\",\"commandLine\":\"\ + cmd /c \\\"echo hello world\\\"\",\"containerSettings\":{\r\n \"imageName\"\ + :\"windows_container:latest\",\"registry\":{\r\n \"username\":\"username\"\ + \r\n }\r\n },\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ + :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ + :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ + ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ + :0,\"requeueCount\":0\r\n }\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:12:00 GMT'] + etag: ['0x8D526DC963614FF'] + last-modified: ['Wed, 08 Nov 2017 19:11:59 GMT'] + request-id: [7fb7d4bc-0a80-41f2-87c1-efa4337b69f9] + 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: '{"id": "batch_task6_98da0af6", "commandLine": "cmd /c \"echo hello world\"", + "userIdentity": {"username": "task-user"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['119'] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 19:12:00 GMT'] + method: POST + uri: https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task6_98da0af6'] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:12:01 GMT'] + etag: ['0x8D526DC9701540B'] + last-modified: ['Wed, 08 Nov 2017 19:12:01 GMT'] + location: ['https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task6_98da0af6'] + request-id: [f1db524c-d498-4ed4-8e29-5164b7c47755] + 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] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 19:12:01 GMT'] + method: GET + uri: https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task6_98da0af6?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch98da0af6.japanwest.batch.azure.com/$metadata#tasks/@Element\"\ + ,\"id\":\"batch_task6_98da0af6\",\"url\":\"https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task6_98da0af6\"\ + ,\"eTag\":\"0x8D526DC9701540B\",\"creationTime\":\"2017-11-08T19:12:01.0900491Z\"\ + ,\"lastModified\":\"2017-11-08T19:12:01.0900491Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-08T19:12:01.0900491Z\",\"commandLine\":\"\ + cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n \"username\":\"\ + task-user\"\r\n },\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\"\ + ,\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\ + \n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\":0\r\n \ + \ }\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:12:01 GMT'] + etag: ['0x8D526DC9701540B'] + last-modified: ['Wed, 08 Nov 2017 19:12:01 GMT'] + request-id: [82f15565-c227-480e-a488-cc4b218a3d38] + 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: '{"value": [{"id": "batch_task7_98da0af6", "commandLine": "cmd /c \"echo + hello world\""}, {"id": "batch_task8_98da0af6", "commandLine": "cmd /c \"echo + hello world\""}, {"id": "batch_task9_98da0af6", "commandLine": "cmd /c \"echo + hello world\""}]}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['245'] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 19:12:01 GMT'] + method: POST + uri: https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/addtaskcollection?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch98da0af6.japanwest.batch.azure.com/$metadata#taskaddresult\"\ + ,\"value\":[\r\n {\r\n \"status\":\"Success\",\"taskId\":\"batch_task7_98da0af6\"\ + ,\"eTag\":\"0x8D526DC97BFC8E1\",\"lastModified\":\"2017-11-08T19:12:02.3382241Z\"\ + ,\"location\":\"https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task7_98da0af6\"\ + \r\n },{\r\n \"status\":\"Success\",\"taskId\":\"batch_task9_98da0af6\"\ + ,\"eTag\":\"0x8D526DC97C6A44C\",\"lastModified\":\"2017-11-08T19:12:02.3831628Z\"\ + ,\"location\":\"https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task9_98da0af6\"\ + \r\n },{\r\n \"status\":\"Success\",\"taskId\":\"batch_task8_98da0af6\"\ + ,\"eTag\":\"0x8D526DC97C6F267\",\"lastModified\":\"2017-11-08T19:12:02.3851623Z\"\ + ,\"location\":\"https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task8_98da0af6\"\ + \r\n }\r\n ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:12:02 GMT'] + request-id: [b6cf9b9b-1b47-462e-8c95-15f3eefe7604] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 19:12:02 GMT'] + method: GET + uri: https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch98da0af6.japanwest.batch.azure.com/$metadata#tasks\"\ + ,\"value\":[\r\n {\r\n \"id\":\"batch_task1_98da0af6\",\"url\":\"\ + https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task1_98da0af6\"\ + ,\"eTag\":\"0x8D526DC9343897D\",\"creationTime\":\"2017-11-08T19:11:54.8130685Z\"\ + ,\"lastModified\":\"2017-11-08T19:11:54.8130685Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-08T19:11:54.8130685Z\",\"commandLine\":\"\ + cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n \"autoUser\"\ + :{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"\ + exitConditions\":{\r\n \"exitCodes\":[\r\n {\r\n \ + \ \"code\":1,\"exitOptions\":{\r\n \"jobAction\":\"terminate\"\ + \r\n }\r\n }\r\n ],\"exitCodeRanges\":[\r\n \ + \ {\r\n \"start\":2,\"end\":4,\"exitOptions\":{\r\n \ + \ \"jobAction\":\"disable\"\r\n }\r\n }\r\n \ + \ ],\"default\":{\r\n \"jobAction\":\"none\"\r\n }\r\n\ + \ },\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\"\ + ,\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\ + \n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\"\ + :0\r\n }\r\n },{\r\n \"id\":\"batch_task2_98da0af6\",\"url\"\ + :\"https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task2_98da0af6\"\ + ,\"eTag\":\"0x8D526DC9408573D\",\"creationTime\":\"2017-11-08T19:11:56.1028413Z\"\ + ,\"lastModified\":\"2017-11-08T19:11:56.1028413Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-08T19:11:56.1028413Z\",\"commandLine\":\"\ + cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \ + \ \"filePattern\":\"../stdout.txt\",\"destination\":{\r\n \"\ + container\":{\r\n \"containerUrl\":\"https://test.blob.core.windows.net:443/test-container\"\ + ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ + :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n\ + \ },{\r\n \"filePattern\":\"../stderr.txt\",\"destination\"\ + :{\r\n \"container\":{\r\n \"containerUrl\":\"https://test.blob.core.windows.net:443/test-container\"\ + ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ + :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n \ + \ }\r\n ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \ + \ \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"constraints\"\ + :{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"retentionTime\"\ + :\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\n },\"executionInfo\"\ + :{\r\n \"retryCount\":0,\"requeueCount\":0\r\n }\r\n },{\r\n\ + \ \"id\":\"batch_task3_98da0af6\",\"url\":\"https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task3_98da0af6\"\ + ,\"eTag\":\"0x8D526DC94DB2E37\",\"creationTime\":\"2017-11-08T19:11:57.4846007Z\"\ + ,\"lastModified\":\"2017-11-08T19:11:57.4846007Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-08T19:11:57.4846007Z\",\"commandLine\":\"\ + cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n \"autoUser\"\ + :{\r\n \"scope\":\"task\",\"elevationLevel\":\"admin\"\r\n \ + \ }\r\n },\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\"\ + ,\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\ + \n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\"\ + :0\r\n }\r\n },{\r\n \"id\":\"batch_task4_98da0af6\",\"url\"\ + :\"https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task4_98da0af6\"\ + ,\"eTag\":\"0x8D526DC9583CB01\",\"creationTime\":\"2017-11-08T19:11:58.5896193Z\"\ + ,\"lastModified\":\"2017-11-08T19:11:58.5896193Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-08T19:11:58.5896193Z\",\"commandLine\":\"\ + cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n \"autoUser\"\ + :{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"\ + authenticationTokenSettings\":{\r\n \"access\":[\r\n \"job\"\ + \r\n ]\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ + :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ + ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ + :0,\"requeueCount\":0\r\n }\r\n },{\r\n \"id\":\"batch_task5_98da0af6\"\ + ,\"url\":\"https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task5_98da0af6\"\ + ,\"eTag\":\"0x8D526DC963614FF\",\"creationTime\":\"2017-11-08T19:11:59.7580543Z\"\ + ,\"lastModified\":\"2017-11-08T19:11:59.7580543Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-08T19:11:59.7580543Z\",\"commandLine\":\"\ + cmd /c \\\"echo hello world\\\"\",\"containerSettings\":{\r\n \"imageName\"\ + :\"windows_container:latest\",\"registry\":{\r\n \"username\":\"\ + username\"\r\n }\r\n },\"userIdentity\":{\r\n \"autoUser\"\ + :{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"\ + constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\"\ + ,\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\ + \n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\"\ + :0\r\n }\r\n },{\r\n \"id\":\"batch_task6_98da0af6\",\"url\"\ + :\"https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task6_98da0af6\"\ + ,\"eTag\":\"0x8D526DC9701540B\",\"creationTime\":\"2017-11-08T19:12:01.0900491Z\"\ + ,\"lastModified\":\"2017-11-08T19:12:01.0900491Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-08T19:12:01.0900491Z\",\"commandLine\":\"\ + cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n \"username\"\ + :\"task-user\"\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ + :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ + ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ + :0,\"requeueCount\":0\r\n }\r\n },{\r\n \"id\":\"batch_task7_98da0af6\"\ + ,\"url\":\"https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task7_98da0af6\"\ + ,\"eTag\":\"0x8D526DC97BFC8E1\",\"creationTime\":\"2017-11-08T19:12:02.3382241Z\"\ + ,\"lastModified\":\"2017-11-08T19:12:02.3382241Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-08T19:12:02.3382241Z\",\"commandLine\":\"\ + cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n \"autoUser\"\ + :{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"\ + constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\"\ + ,\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\ + \n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\"\ + :0\r\n }\r\n },{\r\n \"id\":\"batch_task8_98da0af6\",\"url\"\ + :\"https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task8_98da0af6\"\ + ,\"eTag\":\"0x8D526DC97C6F267\",\"creationTime\":\"2017-11-08T19:12:02.3851623Z\"\ + ,\"lastModified\":\"2017-11-08T19:12:02.3851623Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-08T19:12:02.3851623Z\",\"commandLine\":\"\ + cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n \"autoUser\"\ + :{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"\ + constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\"\ + ,\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\ + \n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\"\ + :0\r\n }\r\n },{\r\n \"id\":\"batch_task9_98da0af6\",\"url\"\ + :\"https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task9_98da0af6\"\ + ,\"eTag\":\"0x8D526DC97C6A44C\",\"creationTime\":\"2017-11-08T19:12:02.3831628Z\"\ + ,\"lastModified\":\"2017-11-08T19:12:02.3831628Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-08T19:12:02.3831628Z\",\"commandLine\":\"\ + cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n \"autoUser\"\ + :{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"\ + constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\"\ + ,\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\ + \n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\"\ + :0\r\n }\r\n }\r\n ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:12:02 GMT'] + request-id: [08fc86d3-a0d7-4bde-8939-f9a1e02cdbb7] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 19:12:03 GMT'] + method: GET + uri: https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/taskcounts?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch98da0af6.japanwest.batch.azure.com/$metadata#taskcounts/@Element\"\ + ,\"active\":5,\"running\":0,\"completed\":0,\"succeeded\":0,\"failed\":0,\"\ + validationStatus\":\"Validated\"\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:12:03 GMT'] + request-id: [90c075c8-a3d2-4de3-babf-0547dbab4f66] + 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.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 19:12:03 GMT'] + method: POST + uri: https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task6_98da0af6/terminate?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + content-length: ['0'] + dataserviceid: ['https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task6_98da0af6/terminate'] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:12:03 GMT'] + etag: ['0x8D526DC98E5D477'] + last-modified: ['Wed, 08 Nov 2017 19:12:04 GMT'] + request-id: [5ab262f4-7566-4b4e-8bef-1f1adebebabb] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + status: {code: 204, message: No Content} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 19:12:04 GMT'] + method: GET + uri: https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task6_98da0af6?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch98da0af6.japanwest.batch.azure.com/$metadata#tasks/@Element\"\ + ,\"id\":\"batch_task6_98da0af6\",\"url\":\"https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task6_98da0af6\"\ + ,\"eTag\":\"0x8D526DC98E5D477\",\"creationTime\":\"2017-11-08T19:12:01.0900491Z\"\ + ,\"lastModified\":\"2017-11-08T19:12:04.2652791Z\",\"state\":\"completed\"\ + ,\"stateTransitionTime\":\"2017-11-08T19:12:04.2652791Z\",\"previousState\"\ + :\"active\",\"previousStateTransitionTime\":\"2017-11-08T19:12:01.0900491Z\"\ + ,\"commandLine\":\"cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n\ + \ \"username\":\"task-user\"\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ + :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ + ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"endTime\":\"\ + 2017-11-08T19:12:04.2652791Z\",\"failureInfo\":{\r\n \"category\":\"\ + UserError\",\"code\":\"TaskEnded\",\"message\":\"Task Was Ended by User Request\"\ + \r\n },\"result\":\"Failure\",\"retryCount\":0,\"requeueCount\":0\r\n \ + \ },\"nodeInfo\":{\r\n \r\n }\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:12:04 GMT'] + etag: ['0x8D526DC98E5D477'] + last-modified: ['Wed, 08 Nov 2017 19:12:04 GMT'] + request-id: [cf9fd03f-8e56-4e01-9780-764d2ae0eb7f] + 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.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 19:12:05 GMT'] + method: POST + uri: https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task6_98da0af6/reactivate?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + content-length: ['0'] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:12:05 GMT'] + etag: ['0x8D526DC99D88677'] + last-modified: ['Wed, 08 Nov 2017 19:12:05 GMT'] + request-id: [f756cfd3-9e24-45a9-8a24-2e9df175e4c0] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + status: {code: 204, message: No Content} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 19:12:05 GMT'] + method: GET + uri: https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task6_98da0af6?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch98da0af6.japanwest.batch.azure.com/$metadata#tasks/@Element\"\ + ,\"id\":\"batch_task6_98da0af6\",\"url\":\"https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task6_98da0af6\"\ + ,\"eTag\":\"0x8D526DC99D88677\",\"creationTime\":\"2017-11-08T19:12:01.0900491Z\"\ + ,\"lastModified\":\"2017-11-08T19:12:05.8558071Z\",\"state\":\"active\",\"\ + stateTransitionTime\":\"2017-11-08T19:12:05.8558071Z\",\"previousState\":\"\ + completed\",\"previousStateTransitionTime\":\"2017-11-08T19:12:04.2652791Z\"\ + ,\"commandLine\":\"cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n\ + \ \"username\":\"task-user\"\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ + :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ + ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ + :0,\"requeueCount\":0\r\n }\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:12:06 GMT'] + etag: ['0x8D526DC99D88677'] + last-modified: ['Wed, 08 Nov 2017 19:12:05 GMT'] + request-id: [d2fa0750-b8dd-4d84-85d1-58ce20ebe829] + 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: '{"constraints": {"maxTaskRetryCount": 1}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['41'] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 19:12:06 GMT'] + method: PUT + uri: https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task6_98da0af6?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task6_98da0af6'] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:12:06 GMT'] + etag: ['0x8D526DC9A564AB3'] + last-modified: ['Wed, 08 Nov 2017 19:12:06 GMT'] + request-id: [6d6ce33f-e87a-47b6-82a4-0d40ac9c80b6] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 19:12:06 GMT'] + method: GET + uri: https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task6_98da0af6/subtasksinfo?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batch98da0af6.japanwest.batch.azure.com/$metadata#subtaskinfo\"\ + ,\"value\":[\r\n \r\n ]\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:12:07 GMT'] + request-id: [d65aec9e-d465-44b1-9e6a-f5bf9761527d] + 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.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Wed, 08 Nov 2017 19:12:07 GMT'] + method: DELETE + uri: https://batch98da0af6.japanwest.batch.azure.com/jobs/batch98da0af6/tasks/batch_task6_98da0af6?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceversion: ['3.0'] + date: ['Wed, 08 Nov 2017 19:12:07 GMT'] + request-id: [ebe94a3a-e417-48fe-9dd8-20cfd0c302b3] + 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 diff --git a/azure-batch/tests/recordings/test_batch.test_batch_update_pools.yaml b/azure-batch/tests/recordings/test_batch.test_batch_update_pools.yaml new file mode 100644 index 000000000000..1582b99c6ab0 --- /dev/null +++ b/azure-batch/tests/recordings/test_batch.test_batch_update_pools.yaml @@ -0,0 +1,240 @@ +interactions: +- request: + body: '{"id": "batch_paas_f0de0ddf", "vmSize": "small", "cloudServiceConfiguration": + {"osFamily": "5"}, "startTask": {"commandLine": "cmd.exe /c \"echo hello world\"", + "resourceFiles": [{"blobSource": "https://blobsource.com", "filePath": "filename.txt"}], + "environmentSettings": [{"name": "ENV_VAR", "value": "env_value"}], "userIdentity": + {"autoUser": {"elevationLevel": "admin"}}}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['377'] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 18:28:03 GMT'] + method: POST + uri: https://batchf0de0ddf.japanwest.batch.azure.com/pools?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batchf0de0ddf.japanwest.batch.azure.com/pools/batch_paas_f0de0ddf'] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 18:28:04 GMT'] + etag: ['0x8D5260D49018880'] + last-modified: ['Tue, 07 Nov 2017 18:28:04 GMT'] + location: ['https://batchf0de0ddf.japanwest.batch.azure.com/pools/batch_paas_f0de0ddf'] + request-id: [4fbcdc47-3d09-49da-bb6b-e4c4a774b8f9] + 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: '{"targetOSVersion": "*"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['24'] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 18:28:04 GMT'] + method: POST + uri: https://batchf0de0ddf.japanwest.batch.azure.com/pools/batch_paas_f0de0ddf/upgradeos?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchf0de0ddf.japanwest.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\"\ + ,\"code\":\"PoolVersionEqualsUpgradeVersion\",\"message\":{\r\n \"lang\"\ + :\"en-US\",\"value\":\"The pool is already with the given version.\\nRequestId:165d9557-9ddd-4a4e-ad4f-989b58b8599f\\\ + nTime:2017-11-07T18:28:05.0283363Z\"\r\n }\r\n}"} + headers: + content-length: ['365'] + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 18:28:04 GMT'] + request-id: [165d9557-9ddd-4a4e-ad4f-989b58b8599f] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + status: {code: 400, message: The pool is already with the given version.} +- request: + body: '{"certificateReferences": [], "applicationPackageReferences": [], "metadata": + [{"name": "foo", "value": "bar"}]}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['112'] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 18:28:04 GMT'] + method: POST + uri: https://batchf0de0ddf.japanwest.batch.azure.com/pools/batch_paas_f0de0ddf/updateproperties?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + content-length: ['0'] + dataserviceid: ['https://batchf0de0ddf.japanwest.batch.azure.com/pools/batch_paas_f0de0ddf/updateproperties'] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 18:28:04 GMT'] + etag: ['0x8D5260D49C283F9'] + last-modified: ['Tue, 07 Nov 2017 18:28:05 GMT'] + request-id: [de4cc2ed-93b7-4375-8afb-2e614c2cfa00] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + status: {code: 204, message: No Content} +- request: + body: '{"metadata": [{"name": "foo2", "value": "bar2"}]}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['49'] + Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 18:28:05 GMT'] + method: PATCH + uri: https://batchf0de0ddf.japanwest.batch.azure.com/pools/batch_paas_f0de0ddf?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceid: ['https://batchf0de0ddf.japanwest.batch.azure.com/pools/batch_paas_f0de0ddf'] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 18:28:05 GMT'] + etag: ['0x8D5260D4A1D1A75'] + last-modified: ['Tue, 07 Nov 2017 18:28:06 GMT'] + request-id: [1c35c56c-b69d-4c34-b108-cbe93afc287b] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 18:28:06 GMT'] + method: HEAD + uri: https://batchf0de0ddf.japanwest.batch.azure.com/pools/batch_paas_f0de0ddf?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 18:28:06 GMT'] + etag: ['0x8D5260D4A1D1A75'] + last-modified: ['Tue, 07 Nov 2017 18:28:06 GMT'] + request-id: [b395aa0c-a8d9-4c17-8def-d17755057e00] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 18:28:06 GMT'] + method: GET + uri: https://batchf0de0ddf.japanwest.batch.azure.com/pools/batch_paas_f0de0ddf?api-version=2017-09-01.6.0 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchf0de0ddf.japanwest.batch.azure.com/$metadata#pools/@Element\"\ + ,\"id\":\"batch_paas_f0de0ddf\",\"url\":\"https://batchf0de0ddf.japanwest.batch.azure.com/pools/batch_paas_f0de0ddf\"\ + ,\"eTag\":\"0x8D5260D4A1D1A75\",\"lastModified\":\"2017-11-07T18:28:06.2644853Z\"\ + ,\"creationTime\":\"2017-11-07T18:28:04.40608Z\",\"state\":\"active\",\"stateTransitionTime\"\ + :\"2017-11-07T18:28:04.40608Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\"\ + :\"2017-11-07T18:28:04.5300886Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"\ + PT15M\",\"currentDedicatedNodes\":0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\"\ + :0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\"\ + :false,\"metadata\":[\r\n {\r\n \"name\":\"foo2\",\"value\":\"bar2\"\ + \r\n }\r\n ],\"maxTasksPerNode\":1,\"taskSchedulingPolicy\":{\r\n \"\ + nodeFillType\":\"Spread\"\r\n },\"cloudServiceConfiguration\":{\r\n \"\ + osFamily\":\"5\",\"targetOSVersion\":\"*\",\"currentOSVersion\":\"*\"\r\n\ + \ }\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 18:28:07 GMT'] + etag: ['0x8D5260D4A1D1A75'] + last-modified: ['Tue, 07 Nov 2017 18:28:06 GMT'] + request-id: [6267e007-03ac-408f-a757-c3a25eca1e60] + 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-Type: [application/json; odata=minimalmetadata; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 18:28:07 GMT'] + return-client-request-id: ['false'] + method: GET + uri: https://batchf0de0ddf.japanwest.batch.azure.com/pools/batch_paas_f0de0ddf?api-version=2017-09-01.6.0&$select=id%2Cstate&$expand=stats&timeout=30 + response: + body: {string: "{\r\n \"odata.metadata\":\"https://batchf0de0ddf.japanwest.batch.azure.com/$metadata#pools/@Element\"\ + ,\"id\":\"batch_paas_f0de0ddf\",\"state\":\"active\"\r\n}"} + headers: + content-type: [application/json;odata=minimalmetadata] + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 18:28:08 GMT'] + etag: ['0x8D5260D4A1D1A75'] + last-modified: ['Tue, 07 Nov 2017 18:28:06 GMT'] + request-id: [ca801b4c-194d-44da-8619-465162392876] + 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.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchserviceclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + ocp-date: ['Tue, 07 Nov 2017 18:28:08 GMT'] + method: DELETE + uri: https://batchf0de0ddf.japanwest.batch.azure.com/pools/batch_paas_f0de0ddf?api-version=2017-09-01.6.0 + response: + body: {string: ''} + headers: + dataserviceversion: ['3.0'] + date: ['Tue, 07 Nov 2017 18:28:07 GMT'] + request-id: [a0ccbfa1-4e34-47fb-89e2-d8f291a05fbc] + 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} +version: 1 diff --git a/azure-batch/tests/test_batch.py b/azure-batch/tests/test_batch.py new file mode 100644 index 000000000000..93315f9d468c --- /dev/null +++ b/azure-batch/tests/test_batch.py @@ -0,0 +1,951 @@ +# coding: utf-8 + +#------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +#-------------------------------------------------------------------------- +import datetime +import io +import logging +import time +import unittest + +import requests + +import azure.batch +from azure.batch import models +from preparers import ( + AccountPreparer, + PoolPreparer, + JobPreparer +) + +from devtools_testutils import ( + AzureMgmtTestCase, + ResourceGroupPreparer, + StorageAccountPreparer +) + + +AZURE_LOCATION = 'japanwest' +BATCH_RESOURCE = 'https://batch.core.windows.net/' + + +class BatchTest(AzureMgmtTestCase): + + def _batch_url(self, batch): + if batch.account_endpoint.startswith('https://'): + return batch.account_endpoint + else: + return 'https://' + batch.account_endpoint + + def create_basic_client(self, client_class, **kwargs): + client = client_class( + credentials=kwargs.pop('credentials', None), + **kwargs + ) + if self.is_playback(): + client.config.long_running_operation_timeout = 0 + return client + + def create_aad_client(self, batch_account, **kwargs): + credentials = self.settings.get_credentials(resource=BATCH_RESOURCE) + client = self.create_basic_client( + azure.batch.BatchServiceClient, + credentials=credentials, + base_url=self._batch_url(batch_account) + ) + return client + + def create_sharedkey_client(self, batch_account, credentials, **kwargs): + client = self.create_basic_client( + azure.batch.BatchServiceClient, + credentials=credentials, + base_url=self._batch_url(batch_account) + ) + return client + + def assertBatchError(self, code, func, *args, **kwargs): + try: + func(*args, **kwargs) + self.fail("BatchErrorException expected but not raised") + except models.BatchErrorException as err: + self.assertEqual(err.error.code, code) + except Exception as err: + self.fail("Expected BatchErrorExcption, instead got: {!r}".format(err)) + + @ResourceGroupPreparer(location=AZURE_LOCATION) + @StorageAccountPreparer(name_prefix='batch', location=AZURE_LOCATION) + @AccountPreparer(location=AZURE_LOCATION) + @JobPreparer() + def test_batch_applications(self, batch_job, **kwargs): + client = self.create_sharedkey_client(**kwargs) + # Test List Applications + apps = list(client.application.list()) + self.assertEqual(len(apps), 1) + + # Test Get Application + app = client.application.get('application_id') + self.assertIsInstance(app, models.ApplicationSummary) + self.assertEqual(app.id, 'application_id') + self.assertEqual(app.versions, ['v1.0']) + + # Test Create Task with Application Package + task_id = 'python_task_with_app_package' + task = models.TaskAddParameter( + task_id, + 'cmd /c "echo hello world"', + application_package_references=[models.ApplicationPackageReference('application_id', 'v1.0')] + ) + response = client.task.add(batch_job.id, task) + self.assertIsNone(response) + + # Test Get Task with Application Package + task = client.task.get(batch_job.id, task_id) + self.assertIsInstance(task, models.CloudTask) + self.assertEqual(task.application_package_references[0].application_id, 'application_id') + + @ResourceGroupPreparer(location=AZURE_LOCATION) + @AccountPreparer(location=AZURE_LOCATION) + def test_batch_certificates(self, **kwargs): + client = self.create_sharedkey_client(**kwargs) + # Test Add Certificate + certificate = models.CertificateAddParameter( + thumbprint='cff2ab63c8c955aaf71989efa641b906558d9fb7', + thumbprint_algorithm='sha1', + data='MIIGMQIBAzCCBe0GCSqGSIb3DQEHAaCCBd4EggXaMIIF1jCCA8AGCSqGSIb3DQEHAaCCA7EEggOtMIIDqTCCA6UGCyqGSIb3DQEMCgECoIICtjCCArIwHAYKKoZIhvcNAQwBAzAOBAhyd3xCtln3iQICB9AEggKQhe5P10V9iV1BsDlwWT561Yu2hVq3JT8ae/ebx1ZR/gMApVereDKkS9Zg4vFyssusHebbK5pDpU8vfAqle0TM4m7wGsRj453ZorSPUfMpHvQnAOn+2pEpWdMThU7xvZ6DVpwhDOQk9166z+KnKdHGuJKh4haMT7Rw/6xZ1rsBt2423cwTrQVMQyACrEkianpuujubKltN99qRoFAxhQcnYE2KlYKw7lRcExq6mDSYAyk5xJZ1ZFdLj6MAryZroQit/0g5eyhoNEKwWbi8px5j71pRTf7yjN+deMGQKwbGl+3OgaL1UZ5fCjypbVL60kpIBxLZwIJ7p3jJ+q9pbq9zSdzshPYor5lxyUfXqaso/0/91ayNoBzg4hQGh618PhFI6RMGjwkzhB9xk74iweJ9HQyIHf8yx2RCSI22JuCMitPMWSGvOszhbNx3AEDLuiiAOHg391mprEtKZguOIr9LrJwem/YmcHbwyz5YAbZmiseKPkllfC7dafFfCFEkj6R2oegIsZo0pEKYisAXBqT0g+6/jGwuhlZcBo0f7UIZm88iA3MrJCjlXEgV5OcQdoWj+hq0lKEdnhtCKr03AIfukN6+4vjjarZeW1bs0swq0l3XFf5RHa11otshMS4mpewshB9iO9MuKWpRxuxeng4PlKZ/zuBqmPeUrjJ9454oK35Pq+dghfemt7AUpBH/KycDNIZgfdEWUZrRKBGnc519C+RTqxyt5hWL18nJk4LvSd3QKlJ1iyJxClhhb/NWEzPqNdyA5cxen+2T9bd/EqJ2KzRv5/BPVwTQkHH9W/TZElFyvFfOFIW2+03RKbVGw72Mr/0xKZ+awAnEfoU+SL/2Gj2m6PHkqFX2sOCi/tN9EA4xgdswEwYJKoZIhvcNAQkVMQYEBAEAAAAwXQYJKwYBBAGCNxEBMVAeTgBNAGkAYwByAG8AcwBvAGYAdAAgAFMAdAByAG8AbgBnACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcjBlBgkqhkiG9w0BCRQxWB5WAFAAdgBrAFQAbQBwADoANABjAGUANgAwADQAZABhAC0AMAA2ADgAMQAtADQANAAxADUALQBhADIAYwBhAC0ANQA3ADcAMwAwADgAZQA2AGQAOQBhAGMwggIOBgkqhkiG9w0BBwGgggH/BIIB+zCCAfcwggHzBgsqhkiG9w0BDAoBA6CCAcswggHHBgoqhkiG9w0BCRYBoIIBtwSCAbMwggGvMIIBXaADAgECAhAdka3aTQsIsUphgIXGUmeRMAkGBSsOAwIdBQAwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3kwHhcNMTYwMTAxMDcwMDAwWhcNMTgwMTAxMDcwMDAwWjASMRAwDgYDVQQDEwdub2Rlc2RrMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC5fhcxbJHxxBEIDzVOMc56s04U6k4GPY7yMR1m+rBGVRiAyV4RjY6U936dqXHCVD36ps2Q0Z+OeEgyCInkIyVeB1EwXcToOcyeS2YcUb0vRWZDouC3tuFdHwiK1Ed5iW/LksmXDotyV7kpqzaPhOFiMtBuMEwNJcPge9k17hRgRQIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAHl2M97QbpzdnwO5HoRBsiEExOcLTNg+GKCr7HUsbzfvrUivw+JLL7qjHAIc5phnK+F5bQ8HKe0L9YXBSKl+fvwxFTATBgkqhkiG9w0BCRUxBgQEAQAAADA7MB8wBwYFKw4DAhoEFGVtyGMqiBd32fGpzlGZQoRM6UQwBBTI0YHFFqTS4Go8CoLgswn29EiuUQICB9A=', + certificate_format=models.CertificateFormat.pfx, + password='nodesdk') + + response = client.certificate.add(certificate) + self.assertIsNone(response) + + # Test List Certificates + certs = client.certificate.list() + test_cert = [c for c in certs if c.thumbprint == 'cff2ab63c8c955aaf71989efa641b906558d9fb7'] + self.assertEqual(len(test_cert), 1) + + # Test Get Certificate + cert = client.certificate.get('sha1', 'cff2ab63c8c955aaf71989efa641b906558d9fb7') + self.assertIsInstance(cert, models.Certificate) + self.assertEqual(cert.thumbprint, 'cff2ab63c8c955aaf71989efa641b906558d9fb7') + self.assertEqual(cert.thumbprint_algorithm, 'sha1') + self.assertIsNone(cert.delete_certificate_error) + + # Test Cancel Certificate Delete + self.assertBatchError('CertificateStateActive', + client.certificate.cancel_deletion, + 'sha1', + 'cff2ab63c8c955aaf71989efa641b906558d9fb7') + + # Test Delete Certificate + response = client.certificate.delete( + 'sha1', + 'cff2ab63c8c955aaf71989efa641b906558d9fb7') + self.assertIsNone(response) + + @ResourceGroupPreparer(location=AZURE_LOCATION) + @AccountPreparer(location=AZURE_LOCATION) + def test_batch_create_pools(self, **kwargs): + client = self.create_sharedkey_client(**kwargs) + # Test List Node Agent SKUs + response = client.account.list_node_agent_skus() + response = list(response) + self.assertTrue(len(response) > 1) + self.assertEqual(response[-1].id, "batch.node.windows amd64") + self.assertEqual(response[-1].os_type.value, "windows") + self.assertTrue(len(response[-1].verified_image_references) > 1) + + # Test Create Iaas Pool + users = [ + models.UserAccount('test-user-1', 'kt#_gahr!@aGERDXA'), + models.UserAccount('test-user-2', 'kt#_gahr!@aGERDXA', models.ElevationLevel.admin) + ] + test_iaas_pool = models.PoolAddParameter( + id=self.get_resource_name('batch_iaas_'), + vm_size='Standard_A1', + virtual_machine_configuration=models.VirtualMachineConfiguration( + image_reference=models.ImageReference( + publisher='MicrosoftWindowsServer', + offer='WindowsServer', + sku='2016-Datacenter-smalldisk' + ), + node_agent_sku_id='batch.node.windows amd64', + windows_configuration=models.WindowsConfiguration(True)), + task_scheduling_policy=models.TaskSchedulingPolicy(models.ComputeNodeFillType.pack), + user_accounts=users + ) + response = client.pool.add(test_iaas_pool) + self.assertIsNone(response) + + # Test Create Pool with Network Configuration + network_config = models.NetworkConfiguration('/subscriptions/00000000-0000-0000-0000-000000000000' + '/resourceGroups/test' + '/providers/Microsoft.Network' + '/virtualNetworks/vnet1' + '/subnets/subnet1') + test_network_pool = models.PoolAddParameter( + id=self.get_resource_name('batch_network_'), + vm_size='Standard_A1', + network_configuration=network_config, + virtual_machine_configuration=models.VirtualMachineConfiguration( + image_reference=models.ImageReference( + publisher='Canonical', + offer='UbuntuServer', + sku='16.04-LTS' + ), + node_agent_sku_id='batch.node.ubuntu 16.04') + ) + self.assertBatchError('InvalidPropertyValue', client.pool.add, test_network_pool, models.PoolAddOptions(timeout=45)) + + # Test Create Pool with Custom Image + test_image_pool = models.PoolAddParameter( + id=self.get_resource_name('batch_image_'), + vm_size='Standard_A1', + virtual_machine_configuration=models.VirtualMachineConfiguration( + image_reference=models.ImageReference( + virtual_machine_image_id="/subscriptions/00000000-0000-0000-0000-000000000000" + "/resourceGroups/test" + "/providers/Microsoft.Compute" + "/images/FakeImage" + ), + node_agent_sku_id='batch.node.ubuntu 16.04' + ) + ) + self.assertBatchError('InvalidPropertyValue', client.pool.add, test_image_pool, models.PoolAddOptions(timeout=45)) + + # Test Create Pool with OSDisk + os_disk = models.OSDisk(caching=models.CachingType.read_write) + test_osdisk_pool = models.PoolAddParameter( + id=self.get_resource_name('batch_osdisk_'), + vm_size='Standard_A1', + virtual_machine_configuration=models.VirtualMachineConfiguration( + image_reference=models.ImageReference( + publisher='Canonical', + offer='UbuntuServer', + sku='16.04-LTS' + ), + node_agent_sku_id='batch.node.ubuntu 16.04', + os_disk=os_disk) + ) + response = client.pool.add(test_osdisk_pool) + self.assertIsNone(response) + osdisk_pool = client.pool.get(test_osdisk_pool.id) + self.assertEqual(osdisk_pool.virtual_machine_configuration.os_disk.caching, os_disk.caching) + + # Test Create Pool with Data Disk + data_disk = models.DataDisk(lun=1, disk_size_gb=50) + test_disk_pool = models.PoolAddParameter( + id=self.get_resource_name('batch_disk_'), + vm_size='Standard_A1', + virtual_machine_configuration=models.VirtualMachineConfiguration( + image_reference=models.ImageReference( + publisher='Canonical', + offer='UbuntuServer', + sku='16.04-LTS' + ), + node_agent_sku_id='batch.node.ubuntu 16.04', + data_disks=[data_disk]) + ) + response = client.pool.add(test_disk_pool) + self.assertIsNone(response) + disk_pool = client.pool.get(test_disk_pool.id) + self.assertEqual(disk_pool.virtual_machine_configuration.data_disks[0].lun, 1) + self.assertEqual(disk_pool.virtual_machine_configuration.data_disks[0].disk_size_gb, 50) + + # Test Create Pool with Application Licenses + test_app_pool = models.PoolAddParameter( + id=self.get_resource_name('batch_app_'), + vm_size='Standard_A1', + application_licenses=["maya"], + virtual_machine_configuration=models.VirtualMachineConfiguration( + image_reference=models.ImageReference( + publisher='Canonical', + offer='UbuntuServer', + sku='16.04-LTS' + ), + node_agent_sku_id='batch.node.ubuntu 16.04', + data_disks=[data_disk]) + ) + response = client.pool.add(test_app_pool) + self.assertIsNone(response) + app_pool = client.pool.get(test_app_pool.id) + self.assertEqual(app_pool.application_licenses[0], "maya") + + # Test List Pools without Filters + pools = list(client.pool.list()) + self.assertTrue(len(pools) > 1) + + # Test List Pools with Maximum + options = models.PoolListOptions(max_results=1) + pools = client.pool.list(options) + pools.next() + self.assertEqual(len(pools.current_page), 1) + + # Test List Pools with Filter + options = models.PoolListOptions( + filter='startswith(id,\'batch_app_\')', + select='id,state', + expand='stats') + pools = list(client.pool.list(options)) + self.assertEqual(len(pools), 1) + + @ResourceGroupPreparer(location=AZURE_LOCATION) + @AccountPreparer(location=AZURE_LOCATION) + def test_batch_update_pools(self, **kwargs): + client = self.create_sharedkey_client(**kwargs) + # Test Create Paas Pool + test_paas_pool = models.PoolAddParameter( + id=self.get_resource_name('batch_paas_'), + vm_size='small', + cloud_service_configuration=models.CloudServiceConfiguration( + os_family='5' + ), + start_task=models.StartTask( + command_line="cmd.exe /c \"echo hello world\"", + resource_files=[models.ResourceFile('https://blobsource.com', 'filename.txt')], + environment_settings=[models.EnvironmentSetting('ENV_VAR', 'env_value')], + user_identity=models.UserIdentity( + auto_user=models.AutoUserSpecification( + elevation_level=models.ElevationLevel.admin + ) + ) + ) + ) + response = client.pool.add(test_paas_pool) + self.assertIsNone(response) + + # Test Upgrade Pool OS + self.assertBatchError( + "PoolVersionEqualsUpgradeVersion", + client.pool.upgrade_os, + test_paas_pool.id, + "*" + ) + + # Test Update Pool Parameters + params = models.PoolUpdatePropertiesParameter([], [], [models.MetadataItem('foo', 'bar')]) + response = client.pool.update_properties(test_paas_pool.id, params) + self.assertIsNone(response) + + # Test Patch Pool Parameters + params = models.PoolPatchParameter(metadata=[models.MetadataItem('foo2', 'bar2')]) + response = client.pool.patch(test_paas_pool.id, params) + self.assertIsNone(response) + + # Test Pool Exists + response = client.pool.exists(test_paas_pool.id) + self.assertTrue(response) + + # Test Get Pool + pool = client.pool.get(test_paas_pool.id) + self.assertIsInstance(pool, models.CloudPool) + self.assertEqual(pool.id, test_paas_pool.id) + self.assertEqual(pool.state, models.PoolState.active) + self.assertEqual(pool.allocation_state, models.AllocationState.steady) + self.assertEqual(pool.cloud_service_configuration.os_family, '5') + self.assertEqual(pool.vm_size, 'small') + self.assertIsNone(pool.start_task) + self.assertEqual(pool.metadata[0].name, 'foo2') + self.assertEqual(pool.metadata[0].value, 'bar2') + + # Test Get Pool with OData Clauses + options = models.PoolGetOptions(select='id,state', expand='stats') + pool = client.pool.get(test_paas_pool.id, options) + self.assertIsInstance(pool, models.CloudPool) + self.assertEqual(pool.id, test_paas_pool.id) + self.assertEqual(pool.state, models.PoolState.active) + self.assertIsNone(pool.allocation_state) + self.assertIsNone(pool.vm_size) + + # Test Delete Pool + response = client.pool.delete(test_paas_pool.id) + self.assertIsNone(response) + + @ResourceGroupPreparer(location=AZURE_LOCATION) + @AccountPreparer(location=AZURE_LOCATION) + @PoolPreparer(location=AZURE_LOCATION) + def test_batch_scale_pools(self, batch_pool, **kwargs): + client = self.create_sharedkey_client(**kwargs) + # Test Enable Autoscale + interval = datetime.timedelta(minutes=6) + response = client.pool.enable_auto_scale( + batch_pool.name, + auto_scale_formula='$TargetDedicatedNodes=2', + auto_scale_evaluation_interval=interval) + + self.assertIsNone(response) + + # Test Evaluate Autoscale + result = client.pool.evaluate_auto_scale(batch_pool.name, '$TargetDedicatedNodes=3') + self.assertIsInstance(result, models.AutoScaleRun) + self.assertEqual( + result.results, + '$TargetDedicatedNodes=3;$TargetLowPriorityNodes=0;$NodeDeallocationOption=requeue') + + # Test Disable Autoscale + response = client.pool.disable_auto_scale(batch_pool.name) + self.assertIsNone(response) + + # Test Pool Resize + pool = client.pool.get(batch_pool.name) + while self.is_live and pool.allocation_state != models.AllocationState.steady: + time.sleep(20) + pool = client.pool.get(batch_pool.name) + self.assertEqual(pool.target_dedicated_nodes, 2) + self.assertEqual(pool.target_low_priority_nodes, 0) + params = models.PoolResizeParameter(target_dedicated_nodes=0, target_low_priority_nodes=2) + response = client.pool.resize(batch_pool.name, params) + self.assertIsNone(response) + + # Test Stop Pool Resize + response = client.pool.stop_resize(batch_pool.name) + self.assertIsNone(response) + pool = client.pool.get(batch_pool.name) + while self.is_live and pool.allocation_state != models.AllocationState.steady: + time.sleep(20) + pool = client.pool.get(batch_pool.name) + self.assertEqual(pool.target_dedicated_nodes, 2) + self.assertEqual(pool.target_low_priority_nodes, 0) + + # Test Get All Pools Lifetime Statistics + stats = client.pool.get_all_lifetime_statistics() + self.assertIsInstance(stats, models.PoolStatistics) + self.assertIsNotNone(stats.resource_stats.avg_cpu_percentage) + self.assertIsNotNone(stats.resource_stats.network_read_gi_b) + self.assertIsNotNone(stats.resource_stats.disk_write_gi_b) + self.assertIsNotNone(stats.resource_stats.peak_disk_gi_b) + + # Test Get Pool Usage Info + info = list(client.pool.list_usage_metrics()) + self.assertEqual(info, []) + + @ResourceGroupPreparer(location=AZURE_LOCATION) + @AccountPreparer(location=AZURE_LOCATION) + def test_batch_job_schedules(self, **kwargs): + client = self.create_aad_client(**kwargs) + # Test Create Job Schedule + schedule_id = self.get_resource_name('batch_schedule_') + job_spec = models.JobSpecification( + pool_info=models.PoolInformation("pool_id"), + constraints=models.JobConstraints(max_task_retry_count=2), + on_all_tasks_complete=models.OnAllTasksComplete.terminate_job + ) + schedule = models.Schedule( + start_window=datetime.timedelta(hours=1), + recurrence_interval=datetime.timedelta(days=1) + ) + params = models.JobScheduleAddParameter( + schedule_id, + schedule, + job_spec + ) + response = client.job_schedule.add(params) + self.assertIsNone(response) + + # Test List Job Schedules + schedules = list(client.job_schedule.list()) + self.assertTrue(len(schedules) > 0) + + # Test Get Job Schedule + schedule = client.job_schedule.get(schedule_id) + self.assertIsInstance(schedule, models.CloudJobSchedule) + self.assertEqual(schedule.id, schedule_id) + self.assertEqual(schedule.state, models.JobScheduleState.active) + + # Test Job Schedule Exists + exists = client.job_schedule.exists(schedule_id) + self.assertTrue(exists) + + # Test List Jobs from Schedule + jobs = list(client.job.list_from_job_schedule(schedule_id)) + self.assertTrue(len(jobs) > 0) + + # Test Disable Job Schedule + response = client.job_schedule.disable(schedule_id) + self.assertIsNone(response) + + # Test Enable Job Schedule + response = client.job_schedule.enable(schedule_id) + self.assertIsNone(response) + + # Test Update Job Schedule + job_spec = models.JobSpecification( + pool_info=models.PoolInformation('pool_id') + ) + schedule = models.Schedule( + recurrence_interval=datetime.timedelta(hours=10) + ) + params = models.JobScheduleUpdateParameter(schedule, job_spec) + response = client.job_schedule.update(schedule_id, params) + self.assertIsNone(response) + + # Test Patch Job Schedule + schedule = models.Schedule( + recurrence_interval=datetime.timedelta(hours=5) + ) + params = models.JobSchedulePatchParameter(schedule) + response = client.job_schedule.patch(schedule_id, params) + self.assertIsNone(response) + + # Test Terminate Job Schedule + response = client.job_schedule.terminate(schedule_id) + self.assertIsNone(response) + + # Test Delete Job Schedule + response = client.job_schedule.delete(schedule_id) + self.assertIsNone(response) + + @ResourceGroupPreparer(location=AZURE_LOCATION) + @AccountPreparer(location=AZURE_LOCATION) + def test_batch_network_configuration(self, **kwargs): + client = self.create_aad_client(**kwargs) + # Test Create Pool with Network Config + network_config = models.NetworkConfiguration( + endpoint_configuration=models.PoolEndpointConfiguration( + inbound_nat_pools=[ + models.InboundNATPool( + name="TestEndpointConfig", + protocol=models.InboundEndpointProtocol.udp, + backend_port=64444, + frontend_port_range_start=60000, + frontend_port_range_end=61000, + network_security_group_rules=[ + models.NetworkSecurityGroupRule( + priority=150, + access=models.NetworkSecurityGroupRuleAccess.allow, + source_address_prefix='*' + ) + ] + ) + ] + ) + ) + virtual_machine_config = models.VirtualMachineConfiguration( + node_agent_sku_id="batch.node.ubuntu 16.04", + image_reference=models.ImageReference( + publisher="Canonical", + offer="UbuntuServer", + sku="16.04-LTS") + ) + pool = models.PoolAddParameter( + id=self.get_resource_name('batch_network_'), + target_dedicated_nodes=1, + vm_size='Standard_A1', + virtual_machine_configuration=virtual_machine_config, + network_configuration=network_config + ) + + client.pool.add(pool) + network_pool = client.pool.get(pool.id) + while self.is_live and network_pool.allocation_state != models.AllocationState.steady: + time.sleep(10) + network_pool = client.pool.get(pool.id) + + # Test Compute Node Config + nodes = list(client.compute_node.list(pool.id)) + self.assertEqual(len(nodes), 1) + self.assertIsInstance(nodes[0], models.ComputeNode) + self.assertEqual(len(nodes[0].endpoint_configuration.inbound_endpoints), 2) + self.assertEqual(nodes[0].endpoint_configuration.inbound_endpoints[0].name, 'TestEndpointConfig.0') + self.assertEqual(nodes[0].endpoint_configuration.inbound_endpoints[0].protocol.value, 'udp') + + @ResourceGroupPreparer(location=AZURE_LOCATION) + @AccountPreparer(location=AZURE_LOCATION) + @PoolPreparer(location=AZURE_LOCATION, size=2, config='paas') + def test_batch_compute_nodes(self, batch_pool, **kwargs): + client = self.create_sharedkey_client(**kwargs) + # Test List Compute Nodes + nodes = list(client.compute_node.list(batch_pool.name)) + self.assertEqual(len(nodes), 2) + while self.is_live and any([n for n in nodes if n.state != models.ComputeNodeState.idle]): + time.sleep(10) + nodes = list(client.compute_node.list(batch_pool.name)) + + # Test Get Compute Node + node = client.compute_node.get(batch_pool.name, nodes[0].id) + self.assertIsInstance(node, models.ComputeNode) + self.assertEqual(node.scheduling_state, models.SchedulingState.enabled) + self.assertTrue(node.is_dedicated) + + # Test Disable Scheduling + response = client.compute_node.disable_scheduling(batch_pool.name, nodes[0].id) + self.assertIsNone(response) + + # Test Enable Scheduling + response = client.compute_node.enable_scheduling(batch_pool.name, nodes[0].id) + self.assertIsNone(response) + + # Test Reboot Node + response = client.compute_node.reboot( + batch_pool.name, nodes[0].id, node_reboot_option=models.ComputeNodeRebootOption.terminate) + self.assertIsNone(response) + + # Test Reimage Node + response = client.compute_node.reimage( + batch_pool.name, nodes[1].id, node_reimage_option=models.ComputeNodeReimageOption.terminate) + self.assertIsNone(response) + + # Test Remove Nodes + options = models.NodeRemoveParameter([n.id for n in nodes]) + response = client.pool.remove_nodes(batch_pool.name, options) + self.assertIsNone(response) + + @ResourceGroupPreparer(location=AZURE_LOCATION) + @AccountPreparer(location=AZURE_LOCATION) + @PoolPreparer(location=AZURE_LOCATION, size=1, config='paas') + def test_batch_compute_node_user(self, batch_pool, **kwargs): + client = self.create_sharedkey_client(**kwargs) + nodes = list(client.compute_node.list(batch_pool.name)) + while self.is_live and any([n for n in nodes if n.state != models.ComputeNodeState.idle]): + time.sleep(10) + nodes = list(client.compute_node.list(batch_pool.name)) + + # Test Add User + user_name = 'BatchPythonSDKUser' + nodes = list(client.compute_node.list(batch_pool.name)) + user = models.ComputeNodeUser(user_name, password='kt#_gahr!@aGERDXA', is_admin=False) + response = client.compute_node.add_user(batch_pool.name, nodes[0].id, user) + self.assertIsNone(response) + + # Test Update User + user = models.NodeUpdateUserParameter(password='liilef#$DdRGSa_ewkjh') + response = client.compute_node.update_user(batch_pool.name, nodes[0].id, user_name, user) + self.assertIsNone(response) + + # Test Get RDP File + file_length = 0 + with io.BytesIO() as file_handle: + response = client.compute_node.get_remote_desktop(batch_pool.name, nodes[0].id) + if response: + for data in response: + file_length += len(data) + self.assertTrue(file_length > 0) + + # Test Delete User + response = client.compute_node.delete_user(batch_pool.name, nodes[0].id, user_name) + self.assertIsNone(response) + + @ResourceGroupPreparer(location=AZURE_LOCATION) + @StorageAccountPreparer(name_prefix='batch4', location=AZURE_LOCATION) + @AccountPreparer(location=AZURE_LOCATION, name_prefix='batch4') + @PoolPreparer(size=1) + @JobPreparer() + def test_batch_files(self, batch_pool, batch_job, **kwargs): + client = self.create_sharedkey_client(**kwargs) + nodes = list(client.compute_node.list(batch_pool.name)) + while self.is_live and any([n for n in nodes if n.state != models.ComputeNodeState.idle]): + time.sleep(10) + nodes = list(client.compute_node.list(batch_pool.name)) + node = nodes[0].id + task_id = 'test_task' + task_param = models.TaskAddParameter(task_id, 'cmd /c "echo hello world"') + response = client.task.add(batch_job.id, task_param) + self.assertIsNone(response) + task = client.task.get(batch_job.id, task_id) + while self.is_live and task.state != models.TaskState.completed: + time.sleep(5) + task = client.task.get(batch_job.id, task_id) + + # Test List Files from Compute Node + all_files = client.file.list_from_compute_node(batch_pool.name, node, recursive=True) + only_files = [f for f in all_files if not f.is_directory] + self.assertTrue(len(only_files) >= 2) + + # Test File Properties from Compute Node + props = client.file.get_properties_from_compute_node( + batch_pool.name, node, only_files[0].name, raw=True) + self.assertTrue('Content-Length' in props.headers) + self.assertTrue('Content-Type' in props.headers) + + # Test Get File from Compute Node + file_length = 0 + with io.BytesIO() as file_handle: + response = client.file.get_from_compute_node(batch_pool.name, node, only_files[0].name) + for data in response: + file_length += len(data) + self.assertEqual(file_length, props.headers['Content-Length']) + + # Test Delete File from Compute Node + response = client.file.delete_from_compute_node(batch_pool.name, node, only_files[0].name) + self.assertIsNone(response) + + # Test List Files from Task + all_files = client.file.list_from_task(batch_job.id, task_id) + only_files = [f for f in all_files if not f.is_directory] + self.assertTrue(len(only_files) >= 1) + + # Test File Properties from Task + props = client.file.get_properties_from_task( + batch_job.id, task_id, only_files[0].name, raw=True) + self.assertTrue('Content-Length' in props.headers) + self.assertTrue('Content-Type' in props.headers) + + # Test Get File from Task + file_length = 0 + with io.BytesIO() as file_handle: + response = client.file.get_from_task(batch_job.id, task_id, only_files[0].name) + for data in response: + file_length += len(data) + self.assertEqual(file_length, props.headers['Content-Length']) + + # Test Delete File from Task + response = client.file.delete_from_task(batch_job.id, task_id, only_files[0].name) + self.assertIsNone(response) + + @ResourceGroupPreparer(location=AZURE_LOCATION) + @AccountPreparer(location=AZURE_LOCATION) + @JobPreparer(on_task_failure=models.OnTaskFailure.perform_exit_options_job_action) + def test_batch_tasks(self, batch_job, **kwargs): + client = self.create_sharedkey_client(**kwargs) + + # Test Create Task with Auto Complete + exit_conditions = models.ExitConditions( + exit_codes=[models.ExitCodeMapping(1, models.ExitOptions(models.JobAction.terminate))], + exit_code_ranges=[models.ExitCodeRangeMapping(2, 4, models.ExitOptions(models.JobAction.disable))], + default=models.ExitOptions(models.JobAction.none)) + task_param = models.TaskAddParameter( + id=self.get_resource_name('batch_task1_'), + command_line='cmd /c "echo hello world"', + exit_conditions=exit_conditions + ) + try: + client.task.add(batch_job.id, task_param) + except models.BatchErrorException as e: + message = "{}: ".format(e.error.code, e.error.message) + for v in e.error.values: + message += "\n{}: {}".format(v.key, v.value) + raise Exception(message) + task = client.task.get(batch_job.id, task_param.id) + self.assertIsInstance(task, models.CloudTask) + self.assertEqual(task.exit_conditions.default.job_action, models.JobAction.none) + self.assertEqual(task.exit_conditions.exit_codes[0].code, 1) + self.assertEqual(task.exit_conditions.exit_codes[0].exit_options.job_action, models.JobAction.terminate) + + # Test Create Task with Output Files + container_url = "https://test.blob.core.windows.net:443/test-container" + outputs = [ + models.OutputFile( + file_pattern="../stdout.txt", + destination=models.OutputFileDestination( + container=models.OutputFileBlobContainerDestination( + container_url=container_url, path="taskLogs/output.txt")), + upload_options=models.OutputFileUploadOptions( + upload_condition=models.OutputFileUploadCondition.task_completion)), + models.OutputFile( + file_pattern="../stderr.txt", + destination=models.OutputFileDestination( + container=models.OutputFileBlobContainerDestination( + container_url=container_url, path="taskLogs/error.txt")), + upload_options=models.OutputFileUploadOptions( + upload_condition=models.OutputFileUploadCondition.task_failure)), + ] + task_param = models.TaskAddParameter( + id=self.get_resource_name('batch_task2_'), + command_line='cmd /c "echo hello world"', + output_files=outputs + ) + client.task.add(batch_job.id, task_param) + task = client.task.get(batch_job.id, task_param.id) + self.assertIsInstance(task, models.CloudTask) + self.assertEqual(len(task.output_files), 2) + + # Test Create Task with Auto User + auto_user = models.AutoUserSpecification( + scope=models.AutoUserScope.task, + elevation_level=models.ElevationLevel.admin) + task_param = models.TaskAddParameter( + id=self.get_resource_name('batch_task3_'), + command_line='cmd /c "echo hello world"', + user_identity=models.UserIdentity(auto_user=auto_user) + ) + client.task.add(batch_job.id, task_param) + task = client.task.get(batch_job.id, task_param.id) + self.assertIsInstance(task, models.CloudTask) + self.assertEqual(task.user_identity.auto_user.scope, models.AutoUserScope.task) + self.assertEqual(task.user_identity.auto_user.elevation_level, models.ElevationLevel.admin) + + # Test Create Task with Token Settings + task_param = models.TaskAddParameter( + id=self.get_resource_name('batch_task4_'), + command_line='cmd /c "echo hello world"', + authentication_token_settings=models.AuthenticationTokenSettings( + access=[models.AccessScope.job]) + ) + client.task.add(batch_job.id, task_param) + task = client.task.get(batch_job.id, task_param.id) + self.assertIsInstance(task, models.CloudTask) + self.assertEqual(task.authentication_token_settings.access[0], models.AccessScope.job) + + # Test Create Task with Container Settings + task_param = models.TaskAddParameter( + id=self.get_resource_name('batch_task5_'), + command_line='cmd /c "echo hello world"', + container_settings=models.TaskContainerSettings( + image_name='windows_container:latest', + registry=models.ContainerRegistry('username', 'password')) + ) + client.task.add(batch_job.id, task_param) + task = client.task.get(batch_job.id, task_param.id) + self.assertIsInstance(task, models.CloudTask) + self.assertEqual(task.container_settings.image_name, 'windows_container:latest') + self.assertEqual(task.container_settings.registry.user_name, 'username') + + # Test Create Task with Run-As-User + task_param = models.TaskAddParameter( + id=self.get_resource_name('batch_task6_'), + command_line='cmd /c "echo hello world"', + user_identity=models.UserIdentity(user_name='task-user') + ) + client.task.add(batch_job.id, task_param) + task = client.task.get(batch_job.id, task_param.id) + self.assertIsInstance(task, models.CloudTask) + self.assertEqual(task.user_identity.user_name, 'task-user') + + # Test Add Task Collection + tasks = [] + for i in range(7, 10): + tasks.append(models.TaskAddParameter( + self.get_resource_name('batch_task{}_'.format(i)), 'cmd /c "echo hello world"')) + result = client.task.add_collection(batch_job.id, tasks) + self.assertIsInstance(result, models.TaskAddCollectionResult) + self.assertEqual(len(result.value), 3) + self.assertEqual(result.value[0].status, models.TaskAddStatus.success) + + # Test List Tasks + tasks = list(client.task.list(batch_job.id)) + self.assertEqual(len(tasks), 9) + + # Test Count Tasks + task_counts = client.job.get_task_counts(batch_job.id) + self.assertIsInstance(task_counts, models.TaskCounts) + self.assertEqual(task_counts.completed, 0) + self.assertEqual(task_counts.succeeded, 0) + self.assertEqual(task_counts.validation_status, models.TaskCountValidationStatus.validated) + + # Test Terminate Task + response = client.task.terminate(batch_job.id, task_param.id) + self.assertIsNone(response) + task = client.task.get(batch_job.id, task_param.id) + self.assertEqual(task.state, models.TaskState.completed) + + # Test Reactivate Task + response = client.task.reactivate(batch_job.id, task_param.id) + self.assertIsNone(response) + task = client.task.get(batch_job.id, task_param.id) + self.assertEqual(task.state, models.TaskState.active) + + # Test Update Task + response = client.task.update( + batch_job.id, task_param.id, + constraints=models.TaskConstraints(max_task_retry_count=1)) + self.assertIsNone(response) + + # Test Get Subtasks + # TODO: Test with actual subtasks + subtasks = client.task.list_subtasks(batch_job.id, task_param.id) + self.assertIsInstance(subtasks, models.CloudTaskListSubtasksResult) + self.assertEqual(subtasks.value, []) + + # Test Delete Task + response = client.task.delete(batch_job.id, task_param.id) + self.assertIsNone(response) + + @ResourceGroupPreparer(location=AZURE_LOCATION) + @AccountPreparer(location=AZURE_LOCATION) + def test_batch_jobs(self, **kwargs): + client = self.create_sharedkey_client(**kwargs) + # Test Create Job + auto_pool = models.AutoPoolSpecification( + pool_lifetime_option=models.PoolLifetimeOption.job, + pool=models.PoolSpecification( + vm_size='small', + cloud_service_configuration=models.CloudServiceConfiguration( + os_family='5' + ) + ) + ) + job_prep = models.JobPreparationTask(command_line="cmd /c \"echo hello world\"") + job_release = models.JobReleaseTask(command_line="cmd /c \"echo goodbye world\"") + job_param = models.JobAddParameter( + id=self.get_resource_name('batch_job1_'), + pool_info=models.PoolInformation( + auto_pool_specification=auto_pool + ), + job_preparation_task=job_prep, + job_release_task=job_release + ) + response = client.job.add(job_param) + self.assertIsNone(response) + + # Test Update Job + constraints = models.JobConstraints(max_task_retry_count=3) + options = models.JobUpdateParameter( + priority=500, + constraints=constraints, + pool_info=models.PoolInformation( + auto_pool_specification=auto_pool + ) + ) + response = client.job.update(job_param.id, options) + self.assertIsNone(response) + + # Test Patch Job + options = models.JobPatchParameter(priority=900) + response = client.job.patch(job_param.id, options) + self.assertIsNone(response) + + job = client.job.get(job_param.id) + self.assertIsInstance(job, models.CloudJob) + self.assertEqual(job.id, job_param.id) + self.assertEqual(job.constraints.max_task_retry_count, 3) + self.assertEqual(job.priority, 900) + + # Test Create Job with Auto Complete + job_auto_param = models.JobAddParameter( + id=self.get_resource_name('batch_job2_'), + on_all_tasks_complete=models.OnAllTasksComplete.terminate_job, + on_task_failure=models.OnTaskFailure.perform_exit_options_job_action, + pool_info=models.PoolInformation( + auto_pool_specification=auto_pool + ) + ) + response = client.job.add(job_auto_param) + self.assertIsNone(response) + job = client.job.get(job_auto_param.id) + self.assertIsInstance(job, models.CloudJob) + self.assertEqual(job.on_all_tasks_complete, models.OnAllTasksComplete.terminate_job) + self.assertEqual(job.on_task_failure, models.OnTaskFailure.perform_exit_options_job_action) + + # Test List Jobs + jobs = client.job.list() + self.assertIsInstance(jobs, models.CloudJobPaged) + self.assertEqual(len(list(jobs)), 2) + + # Test Disable Job + response = client.job.disable(job_param.id, models.DisableJobOption.requeue) + self.assertIsNone(response) + + # Test Enable Job + response = client.job.enable(job_param.id) + self.assertIsNone(response) + + # Prep and release task status + task_status = client.job.list_preparation_and_release_task_status(job_param.id) + self.assertIsInstance(task_status, models.JobPreparationAndReleaseTaskExecutionInformationPaged) + self.assertEqual(list(task_status), []) + + # Test Terminate Job + response = client.job.terminate(job_param.id) + self.assertIsNone(response) + + # Test Delete Job + response = client.job.delete(job_auto_param.id) + self.assertIsNone(response) + + # Test Job Lifetime Statistics + stats = client.job.get_all_lifetime_statistics() + self.assertIsInstance(stats, models.JobStatistics) + self.assertEqual(stats.num_succeeded_tasks, 0) + self.assertEqual(stats.num_failed_tasks, 0) diff --git a/azure-mgmt-batch/tests/preparers.py b/azure-mgmt-batch/tests/preparers.py new file mode 100644 index 000000000000..655143c72df6 --- /dev/null +++ b/azure-mgmt-batch/tests/preparers.py @@ -0,0 +1,135 @@ +from collections import namedtuple +import os + +import azure.mgmt.keyvault +import azure.mgmt.batch + +from azure_devtools.scenario_tests.preparers import ( + AbstractPreparer, + SingleValueReplacer, +) +from azure_devtools.scenario_tests.exceptions import AzureTestError + +from devtools_testutils import AzureMgmtPreparer, ResourceGroupPreparer, FakeResource +from devtools_testutils.resource_testcase import RESOURCE_GROUP_PARAM + + +class KeyVaultPreparer(AzureMgmtPreparer): + def __init__(self, + name_prefix='batch', + location='westus', + parameter_name='keyvault', + resource_group_parameter_name=RESOURCE_GROUP_PARAM, + disable_recording=True, playback_fake_resource=None, + client_kwargs=None): + super(KeyVaultPreparer, self).__init__(name_prefix, 24, + disable_recording=disable_recording, + playback_fake_resource=playback_fake_resource, + client_kwargs=client_kwargs) + self.location = location + self.resource_group_parameter_name = resource_group_parameter_name + self.parameter_name = parameter_name + self.parameter_name_for_location='location' + + def _get_resource_group(self, **kwargs): + try: + return kwargs.get(self.resource_group_parameter_name) + except KeyError: + template = 'To create a keyvault a resource group is required. Please add ' \ + 'decorator @{} in front of this storage account preparer.' + raise AzureTestError(template.format(ResourceGroupPreparer.__name__)) + + def create_resource(self, name, **kwargs): + name = name.replace('_', '-') + #raise Exception(name) + if self.is_live: + self.client = self.create_mgmt_client( + azure.mgmt.keyvault.KeyVaultManagementClient) + group = self._get_resource_group(**kwargs) + self.resource = self.client.vaults.create_or_update( + group.name, + name, + { + 'location': self.location, + 'properties': { + 'sku': {'name': 'standard'}, + 'tenant_id': "72f988bf-86f1-41af-91ab-2d7cd011db47", + 'enabled_for_deployment': True, + 'enabled_for_disk_encryption': True, + 'enabled_for_template_deployment': True, + 'access_policies': [ { + 'tenant_id': "72f988bf-86f1-41af-91ab-2d7cd011db47", + 'object_id': "f520d84c-3fd3-4cc8-88d4-2ed25b00d27a", + 'permissions': { + 'keys': ['all'], + 'secrets': ['all'] + } + }] + } + } + ) + else: + self.resource = FakeResource(name=name, id=name) + return { + self.parameter_name: self.resource, + } + + def remove_resource(self, name, **kwargs): + name = name.replace('_', '-') + if self.is_live: + group = self._get_resource_group(**kwargs) + self.client.vaults.delete(group.name, name) + + +class SimpleBatchPreparer(AzureMgmtPreparer): + def __init__(self, + name_prefix='batch', + location='westus', + parameter_name='batch_account', + resource_group_parameter_name=RESOURCE_GROUP_PARAM, + disable_recording=True, playback_fake_resource=None, + client_kwargs=None): + super(SimpleBatchPreparer, self).__init__(name_prefix, 24, + disable_recording=disable_recording, + playback_fake_resource=playback_fake_resource, + client_kwargs=client_kwargs) + self.location = location + self.resource_group_parameter_name = resource_group_parameter_name + self.parameter_name = parameter_name + self.parameter_name_for_location='location' + + def _get_resource_group(self, **kwargs): + try: + return kwargs.get(self.resource_group_parameter_name) + except KeyError: + template = 'To create a batch account a resource group is required. Please add ' \ + 'decorator @{} in front of this storage account preparer.' + raise AzureTestError(template.format(ResourceGroupPreparer.__name__)) + + def create_resource(self, name, **kwargs): + if self.is_live: + self.client = self.create_mgmt_client( + azure.mgmt.batch.BatchManagementClient) + group = self._get_resource_group(**kwargs) + batch_account = azure.mgmt.batch.models.BatchAccountCreateParameters( + location=self.location, + ) + account_setup = self.client.batch_account.create( + group.name, + name, + batch_account) + self.resource = account_setup.result() + else: + self.resource = FakeResource(name=name, id=name) + return { + self.parameter_name: self.resource, + } + + def remove_resource(self, name, **kwargs): + if self.is_live: + group = self._get_resource_group(**kwargs) + deleting = self.client.batch_account.delete(group.name, name) + try: + deleting.wait() + except: + pass diff --git a/azure-mgmt-batch/tests/recordings/test_mgmt_batch.test_mgmt_batch_account.yaml b/azure-mgmt-batch/tests/recordings/test_mgmt_batch.test_mgmt_batch_account.yaml new file mode 100644 index 000000000000..19d3d01245ab --- /dev/null +++ b/azure-mgmt-batch/tests/recordings/test_mgmt_batch.test_mgmt_batch_account.yaml @@ -0,0 +1,254 @@ +interactions: +- request: + body: '{"location": "eastus2"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['23'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_account3e1b0fe5/providers/Microsoft.Batch/batchAccounts/batch3e1b0fe5?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Tue, 07 Nov 2017 15:42:31 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_account3e1b0fe5/providers/Microsoft.Batch/batchAccounts/batch3e1b0fe5/operationResults/b0b18fbc-2ba3-4814-90f3-420a4f5d1510?api-version=2017-09-01'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_account3e1b0fe5/providers/Microsoft.Batch/batchAccounts/batch3e1b0fe5/operationResults/b0b18fbc-2ba3-4814-90f3-420a4f5d1510?api-version=2017-09-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_account3e1b0fe5/providers/Microsoft.Batch/batchAccounts/batch3e1b0fe5","name":"batch3e1b0fe5","type":"Microsoft.Batch/batchAccounts","location":"eastus2","properties":{"accountEndpoint":"batch3e1b0fe5.eastus2.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":20,"lowPriorityCoreQuota":20,"poolQuota":20,"activeJobAndJobScheduleQuota":20,"poolAllocationMode":"BatchService"}}'} + headers: + cache-control: [no-cache] + content-length: ['500'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 07 Nov 2017 15:42:46 GMT'] + etag: ['"0x8D525F631E3B419"'] + expires: ['-1'] + last-modified: ['Tue, 07 Nov 2017 15:42:47 GMT'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + 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-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_account3e1b0fe5/providers/Microsoft.Batch/batchAccounts/batch3e1b0fe5?api-version=2017-09-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_account3e1b0fe5/providers/Microsoft.Batch/batchAccounts/batch3e1b0fe5","name":"batch3e1b0fe5","type":"Microsoft.Batch/batchAccounts","location":"eastus2","properties":{"accountEndpoint":"batch3e1b0fe5.eastus2.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":20,"lowPriorityCoreQuota":20,"poolQuota":20,"activeJobAndJobScheduleQuota":20,"poolAllocationMode":"BatchService"}}'} + headers: + cache-control: [no-cache] + content-length: ['500'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 07 Nov 2017 15:42:48 GMT'] + etag: ['"0x8D525F6283DA81C"'] + expires: ['-1'] + last-modified: ['Tue, 07 Nov 2017 15:42:31 GMT'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + 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-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_account3e1b0fe5/providers/Microsoft.Batch/batchAccounts?api-version=2017-09-01 + response: + body: {string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_account3e1b0fe5/providers/Microsoft.Batch/batchAccounts/batch3e1b0fe5","name":"batch3e1b0fe5","type":"Microsoft.Batch/batchAccounts","location":"eastus2","properties":{"accountEndpoint":"batch3e1b0fe5.eastus2.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":20,"lowPriorityCoreQuota":20,"poolQuota":20,"activeJobAndJobScheduleQuota":20,"poolAllocationMode":"BatchService"}}]}'} + headers: + cache-control: [no-cache] + content-length: ['512'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 07 Nov 2017 15:42:48 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + 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; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_account3e1b0fe5/providers/Microsoft.Batch/batchAccounts/batch3e1b0fe5/listKeys?api-version=2017-09-01 + response: + body: {string: '{"accountName":"batch3e1b0fe5","primary":"EniHI2D/K4xqCtNtGBs13lcaHJjup648zYnKGpADUz6mJkdnBN+sk7qQnH62jQNDxUxLc8WjwdyecsNNUdBcgA==","secondary":"NDhnlby44rS2qeveMzgUNmNbWr8xPUcKdDvJfKaywl+AJrBzN2w2PUYRjhRa6qitXXSUdQgB+8G3Bd/ASU6Cvg=="}'} + headers: + cache-control: [no-cache] + content-length: ['235'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 07 Nov 2017 15:42:48 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 200, message: OK} +- request: + body: '{"keyName": "Secondary"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['24'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_account3e1b0fe5/providers/Microsoft.Batch/batchAccounts/batch3e1b0fe5/regenerateKeys?api-version=2017-09-01 + response: + body: {string: '{"accountName":"batch3e1b0fe5","primary":"EniHI2D/K4xqCtNtGBs13lcaHJjup648zYnKGpADUz6mJkdnBN+sk7qQnH62jQNDxUxLc8WjwdyecsNNUdBcgA==","secondary":"SMV+UbTbzf2roAQxF58begjHThQfONUBSDoB5YY/7sw6AqicxU62OoBXEqDQwl0G8+9uPWgpvdk8Lkhy7F3GCg=="}'} + headers: + cache-control: [no-cache] + content-length: ['235'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 07 Nov 2017 15:42:50 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] + status: {code: 200, message: OK} +- request: + body: '{"tags": {"Name": "tagName", "Value": "tagValue"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['50'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: PATCH + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_account3e1b0fe5/providers/Microsoft.Batch/batchAccounts/batch3e1b0fe5?api-version=2017-09-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_account3e1b0fe5/providers/Microsoft.Batch/batchAccounts/batch3e1b0fe5","name":"batch3e1b0fe5","type":"Microsoft.Batch/batchAccounts","location":"eastus2","properties":{"accountEndpoint":"batch3e1b0fe5.eastus2.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":20,"lowPriorityCoreQuota":20,"poolQuota":20,"activeJobAndJobScheduleQuota":20,"poolAllocationMode":"BatchService"},"tags":{"Name":"tagName","Value":"tagValue"}}'} + headers: + cache-control: [no-cache] + content-length: ['545'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 07 Nov 2017 15:42:53 GMT'] + etag: ['"0x8D525F634AE2760"'] + expires: ['-1'] + last-modified: ['Tue, 07 Nov 2017 15:42:51 GMT'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + 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; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_account3e1b0fe5/providers/Microsoft.Batch/batchAccounts/batch3e1b0fe5?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Tue, 07 Nov 2017 15:42:54 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_account3e1b0fe5/providers/Microsoft.Batch/batchAccounts/batch3e1b0fe5/operationResults/59bcc84b-ef92-4069-8aae-10fc53052278?api-version=2017-09-01'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_account3e1b0fe5/providers/Microsoft.Batch/batchAccounts/batch3e1b0fe5/operationResults/59bcc84b-ef92-4069-8aae-10fc53052278?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Tue, 07 Nov 2017 15:43:10 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +version: 1 diff --git a/azure-mgmt-batch/tests/recordings/test_mgmt_batch.test_mgmt_batch_account_name.yaml b/azure-mgmt-batch/tests/recordings/test_mgmt_batch.test_mgmt_batch_account_name.yaml new file mode 100644 index 000000000000..78dbc1de64ad --- /dev/null +++ b/azure-mgmt-batch/tests/recordings/test_mgmt_batch.test_mgmt_batch_account_name.yaml @@ -0,0 +1,91 @@ +interactions: +- request: + body: '{"name": "randombatchaccount@5^$g9873495873", "type": "Microsoft.Batch/batchAccounts"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['86'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/locations/eastus2/checkNameAvailability?api-version=2017-09-01 + response: + body: {string: '{"nameAvailable":false,"reason":"Invalid","message":"Account name + must be at least 3 characters and at most 24 characters."}'} + headers: + cache-control: [no-cache] + content-length: ['124'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 07 Nov 2017 15:40:58 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] + status: {code: 200, message: OK} +- request: + body: '{"name": "pythonsdktest", "type": "Microsoft.Batch/batchAccounts"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['66'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/locations/brazilsouth/checkNameAvailability?api-version=2017-09-01 + response: + body: {string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"An + account named ''pythonsdktest'' is already in use."}'} + headers: + cache-control: [no-cache] + content-length: ['112'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 07 Nov 2017 15:40:58 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] + status: {code: 200, message: OK} +- request: + body: '{"name": "batch938911e5", "type": "Microsoft.Batch/batchAccounts"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['66'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/locations/eastus2/checkNameAvailability?api-version=2017-09-01 + response: + body: {string: '{"nameAvailable":true}'} + headers: + cache-control: [no-cache] + content-length: ['22'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 07 Nov 2017 15:41:00 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] + status: {code: 200, message: OK} +version: 1 diff --git a/azure-mgmt-batch/tests/recordings/test_mgmt_batch.test_mgmt_batch_applications.yaml b/azure-mgmt-batch/tests/recordings/test_mgmt_batch.test_mgmt_batch_applications.yaml new file mode 100644 index 000000000000..b07ea71d962d --- /dev/null +++ b/azure-mgmt-batch/tests/recordings/test_mgmt_batch.test_mgmt_batch_applications.yaml @@ -0,0 +1,400 @@ +interactions: +- request: + body: 'b''{"location": "eastus2", "properties": {"autoStorage": {"storageAccountId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_applications93ef11ff/providers/Microsoft.Storage/storageAccounts/batch93ef11ff"}}}''' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['257'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_applications93ef11ff/providers/Microsoft.Batch/batchAccounts/batch93ef11ff?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Tue, 07 Nov 2017 15:45:58 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_applications93ef11ff/providers/Microsoft.Batch/batchAccounts/batch93ef11ff/operationResults/17de6b2c-998c-4b16-9b8e-8c9dce79d372?api-version=2017-09-01'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_applications93ef11ff/providers/Microsoft.Batch/batchAccounts/batch93ef11ff/operationResults/17de6b2c-998c-4b16-9b8e-8c9dce79d372?api-version=2017-09-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_applications93ef11ff/providers/Microsoft.Batch/batchAccounts/batch93ef11ff","name":"batch93ef11ff","type":"Microsoft.Batch/batchAccounts","location":"eastus2","properties":{"accountEndpoint":"batch93ef11ff.eastus2.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":20,"lowPriorityCoreQuota":20,"poolQuota":20,"activeJobAndJobScheduleQuota":20,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_applications93ef11ff/providers/Microsoft.Storage/storageAccounts/batch93ef11ff","lastKeySync":"2017-11-07T15:45:58.47319Z"},"poolAllocationMode":"BatchService"}}'} + headers: + cache-control: [no-cache] + content-length: ['763'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 07 Nov 2017 15:46:14 GMT'] + etag: ['"0x8D525F6AD4E078E"'] + expires: ['-1'] + last-modified: ['Tue, 07 Nov 2017 15:46:14 GMT'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + 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; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_applications93ef11ff/providers/Microsoft.Batch/batchAccounts/batch93ef11ff/syncAutoStorageKeys?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + date: ['Tue, 07 Nov 2017 15:46:18 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] + status: {code: 204, message: No Content} +- request: + body: '{"displayName": "my_application_name"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['38'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_applications93ef11ff/providers/Microsoft.Batch/batchAccounts/batch93ef11ff/applications/my_application_id?api-version=2017-09-01 + response: + body: {string: '{"id":"my_application_id","displayName":"my_application_name","packages":[],"allowUpdates":true}'} + headers: + cache-control: [no-cache] + content-length: ['96'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 07 Nov 2017 15:46:19 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_applications93ef11ff/providers/Microsoft.Batch/batchAccounts/batch93ef11ff/applications/my_application_id?api-version=2017-09-01 + response: + body: {string: '{"id":"my_application_id","displayName":"my_application_name","packages":[],"allowUpdates":true}'} + headers: + cache-control: [no-cache] + content-length: ['96'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 07 Nov 2017 15:46:20 GMT'] + etag: ['"0x8D525F6B0783553"'] + expires: ['-1'] + last-modified: ['Tue, 07 Nov 2017 15:46:19 GMT'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + 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-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_applications93ef11ff/providers/Microsoft.Batch/batchAccounts/batch93ef11ff/applications?api-version=2017-09-01 + response: + body: {string: '{"value":[{"id":"my_application_id","displayName":"my_application_name","packages":[],"allowUpdates":true}]}'} + headers: + cache-control: [no-cache] + content-length: ['108'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 07 Nov 2017 15:46:21 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + 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; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_applications93ef11ff/providers/Microsoft.Batch/batchAccounts/batch93ef11ff/applications/my_application_id/versions/v1.0?api-version=2017-09-01 + response: + body: {string: '{"id":"my_application_id","version":"v1.0","storageUrl":"https://batch93ef11ff.blob.core.windows.net/app-my-application-id-b9dfc2b75e089960a922be9b4180a01f29ca0c78/my_application_id-v1.0-421aa7ef-7611-4592-86f1-75ba35ad88fd?sv=2015-04-05&sr=b&sig=yk2ce%2Bx9eAIt9%2F0pA%2BecBaMXdZqTMn1Ayw5fXecY5bw%3D&st=2017-11-07T15%3A41%3A24Z&se=2017-11-07T19%3A46%3A24Z&sp=rw","storageUrlExpiry":"2017-11-07T19:46:24.1732148Z","state":"pending"}'} + headers: + cache-control: [no-cache] + content-length: ['431'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 07 Nov 2017 15:46:23 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] + status: {code: 201, message: Created} +- request: + body: Hello World + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['11'] + User-Agent: [python-requests/2.18.4] + x-ms-blob-type: [BlockBlob] + method: PUT + uri: https://batch93ef11ff.blob.core.windows.net/app-my-application-id-b9dfc2b75e089960a922be9b4180a01f29ca0c78/my_application_id-v1.0-421aa7ef-7611-4592-86f1-75ba35ad88fd?sv=2015-04-05&sr=b&sig=yk2ce%2Bx9eAIt9%2F0pA%2BecBaMXdZqTMn1Ayw5fXecY5bw%3D&st=2017-11-07T15%3A41%3A24Z&se=2017-11-07T19%3A46%3A24Z&sp=rw + response: + body: {string: ''} + headers: + content-md5: [sQqNsWTgdUEFt6mb5y4/5Q==] + date: ['Tue, 07 Nov 2017 15:46:24 GMT'] + etag: ['"0x8D525F6B3AC2598"'] + last-modified: ['Tue, 07 Nov 2017 15:46:24 GMT'] + server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] + transfer-encoding: [chunked] + x-ms-version: ['2015-04-05'] + status: {code: 201, message: Created} +- request: + body: '{"format": "zip"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['17'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_applications93ef11ff/providers/Microsoft.Batch/batchAccounts/batch93ef11ff/applications/my_application_id/versions/v1.0/activate?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + date: ['Tue, 07 Nov 2017 15:46:25 GMT'] + etag: ['"0x8D525F6B331FE87"'] + expires: ['-1'] + last-modified: ['Tue, 07 Nov 2017 15:46:24 GMT'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] + status: {code: 204, message: No Content} +- request: + body: '{"allowUpdates": false, "defaultVersion": "v1.0", "displayName": "my_updated_name"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['83'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: PATCH + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_applications93ef11ff/providers/Microsoft.Batch/batchAccounts/batch93ef11ff/applications/my_application_id?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + date: ['Tue, 07 Nov 2017 15:46:26 GMT'] + etag: ['"0x8D525F6B0783553"'] + expires: ['-1'] + last-modified: ['Tue, 07 Nov 2017 15:46:19 GMT'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] + status: {code: 204, message: No Content} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_applications93ef11ff/providers/Microsoft.Batch/batchAccounts/batch93ef11ff/applications/my_application_id/versions/v1.0?api-version=2017-09-01 + response: + body: {string: '{"id":"my_application_id","version":"v1.0","storageUrl":"https://batch93ef11ff.blob.core.windows.net/app-my-application-id-b9dfc2b75e089960a922be9b4180a01f29ca0c78/my_application_id-v1.0-421aa7ef-7611-4592-86f1-75ba35ad88fd?sv=2015-04-05&sr=b&sig=wC7HfPsC0lxa7dmKS7dwnBvjPqLvfBAziVRNFH7hNhU%3D&st=2017-11-07T15%3A41%3A27Z&se=2017-11-07T19%3A46%3A27Z&sp=r","storageUrlExpiry":"2017-11-07T19:46:27.579623Z","state":"active","format":"zip","lastActivationTime":"2017-11-07T15:46:25.8775962Z"}'} + headers: + cache-control: [no-cache] + content-length: ['489'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 07 Nov 2017 15:46:27 GMT'] + etag: ['"0x8D525F6B422EFC4"'] + expires: ['-1'] + last-modified: ['Tue, 07 Nov 2017 15:46:25 GMT'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + 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; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_applications93ef11ff/providers/Microsoft.Batch/batchAccounts/batch93ef11ff/applications/my_application_id/versions/v1.0?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + date: ['Tue, 07 Nov 2017 15:46:28 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 204, message: No Content} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_applications93ef11ff/providers/Microsoft.Batch/batchAccounts/batch93ef11ff/applications/my_application_id?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + date: ['Tue, 07 Nov 2017 15:46:30 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] + status: {code: 204, message: No Content} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_applications93ef11ff/providers/Microsoft.Batch/batchAccounts/batch93ef11ff?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Tue, 07 Nov 2017 15:46:31 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_applications93ef11ff/providers/Microsoft.Batch/batchAccounts/batch93ef11ff/operationResults/73226e6c-c471-48da-bf5c-e6a89cf35369?api-version=2017-09-01'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_applications93ef11ff/providers/Microsoft.Batch/batchAccounts/batch93ef11ff/operationResults/73226e6c-c471-48da-bf5c-e6a89cf35369?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Tue, 07 Nov 2017 15:46:47 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +version: 1 diff --git a/azure-mgmt-batch/tests/recordings/test_mgmt_batch.test_mgmt_batch_byos_account.yaml b/azure-mgmt-batch/tests/recordings/test_mgmt_batch.test_mgmt_batch_byos_account.yaml new file mode 100644 index 000000000000..6aa1fd588ae1 --- /dev/null +++ b/azure-mgmt-batch/tests/recordings/test_mgmt_batch.test_mgmt_batch_byos_account.yaml @@ -0,0 +1,90 @@ +interactions: +- request: + body: '{"location": "eastus2", "properties": {"poolAllocationMode": "UserSubscription"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['81'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_byos_account94171201/providers/Microsoft.Batch/batchAccounts/batch94171201?api-version=2017-09-01 + response: + body: {string: '{"error":{"code":"InvalidRequestBody","message":"The specified + Request Body is not syntactically valid.\nRequestId:bd191591-4e65-4257-b9fb-7604e7f70679\nTime:2017-11-07T15:43:53.5679057Z","target":"BatchAccount","details":[{"code":"Reason","message":"keyVaultReference + must be set if poolAllocationMode is specified as ''UserSubscription'' on + a PUT request"}]}}'} + headers: + cache-control: [no-cache] + content-length: ['359'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 07 Nov 2017 15:43:54 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 400, message: The specified Request Body is not syntactically valid.} +- request: + body: 'b''{"location": "eastus2", "properties": {"poolAllocationMode": "UserSubscription", + "keyVaultReference": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_byos_account94171201/providers/Microsoft.KeyVault/vaults/batch94171201", + "url": "https://batch94171201.vault.azure.net/"}}}''' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['332'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_byos_account94171201/providers/Microsoft.Batch/batchAccounts/batch94171201?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Tue, 07 Nov 2017 15:43:58 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_byos_account94171201/providers/Microsoft.Batch/batchAccounts/batch94171201/operationResults/6c3fd9d1-8ddb-4a25-9f41-cf856cb500d6?api-version=2017-09-01'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_byos_account94171201/providers/Microsoft.Batch/batchAccounts/batch94171201/operationResults/6c3fd9d1-8ddb-4a25-9f41-cf856cb500d6?api-version=2017-09-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_byos_account94171201/providers/Microsoft.Batch/batchAccounts/batch94171201","name":"batch94171201","type":"Microsoft.Batch/batchAccounts","location":"eastus2","properties":{"accountEndpoint":"batch94171201.eastus2.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":2147483647,"lowPriorityCoreQuota":0,"poolQuota":20,"activeJobAndJobScheduleQuota":20,"poolAllocationMode":"UserSubscription","keyVaultReference":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_byos_account94171201/providers/Microsoft.KeyVault/vaults/batch94171201","url":"https://batch94171201.vault.azure.net/"}}}'} + headers: + cache-control: [no-cache] + content-length: ['762'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 07 Nov 2017 15:44:14 GMT'] + etag: ['"0x8D525F66603F7E1"'] + expires: ['-1'] + last-modified: ['Tue, 07 Nov 2017 15:44:14 GMT'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +version: 1 diff --git a/azure-mgmt-batch/tests/recordings/test_mgmt_batch.test_mgmt_batch_certificates.yaml b/azure-mgmt-batch/tests/recordings/test_mgmt_batch.test_mgmt_batch_certificates.yaml new file mode 100644 index 000000000000..8b2382bb3079 --- /dev/null +++ b/azure-mgmt-batch/tests/recordings/test_mgmt_batch.test_mgmt_batch_certificates.yaml @@ -0,0 +1,280 @@ +interactions: +- request: + body: '{"properties": {"thumbprintAlgorithm": "sha1", "thumbprint": "cff2ab63c8c955aaf71989efa641b906558d9fb7", + "format": "Pfx", "data": "MIIGMQIBAzCCBe0GCSqGSIb3DQEHAaCCBd4EggXaMIIF1jCCA8AGCSqGSIb3DQEHAaCCA7EEggOtMIIDqTCCA6UGCyqGSIb3DQEMCgECoIICtjCCArIwHAYKKoZIhvcNAQwBAzAOBAhyd3xCtln3iQICB9AEggKQhe5P10V9iV1BsDlwWT561Yu2hVq3JT8ae/ebx1ZR/gMApVereDKkS9Zg4vFyssusHebbK5pDpU8vfAqle0TM4m7wGsRj453ZorSPUfMpHvQnAOn+2pEpWdMThU7xvZ6DVpwhDOQk9166z+KnKdHGuJKh4haMT7Rw/6xZ1rsBt2423cwTrQVMQyACrEkianpuujubKltN99qRoFAxhQcnYE2KlYKw7lRcExq6mDSYAyk5xJZ1ZFdLj6MAryZroQit/0g5eyhoNEKwWbi8px5j71pRTf7yjN+deMGQKwbGl+3OgaL1UZ5fCjypbVL60kpIBxLZwIJ7p3jJ+q9pbq9zSdzshPYor5lxyUfXqaso/0/91ayNoBzg4hQGh618PhFI6RMGjwkzhB9xk74iweJ9HQyIHf8yx2RCSI22JuCMitPMWSGvOszhbNx3AEDLuiiAOHg391mprEtKZguOIr9LrJwem/YmcHbwyz5YAbZmiseKPkllfC7dafFfCFEkj6R2oegIsZo0pEKYisAXBqT0g+6/jGwuhlZcBo0f7UIZm88iA3MrJCjlXEgV5OcQdoWj+hq0lKEdnhtCKr03AIfukN6+4vjjarZeW1bs0swq0l3XFf5RHa11otshMS4mpewshB9iO9MuKWpRxuxeng4PlKZ/zuBqmPeUrjJ9454oK35Pq+dghfemt7AUpBH/KycDNIZgfdEWUZrRKBGnc519C+RTqxyt5hWL18nJk4LvSd3QKlJ1iyJxClhhb/NWEzPqNdyA5cxen+2T9bd/EqJ2KzRv5/BPVwTQkHH9W/TZElFyvFfOFIW2+03RKbVGw72Mr/0xKZ+awAnEfoU+SL/2Gj2m6PHkqFX2sOCi/tN9EA4xgdswEwYJKoZIhvcNAQkVMQYEBAEAAAAwXQYJKwYBBAGCNxEBMVAeTgBNAGkAYwByAG8AcwBvAGYAdAAgAFMAdAByAG8AbgBnACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcjBlBgkqhkiG9w0BCRQxWB5WAFAAdgBrAFQAbQBwADoANABjAGUANgAwADQAZABhAC0AMAA2ADgAMQAtADQANAAxADUALQBhADIAYwBhAC0ANQA3ADcAMwAwADgAZQA2AGQAOQBhAGMwggIOBgkqhkiG9w0BBwGgggH/BIIB+zCCAfcwggHzBgsqhkiG9w0BDAoBA6CCAcswggHHBgoqhkiG9w0BCRYBoIIBtwSCAbMwggGvMIIBXaADAgECAhAdka3aTQsIsUphgIXGUmeRMAkGBSsOAwIdBQAwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3kwHhcNMTYwMTAxMDcwMDAwWhcNMTgwMTAxMDcwMDAwWjASMRAwDgYDVQQDEwdub2Rlc2RrMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC5fhcxbJHxxBEIDzVOMc56s04U6k4GPY7yMR1m+rBGVRiAyV4RjY6U936dqXHCVD36ps2Q0Z+OeEgyCInkIyVeB1EwXcToOcyeS2YcUb0vRWZDouC3tuFdHwiK1Ed5iW/LksmXDotyV7kpqzaPhOFiMtBuMEwNJcPge9k17hRgRQIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAHl2M97QbpzdnwO5HoRBsiEExOcLTNg+GKCr7HUsbzfvrUivw+JLL7qjHAIc5phnK+F5bQ8HKe0L9YXBSKl+fvwxFTATBgkqhkiG9w0BCRUxBgQEAQAAADA7MB8wBwYFKw4DAhoEFGVtyGMqiBd32fGpzlGZQoRM6UQwBBTI0YHFFqTS4Go8CoLgswn29EiuUQICB9A=", + "password": "nodesdk"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['2277'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_certificates93b711ee/providers/Microsoft.Batch/batchAccounts/batch93b711ee/certificates/SHA1-cff2ab63c8c955aaf71989efa641b906558d9fb7?api-version=2017-09-01 + response: + body: {string: '{"name":"SHA1-CFF2AB63C8C955AAF71989EFA641B906558D9FB7","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_certificates93b711ee/providers/Microsoft.Batch/batchAccounts/batch93b711ee/certificates/SHA1-CFF2AB63C8C955AAF71989EFA641B906558D9FB7","type":"Microsoft.Batch/batchAccounts/certificates","etag":"W/\"0x8D525FA65843F7E\"","properties":{"thumbprintAlgorithm":"SHA1","thumbprint":"CFF2AB63C8C955AAF71989EFA641B906558D9FB7","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-11-07T16:12:51.5906844Z","format":"Pfx","publicData":"MIIBrzCCAV2gAwIBAgIQHZGt2k0LCLFKYYCFxlJnkTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE2MDEwMTA3MDAwMFoXDTE4MDEwMTA3MDAwMFowEjEQMA4GA1UEAxMHbm9kZXNkazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuX4XMWyR8cQRCA81TjHOerNOFOpOBj2O8jEdZvqwRlUYgMleEY2OlPd+nalxwlQ9+qbNkNGfjnhIMgiJ5CMlXgdRMF3E6DnMnktmHFG9L0VmQ6Lgt7bhXR8IitRHeYlvy5LJlw6Lcle5Kas2j4ThYjLQbjBMDSXD4HvZNe4UYEUCAwEAAaNLMEkwRwYDVR0BBEAwPoAQEuQJLQYdHU8AjWEh3BZkY6EYMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5ghAGN2wAqgBkihHPuNSqXDX0MAkGBSsOAwIdBQADQQB5djPe0G6c3Z8DuR6EQbIhBMTnC0zYPhigq+x1LG83761Ir8PiSy+6oxwCHOaYZyvheW0PByntC/WFwUipfn78"}}'} + headers: + cache-control: [no-cache] + content-length: ['1189'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 07 Nov 2017 16:12:51 GMT'] + etag: [W/"0x8D525FA65843F7E"] + expires: ['-1'] + last-modified: ['Tue, 07 Nov 2017 16:12:51 GMT'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1194'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_certificates93b711ee/providers/Microsoft.Batch/batchAccounts/batch93b711ee/certificates?api-version=2017-09-01 + response: + body: {string: '{"value":[{"name":"SHA1-CFF2AB63C8C955AAF71989EFA641B906558D9FB7","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_certificates93b711ee/providers/Microsoft.Batch/batchAccounts/batch93b711ee/certificates/SHA1-CFF2AB63C8C955AAF71989EFA641B906558D9FB7","type":"Microsoft.Batch/batchAccounts/certificates","etag":"W/\"0x8D525FA65843F7E\"","properties":{"thumbprintAlgorithm":"SHA1","thumbprint":"CFF2AB63C8C955AAF71989EFA641B906558D9FB7","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-11-07T16:12:51.5906844Z","format":"Pfx","publicData":"MIIBrzCCAV2gAwIBAgIQHZGt2k0LCLFKYYCFxlJnkTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE2MDEwMTA3MDAwMFoXDTE4MDEwMTA3MDAwMFowEjEQMA4GA1UEAxMHbm9kZXNkazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuX4XMWyR8cQRCA81TjHOerNOFOpOBj2O8jEdZvqwRlUYgMleEY2OlPd+nalxwlQ9+qbNkNGfjnhIMgiJ5CMlXgdRMF3E6DnMnktmHFG9L0VmQ6Lgt7bhXR8IitRHeYlvy5LJlw6Lcle5Kas2j4ThYjLQbjBMDSXD4HvZNe4UYEUCAwEAAaNLMEkwRwYDVR0BBEAwPoAQEuQJLQYdHU8AjWEh3BZkY6EYMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5ghAGN2wAqgBkihHPuNSqXDX0MAkGBSsOAwIdBQADQQB5djPe0G6c3Z8DuR6EQbIhBMTnC0zYPhigq+x1LG83761Ir8PiSy+6oxwCHOaYZyvheW0PByntC/WFwUipfn78"}}]}'} + headers: + cache-control: [no-cache] + content-length: ['1201'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 07 Nov 2017 16:12:52 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + 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-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_certificates93b711ee/providers/Microsoft.Batch/batchAccounts/batch93b711ee/certificates/SHA1-cff2ab63c8c955aaf71989efa641b906558d9fb7?api-version=2017-09-01 + response: + body: {string: '{"name":"SHA1-CFF2AB63C8C955AAF71989EFA641B906558D9FB7","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_certificates93b711ee/providers/Microsoft.Batch/batchAccounts/batch93b711ee/certificates/SHA1-CFF2AB63C8C955AAF71989EFA641B906558D9FB7","type":"Microsoft.Batch/batchAccounts/certificates","etag":"W/\"0x8D525FA65843F7E\"","properties":{"thumbprintAlgorithm":"SHA1","thumbprint":"CFF2AB63C8C955AAF71989EFA641B906558D9FB7","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-11-07T16:12:51.5906844Z","format":"Pfx","publicData":"MIIBrzCCAV2gAwIBAgIQHZGt2k0LCLFKYYCFxlJnkTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE2MDEwMTA3MDAwMFoXDTE4MDEwMTA3MDAwMFowEjEQMA4GA1UEAxMHbm9kZXNkazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuX4XMWyR8cQRCA81TjHOerNOFOpOBj2O8jEdZvqwRlUYgMleEY2OlPd+nalxwlQ9+qbNkNGfjnhIMgiJ5CMlXgdRMF3E6DnMnktmHFG9L0VmQ6Lgt7bhXR8IitRHeYlvy5LJlw6Lcle5Kas2j4ThYjLQbjBMDSXD4HvZNe4UYEUCAwEAAaNLMEkwRwYDVR0BBEAwPoAQEuQJLQYdHU8AjWEh3BZkY6EYMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5ghAGN2wAqgBkihHPuNSqXDX0MAkGBSsOAwIdBQADQQB5djPe0G6c3Z8DuR6EQbIhBMTnC0zYPhigq+x1LG83761Ir8PiSy+6oxwCHOaYZyvheW0PByntC/WFwUipfn78"}}'} + headers: + cache-control: [no-cache] + content-length: ['1189'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 07 Nov 2017 16:12:52 GMT'] + etag: [W/"0x8D525FA65843F7E"] + expires: ['-1'] + last-modified: ['Tue, 07 Nov 2017 16:12:51 GMT'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: '{"properties": {"data": "MIIGMQIBAzCCBe0GCSqGSIb3DQEHAaCCBd4EggXaMIIF1jCCA8AGCSqGSIb3DQEHAaCCA7EEggOtMIIDqTCCA6UGCyqGSIb3DQEMCgECoIICtjCCArIwHAYKKoZIhvcNAQwBAzAOBAhyd3xCtln3iQICB9AEggKQhe5P10V9iV1BsDlwWT561Yu2hVq3JT8ae/ebx1ZR/gMApVereDKkS9Zg4vFyssusHebbK5pDpU8vfAqle0TM4m7wGsRj453ZorSPUfMpHvQnAOn+2pEpWdMThU7xvZ6DVpwhDOQk9166z+KnKdHGuJKh4haMT7Rw/6xZ1rsBt2423cwTrQVMQyACrEkianpuujubKltN99qRoFAxhQcnYE2KlYKw7lRcExq6mDSYAyk5xJZ1ZFdLj6MAryZroQit/0g5eyhoNEKwWbi8px5j71pRTf7yjN+deMGQKwbGl+3OgaL1UZ5fCjypbVL60kpIBxLZwIJ7p3jJ+q9pbq9zSdzshPYor5lxyUfXqaso/0/91ayNoBzg4hQGh618PhFI6RMGjwkzhB9xk74iweJ9HQyIHf8yx2RCSI22JuCMitPMWSGvOszhbNx3AEDLuiiAOHg391mprEtKZguOIr9LrJwem/YmcHbwyz5YAbZmiseKPkllfC7dafFfCFEkj6R2oegIsZo0pEKYisAXBqT0g+6/jGwuhlZcBo0f7UIZm88iA3MrJCjlXEgV5OcQdoWj+hq0lKEdnhtCKr03AIfukN6+4vjjarZeW1bs0swq0l3XFf5RHa11otshMS4mpewshB9iO9MuKWpRxuxeng4PlKZ/zuBqmPeUrjJ9454oK35Pq+dghfemt7AUpBH/KycDNIZgfdEWUZrRKBGnc519C+RTqxyt5hWL18nJk4LvSd3QKlJ1iyJxClhhb/NWEzPqNdyA5cxen+2T9bd/EqJ2KzRv5/BPVwTQkHH9W/TZElFyvFfOFIW2+03RKbVGw72Mr/0xKZ+awAnEfoU+SL/2Gj2m6PHkqFX2sOCi/tN9EA4xgdswEwYJKoZIhvcNAQkVMQYEBAEAAAAwXQYJKwYBBAGCNxEBMVAeTgBNAGkAYwByAG8AcwBvAGYAdAAgAFMAdAByAG8AbgBnACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcjBlBgkqhkiG9w0BCRQxWB5WAFAAdgBrAFQAbQBwADoANABjAGUANgAwADQAZABhAC0AMAA2ADgAMQAtADQANAAxADUALQBhADIAYwBhAC0ANQA3ADcAMwAwADgAZQA2AGQAOQBhAGMwggIOBgkqhkiG9w0BBwGgggH/BIIB+zCCAfcwggHzBgsqhkiG9w0BDAoBA6CCAcswggHHBgoqhkiG9w0BCRYBoIIBtwSCAbMwggGvMIIBXaADAgECAhAdka3aTQsIsUphgIXGUmeRMAkGBSsOAwIdBQAwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3kwHhcNMTYwMTAxMDcwMDAwWhcNMTgwMTAxMDcwMDAwWjASMRAwDgYDVQQDEwdub2Rlc2RrMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC5fhcxbJHxxBEIDzVOMc56s04U6k4GPY7yMR1m+rBGVRiAyV4RjY6U936dqXHCVD36ps2Q0Z+OeEgyCInkIyVeB1EwXcToOcyeS2YcUb0vRWZDouC3tuFdHwiK1Ed5iW/LksmXDotyV7kpqzaPhOFiMtBuMEwNJcPge9k17hRgRQIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAHl2M97QbpzdnwO5HoRBsiEExOcLTNg+GKCr7HUsbzfvrUivw+JLL7qjHAIc5phnK+F5bQ8HKe0L9YXBSKl+fvwxFTATBgkqhkiG9w0BCRUxBgQEAQAAADA7MB8wBwYFKw4DAhoEFGVtyGMqiBd32fGpzlGZQoRM6UQwBBTI0YHFFqTS4Go8CoLgswn29EiuUQICB9A=", + "password": "nodesdk"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['2171'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: PATCH + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_certificates93b711ee/providers/Microsoft.Batch/batchAccounts/batch93b711ee/certificates/SHA1-cff2ab63c8c955aaf71989efa641b906558d9fb7?api-version=2017-09-01 + response: + body: {string: '{"name":"SHA1-CFF2AB63C8C955AAF71989EFA641B906558D9FB7","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_certificates93b711ee/providers/Microsoft.Batch/batchAccounts/batch93b711ee/certificates/SHA1-CFF2AB63C8C955AAF71989EFA641B906558D9FB7","type":"Microsoft.Batch/batchAccounts/certificates","etag":"W/\"0x8D525FA65843F7E\"","properties":{"thumbprintAlgorithm":"SHA1","thumbprint":"CFF2AB63C8C955AAF71989EFA641B906558D9FB7","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-11-07T16:12:51.5906844Z","format":"Pfx","publicData":"MIIBrzCCAV2gAwIBAgIQHZGt2k0LCLFKYYCFxlJnkTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE2MDEwMTA3MDAwMFoXDTE4MDEwMTA3MDAwMFowEjEQMA4GA1UEAxMHbm9kZXNkazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuX4XMWyR8cQRCA81TjHOerNOFOpOBj2O8jEdZvqwRlUYgMleEY2OlPd+nalxwlQ9+qbNkNGfjnhIMgiJ5CMlXgdRMF3E6DnMnktmHFG9L0VmQ6Lgt7bhXR8IitRHeYlvy5LJlw6Lcle5Kas2j4ThYjLQbjBMDSXD4HvZNe4UYEUCAwEAAaNLMEkwRwYDVR0BBEAwPoAQEuQJLQYdHU8AjWEh3BZkY6EYMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5ghAGN2wAqgBkihHPuNSqXDX0MAkGBSsOAwIdBQADQQB5djPe0G6c3Z8DuR6EQbIhBMTnC0zYPhigq+x1LG83761Ir8PiSy+6oxwCHOaYZyvheW0PByntC/WFwUipfn78"}}'} + headers: + cache-control: [no-cache] + content-length: ['1189'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 07 Nov 2017 16:12:54 GMT'] + etag: [W/"0x8D525FA65843F7E"] + expires: ['-1'] + last-modified: ['Tue, 07 Nov 2017 16:12:51 GMT'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1195'] + 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; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_certificates93b711ee/providers/Microsoft.Batch/batchAccounts/batch93b711ee/certificates/SHA1-cff2ab63c8c955aaf71989efa641b906558d9fb7/cancelDelete?api-version=2017-09-01 + response: + body: {string: '{"name":"SHA1-CFF2AB63C8C955AAF71989EFA641B906558D9FB7","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_certificates93b711ee/providers/Microsoft.Batch/batchAccounts/batch93b711ee/certificates/SHA1-CFF2AB63C8C955AAF71989EFA641B906558D9FB7","type":"Microsoft.Batch/batchAccounts/certificates","etag":"W/\"0x8D525FA65843F7E\"","properties":{"thumbprintAlgorithm":"SHA1","thumbprint":"CFF2AB63C8C955AAF71989EFA641B906558D9FB7","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-11-07T16:12:51.5906844Z","format":"Pfx","publicData":"MIIBrzCCAV2gAwIBAgIQHZGt2k0LCLFKYYCFxlJnkTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE2MDEwMTA3MDAwMFoXDTE4MDEwMTA3MDAwMFowEjEQMA4GA1UEAxMHbm9kZXNkazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuX4XMWyR8cQRCA81TjHOerNOFOpOBj2O8jEdZvqwRlUYgMleEY2OlPd+nalxwlQ9+qbNkNGfjnhIMgiJ5CMlXgdRMF3E6DnMnktmHFG9L0VmQ6Lgt7bhXR8IitRHeYlvy5LJlw6Lcle5Kas2j4ThYjLQbjBMDSXD4HvZNe4UYEUCAwEAAaNLMEkwRwYDVR0BBEAwPoAQEuQJLQYdHU8AjWEh3BZkY6EYMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5ghAGN2wAqgBkihHPuNSqXDX0MAkGBSsOAwIdBQADQQB5djPe0G6c3Z8DuR6EQbIhBMTnC0zYPhigq+x1LG83761Ir8PiSy+6oxwCHOaYZyvheW0PByntC/WFwUipfn78"}}'} + headers: + cache-control: [no-cache] + content-length: ['1189'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 07 Nov 2017 16:12:55 GMT'] + etag: [W/"0x8D525FA65843F7E"] + expires: ['-1'] + last-modified: ['Tue, 07 Nov 2017 16:12:51 GMT'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] + 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; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_certificates93b711ee/providers/Microsoft.Batch/batchAccounts/batch93b711ee/certificates/SHA1-cff2ab63c8c955aaf71989efa641b906558d9fb7?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Tue, 07 Nov 2017 16:12:56 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_certificates93b711ee/providers/Microsoft.Batch/batchAccounts/batch93b711ee/certificateOperationResults/sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7-8D525FA6834DAC3?api-version=2017-09-01'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_certificates93b711ee/providers/Microsoft.Batch/batchAccounts/batch93b711ee/certificateOperationResults/sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7-8D525FA6834DAC3?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Tue, 07 Nov 2017 16:13:12 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_certificates93b711ee/providers/Microsoft.Batch/batchAccounts/batch93b711ee/certificateOperationResults/sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7-8d525fa6834dac3?api-version=2017-09-01'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + 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-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_certificates93b711ee/providers/Microsoft.Batch/batchAccounts/batch93b711ee/certificateOperationResults/sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7-8d525fa6834dac3?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Tue, 07 Nov 2017 16:13:28 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_certificates93b711ee/providers/Microsoft.Batch/batchAccounts/batch93b711ee/certificateOperationResults/sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7-8d525fa6834dac3?api-version=2017-09-01'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + 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-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_certificates93b711ee/providers/Microsoft.Batch/batchAccounts/batch93b711ee/certificateOperationResults/sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7-8d525fa6834dac3?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Tue, 07 Nov 2017 16:13:44 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_certificates93b711ee/providers/Microsoft.Batch/batchAccounts/batch93b711ee/certificateOperationResults/sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7-8d525fa6834dac3?api-version=2017-09-01'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + 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-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_certificates93b711ee/providers/Microsoft.Batch/batchAccounts/batch93b711ee/certificateOperationResults/sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7-8d525fa6834dac3?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Tue, 07 Nov 2017 16:14:00 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +version: 1 diff --git a/azure-mgmt-batch/tests/recordings/test_mgmt_batch.test_mgmt_batch_list_operations.yaml b/azure-mgmt-batch/tests/recordings/test_mgmt_batch.test_mgmt_batch_list_operations.yaml new file mode 100644 index 000000000000..7ebb36cd0920 --- /dev/null +++ b/azure-mgmt-batch/tests/recordings/test_mgmt_batch.test_mgmt_batch_list_operations.yaml @@ -0,0 +1,131 @@ +interactions: +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/providers/Microsoft.Batch/operations?api-version=2017-09-01 + response: + body: {string: '{"value":[{"name":"Microsoft.Batch/batchAccounts/providers/Microsoft.Insights/diagnosticSettings/read","display":{"provider":"Microsoft + Batch","resource":"Batch Accounts","operation":"Read diagnostic setting","description":"Gets + the diagnostic setting for the resource"},"origin":"system"},{"name":"Microsoft.Batch/batchAccounts/providers/Microsoft.Insights/diagnosticSettings/write","display":{"provider":"Microsoft + Batch","resource":"Batch Accounts","operation":"Write diagnostic setting","description":"Creates + or updates the diagnostic setting for the resource"},"origin":"system"},{"name":"Microsoft.Batch/batchAccounts/providers/Microsoft.Insights/logDefinitions/read","display":{"provider":"Microsoft + Batch","resource":"Batch Account Log Definitions","operation":"Read Batch + service log definitions","description":"Gets the available logs for the Batch + service"},"origin":"system","properties":{"serviceSpecification":{"logSpecifications":[{"name":"ServiceLog","displayName":"Service + Logs","blobDuration":"PT1H"}]}}},{"name":"Microsoft.Batch/batchAccounts/providers/Microsoft.Insights/metricDefinitions/read","display":{"provider":"Microsoft + Batch","resource":"Batch Account Metric Definitions","operation":"Read Batch + service metric definitions","description":"Gets the available metrics for + the Batch service"},"origin":"system","properties":{"serviceSpecification":{"metricSpecifications":[{"name":"CoreCount","displayName":"Dedicated + Core Count","displayDescription":"Total number of dedicated cores in the batch + account","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"TotalNodeCount","displayName":"Dedicated + Node Count","displayDescription":"Total number of dedicated nodes in the batch + account","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"LowPriorityCoreCount","displayName":"LowPriority + Core Count","displayDescription":"Total number of low-priority cores in the + batch account","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"TotalLowPriorityNodeCount","displayName":"Low-Priority + Node Count","displayDescription":"Total number of low-priority nodes in the + batch account","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"CreatingNodeCount","displayName":"Creating + Node Count","displayDescription":"Number of nodes being created","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"StartingNodeCount","displayName":"Starting + Node Count","displayDescription":"Number of nodes starting","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"WaitingForStartTaskNodeCount","displayName":"Waiting + For Start Task Node Count","displayDescription":"Number of nodes waiting for + the Start Task to complete","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"StartTaskFailedNodeCount","displayName":"Start + Task Failed Node Count","displayDescription":"Number of nodes where the Start + Task has failed","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"IdleNodeCount","displayName":"Idle + Node Count","displayDescription":"Number of idle nodes","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"OfflineNodeCount","displayName":"Offline + Node Count","displayDescription":"Number of offline nodes","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"RebootingNodeCount","displayName":"Rebooting + Node Count","displayDescription":"Number of rebooting nodes","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"ReimagingNodeCount","displayName":"Reimaging + Node Count","displayDescription":"Number of reimaging nodes","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"RunningNodeCount","displayName":"Running + Node Count","displayDescription":"Number of running nodes","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"LeavingPoolNodeCount","displayName":"Leaving + Pool Node Count","displayDescription":"Number of nodes leaving the Pool","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"UnusableNodeCount","displayName":"Unusable + Node Count","displayDescription":"Number of unusable nodes","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"PreemptedNodeCount","displayName":"Preempted + Node Count","displayDescription":"Number of preempted nodes","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"TaskStartEvent","displayName":"Task + Start Events","displayDescription":"Total number of tasks that have started","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"TaskCompleteEvent","displayName":"Task + Complete Events","displayDescription":"Total number of tasks that have completed","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"TaskFailEvent","displayName":"Task + Fail Events","displayDescription":"Total number of tasks that have completed + in a failed state","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"PoolCreateEvent","displayName":"Pool + Create Events","displayDescription":"Total number of pools that have been + created","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"PoolResizeStartEvent","displayName":"Pool + Resize Start Events","displayDescription":"Total number of pool resizes that + have started","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"PoolResizeCompleteEvent","displayName":"Pool + Resize Complete Events","displayDescription":"Total number of pool resizes + that have completed","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"PoolDeleteStartEvent","displayName":"Pool + Delete Start Events","displayDescription":"Total number of pool deletes that + have started","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"PoolDeleteCompleteEvent","displayName":"Pool + Delete Complete Events","displayDescription":"Total number of pool deletes + that have completed","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false}]}}},{"name":"Microsoft.Batch/batchAccounts/read","display":{"provider":"Microsoft + Batch","resource":"Batch Accounts","operation":"List or Get Batch Accounts","description":"Lists + Batch accounts or gets the properties of a Batch account"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/write","display":{"provider":"Microsoft + Batch","resource":"Batch Accounts","operation":"Create or Update Batch Account","description":"Creates + a new Batch account or updates an existing Batch account"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/delete","display":{"provider":"Microsoft + Batch","resource":"Batch Accounts","operation":"Delete Batch Account","description":"Deletes + a Batch account"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/listkeys/action","display":{"provider":"Microsoft + Batch","resource":"Batch Accounts","operation":"List Batch Account Keys","description":"Lists + access keys for a Batch account"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/regeneratekeys/action","display":{"provider":"Microsoft + Batch","resource":"Batch Accounts","operation":"Regenerate Batch Account Keys","description":"Regenerates + access keys for a Batch account"},"origin":"user,system"},{"name":"Microsoft.Batch/locations/quotas/read","display":{"provider":"Microsoft + Batch","resource":"Batch Quotas","operation":"Get Batch Quotas","description":"Gets + Batch quotas of the specified subscription at the specified Azure region"},"origin":"user,system"},{"name":"Microsoft.Batch/locations/checkNameAvailability/action","display":{"provider":"Microsoft + Batch","resource":"Name Availability","operation":"Check Name Availability","description":"Checks + that the account name is valid and not in use."},"origin":"user,system"},{"name":"Microsoft.Batch/register/action","display":{"provider":"Microsoft + Batch","resource":"Batch Resource Provider","operation":"Register the Batch + Resource Provider","description":"Registers the subscription for the Batch + Resource Provider and enables the creation of Batch accounts"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/syncAutoStorageKeys/action","display":{"provider":"Microsoft + Batch","resource":"Batch Accounts","operation":"Synchronize Auto Storage Account + Keys","description":"Synchronizes access keys for the auto storage account + configured for a Batch account"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/applications/read","display":{"provider":"Microsoft + Batch","resource":"Applications","operation":"List or Get Applications","description":"Lists + applications or gets the properties of an application"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/applications/write","display":{"provider":"Microsoft + Batch","resource":"Applications","operation":"Create or Update Application","description":"Creates + a new application or updates an existing application"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/applications/delete","display":{"provider":"Microsoft + Batch","resource":"Applications","operation":"Delete Application","description":"Deletes + an application"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/applications/versions/read","display":{"provider":"Microsoft + Batch","resource":"Application Packages","operation":"Get Application Package","description":"Gets + the properties of an application package"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/applications/versions/write","display":{"provider":"Microsoft + Batch","resource":"Application Packages","operation":"Create or Update Application + Package","description":"Creates a new application package or updates an existing + application package"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/applications/versions/delete","display":{"provider":"Microsoft + Batch","resource":"Application Packages","operation":"Delete Application Package","description":"Deletes + an application package"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/applications/versions/activate/action","display":{"provider":"Microsoft + Batch","resource":"Application Packages","operation":"Activate Application + Package","description":"Activates an application package"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/certificates/read","display":{"provider":"Microsoft + Batch","resource":"Certificates","operation":"List or Get Certificates","description":"Lists + certificates on a Batch account or gets the properties of a certificate"}},{"name":"Microsoft.Batch/batchAccounts/certificates/write","display":{"provider":"Microsoft + Batch","resource":"Certificates","operation":"Create or Update Certificate","description":"Creates + a new certificate on a Batch account or updates an existing certificate"}},{"name":"Microsoft.Batch/batchAccounts/certificates/delete","display":{"provider":"Microsoft + Batch","resource":"Certificates","operation":"Delete Certificate","description":"Deletes + a certificate from a Batch account"}},{"name":"Microsoft.Batch/batchAccounts/certificates/cancelDelete/action","display":{"provider":"Microsoft + Batch","resource":"Certificates","operation":"Cancel Delete Certificate","description":"Cancels + the failed deletion of a certificate on a Batch account"}},{"name":"Microsoft.Batch/batchAccounts/pools/read","display":{"provider":"Microsoft + Batch","resource":"Certificates","operation":"List or Get Pools","description":"Lists + pools on a Batch account or gets the properties of a pool"}},{"name":"Microsoft.Batch/batchAccounts/pools/write","display":{"provider":"Microsoft + Batch","resource":"Certificates","operation":"Create or Update Pool","description":"Creates + a new pool on a Batch account or updates an existing pool"}},{"name":"Microsoft.Batch/batchAccounts/pools/delete","display":{"provider":"Microsoft + Batch","resource":"Certificates","operation":"Delete Pool","description":"Deletes + a pool from a Batch account"}},{"name":"Microsoft.Batch/batchAccounts/pools/stopResize/action","display":{"provider":"Microsoft + Batch","resource":"Certificates","operation":"Stop Pool Resize","description":"Stops + an ongoing resize operation on a Batch account pool"}},{"name":"Microsoft.Batch/batchAccounts/pools/disableAutoscale/action","display":{"provider":"Microsoft + Batch","resource":"Certificates","operation":"Disable Pool AutoScale","description":"Disables + automatic scaling for a Batch account pool"}},{"name":"Microsoft.Batch/batchAccounts/pools/upgradeOs/action","display":{"provider":"Microsoft + Batch","resource":"Certificates","operation":"Upgrade Pool Operating System","description":"Upgrades + the operating system of a Batch account pool"}}]}'} + headers: + cache-control: [no-cache] + content-length: ['15461'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 07 Nov 2017 15:41:42 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +version: 1 diff --git a/azure-mgmt-batch/tests/recordings/test_mgmt_batch.test_mgmt_batch_pools.yaml b/azure-mgmt-batch/tests/recordings/test_mgmt_batch.test_mgmt_batch_pools.yaml new file mode 100644 index 000000000000..6d34ecbc1b2b --- /dev/null +++ b/azure-mgmt-batch/tests/recordings/test_mgmt_batch.test_mgmt_batch_pools.yaml @@ -0,0 +1,531 @@ +interactions: +- request: + body: '{"properties": {"displayName": "test_pool", "vmSize": "small", "deploymentConfiguration": + {"cloudServiceConfiguration": {"osFamily": "5"}}, "scaleSettings": {"fixedScale": + {"targetDedicatedNodes": 0, "targetLowPriorityNodes": 0}}, "userAccounts": [{"name": + "UserName", "password": "p@55wOrd"}], "startTask": {"commandLine": "cmd.exe + /c \"echo hello world\"", "resourceFiles": [{"blobSource": "https://blobsource.com", + "filePath": "filename.txt"}], "environmentSettings": [{"name": "ENV_VAR", "value": + "env_value"}], "userIdentity": {"autoUser": {"elevationLevel": "Admin"}}}}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['576'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/pools/test_paas_pool?api-version=2017-09-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/pools/test_paas_pool","name":"test_paas_pool","type":"Microsoft.Batch/batchAccounts/pools","etag":"W/\"0x8D5260380D29D7D\"","properties":{"lastModified":"2017-11-07T17:18:03.0837117Z","creationTime":"2017-11-07T17:18:03.0837117Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-11-07T17:18:03.0837117Z","allocationState":"Resizing","allocationStateTransitionTime":"2017-11-07T17:18:03.0837117Z","vmSize":"Small","interNodeCommunication":"Disabled","maxTasksPerNode":1,"taskSchedulingPolicy":{"nodeFillType":"Spread"},"deploymentConfiguration":{"cloudServiceConfiguration":{"osFamily":"5","targetOSVersion":"*","currentOSVersion":"*"}},"scaleSettings":{"fixedScale":{"targetDedicatedNodes":0,"targetLowPriorityNodes":0,"resizeTimeout":"PT15M"}},"startTask":{"commandLine":"cmd.exe + /c \"echo hello world\"","resourceFiles":[{"blobSource":"https://blobsource.com","filePath":"filename.txt"}],"environmentSettings":[{"name":"ENV_VAR","value":"env_value"}],"userIdentity":{"autoUser":{"elevationLevel":"Admin"}},"maxTaskRetryCount":0,"waitForSuccess":false},"userAccounts":[{"name":"UserName","elevationLevel":"NonAdmin"}],"resizeOperationStatus":{"targetDedicatedNodes":0,"nodeDeallocationOption":0,"resizeTimeout":"PT15M","startTime":"2017-11-07T17:18:03.0837117Z"},"currentDedicatedNodes":0,"currentLowPriorityNodes":0}}'} + headers: + cache-control: [no-cache] + content-length: ['1516'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 07 Nov 2017 17:18:03 GMT'] + etag: [W/"0x8D5260380D29D7D"] + expires: ['-1'] + last-modified: ['Tue, 07 Nov 2017 17:18:03 GMT'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 200, message: OK} +- request: + body: '{"properties": {"displayName": "test_pool", "vmSize": "Standard_A1", "deploymentConfiguration": + {"virtualMachineConfiguration": {"imageReference": {"publisher": "MicrosoftWindowsServer", + "offer": "WindowsServer", "sku": "2016-Datacenter-smalldisk"}, "nodeAgentSkuId": + "batch.node.windows amd64", "windowsConfiguration": {"enableAutomaticUpdates": + true}}}, "scaleSettings": {"fixedScale": {"targetDedicatedNodes": 0, "targetLowPriorityNodes": + 0}}}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['447'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/pools/test_iaas_pool?api-version=2017-09-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/pools/test_iaas_pool","name":"test_iaas_pool","type":"Microsoft.Batch/batchAccounts/pools","etag":"W/\"0x8D526038169BAA8\"","properties":{"lastModified":"2017-11-07T17:18:04.074052Z","creationTime":"2017-11-07T17:18:04.074052Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-11-07T17:18:04.074052Z","allocationState":"Resizing","allocationStateTransitionTime":"2017-11-07T17:18:04.074052Z","vmSize":"STANDARD_A1","interNodeCommunication":"Disabled","maxTasksPerNode":1,"taskSchedulingPolicy":{"nodeFillType":"Spread"},"deploymentConfiguration":{"virtualMachineConfiguration":{"imageReference":{"publisher":"MicrosoftWindowsServer","offer":"WindowsServer","sku":"2016-Datacenter-smalldisk","version":"latest"},"nodeAgentSkuId":"batch.node.windows + amd64","windowsConfiguration":{"enableAutomaticUpdates":true}}},"scaleSettings":{"fixedScale":{"targetDedicatedNodes":0,"targetLowPriorityNodes":0,"resizeTimeout":"PT15M"}},"resizeOperationStatus":{"targetDedicatedNodes":0,"nodeDeallocationOption":0,"resizeTimeout":"PT15M","startTime":"2017-11-07T17:18:04.074052Z"},"currentDedicatedNodes":0,"currentLowPriorityNodes":0}}'} + headers: + cache-control: [no-cache] + content-length: ['1317'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 07 Nov 2017 17:18:04 GMT'] + etag: [W/"0x8D526038169BAA8"] + expires: ['-1'] + last-modified: ['Tue, 07 Nov 2017 17:18:04 GMT'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/pools?api-version=2017-09-01 + response: + body: {string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/pools/test_iaas_pool","name":"test_iaas_pool","type":"Microsoft.Batch/batchAccounts/pools","etag":"W/\"0x8D526038169BAA8\"","properties":{"lastModified":"2017-11-07T17:18:04.074052Z","creationTime":"2017-11-07T17:18:04.074052Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-11-07T17:18:04.074052Z","allocationState":"Steady","allocationStateTransitionTime":"2017-11-07T17:18:04.1950574Z","vmSize":"STANDARD_A1","interNodeCommunication":"Disabled","maxTasksPerNode":1,"taskSchedulingPolicy":{"nodeFillType":"Spread"},"deploymentConfiguration":{"virtualMachineConfiguration":{"imageReference":{"publisher":"MicrosoftWindowsServer","offer":"WindowsServer","sku":"2016-Datacenter-smalldisk","version":"latest"},"nodeAgentSkuId":"batch.node.windows + amd64","windowsConfiguration":{"enableAutomaticUpdates":true}}},"scaleSettings":{"fixedScale":{"targetDedicatedNodes":0,"targetLowPriorityNodes":0,"resizeTimeout":"PT15M"}},"resizeOperationStatus":{"targetDedicatedNodes":0,"nodeDeallocationOption":0,"resizeTimeout":"PT15M","startTime":"2017-11-07T17:18:04.074052Z"},"currentDedicatedNodes":0,"currentLowPriorityNodes":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/pools/test_paas_pool","name":"test_paas_pool","type":"Microsoft.Batch/batchAccounts/pools","etag":"W/\"0x8D5260380D29D7D\"","properties":{"lastModified":"2017-11-07T17:18:03.0837117Z","creationTime":"2017-11-07T17:18:03.0837117Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-11-07T17:18:03.0837117Z","allocationState":"Steady","allocationStateTransitionTime":"2017-11-07T17:18:03.1997032Z","vmSize":"Small","interNodeCommunication":"Disabled","maxTasksPerNode":1,"taskSchedulingPolicy":{"nodeFillType":"Spread"},"deploymentConfiguration":{"cloudServiceConfiguration":{"osFamily":"5","targetOSVersion":"*","currentOSVersion":"*"}},"scaleSettings":{"fixedScale":{"targetDedicatedNodes":0,"targetLowPriorityNodes":0,"resizeTimeout":"PT15M"}},"startTask":{"commandLine":"cmd.exe + /c \"echo hello world\"","resourceFiles":[{"blobSource":"https://blobsource.com","filePath":"filename.txt"}],"environmentSettings":[{"name":"ENV_VAR","value":"env_value"}],"userIdentity":{"autoUser":{"elevationLevel":"Admin"}},"maxTaskRetryCount":0,"waitForSuccess":false},"userAccounts":[{"name":"UserName","elevationLevel":"NonAdmin"}],"resizeOperationStatus":{"targetDedicatedNodes":0,"nodeDeallocationOption":0,"resizeTimeout":"PT15M","startTime":"2017-11-07T17:18:03.0837117Z"},"currentDedicatedNodes":0,"currentLowPriorityNodes":0}}]}'} + headers: + cache-control: [no-cache] + content-length: ['2843'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 07 Nov 2017 17:18:04 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: '{"properties": {"scaleSettings": {"autoScale": {"formula": "$TargetDedicatedNodes=1"}}}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['88'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: PATCH + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/pools/test_iaas_pool?api-version=2017-09-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/pools/test_iaas_pool","name":"test_iaas_pool","type":"Microsoft.Batch/batchAccounts/pools","etag":"W/\"0x8D52603824BEB29\"","properties":{"lastModified":"2017-11-07T17:18:05.5564073Z","creationTime":"2017-11-07T17:18:04.074052Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-11-07T17:18:04.074052Z","allocationState":"Resizing","allocationStateTransitionTime":"2017-11-07T17:18:05.5564073Z","vmSize":"STANDARD_A1","interNodeCommunication":"Disabled","maxTasksPerNode":1,"taskSchedulingPolicy":{"nodeFillType":"Spread"},"deploymentConfiguration":{"virtualMachineConfiguration":{"imageReference":{"publisher":"MicrosoftWindowsServer","offer":"WindowsServer","sku":"2016-Datacenter-smalldisk","version":"latest"},"nodeAgentSkuId":"batch.node.windows + amd64","windowsConfiguration":{"enableAutomaticUpdates":true}}},"scaleSettings":{"autoScale":{"formula":"$TargetDedicatedNodes=1","evaluationInterval":"PT15M"}},"resizeOperationStatus":{"targetDedicatedNodes":1,"nodeDeallocationOption":"Requeue","resizeTimeout":"PT15M","startTime":"2017-11-07T17:18:05.5564073Z"},"currentDedicatedNodes":0,"currentLowPriorityNodes":0,"autoScaleRun":{"evaluationTime":"2017-11-07T17:18:05.5564073Z","results":"$TargetDedicatedNodes=1;$TargetLowPriorityNodes=0;$NodeDeallocationOption=requeue"}}}'} + headers: + cache-control: [no-cache] + content-length: ['1475'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 07 Nov 2017 17:18:05 GMT'] + etag: [W/"0x8D52603824BEB29"] + expires: ['-1'] + last-modified: ['Tue, 07 Nov 2017 17:18:05 GMT'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/pools/test_iaas_pool?api-version=2017-09-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/pools/test_iaas_pool","name":"test_iaas_pool","type":"Microsoft.Batch/batchAccounts/pools","etag":"W/\"0x8D52603824BEB29\"","properties":{"lastModified":"2017-11-07T17:18:05.5564073Z","creationTime":"2017-11-07T17:18:04.074052Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-11-07T17:18:04.074052Z","allocationState":"Resizing","allocationStateTransitionTime":"2017-11-07T17:18:05.5564073Z","vmSize":"STANDARD_A1","interNodeCommunication":"Disabled","maxTasksPerNode":1,"taskSchedulingPolicy":{"nodeFillType":"Spread"},"deploymentConfiguration":{"virtualMachineConfiguration":{"imageReference":{"publisher":"MicrosoftWindowsServer","offer":"WindowsServer","sku":"2016-Datacenter-smalldisk","version":"latest"},"nodeAgentSkuId":"batch.node.windows + amd64","windowsConfiguration":{"enableAutomaticUpdates":true}}},"scaleSettings":{"autoScale":{"formula":"$TargetDedicatedNodes=1","evaluationInterval":"PT15M"}},"resizeOperationStatus":{"targetDedicatedNodes":1,"nodeDeallocationOption":"Requeue","resizeTimeout":"PT15M","startTime":"2017-11-07T17:18:05.5564073Z"},"currentDedicatedNodes":0,"currentLowPriorityNodes":0,"autoScaleRun":{"evaluationTime":"2017-11-07T17:18:05.5564073Z","results":"$TargetDedicatedNodes=1;$TargetLowPriorityNodes=0;$NodeDeallocationOption=requeue"}}}'} + headers: + cache-control: [no-cache] + content-length: ['1475'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 07 Nov 2017 17:18:05 GMT'] + etag: [W/"0x8D52603824BEB29"] + expires: ['-1'] + last-modified: ['Tue, 07 Nov 2017 17:18:05 GMT'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + 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; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/pools/test_iaas_pool/stopResize?api-version=2017-09-01 + response: + body: {string: '{"error":{"code":"OperationInvalidForCurrentState","message":"The + specified operation is not valid for the current state of the resource.\nRequestId:bc14d8fb-e42f-4526-be93-164acb37466b\nTime:2017-11-07T17:18:06.0195487Z","target":"BatchAccount","details":[{"code":"Reason","message":"The + specified pool has AutoScale enabled. AutoScale resize cannot be stopped"}]}}'} + headers: + cache-control: [no-cache] + content-length: ['366'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 07 Nov 2017 17:18:06 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 409, message: The specified operation is not valid for the current + state of the resource.} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/pools/test_iaas_pool/disableAutoScale?api-version=2017-09-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/pools/test_iaas_pool","name":"test_iaas_pool","type":"Microsoft.Batch/batchAccounts/pools","etag":"W/\"0x8D52603831B59AF\"","properties":{"lastModified":"2017-11-07T17:18:06.9158319Z","creationTime":"2017-11-07T17:18:04.074052Z","provisioningState":"Succeeded","provisioningStateTransitionTime":"2017-11-07T17:18:04.074052Z","allocationState":"Stopping","allocationStateTransitionTime":"2017-11-07T17:18:06.9158319Z","vmSize":"STANDARD_A1","interNodeCommunication":"Disabled","maxTasksPerNode":1,"taskSchedulingPolicy":{"nodeFillType":"Spread"},"deploymentConfiguration":{"virtualMachineConfiguration":{"imageReference":{"publisher":"MicrosoftWindowsServer","offer":"WindowsServer","sku":"2016-Datacenter-smalldisk","version":"latest"},"nodeAgentSkuId":"batch.node.windows + amd64","windowsConfiguration":{"enableAutomaticUpdates":true}}},"scaleSettings":{"fixedScale":{"targetDedicatedNodes":1,"targetLowPriorityNodes":0,"resizeTimeout":"PT15M"}},"resizeOperationStatus":{"targetDedicatedNodes":1,"nodeDeallocationOption":"Requeue","resizeTimeout":"PT15M","startTime":"2017-11-07T17:18:05.5564073Z"},"currentDedicatedNodes":0,"currentLowPriorityNodes":0}}'} + headers: + cache-control: [no-cache] + content-length: ['1328'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 07 Nov 2017 17:18:06 GMT'] + etag: [W/"0x8D52603831B59AF"] + expires: ['-1'] + last-modified: ['Tue, 07 Nov 2017 17:18:06 GMT'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] + 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; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/pools/test_iaas_pool?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Tue, 07 Nov 2017 17:18:07 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/poolOperationResults/delete-test_iaas_pool?api-version=2017-09-01'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/poolOperationResults/delete-test_iaas_pool?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Tue, 07 Nov 2017 17:18:21 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/poolOperationResults/delete-test_iaas_pool?api-version=2017-09-01'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + 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-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/poolOperationResults/delete-test_iaas_pool?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Tue, 07 Nov 2017 17:18:37 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/poolOperationResults/delete-test_iaas_pool?api-version=2017-09-01'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + 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-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/poolOperationResults/delete-test_iaas_pool?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Tue, 07 Nov 2017 17:18:52 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/poolOperationResults/delete-test_iaas_pool?api-version=2017-09-01'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + 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-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/poolOperationResults/delete-test_iaas_pool?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Tue, 07 Nov 2017 17:19:09 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/poolOperationResults/delete-test_iaas_pool?api-version=2017-09-01'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + 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-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/poolOperationResults/delete-test_iaas_pool?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Tue, 07 Nov 2017 17:19:24 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/poolOperationResults/delete-test_iaas_pool?api-version=2017-09-01'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + 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-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/poolOperationResults/delete-test_iaas_pool?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Tue, 07 Nov 2017 17:19:40 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/poolOperationResults/delete-test_iaas_pool?api-version=2017-09-01'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + 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-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/poolOperationResults/delete-test_iaas_pool?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Tue, 07 Nov 2017 17:19:56 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/poolOperationResults/delete-test_iaas_pool?api-version=2017-09-01'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + 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-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/poolOperationResults/delete-test_iaas_pool?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Tue, 07 Nov 2017 17:20:12 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/poolOperationResults/delete-test_iaas_pool?api-version=2017-09-01'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + 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-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/poolOperationResults/delete-test_iaas_pool?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Tue, 07 Nov 2017 17:20:26 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/poolOperationResults/delete-test_iaas_pool?api-version=2017-09-01'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + 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-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/poolOperationResults/delete-test_iaas_pool?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Tue, 07 Nov 2017 17:20:42 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/poolOperationResults/delete-test_iaas_pool?api-version=2017-09-01'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + 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-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_batch_test_mgmt_batch_pools1f5c0f25/providers/Microsoft.Batch/batchAccounts/batch1f5c0f25/poolOperationResults/delete-test_iaas_pool?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Tue, 07 Nov 2017 17:20:58 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +version: 1 diff --git a/azure-mgmt-batch/tests/recordings/test_mgmt_batch.test_mgmt_batch_subscription_quota.yaml b/azure-mgmt-batch/tests/recordings/test_mgmt_batch.test_mgmt_batch_subscription_quota.yaml new file mode 100644 index 000000000000..aa3900a86335 --- /dev/null +++ b/azure-mgmt-batch/tests/recordings/test_mgmt_batch.test_mgmt_batch_subscription_quota.yaml @@ -0,0 +1,29 @@ +interactions: +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.1 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.18 + msrest_azure/0.4.16 batchmanagementclient/4.0.0 Azure-SDK-For-Python] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/locations/eastus2/quotas?api-version=2017-09-01 + response: + body: {string: '{"accountQuota":1}'} + headers: + cache-control: [no-cache] + content-length: ['18'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 07 Nov 2017 15:41:43 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +version: 1 diff --git a/azure-mgmt-batch/tests/test_mgmt_batch.py b/azure-mgmt-batch/tests/test_mgmt_batch.py new file mode 100644 index 000000000000..10bc95e383b0 --- /dev/null +++ b/azure-mgmt-batch/tests/test_mgmt_batch.py @@ -0,0 +1,387 @@ +# coding: utf-8 + +#------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +#-------------------------------------------------------------------------- +import io +import logging +import unittest + +import requests + +import azure.mgmt.batch +from azure.mgmt.batch import models +from azure.common.exceptions import CloudError +from preparers import KeyVaultPreparer, SimpleBatchPreparer + +from devtools_testutils import ( + AzureMgmtTestCase, + ResourceGroupPreparer, + StorageAccountPreparer +) + + +AZURE_LOCATION = 'eastus2' +EXISTING_BATCH_ACCOUNT = {'name': 'pythonsdktest', 'location': 'brazilsouth'} + + +class MgmtBatchTest(AzureMgmtTestCase): + + def setUp(self): + super(MgmtBatchTest, self).setUp() + self.mgmt_batch_client = self.create_mgmt_client( + azure.mgmt.batch.BatchManagementClient) + self.mgmt_keyvault_client = self.create_mgmt_client( + azure.mgmt.keyvault.KeyVaultManagementClient) + + def _get_account_name(self): + return self.get_resource_name('batch')[-24:] + + def test_mgmt_batch_list_operations(self): + operations = self.mgmt_batch_client.operations.list() + all_ops = list(operations) + self.assertEqual(len(all_ops), 30) + self.assertEqual(all_ops[0].name, 'Microsoft.Batch/batchAccounts/providers/Microsoft.Insights/diagnosticSettings/read') + self.assertEqual(all_ops[0].origin, 'system') + self.assertEqual(all_ops[0].display.provider, 'Microsoft Batch') + self.assertEqual(all_ops[0].display.operation, 'Read diagnostic setting') + + def test_mgmt_batch_subscription_quota(self): + quotas = self.mgmt_batch_client.location.get_quotas(AZURE_LOCATION) + self.assertIsInstance(quotas, models.BatchLocationQuota) + self.assertEqual(quotas.account_quota, 1) + + def test_mgmt_batch_account_name(self): + # Test Invalid Account Name + availability = self.mgmt_batch_client.location.check_name_availability( + AZURE_LOCATION, "randombatchaccount@5^$g9873495873") + self.assertIsInstance(availability, models.CheckNameAvailabilityResult) + self.assertFalse(availability.name_available) + self.assertEqual(availability.reason, models.NameAvailabilityReason.invalid) + + # Test Unvailable Account Name + availability = self.mgmt_batch_client.location.check_name_availability( + EXISTING_BATCH_ACCOUNT['location'], EXISTING_BATCH_ACCOUNT['name']) + self.assertIsInstance(availability, models.CheckNameAvailabilityResult) + self.assertFalse(availability.name_available) + self.assertEqual(availability.reason, models.NameAvailabilityReason.already_exists) + + # Test Available Account Name + availability = self.mgmt_batch_client.location.check_name_availability( + AZURE_LOCATION, self._get_account_name()) + self.assertIsInstance(availability, models.CheckNameAvailabilityResult) + self.assertTrue(availability.name_available) + + @ResourceGroupPreparer(location=AZURE_LOCATION) + @KeyVaultPreparer(location=AZURE_LOCATION) + def test_mgmt_batch_byos_account(self, resource_group, location, keyvault): + batch_account = models.BatchAccountCreateParameters( + location=location, + pool_allocation_mode=models.PoolAllocationMode.user_subscription) + with self.assertRaises(Exception): # TODO: What exception + creating = self.mgmt_batch_client.batch_account.create( + resource_group.name, + self._get_account_name(), + batch_account) + creating.result() + + keyvault_id = "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.KeyVault/vaults/{}".format( + self.settings.SUBSCRIPTION_ID, resource_group.name, keyvault.name) + keyvault_url = "https://{}.vault.azure.net/".format(keyvault.name) + batch_account = models.BatchAccountCreateParameters( + location=location, + pool_allocation_mode=models.PoolAllocationMode.user_subscription, + key_vault_reference={'id': keyvault_id, 'url': keyvault_url}) + creating = self.mgmt_batch_client.batch_account.create( + resource_group.name, + self._get_account_name(), + batch_account) + creating.result() + + @ResourceGroupPreparer(location=AZURE_LOCATION) + def test_mgmt_batch_account(self, resource_group, location): + batch_account = models.BatchAccountCreateParameters( + location=location, + ) + account_name = self._get_account_name() + account_setup = self.mgmt_batch_client.batch_account.create( + resource_group.name, + account_name, + batch_account) + account_setup.result() + + # Test Get Account + account = self.mgmt_batch_client.batch_account.get(resource_group.name, account_name) + self.assertEqual(account.dedicated_core_quota, 20) + self.assertEqual(account.low_priority_core_quota, 20) + self.assertEqual(account.pool_quota, 20) + self.assertEqual(account.pool_allocation_mode.value, 'BatchService') + + # Test List Accounts by Resource Group + accounts = self.mgmt_batch_client.batch_account.list_by_resource_group(resource_group.name) + self.assertEqual(len(list(accounts)), 1) + + # Test List Account Keys + keys = self.mgmt_batch_client.batch_account.get_keys(resource_group.name, account_name) + self.assertIsInstance(keys, models.BatchAccountKeys) + self.assertEqual(keys.account_name, account_name) + secondary = keys.secondary + + # Test Regenerate Account Key + keys = self.mgmt_batch_client.batch_account.regenerate_key( + resource_group.name, account_name, 'Secondary') + self.assertIsInstance(keys, models.BatchAccountKeys) + self.assertFalse(keys.secondary == secondary) + + # Test Update Account + update_tags = {'Name': 'tagName', 'Value': 'tagValue'} + updated = self.mgmt_batch_client.batch_account.update(resource_group.name, account_name, update_tags) + self.assertIsInstance(updated, models.BatchAccount) + self.assertEqual(updated.tags['Name'], 'tagName') + self.assertEqual(updated.tags['Value'], 'tagValue') + + # Test Delete Account + response = self.mgmt_batch_client.batch_account.delete(resource_group.name, account_name) + self.assertIsNone(response.result()) + + @ResourceGroupPreparer(location=AZURE_LOCATION) + @StorageAccountPreparer(name_prefix='batch', location=AZURE_LOCATION) + def test_mgmt_batch_applications(self, resource_group, location, storage_account, storage_account_key): + # Test Create Account with Auto-Storage + storage_resource = '/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Storage/storageAccounts/{}'.format( + self.settings.SUBSCRIPTION_ID, + resource_group.name, + storage_account.name + ) + batch_account = models.BatchAccountCreateParameters( + location=location, + auto_storage=models.AutoStorageBaseProperties(storage_resource) + ) + account_name = self._get_account_name() + account_setup = self.mgmt_batch_client.batch_account.create( + resource_group.name, + account_name, + batch_account) + account_setup.result() + + # Test Sync AutoStorage Keys + response = self.mgmt_batch_client.batch_account.synchronize_auto_storage_keys( + resource_group.name, account_name) + self.assertIsNone(response) + + # Test Add Application + application_id = 'my_application_id' + application_name = 'my_application_name' + application_ver = 'v1.0' + application = self.mgmt_batch_client.application.create( + resource_group.name, account_name, application_id, + allow_updated=True, display_name=application_name) + self.assertIsInstance(application, models.Application) + self.assertEqual(application.id, application_id) + self.assertEqual(application.display_name, application_name) + self.assertTrue(application.allow_updates) + + # Test Mgmt Get Application + application = self.mgmt_batch_client.application.get(resource_group.name, account_name, application_id) + self.assertIsInstance(application, models.Application) + self.assertEqual(application.id, application_id) + self.assertEqual(application.display_name, application_name) + self.assertTrue(application.allow_updates) + + # Test Mgmt List Applications + applications = self.mgmt_batch_client.application.list(resource_group.name, account_name) + self.assertTrue(len(list(applications)) > 0) + + # Test Add Application Package + package_ref = self.mgmt_batch_client.application_package.create( + resource_group.name, account_name, application_id, application_ver) + self.assertIsInstance(package_ref, models.ApplicationPackage) + with io.BytesIO(b'Hello World') as f: + headers = {'x-ms-blob-type': 'BlockBlob'} + upload = requests.put(package_ref.storage_url, headers=headers, data=f.read()) + if not upload: + raise ValueError('Upload failed: {!r}'.format(upload)) + + # Test Activate Application Package + response = self.mgmt_batch_client.application_package.activate( + resource_group.name, account_name, application_id, application_ver, 'zip') + self.assertIsNone(response) + + # Test Update Application + params = models.ApplicationUpdateParameters( + allow_updates=False, + display_name='my_updated_name', + default_version=application_ver + ) + response = self.mgmt_batch_client.application.update( + resource_group.name, account_name, application_id, params) + self.assertIsNone(response) + + # Test Get Application Package + package_ref = self.mgmt_batch_client.application_package.get( + resource_group.name, account_name, application_id, application_ver) + self.assertIsInstance(package_ref, models.ApplicationPackage) + self.assertEqual(package_ref.id, application_id) + self.assertEqual(package_ref.version, application_ver) + self.assertEqual(package_ref.format, 'zip') + self.assertEqual(package_ref.state, models.PackageState.active) + + # Test Delete Application Package + response = self.mgmt_batch_client.application_package.delete( + resource_group.name, account_name, application_id, application_ver) + self.assertIsNone(response) + + # Test Delete Application + response = self.mgmt_batch_client.application.delete( + resource_group.name, account_name, application_id) + self.assertIsNone(response) + + # Test Delete Account + response = self.mgmt_batch_client.batch_account.delete(resource_group.name, account_name) + self.assertIsNone(response.result()) + + @ResourceGroupPreparer(location=AZURE_LOCATION) + @SimpleBatchPreparer(location=AZURE_LOCATION) + def test_mgmt_batch_certificates(self, resource_group, location, batch_account): + # Test Add Certificate + parameters = models.CertificateCreateOrUpdateParameters( + thumbprint='cff2ab63c8c955aaf71989efa641b906558d9fb7', + thumbprint_algorithm='sha1', + data='MIIGMQIBAzCCBe0GCSqGSIb3DQEHAaCCBd4EggXaMIIF1jCCA8AGCSqGSIb3DQEHAaCCA7EEggOtMIIDqTCCA6UGCyqGSIb3DQEMCgECoIICtjCCArIwHAYKKoZIhvcNAQwBAzAOBAhyd3xCtln3iQICB9AEggKQhe5P10V9iV1BsDlwWT561Yu2hVq3JT8ae/ebx1ZR/gMApVereDKkS9Zg4vFyssusHebbK5pDpU8vfAqle0TM4m7wGsRj453ZorSPUfMpHvQnAOn+2pEpWdMThU7xvZ6DVpwhDOQk9166z+KnKdHGuJKh4haMT7Rw/6xZ1rsBt2423cwTrQVMQyACrEkianpuujubKltN99qRoFAxhQcnYE2KlYKw7lRcExq6mDSYAyk5xJZ1ZFdLj6MAryZroQit/0g5eyhoNEKwWbi8px5j71pRTf7yjN+deMGQKwbGl+3OgaL1UZ5fCjypbVL60kpIBxLZwIJ7p3jJ+q9pbq9zSdzshPYor5lxyUfXqaso/0/91ayNoBzg4hQGh618PhFI6RMGjwkzhB9xk74iweJ9HQyIHf8yx2RCSI22JuCMitPMWSGvOszhbNx3AEDLuiiAOHg391mprEtKZguOIr9LrJwem/YmcHbwyz5YAbZmiseKPkllfC7dafFfCFEkj6R2oegIsZo0pEKYisAXBqT0g+6/jGwuhlZcBo0f7UIZm88iA3MrJCjlXEgV5OcQdoWj+hq0lKEdnhtCKr03AIfukN6+4vjjarZeW1bs0swq0l3XFf5RHa11otshMS4mpewshB9iO9MuKWpRxuxeng4PlKZ/zuBqmPeUrjJ9454oK35Pq+dghfemt7AUpBH/KycDNIZgfdEWUZrRKBGnc519C+RTqxyt5hWL18nJk4LvSd3QKlJ1iyJxClhhb/NWEzPqNdyA5cxen+2T9bd/EqJ2KzRv5/BPVwTQkHH9W/TZElFyvFfOFIW2+03RKbVGw72Mr/0xKZ+awAnEfoU+SL/2Gj2m6PHkqFX2sOCi/tN9EA4xgdswEwYJKoZIhvcNAQkVMQYEBAEAAAAwXQYJKwYBBAGCNxEBMVAeTgBNAGkAYwByAG8AcwBvAGYAdAAgAFMAdAByAG8AbgBnACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcjBlBgkqhkiG9w0BCRQxWB5WAFAAdgBrAFQAbQBwADoANABjAGUANgAwADQAZABhAC0AMAA2ADgAMQAtADQANAAxADUALQBhADIAYwBhAC0ANQA3ADcAMwAwADgAZQA2AGQAOQBhAGMwggIOBgkqhkiG9w0BBwGgggH/BIIB+zCCAfcwggHzBgsqhkiG9w0BDAoBA6CCAcswggHHBgoqhkiG9w0BCRYBoIIBtwSCAbMwggGvMIIBXaADAgECAhAdka3aTQsIsUphgIXGUmeRMAkGBSsOAwIdBQAwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3kwHhcNMTYwMTAxMDcwMDAwWhcNMTgwMTAxMDcwMDAwWjASMRAwDgYDVQQDEwdub2Rlc2RrMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC5fhcxbJHxxBEIDzVOMc56s04U6k4GPY7yMR1m+rBGVRiAyV4RjY6U936dqXHCVD36ps2Q0Z+OeEgyCInkIyVeB1EwXcToOcyeS2YcUb0vRWZDouC3tuFdHwiK1Ed5iW/LksmXDotyV7kpqzaPhOFiMtBuMEwNJcPge9k17hRgRQIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAHl2M97QbpzdnwO5HoRBsiEExOcLTNg+GKCr7HUsbzfvrUivw+JLL7qjHAIc5phnK+F5bQ8HKe0L9YXBSKl+fvwxFTATBgkqhkiG9w0BCRUxBgQEAQAAADA7MB8wBwYFKw4DAhoEFGVtyGMqiBd32fGpzlGZQoRM6UQwBBTI0YHFFqTS4Go8CoLgswn29EiuUQICB9A=', + format=models.CertificateFormat.pfx, + password='nodesdk') + + certificate = 'SHA1-cff2ab63c8c955aaf71989efa641b906558d9fb7' + response = self.mgmt_batch_client.certificate.create(resource_group.name, batch_account.name, certificate, parameters) + self.assertIsInstance(response.result(), models.Certificate) + + # Test List Certificates + certs = self.mgmt_batch_client.certificate.list_by_batch_account(resource_group.name, batch_account.name) + self.assertEqual(len(list(certs)), 1) + + # Test Get Certificate + cert = self.mgmt_batch_client.certificate.get(resource_group.name, batch_account.name, certificate) + self.assertIsInstance(cert, models.Certificate) + self.assertEqual(cert.thumbprint.lower(), 'cff2ab63c8c955aaf71989efa641b906558d9fb7') + self.assertEqual(cert.thumbprint_algorithm, 'SHA1') + self.assertIsNone(cert.delete_certificate_error) + + # Test Update Certiciate + parameters = models.CertificateCreateOrUpdateParameters( + password='nodesdk', + data='MIIGMQIBAzCCBe0GCSqGSIb3DQEHAaCCBd4EggXaMIIF1jCCA8AGCSqGSIb3DQEHAaCCA7EEggOtMIIDqTCCA6UGCyqGSIb3DQEMCgECoIICtjCCArIwHAYKKoZIhvcNAQwBAzAOBAhyd3xCtln3iQICB9AEggKQhe5P10V9iV1BsDlwWT561Yu2hVq3JT8ae/ebx1ZR/gMApVereDKkS9Zg4vFyssusHebbK5pDpU8vfAqle0TM4m7wGsRj453ZorSPUfMpHvQnAOn+2pEpWdMThU7xvZ6DVpwhDOQk9166z+KnKdHGuJKh4haMT7Rw/6xZ1rsBt2423cwTrQVMQyACrEkianpuujubKltN99qRoFAxhQcnYE2KlYKw7lRcExq6mDSYAyk5xJZ1ZFdLj6MAryZroQit/0g5eyhoNEKwWbi8px5j71pRTf7yjN+deMGQKwbGl+3OgaL1UZ5fCjypbVL60kpIBxLZwIJ7p3jJ+q9pbq9zSdzshPYor5lxyUfXqaso/0/91ayNoBzg4hQGh618PhFI6RMGjwkzhB9xk74iweJ9HQyIHf8yx2RCSI22JuCMitPMWSGvOszhbNx3AEDLuiiAOHg391mprEtKZguOIr9LrJwem/YmcHbwyz5YAbZmiseKPkllfC7dafFfCFEkj6R2oegIsZo0pEKYisAXBqT0g+6/jGwuhlZcBo0f7UIZm88iA3MrJCjlXEgV5OcQdoWj+hq0lKEdnhtCKr03AIfukN6+4vjjarZeW1bs0swq0l3XFf5RHa11otshMS4mpewshB9iO9MuKWpRxuxeng4PlKZ/zuBqmPeUrjJ9454oK35Pq+dghfemt7AUpBH/KycDNIZgfdEWUZrRKBGnc519C+RTqxyt5hWL18nJk4LvSd3QKlJ1iyJxClhhb/NWEzPqNdyA5cxen+2T9bd/EqJ2KzRv5/BPVwTQkHH9W/TZElFyvFfOFIW2+03RKbVGw72Mr/0xKZ+awAnEfoU+SL/2Gj2m6PHkqFX2sOCi/tN9EA4xgdswEwYJKoZIhvcNAQkVMQYEBAEAAAAwXQYJKwYBBAGCNxEBMVAeTgBNAGkAYwByAG8AcwBvAGYAdAAgAFMAdAByAG8AbgBnACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcjBlBgkqhkiG9w0BCRQxWB5WAFAAdgBrAFQAbQBwADoANABjAGUANgAwADQAZABhAC0AMAA2ADgAMQAtADQANAAxADUALQBhADIAYwBhAC0ANQA3ADcAMwAwADgAZQA2AGQAOQBhAGMwggIOBgkqhkiG9w0BBwGgggH/BIIB+zCCAfcwggHzBgsqhkiG9w0BDAoBA6CCAcswggHHBgoqhkiG9w0BCRYBoIIBtwSCAbMwggGvMIIBXaADAgECAhAdka3aTQsIsUphgIXGUmeRMAkGBSsOAwIdBQAwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3kwHhcNMTYwMTAxMDcwMDAwWhcNMTgwMTAxMDcwMDAwWjASMRAwDgYDVQQDEwdub2Rlc2RrMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC5fhcxbJHxxBEIDzVOMc56s04U6k4GPY7yMR1m+rBGVRiAyV4RjY6U936dqXHCVD36ps2Q0Z+OeEgyCInkIyVeB1EwXcToOcyeS2YcUb0vRWZDouC3tuFdHwiK1Ed5iW/LksmXDotyV7kpqzaPhOFiMtBuMEwNJcPge9k17hRgRQIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAHl2M97QbpzdnwO5HoRBsiEExOcLTNg+GKCr7HUsbzfvrUivw+JLL7qjHAIc5phnK+F5bQ8HKe0L9YXBSKl+fvwxFTATBgkqhkiG9w0BCRUxBgQEAQAAADA7MB8wBwYFKw4DAhoEFGVtyGMqiBd32fGpzlGZQoRM6UQwBBTI0YHFFqTS4Go8CoLgswn29EiuUQICB9A=',) + response = self.mgmt_batch_client.certificate.update(resource_group.name, batch_account.name, certificate, parameters) + self.assertIsInstance(response, models.Certificate) + + # Test Cancel Certificate Delete + #with self.assertRaises(models.DeleteCertificateError): + self.mgmt_batch_client.certificate.cancel_deletion( + resource_group.name, batch_account.name, certificate) + + # Test Delete Certificate + response = self.mgmt_batch_client.certificate.delete(resource_group.name, batch_account.name, certificate) + self.assertIsNone(response.result()) + + @ResourceGroupPreparer(location=AZURE_LOCATION) + @SimpleBatchPreparer(location=AZURE_LOCATION) + def test_mgmt_batch_pools(self, resource_group, location, batch_account): + # Test create PAAS pool + paas_pool = "test_paas_pool" + parameters = models.Pool( + display_name="test_pool", + vm_size='small', + deployment_configuration=models.DeploymentConfiguration( + cloud_service_configuration=models.CloudServiceConfiguration(os_family='5') + ), + start_task=models.StartTask( + command_line="cmd.exe /c \"echo hello world\"", + resource_files=[models.ResourceFile('https://blobsource.com', 'filename.txt')], + environment_settings=[models.EnvironmentSetting('ENV_VAR', 'env_value')], + user_identity=models.UserIdentity( + auto_user=models.AutoUserSpecification( + elevation_level=models.ElevationLevel.admin + ) + ) + ), + user_accounts=[models.UserAccount('UserName', 'p@55wOrd')], + scale_settings=models.ScaleSettings( + fixed_scale=models.FixedScaleSettings( + target_dedicated_nodes=0, + target_low_priority_nodes=0 + ) + ) + ) + response = self.mgmt_batch_client.pool.create( + resource_group.name, batch_account.name, paas_pool, parameters) + self.assertIsInstance(response.result(), models.Pool) + + # Test create IAAS pool + iaas_pool = "test_iaas_pool" + parameters = models.Pool( + display_name="test_pool", + vm_size='Standard_A1', + deployment_configuration=models.DeploymentConfiguration( + virtual_machine_configuration=models.VirtualMachineConfiguration( + image_reference=models.ImageReference( + publisher='MicrosoftWindowsServer', + offer='WindowsServer', + sku='2016-Datacenter-smalldisk' + ), + node_agent_sku_id='batch.node.windows amd64', + windows_configuration=models.WindowsConfiguration(True) + ) + ), + scale_settings=models.ScaleSettings( + fixed_scale=models.FixedScaleSettings( + target_dedicated_nodes=0, + target_low_priority_nodes=0 + ) + ) + ) + + response = self.mgmt_batch_client.pool.create( + resource_group.name, batch_account.name, iaas_pool, parameters) + self.assertIsInstance(response.result(), models.Pool) + + # Test list pools + pools = self.mgmt_batch_client.pool.list_by_batch_account(resource_group.name, batch_account.name) + self.assertEqual(len(list(pools)), 2) + + # Test Update pool + parameters = models.Pool( + scale_settings=models.ScaleSettings( + auto_scale=models.AutoScaleSettings( + formula='$TargetDedicatedNodes=1' + ) + ) + ) + response = self.mgmt_batch_client.pool.update( + resource_group.name, batch_account.name, iaas_pool, parameters) + self.assertIsInstance(response, models.Pool) + + # Test Get pool + pool = self.mgmt_batch_client.pool.get( + resource_group.name, batch_account.name, iaas_pool) + self.assertIsInstance(pool, models.Pool) + self.assertEqual(pool.vm_size, 'STANDARD_A1'), + self.assertIsNone(pool.display_name), + self.assertEqual(pool.allocation_state, models.AllocationState.resizing) + self.assertEqual( + pool.deployment_configuration.virtual_machine_configuration.node_agent_sku_id, + 'batch.node.windows amd64') + + # Test stop resizing + with self.assertRaises(CloudError): + self.mgmt_batch_client.pool.stop_resize(resource_group.name, batch_account.name, iaas_pool) + + # Test disable auto-scale + response = self.mgmt_batch_client.pool.disable_auto_scale( + resource_group.name, batch_account.name, iaas_pool) + self.assertIsInstance(response, models.Pool) + + # Test delete pool + response = self.mgmt_batch_client.pool.delete( + resource_group.name, batch_account.name, iaas_pool) + self.assertIsNone(response.result()) \ No newline at end of file diff --git a/azure-mgmt/tests/recordings/test_batch.test_batch_accounts.yaml b/azure-mgmt/tests/recordings/test_batch.test_batch_accounts.yaml deleted file mode 100644 index 76e1b9c608db..000000000000 --- a/azure-mgmt/tests/recordings/test_batch.test_batch_accounts.yaml +++ /dev/null @@ -1,1213 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [6b49409a-6e51-11e7-bf84-ecb1d755839a] - method: GET - uri: https://management.azure.com/providers/Microsoft.Batch/operations?api-version=2017-05-01 - response: - body: {string: '{"value":[{"name":"Microsoft.Batch/batchAccounts/providers/Microsoft.Insights/diagnosticSettings/read","display":{"provider":"Microsoft - Batch","resource":"Batch Accounts","operation":"Read diagnostic setting","description":"Gets - the diagnostic setting for the resource"},"origin":"system"},{"name":"Microsoft.Batch/batchAccounts/providers/Microsoft.Insights/diagnosticSettings/write","display":{"provider":"Microsoft - Batch","resource":"Batch Accounts","operation":"Write diagnostic setting","description":"Creates - or updates the diagnostic setting for the resource"},"origin":"system"},{"name":"Microsoft.Batch/batchAccounts/providers/Microsoft.Insights/logDefinitions/read","display":{"provider":"Microsoft - Batch","resource":"Batch Account Log Definitions","operation":"Read Batch - service log definitions","description":"Gets the available logs for the Batch - service"},"origin":"system","properties":{"serviceSpecification":{"logSpecifications":[{"name":"ServiceLog","displayName":"Service - Logs","blobDuration":"PT1H"}]}}},{"name":"Microsoft.Batch/batchAccounts/providers/Microsoft.Insights/metricDefinitions/read","display":{"provider":"Microsoft - Batch","resource":"Batch Account Metric Definitions","operation":"Read Batch - service metric definitions","description":"Gets the available metrics for - the Batch service"},"origin":"system","properties":{"serviceSpecification":{"metricSpecifications":[{"name":"CoreCount","displayName":"Dedicated - Core Count","displayDescription":"Total number of dedicated cores in the batch - account","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"TotalNodeCount","displayName":"Dedicated - Node Count","displayDescription":"Total number of dedicated nodes in the batch - account","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"LowPriorityCoreCount","displayName":"LowPriority - Core Count","displayDescription":"Total number of low-priority cores in the - batch account","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"TotalLowPriorityNodeCount","displayName":"Low-Priority - Node Count","displayDescription":"Total number of low-priority nodes in the - batch account","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"CreatingNodeCount","displayName":"Creating - Node Count","displayDescription":"Number of nodes being created","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"StartingNodeCount","displayName":"Starting - Node Count","displayDescription":"Number of nodes starting","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"WaitingForStartTaskNodeCount","displayName":"Waiting - For Start Task Node Count","displayDescription":"Number of nodes waiting for - the Start Task to complete","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"StartTaskFailedNodeCount","displayName":"Start - Task Failed Node Count","displayDescription":"Number of nodes where the Start - Task has failed","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"IdleNodeCount","displayName":"Idle - Node Count","displayDescription":"Number of idle nodes","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"OfflineNodeCount","displayName":"Offline - Node Count","displayDescription":"Number of offline nodes","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"RebootingNodeCount","displayName":"Rebooting - Node Count","displayDescription":"Number of rebooting nodes","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"ReimagingNodeCount","displayName":"Reimaging - Node Count","displayDescription":"Number of reimaging nodes","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"RunningNodeCount","displayName":"Running - Node Count","displayDescription":"Number of running nodes","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"LeavingPoolNodeCount","displayName":"Leaving - Pool Node Count","displayDescription":"Number of nodes leaving the Pool","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"UnusableNodeCount","displayName":"Unusable - Node Count","displayDescription":"Number of unusable nodes","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"PreemptedNodeCount","displayName":"Preempted - Node Count","displayDescription":"Number of preempted nodes","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"TaskStartEvent","displayName":"Task - Start Events","displayDescription":"Total number of tasks that have started","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"TaskCompleteEvent","displayName":"Task - Complete Events","displayDescription":"Total number of tasks that have completed","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"TaskFailEvent","displayName":"Task - Fail Events","displayDescription":"Total number of tasks that have completed - in a failed state","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"PoolCreateEvent","displayName":"Pool - Create Events","displayDescription":"Total number of pools that have been - created","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"PoolResizeStartEvent","displayName":"Pool - Resize Start Events","displayDescription":"Total number of pool resizes that - have started","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"PoolResizeCompleteEvent","displayName":"Pool - Resize Complete Events","displayDescription":"Total number of pool resizes - that have completed","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"PoolDeleteStartEvent","displayName":"Pool - Delete Start Events","displayDescription":"Total number of pool deletes that - have started","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"PoolDeleteCompleteEvent","displayName":"Pool - Delete Complete Events","displayDescription":"Total number of pool deletes - that have completed","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false}]}}},{"name":"Microsoft.Batch/batchAccounts/read","display":{"provider":"Microsoft - Batch","resource":"Batch Accounts","operation":"List or Get Batch Accounts","description":"Lists - Batch accounts or gets the properties of a Batch account"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/write","display":{"provider":"Microsoft - Batch","resource":"Batch Accounts","operation":"Create or Update Batch Account","description":"Creates - a new Batch account or updates an existing Batch account"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/delete","display":{"provider":"Microsoft - Batch","resource":"Batch Accounts","operation":"Delete Batch Account","description":"Deletes - a Batch account"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/listkeys/action","display":{"provider":"Microsoft - Batch","resource":"Batch Accounts","operation":"List Batch Account Keys","description":"Lists - access keys for a Batch account"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/regeneratekeys/action","display":{"provider":"Microsoft - Batch","resource":"Batch Accounts","operation":"Regenerate Batch Account Keys","description":"Regenerates - access keys for a Batch account"},"origin":"user,system"},{"name":"Microsoft.Batch/locations/quotas/read","display":{"provider":"Microsoft - Batch","resource":"Batch Quotas","operation":"Get Batch Quotas","description":"Gets - Batch quotas of the specified subscription at the specified Azure region"},"origin":"user,system"},{"name":"Microsoft.Batch/locations/checkNameAvailability/action","display":{"provider":"Microsoft - Batch","resource":"Name Availability","operation":"Check Name Availability","description":"Checks - that the account name is valid and not in use."},"origin":"user,system"},{"name":"Microsoft.Batch/register/action","display":{"provider":"Microsoft - Batch","resource":"Batch Resource Provider","operation":"Register the Batch - Resource Provider","description":"Registers the subscription for the Batch - Resource Provider and enables the creation of Batch accounts"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/syncAutoStorageKeys/action","display":{"provider":"Microsoft - Batch","resource":"Batch Accounts","operation":"Synchronize Auto Storage Account - Keys","description":"Synchronizes access keys for the auto storage account - configured for a Batch account"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/applications/read","display":{"provider":"Microsoft - Batch","resource":"Applications","operation":"List or Get Applications","description":"Lists - applications or gets the properties of an application"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/applications/write","display":{"provider":"Microsoft - Batch","resource":"Applications","operation":"Create or Update Application","description":"Creates - a new application or updates an existing application"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/applications/delete","display":{"provider":"Microsoft - Batch","resource":"Applications","operation":"Delete Application","description":"Deletes - an application"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/applications/versions/read","display":{"provider":"Microsoft - Batch","resource":"Application Packages","operation":"Get Application Package","description":"Gets - the properties of an application package"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/applications/versions/write","display":{"provider":"Microsoft - Batch","resource":"Application Packages","operation":"Create or Update Application - Package","description":"Creates a new application package or updates an existing - application package"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/applications/versions/delete","display":{"provider":"Microsoft - Batch","resource":"Application Packages","operation":"Delete Application Package","description":"Deletes - an application package"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/applications/versions/activate/action","display":{"provider":"Microsoft - Batch","resource":"Application Packages","operation":"Activate Application - Package","description":"Activates an application package"},"origin":"user,system"}]}'} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Fri, 21 Jul 2017 20:16:02 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - X-Content-Type-Options: [nosniff] - content-length: ['13062'] - x-ms-correlation-request-id: [98bbce0c-2e41-47eb-bc15-72aef4c2ccda] - x-ms-ratelimit-remaining-tenant-reads: ['14999'] - x-ms-request-id: [552f1057-0909-4f51-8686-d6bcdeebfb3d] - x-ms-routing-request-id: ['WESTUS:20170721T201603Z:98bbce0c-2e41-47eb-bc15-72aef4c2ccda'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [6b86d1b6-6e51-11e7-becb-ecb1d755839a] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/locations/brazilsouth/quotas?api-version=2017-05-01 - response: - body: {string: '{"accountQuota":1}'} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Fri, 21 Jul 2017 20:16:03 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - X-Content-Type-Options: [nosniff] - content-length: ['18'] - x-ms-correlation-request-id: [6a81dba6-e551-45e7-843f-306c9c756cad] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [89d4a9a3-fec2-4214-a4f4-3dabbd3fd93b] - x-ms-routing-request-id: ['WESTUS:20170721T201604Z:6a81dba6-e551-45e7-843f-306c9c756cad'] - status: {code: 200, message: OK} -- request: - body: '{"type": "Microsoft.Batch/batchAccounts", "name": "randombatchaccount@5^$g9873495873"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['86'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [6c32edf4-6e51-11e7-a388-ecb1d755839a] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/locations/brazilsouth/checkNameAvailability?api-version=2017-05-01 - response: - body: {string: '{"nameAvailable":false,"reason":"Invalid","message":"Account name - must be at least 3 characters and at most 24 characters."}'} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Fri, 21 Jul 2017 20:16:05 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - X-Content-Type-Options: [nosniff] - content-length: ['124'] - x-ms-correlation-request-id: [fb4d0147-08e9-42d8-a436-9c4cfc292005] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - x-ms-request-id: [14f25b16-d933-47bb-9038-7c85fc84f387] - x-ms-routing-request-id: ['WESTUS:20170721T201605Z:fb4d0147-08e9-42d8-a436-9c4cfc292005'] - status: {code: 200, message: OK} -- request: - body: '{"type": "Microsoft.Batch/batchAccounts", "name": "pythonsdktest"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['66'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [6cd4947a-6e51-11e7-81b9-ecb1d755839a] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/locations/brazilsouth/checkNameAvailability?api-version=2017-05-01 - response: - body: {string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"An - account named ''pythonsdktest'' is already in use."}'} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Fri, 21 Jul 2017 20:16:05 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - X-Content-Type-Options: [nosniff] - content-length: ['112'] - x-ms-correlation-request-id: [a824f96a-3cff-4a0e-8412-41ae4070c422] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [48e3114a-5740-49fc-b127-67651e46bb76] - x-ms-routing-request-id: ['WESTUS:20170721T201606Z:a824f96a-3cff-4a0e-8412-41ae4070c422'] - status: {code: 200, message: OK} -- request: - body: '{"type": "Microsoft.Batch/batchAccounts", "name": "batchpythonaccounttest"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['75'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [6d59e868-6e51-11e7-a5ad-ecb1d755839a] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/locations/eastus2/checkNameAvailability?api-version=2017-05-01 - response: - body: {string: '{"nameAvailable":true}'} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Fri, 21 Jul 2017 20:16:06 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - X-Content-Type-Options: [nosniff] - content-length: ['22'] - x-ms-correlation-request-id: [df453ed4-8078-4158-a0a7-ab10af92ea7f] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - x-ms-request-id: [0edf4645-efc4-401b-bdfc-3f505c94f30e] - x-ms-routing-request-id: ['WESTUS:20170721T201606Z:df453ed4-8078-4158-a0a7-ab10af92ea7f'] - status: {code: 200, message: OK} -- request: - body: '{"properties": {"poolAllocationMode": "UserSubscription"}, "location": - "eastus2"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['81'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [750f4e8a-6e51-11e7-ad02-ecb1d755839a] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/batchpythonaccounttest?api-version=2017-05-01 - response: - body: {string: '{"error":{"code":"InvalidRequestBody","message":"The specified - Request Body is not syntactically valid.\nRequestId:1fc41de3-0e4f-442e-99bf-4a4db90d5112\nTime:2017-07-21T20:16:22.2767063Z","target":"BatchAccount","details":[{"code":"Reason","message":"keyVaultReference - must be set if poolAllocationMode is specified as ''UserSubscription'' on - a PUT request"}]}}'} - headers: - Cache-Control: [no-cache] - Content-Length: ['359'] - Content-Type: [application/json; charset=utf-8] - Date: ['Fri, 21 Jul 2017 20:16:22 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - x-ms-correlation-request-id: [f9eda735-5cfe-4037-ae08-72e1a56eb00d] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [1fc41de3-0e4f-442e-99bf-4a4db90d5112] - x-ms-routing-request-id: ['WESTUS:20170721T201622Z:f9eda735-5cfe-4037-ae08-72e1a56eb00d'] - status: {code: 400, message: The specified Request Body is not syntactically valid.} -- request: - body: '{"properties": {"keyVaultReference": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.KeyVault/vaults/batchpythonsdktest", - "url": "https://batchpythonsdktest.vault.azure.net/"}, "poolAllocationMode": - "UserSubscription"}, "location": "eastus2"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['311'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [842436b8-6e51-11e7-b8c1-ecb1d755839a] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/batchpythonaccounttest?api-version=2017-05-01 - response: - body: {string: ''} - headers: - Cache-Control: [no-cache] - Content-Length: ['0'] - Date: ['Fri, 21 Jul 2017 20:16:51 GMT'] - Expires: ['-1'] - Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/batchpythonaccounttest/operationResults/50593a60-dfe9-4f1b-becf-c95873a4140a?api-version=2017-05-01'] - Pragma: [no-cache] - Retry-After: ['0'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - x-ms-correlation-request-id: [428cafbc-57cd-47f6-92e3-2ca602b826e1] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - x-ms-request-id: [50593a60-dfe9-4f1b-becf-c95873a4140a] - x-ms-routing-request-id: ['WESTUS:20170721T201651Z:428cafbc-57cd-47f6-92e3-2ca602b826e1'] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [842436b8-6e51-11e7-b8c1-ecb1d755839a] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/batchpythonaccounttest/operationResults/50593a60-dfe9-4f1b-becf-c95873a4140a?api-version=2017-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/batchpythonaccounttest","name":"batchpythonaccounttest","type":"Microsoft.Batch/batchAccounts","location":"eastus2","properties":{"accountEndpoint":"batchpythonaccounttest.eastus2.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":2147483647,"lowPriorityCoreQuota":0,"poolQuota":20,"activeJobAndJobScheduleQuota":20,"poolAllocationMode":"usersubscription","keyVaultReference":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.KeyVault/vaults/batchpythonsdktest","url":"https://batchpythonsdktest.vault.azure.net/"}}}'} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Fri, 21 Jul 2017 20:17:06 GMT'] - ETag: ['"0x8D4D0757604847F"'] - Expires: ['-1'] - Last-Modified: ['Fri, 21 Jul 2017 20:17:07 GMT'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - X-Content-Type-Options: [nosniff] - content-length: ['737'] - x-ms-correlation-request-id: [18dd7c8d-ec82-43cc-bb55-9a0e042d277b] - x-ms-ratelimit-remaining-subscription-reads: ['14990'] - x-ms-request-id: [6d8bb761-05d6-42bc-987a-0b5a5adeb422] - x-ms-routing-request-id: ['WESTUS2:20170721T201707Z:18dd7c8d-ec82-43cc-bb55-9a0e042d277b'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [91f46ef6-6e51-11e7-9ebe-ecb1d755839a] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest?api-version=2017-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest","name":"pythonsdktest","type":"Microsoft.Batch/batchAccounts","location":"brazilsouth","properties":{"accountEndpoint":"pythonsdktest.brazilsouth.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":20,"lowPriorityCoreQuota":50,"poolQuota":20,"activeJobAndJobScheduleQuota":20,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Storage/storageAccounts/batchpythonsdktest","lastKeySync":"2017-07-21T20:12:28.2086854Z"},"poolAllocationMode":"batchservice"},"tags":{"Value":"tagValue","Name":"tagName"}}'} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Fri, 21 Jul 2017 20:17:08 GMT'] - ETag: ['"0x8D4D074D0B88A2C"'] - Expires: ['-1'] - Last-Modified: ['Fri, 21 Jul 2017 20:12:30 GMT'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - X-Content-Type-Options: [nosniff] - content-length: ['761'] - x-ms-correlation-request-id: [ca6b4aa9-0a0e-4499-b69c-815871174594] - x-ms-ratelimit-remaining-subscription-reads: ['14950'] - x-ms-request-id: [ce1eef6d-4521-4b0d-9f54-dc6b76355b0f] - x-ms-routing-request-id: ['WESTUS2:20170721T201709Z:ca6b4aa9-0a0e-4499-b69c-815871174594'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [92b40f7a-6e51-11e7-b68e-ecb1d755839a] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts?api-version=2017-05-01 - response: - body: {string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/batchpythonaccounttest","name":"batchpythonaccounttest","type":"Microsoft.Batch/batchAccounts","location":"eastus2","properties":{"accountEndpoint":"batchpythonaccounttest.eastus2.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":2147483647,"lowPriorityCoreQuota":0,"poolQuota":20,"activeJobAndJobScheduleQuota":20,"poolAllocationMode":"usersubscription","keyVaultReference":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.KeyVault/vaults/batchpythonsdktest","url":"https://batchpythonsdktest.vault.azure.net/"}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest","name":"pythonsdktest","type":"Microsoft.Batch/batchAccounts","location":"brazilsouth","properties":{"accountEndpoint":"pythonsdktest.brazilsouth.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":20,"lowPriorityCoreQuota":50,"poolQuota":20,"activeJobAndJobScheduleQuota":20,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Storage/storageAccounts/batchpythonsdktest","lastKeySync":"2017-07-21T20:12:28.2086854Z"},"poolAllocationMode":"batchservice"},"tags":{"Value":"tagValue","Name":"tagName"}}]}'} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Fri, 21 Jul 2017 20:17:09 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Vary: [Accept-Encoding] - content-length: ['1511'] - x-ms-correlation-request-id: [dd5f0cd1-e1b6-40b6-9242-e72f80076a5c] - x-ms-original-request-ids: [50370309-b08b-4f03-908c-66fdc98c85fc, 87409487-e8de-4e3c-947c-c73ba7d76d1d] - x-ms-ratelimit-remaining-subscription-reads: ['14774'] - x-ms-request-id: [dd5f0cd1-e1b6-40b6-9242-e72f80076a5c] - x-ms-routing-request-id: ['WESTUS2:20170721T201710Z:dd5f0cd1-e1b6-40b6-9242-e72f80076a5c'] - 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; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [936e62ca-6e51-11e7-bb07-ecb1d755839a] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest/listKeys?api-version=2017-05-01 - response: - body: {string: '{"accountName":"pythonsdktest","primary":"QLixBlAbSvbOVWILkPxQqYySx4+8GZ70nfuoKQYSjzNL2FxZlZPC6tUY871KXnw==","secondary":"f2ndj9x0Lpn6Ah9FUjqpZoyobNfUHRjOcINqZlArASGyucLBGJ3N9Iaqg=="}'} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Fri, 21 Jul 2017 20:17:11 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - X-Content-Type-Options: [nosniff] - content-length: ['235'] - x-ms-correlation-request-id: [e5776f8a-7084-43e6-926c-9b00a3b91f96] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [e951e896-e078-404b-bec5-b3d3f6e551f6] - x-ms-routing-request-id: ['WESTUS2:20170721T201711Z:e5776f8a-7084-43e6-926c-9b00a3b91f96'] - status: {code: 200, message: OK} -- request: - body: '{"keyName": "Secondary"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['24'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [94241a70-6e51-11e7-98a3-ecb1d755839a] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest/regenerateKeys?api-version=2017-05-01 - response: - body: {string: '{"accountName":"pythonsdktest","primary":"QLixBlAbSvbOVWILkPxQqYySx4+8GZ70nfuoKQYSjzNL2FxZlZPC6tUY871KXnw==","secondary":"DchwZrJBwLRD8bm3mFWf1QJOGTnkV6n0BMl0i9MCLmLboclZE+a8884Rw=="}'} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Fri, 21 Jul 2017 20:17:11 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - X-Content-Type-Options: [nosniff] - content-length: ['235'] - x-ms-correlation-request-id: [cb1c01df-4967-445e-b98e-0da83a3b24fa] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - x-ms-request-id: [4a483d61-1244-443f-b1b2-325df27a55d2] - x-ms-routing-request-id: ['WESTUS2:20170721T201712Z:cb1c01df-4967-445e-b98e-0da83a3b24fa'] - 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; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [94ec63b6-6e51-11e7-bdb8-ecb1d755839a] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest/syncAutoStorageKeys?api-version=2017-05-01 - response: - body: {string: ''} - headers: - Cache-Control: [no-cache] - Content-Length: ['0'] - Date: ['Fri, 21 Jul 2017 20:17:15 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - x-ms-correlation-request-id: [0053c6be-ac61-48e1-b68e-f90378737878] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [5d292d86-7db8-47d9-9773-51f109a49d0c] - x-ms-routing-request-id: ['WESTUS2:20170721T201715Z:0053c6be-ac61-48e1-b68e-f90378737878'] - status: {code: 204, message: No Content} -- request: - body: '{"tags": {"Name": "tagName", "Value": "tagValue"}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['50'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [96c93fe8-6e51-11e7-90b0-ecb1d755839a] - method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest?api-version=2017-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest","name":"pythonsdktest","type":"Microsoft.Batch/batchAccounts","location":"brazilsouth","properties":{"accountEndpoint":"pythonsdktest.brazilsouth.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":20,"lowPriorityCoreQuota":50,"poolQuota":20,"activeJobAndJobScheduleQuota":20,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Storage/storageAccounts/batchpythonsdktest","lastKeySync":"2017-07-21T20:17:15.3531521Z"},"poolAllocationMode":"batchservice"},"tags":{"Name":"tagName","Value":"tagValue"}}'} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Fri, 21 Jul 2017 20:17:19 GMT'] - ETag: ['"0x8D4D0757B9D6A51"'] - Expires: ['-1'] - Last-Modified: ['Fri, 21 Jul 2017 20:17:16 GMT'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - X-Content-Type-Options: [nosniff] - content-length: ['761'] - x-ms-correlation-request-id: [f5a13fed-e32b-4b0b-b679-961a40d5d475] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [2ae7c97d-28a9-45c1-9da1-9e9c534f759c] - x-ms-routing-request-id: ['WESTUS2:20170721T201720Z:f5a13fed-e32b-4b0b-b679-961a40d5d475'] - 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; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [995d19e6-6e51-11e7-874f-ecb1d755839a] - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/batchpythonaccounttest?api-version=2017-05-01 - response: - body: {string: ''} - headers: - Cache-Control: [no-cache] - Content-Length: ['0'] - Date: ['Fri, 21 Jul 2017 20:17:21 GMT'] - Expires: ['-1'] - Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/batchpythonaccounttest/operationResults/fadf7734-0e43-44b9-b1bf-ba91feaa264f?api-version=2017-05-01'] - Pragma: [no-cache] - Retry-After: ['0'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - x-ms-correlation-request-id: [bf997eea-b388-4565-b7b5-6381a3e5ce10] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [fadf7734-0e43-44b9-b1bf-ba91feaa264f] - x-ms-routing-request-id: ['WESTUS2:20170721T201722Z:bf997eea-b388-4565-b7b5-6381a3e5ce10'] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [995d19e6-6e51-11e7-874f-ecb1d755839a] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/batchpythonaccounttest/operationResults/fadf7734-0e43-44b9-b1bf-ba91feaa264f?api-version=2017-05-01 - response: - body: {string: ''} - headers: - Cache-Control: [no-cache] - Content-Length: ['0'] - Date: ['Fri, 21 Jul 2017 20:17:37 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - x-ms-correlation-request-id: [5404a3dc-98a1-45ac-9b17-f5c24e16a6ec] - x-ms-ratelimit-remaining-subscription-reads: ['14815'] - x-ms-request-id: [16104b1d-5ab7-4550-a970-1590bfdc79c2] - x-ms-routing-request-id: ['WESTUS2:20170721T201738Z:5404a3dc-98a1-45ac-9b17-f5c24e16a6ec'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [7d9f0b66-a02c-11e7-9d08-6c3be5273719] - method: GET - uri: https://management.azure.com/providers/Microsoft.Batch/operations?api-version=2017-05-01 - response: - body: {string: '{"value":[{"name":"Microsoft.Batch/batchAccounts/providers/Microsoft.Insights/diagnosticSettings/read","display":{"provider":"Microsoft - Batch","resource":"Batch Accounts","operation":"Read diagnostic setting","description":"Gets - the diagnostic setting for the resource"},"origin":"system"},{"name":"Microsoft.Batch/batchAccounts/providers/Microsoft.Insights/diagnosticSettings/write","display":{"provider":"Microsoft - Batch","resource":"Batch Accounts","operation":"Write diagnostic setting","description":"Creates - or updates the diagnostic setting for the resource"},"origin":"system"},{"name":"Microsoft.Batch/batchAccounts/providers/Microsoft.Insights/logDefinitions/read","display":{"provider":"Microsoft - Batch","resource":"Batch Account Log Definitions","operation":"Read Batch - service log definitions","description":"Gets the available logs for the Batch - service"},"origin":"system","properties":{"serviceSpecification":{"logSpecifications":[{"name":"ServiceLog","displayName":"Service - Logs","blobDuration":"PT1H"}]}}},{"name":"Microsoft.Batch/batchAccounts/providers/Microsoft.Insights/metricDefinitions/read","display":{"provider":"Microsoft - Batch","resource":"Batch Account Metric Definitions","operation":"Read Batch - service metric definitions","description":"Gets the available metrics for - the Batch service"},"origin":"system","properties":{"serviceSpecification":{"metricSpecifications":[{"name":"CoreCount","displayName":"Dedicated - Core Count","displayDescription":"Total number of dedicated cores in the batch - account","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"TotalNodeCount","displayName":"Dedicated - Node Count","displayDescription":"Total number of dedicated nodes in the batch - account","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"LowPriorityCoreCount","displayName":"LowPriority - Core Count","displayDescription":"Total number of low-priority cores in the - batch account","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"TotalLowPriorityNodeCount","displayName":"Low-Priority - Node Count","displayDescription":"Total number of low-priority nodes in the - batch account","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"CreatingNodeCount","displayName":"Creating - Node Count","displayDescription":"Number of nodes being created","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"StartingNodeCount","displayName":"Starting - Node Count","displayDescription":"Number of nodes starting","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"WaitingForStartTaskNodeCount","displayName":"Waiting - For Start Task Node Count","displayDescription":"Number of nodes waiting for - the Start Task to complete","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"StartTaskFailedNodeCount","displayName":"Start - Task Failed Node Count","displayDescription":"Number of nodes where the Start - Task has failed","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"IdleNodeCount","displayName":"Idle - Node Count","displayDescription":"Number of idle nodes","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"OfflineNodeCount","displayName":"Offline - Node Count","displayDescription":"Number of offline nodes","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"RebootingNodeCount","displayName":"Rebooting - Node Count","displayDescription":"Number of rebooting nodes","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"ReimagingNodeCount","displayName":"Reimaging - Node Count","displayDescription":"Number of reimaging nodes","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"RunningNodeCount","displayName":"Running - Node Count","displayDescription":"Number of running nodes","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"LeavingPoolNodeCount","displayName":"Leaving - Pool Node Count","displayDescription":"Number of nodes leaving the Pool","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"UnusableNodeCount","displayName":"Unusable - Node Count","displayDescription":"Number of unusable nodes","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"PreemptedNodeCount","displayName":"Preempted - Node Count","displayDescription":"Number of preempted nodes","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"TaskStartEvent","displayName":"Task - Start Events","displayDescription":"Total number of tasks that have started","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"TaskCompleteEvent","displayName":"Task - Complete Events","displayDescription":"Total number of tasks that have completed","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"TaskFailEvent","displayName":"Task - Fail Events","displayDescription":"Total number of tasks that have completed - in a failed state","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"PoolCreateEvent","displayName":"Pool - Create Events","displayDescription":"Total number of pools that have been - created","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"PoolResizeStartEvent","displayName":"Pool - Resize Start Events","displayDescription":"Total number of pool resizes that - have started","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"PoolResizeCompleteEvent","displayName":"Pool - Resize Complete Events","displayDescription":"Total number of pool resizes - that have completed","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"PoolDeleteStartEvent","displayName":"Pool - Delete Start Events","displayDescription":"Total number of pool deletes that - have started","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false},{"name":"PoolDeleteCompleteEvent","displayName":"Pool - Delete Complete Events","displayDescription":"Total number of pool deletes - that have completed","unit":"Count","aggregationType":"Total","availabilities":[{"timeGrain":"PT1M","blobDuration":"PT1H"}],"supportsInstanceLevelAggregation":false,"enableRegionalMdmAccount":false}]}}},{"name":"Microsoft.Batch/batchAccounts/read","display":{"provider":"Microsoft - Batch","resource":"Batch Accounts","operation":"List or Get Batch Accounts","description":"Lists - Batch accounts or gets the properties of a Batch account"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/write","display":{"provider":"Microsoft - Batch","resource":"Batch Accounts","operation":"Create or Update Batch Account","description":"Creates - a new Batch account or updates an existing Batch account"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/delete","display":{"provider":"Microsoft - Batch","resource":"Batch Accounts","operation":"Delete Batch Account","description":"Deletes - a Batch account"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/listkeys/action","display":{"provider":"Microsoft - Batch","resource":"Batch Accounts","operation":"List Batch Account Keys","description":"Lists - access keys for a Batch account"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/regeneratekeys/action","display":{"provider":"Microsoft - Batch","resource":"Batch Accounts","operation":"Regenerate Batch Account Keys","description":"Regenerates - access keys for a Batch account"},"origin":"user,system"},{"name":"Microsoft.Batch/locations/quotas/read","display":{"provider":"Microsoft - Batch","resource":"Batch Quotas","operation":"Get Batch Quotas","description":"Gets - Batch quotas of the specified subscription at the specified Azure region"},"origin":"user,system"},{"name":"Microsoft.Batch/locations/checkNameAvailability/action","display":{"provider":"Microsoft - Batch","resource":"Name Availability","operation":"Check Name Availability","description":"Checks - that the account name is valid and not in use."},"origin":"user,system"},{"name":"Microsoft.Batch/register/action","display":{"provider":"Microsoft - Batch","resource":"Batch Resource Provider","operation":"Register the Batch - Resource Provider","description":"Registers the subscription for the Batch - Resource Provider and enables the creation of Batch accounts"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/syncAutoStorageKeys/action","display":{"provider":"Microsoft - Batch","resource":"Batch Accounts","operation":"Synchronize Auto Storage Account - Keys","description":"Synchronizes access keys for the auto storage account - configured for a Batch account"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/applications/read","display":{"provider":"Microsoft - Batch","resource":"Applications","operation":"List or Get Applications","description":"Lists - applications or gets the properties of an application"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/applications/write","display":{"provider":"Microsoft - Batch","resource":"Applications","operation":"Create or Update Application","description":"Creates - a new application or updates an existing application"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/applications/delete","display":{"provider":"Microsoft - Batch","resource":"Applications","operation":"Delete Application","description":"Deletes - an application"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/applications/versions/read","display":{"provider":"Microsoft - Batch","resource":"Application Packages","operation":"Get Application Package","description":"Gets - the properties of an application package"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/applications/versions/write","display":{"provider":"Microsoft - Batch","resource":"Application Packages","operation":"Create or Update Application - Package","description":"Creates a new application package or updates an existing - application package"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/applications/versions/delete","display":{"provider":"Microsoft - Batch","resource":"Application Packages","operation":"Delete Application Package","description":"Deletes - an application package"},"origin":"user,system"},{"name":"Microsoft.Batch/batchAccounts/applications/versions/activate/action","display":{"provider":"Microsoft - Batch","resource":"Application Packages","operation":"Activate Application - Package","description":"Activates an application package"},"origin":"user,system"}]}'} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Sat, 23 Sep 2017 06:57:40 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - X-Content-Type-Options: [nosniff] - content-length: ['13062'] - x-ms-correlation-request-id: [9492f8ec-4873-4778-bcdd-afe1f5f08894] - x-ms-ratelimit-remaining-tenant-reads: ['14999'] - x-ms-request-id: [a331838e-0feb-4a73-96f4-a42bbe3c79ea] - x-ms-routing-request-id: ['WESTUS:20170923T065740Z:9492f8ec-4873-4778-bcdd-afe1f5f08894'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [7de8741a-a02c-11e7-8b05-6c3be5273719] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/locations/brazilsouth/quotas?api-version=2017-05-01 - response: - body: {string: '{"accountQuota":1}'} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Sat, 23 Sep 2017 06:57:41 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - X-Content-Type-Options: [nosniff] - content-length: ['18'] - x-ms-correlation-request-id: [02f38146-7f3b-419e-a7e7-eb136058cd30] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [67f230ed-2a9f-4a41-bb75-e2b154e81b99] - x-ms-routing-request-id: ['WESTUS:20170923T065742Z:02f38146-7f3b-419e-a7e7-eb136058cd30'] - status: {code: 200, message: OK} -- request: - body: '{"name": "randombatchaccount@5^$g9873495873", "type": "Microsoft.Batch/batchAccounts"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['86'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [7e9a2cb6-a02c-11e7-b495-6c3be5273719] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/locations/brazilsouth/checkNameAvailability?api-version=2017-05-01 - response: - body: {string: '{"nameAvailable":false,"reason":"Invalid","message":"Account name - must be at least 3 characters and at most 24 characters."}'} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Sat, 23 Sep 2017 06:57:42 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - X-Content-Type-Options: [nosniff] - content-length: ['124'] - x-ms-correlation-request-id: [97fdb245-e8d7-427c-b000-a5381a8ff810] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [35fd6a1c-c201-458a-addc-634ab8c5e665] - x-ms-routing-request-id: ['WESTUS:20170923T065743Z:97fdb245-e8d7-427c-b000-a5381a8ff810'] - status: {code: 200, message: OK} -- request: - body: '{"name": "pythonsdktest3", "type": "Microsoft.Batch/batchAccounts"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['67'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [7f41129c-a02c-11e7-bac8-6c3be5273719] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/locations/brazilsouth/checkNameAvailability?api-version=2017-05-01 - response: - body: {string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"An - account named ''pythonsdktest3'' is already in use."}'} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Sat, 23 Sep 2017 06:57:44 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - X-Content-Type-Options: [nosniff] - content-length: ['113'] - x-ms-correlation-request-id: [5b1afea1-5376-4358-8b8f-49d61a9a7c89] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [fd2cf1a3-c7c4-4197-9dfb-9d178be09eaa] - x-ms-routing-request-id: ['WESTUS:20170923T065744Z:5b1afea1-5376-4358-8b8f-49d61a9a7c89'] - status: {code: 200, message: OK} -- request: - body: '{"name": "batchpythonaccounttest", "type": "Microsoft.Batch/batchAccounts"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['75'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [8003e22c-a02c-11e7-9d88-6c3be5273719] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/locations/eastus2/checkNameAvailability?api-version=2017-05-01 - response: - body: {string: '{"nameAvailable":true}'} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Sat, 23 Sep 2017 06:57:45 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - X-Content-Type-Options: [nosniff] - content-length: ['22'] - x-ms-correlation-request-id: [9dbf99c7-084b-41db-8e4a-1463c9373a5d] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [b3361338-151c-4a20-aef9-7976fc09bb8e] - x-ms-routing-request-id: ['WESTUS:20170923T065745Z:9dbf99c7-084b-41db-8e4a-1463c9373a5d'] - status: {code: 200, message: OK} -- request: - body: '{"location": "eastus2", "properties": {"poolAllocationMode": "UserSubscription"}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['81'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [806f7eae-a02c-11e7-9280-6c3be5273719] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/batchpythonaccounttest?api-version=2017-05-01 - response: - body: {string: '{"error":{"code":"InvalidRequestBody","message":"The specified - Request Body is not syntactically valid.\nRequestId:75f938f0-6da0-46f8-890e-245fbc88cdd4\nTime:2017-09-23T06:57:48.1740052Z","target":"BatchAccount","details":[{"code":"Reason","message":"keyVaultReference - must be set if poolAllocationMode is specified as ''UserSubscription'' on - a PUT request"}]}}'} - headers: - Cache-Control: [no-cache] - Content-Length: ['359'] - Content-Type: [application/json; charset=utf-8] - Date: ['Sat, 23 Sep 2017 06:57:48 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - x-ms-correlation-request-id: [33476971-4148-44ea-a3e1-157a5ce14e79] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [75f938f0-6da0-46f8-890e-245fbc88cdd4] - x-ms-routing-request-id: ['WESTUS:20170923T065748Z:33476971-4148-44ea-a3e1-157a5ce14e79'] - status: {code: 400, message: The specified Request Body is not syntactically valid.} -- request: - body: '{"location": "eastus2", "properties": {"poolAllocationMode": "UserSubscription", - "keyVaultReference": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.KeyVault/vaults/batchpythonsdktest3", - "url": "https://batchpythonsdktest3.vault.azure.net/"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['313'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [8295a0c0-a02c-11e7-a240-6c3be5273719] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/batchpythonaccounttest?api-version=2017-05-01 - response: - body: {string: ''} - headers: - Cache-Control: [no-cache] - Content-Length: ['0'] - Date: ['Sat, 23 Sep 2017 06:57:53 GMT'] - Expires: ['-1'] - Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/batchpythonaccounttest/operationResults/6665c062-c5e1-4fec-83d1-6c0bb97043e5?api-version=2017-05-01'] - Pragma: [no-cache] - Retry-After: ['0'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - x-ms-correlation-request-id: [d75a7e95-d3a9-4a92-9df1-2b771c713391] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [6665c062-c5e1-4fec-83d1-6c0bb97043e5] - x-ms-routing-request-id: ['WESTUS:20170923T065753Z:d75a7e95-d3a9-4a92-9df1-2b771c713391'] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [8295a0c0-a02c-11e7-a240-6c3be5273719] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/batchpythonaccounttest/operationResults/6665c062-c5e1-4fec-83d1-6c0bb97043e5?api-version=2017-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/batchpythonaccounttest","name":"batchpythonaccounttest","type":"Microsoft.Batch/batchAccounts","location":"eastus2","properties":{"accountEndpoint":"batchpythonaccounttest.eastus2.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":2147483647,"lowPriorityCoreQuota":0,"poolQuota":20,"activeJobAndJobScheduleQuota":20,"poolAllocationMode":"usersubscription","keyVaultReference":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.KeyVault/vaults/batchpythonsdktest3","url":"https://batchpythonsdktest3.vault.azure.net/"}}}'} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Sat, 23 Sep 2017 06:58:09 GMT'] - ETag: ['"0x8D502507325CEBA"'] - Expires: ['-1'] - Last-Modified: ['Sat, 23 Sep 2017 06:58:09 GMT'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - X-Content-Type-Options: [nosniff] - content-length: ['739'] - x-ms-correlation-request-id: [962438b7-5a5d-4a90-ac23-731491444894] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [79c4c328-fee1-43a7-9958-b9213da1e07c] - x-ms-routing-request-id: ['WESTUS:20170923T065809Z:962438b7-5a5d-4a90-ac23-731491444894'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [8eefcab4-a02c-11e7-8d8f-6c3be5273719] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest3?api-version=2017-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest3","name":"pythonsdktest3","type":"Microsoft.Batch/batchAccounts","location":"brazilsouth","properties":{"accountEndpoint":"pythonsdktest3.brazilsouth.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":20,"lowPriorityCoreQuota":50,"poolQuota":20,"activeJobAndJobScheduleQuota":20,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Storage/storageAccounts/batchpythonsdktest3","lastKeySync":"2017-09-22T22:46:04.5248282Z"},"poolAllocationMode":"batchservice"}}'} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Sat, 23 Sep 2017 06:58:09 GMT'] - ETag: ['"0x8D5020BB4DFB31A"'] - Expires: ['-1'] - Last-Modified: ['Fri, 22 Sep 2017 22:46:04 GMT'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - X-Content-Type-Options: [nosniff] - content-length: ['720'] - x-ms-correlation-request-id: [1a6c165d-0aa5-43b1-b626-d275aad5a86e] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [38419f9a-a333-4802-8f00-4206b3ebc6fe] - x-ms-routing-request-id: ['WESTUS:20170923T065810Z:1a6c165d-0aa5-43b1-b626-d275aad5a86e'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [8fa747c2-a02c-11e7-ac4c-6c3be5273719] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts?api-version=2017-05-01 - response: - body: {string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/batchpythonaccounttest","name":"batchpythonaccounttest","type":"Microsoft.Batch/batchAccounts","location":"eastus2","properties":{"accountEndpoint":"batchpythonaccounttest.eastus2.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":2147483647,"lowPriorityCoreQuota":0,"poolQuota":20,"activeJobAndJobScheduleQuota":20,"poolAllocationMode":"usersubscription","keyVaultReference":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.KeyVault/vaults/batchpythonsdktest3","url":"https://batchpythonsdktest3.vault.azure.net/"}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest3","name":"pythonsdktest3","type":"Microsoft.Batch/batchAccounts","location":"brazilsouth","properties":{"accountEndpoint":"pythonsdktest3.brazilsouth.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":20,"lowPriorityCoreQuota":50,"poolQuota":20,"activeJobAndJobScheduleQuota":20,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Storage/storageAccounts/batchpythonsdktest3","lastKeySync":"2017-09-22T22:46:04.5248282Z"},"poolAllocationMode":"batchservice"}}]}'} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Sat, 23 Sep 2017 06:58:11 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Vary: [Accept-Encoding] - content-length: ['1472'] - x-ms-correlation-request-id: [fabc201b-c905-4ee4-a0ed-7f2ba43af8bb] - x-ms-original-request-ids: [9e2f5bb0-5674-4d04-9587-1f227453ab9c, c618a3a6-b7ad-4d8e-a0ea-f81535e334a9] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [fabc201b-c905-4ee4-a0ed-7f2ba43af8bb] - x-ms-routing-request-id: ['WESTUS:20170923T065811Z:fabc201b-c905-4ee4-a0ed-7f2ba43af8bb'] - 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; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [905ce766-a02c-11e7-b53d-6c3be5273719] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest3/listKeys?api-version=2017-05-01 - response: - body: {string: '{"accountName":"pythonsdktest3","primary":"KN8qTiayzxVAkILtJueEq8uoBJLWZqaMu7EO+WNPGjRWY6JdqWqVW7Zqnz4heC8GitvL0Wm+UGDy9lU649oxyw==","secondary":"kYXBJryLUTPMuTrOTzlwj5ZRZE1nDU4VZ2GI7KqIOvawm6jIeGJjtcTWp7pJsiyfuonxtW869qBMrw7dmeVf6g=="}'} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Sat, 23 Sep 2017 06:58:12 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - X-Content-Type-Options: [nosniff] - content-length: ['236'] - x-ms-correlation-request-id: [b617cdd5-7df1-4729-becd-64595ef18e8b] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [93a2a8fb-ac8d-4e92-9bdd-34d9da9af01c] - x-ms-routing-request-id: ['WESTUS:20170923T065813Z:b617cdd5-7df1-4729-becd-64595ef18e8b'] - status: {code: 200, message: OK} -- request: - body: '{"keyName": "Secondary"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['24'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [911768ba-a02c-11e7-bd87-6c3be5273719] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest3/regenerateKeys?api-version=2017-05-01 - response: - body: {string: '{"accountName":"pythonsdktest3","primary":"KN8qTiayzxVAkILtJueEq8uoBJLWZqaMu7EO+WNPGjRWY6JdqWqVW7Zqnz4heC8GitvL0Wm+UGDy9lU649oxyw==","secondary":"x4nNL1S+lEYkZuV+NHobRnllx6sKWxRNjWptq0yQpEXHM8l08LPPLUwA+i/rRGviMWwFFTLAx7577kknAXicNg=="}'} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Sat, 23 Sep 2017 06:58:13 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - X-Content-Type-Options: [nosniff] - content-length: ['236'] - x-ms-correlation-request-id: [28523763-6494-47ae-82f2-02a9a9f854f8] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [41400ef5-0540-4f3e-b052-a08652986d1f] - x-ms-routing-request-id: ['WESTUS:20170923T065814Z:28523763-6494-47ae-82f2-02a9a9f854f8'] - 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; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [91fcaf58-a02c-11e7-b112-6c3be5273719] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest3/syncAutoStorageKeys?api-version=2017-05-01 - response: - body: {string: ''} - headers: - Cache-Control: [no-cache] - Content-Length: ['0'] - Date: ['Sat, 23 Sep 2017 06:58:16 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - x-ms-correlation-request-id: [f5f3b23f-0fba-4d65-bfc3-35451d4f18fa] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [ae568229-9e1f-424d-aa38-073fe9c8e902] - x-ms-routing-request-id: ['WESTUS:20170923T065816Z:f5f3b23f-0fba-4d65-bfc3-35451d4f18fa'] - status: {code: 204, message: No Content} -- request: - body: '{"tags": {"Name": "tagName", "Value": "tagValue"}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['50'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [9335f41a-a02c-11e7-8c01-6c3be5273719] - method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest3?api-version=2017-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest3","name":"pythonsdktest3","type":"Microsoft.Batch/batchAccounts","location":"brazilsouth","properties":{"accountEndpoint":"pythonsdktest3.brazilsouth.batch.azure.com","provisioningState":"Succeeded","dedicatedCoreQuota":20,"lowPriorityCoreQuota":50,"poolQuota":20,"activeJobAndJobScheduleQuota":20,"autoStorage":{"storageAccountId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Storage/storageAccounts/batchpythonsdktest3","lastKeySync":"2017-09-23T06:58:16.8844192Z"},"poolAllocationMode":"batchservice"},"tags":{"Name":"tagName","Value":"tagValue"}}'} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Sat, 23 Sep 2017 06:58:20 GMT'] - ETag: ['"0x8D5025079145413"'] - Expires: ['-1'] - Last-Modified: ['Sat, 23 Sep 2017 06:58:19 GMT'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - X-Content-Type-Options: [nosniff] - content-length: ['765'] - x-ms-correlation-request-id: [a0c1af90-12fb-45aa-bd4a-a37ade3b9651] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [64c51cd2-92ee-4df9-a8e4-c5b0c21d1050] - x-ms-routing-request-id: ['WESTUS2:20170923T065820Z:a0c1af90-12fb-45aa-bd4a-a37ade3b9651'] - 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; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [95b6e962-a02c-11e7-97cc-6c3be5273719] - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/batchpythonaccounttest?api-version=2017-05-01 - response: - body: {string: ''} - headers: - Cache-Control: [no-cache] - Content-Length: ['0'] - Date: ['Sat, 23 Sep 2017 06:58:22 GMT'] - Expires: ['-1'] - Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/batchpythonaccounttest/operationResults/cbc63e88-cd37-45d4-9f28-a293e5181929?api-version=2017-05-01'] - Pragma: [no-cache] - Retry-After: ['0'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - x-ms-correlation-request-id: [e7a1eeac-7399-4ca9-ba6b-66806f63e71d] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [cbc63e88-cd37-45d4-9f28-a293e5181929] - x-ms-routing-request-id: ['WESTUS2:20170923T065823Z:e7a1eeac-7399-4ca9-ba6b-66806f63e71d'] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [95b6e962-a02c-11e7-97cc-6c3be5273719] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/batchpythonaccounttest/operationResults/cbc63e88-cd37-45d4-9f28-a293e5181929?api-version=2017-05-01 - response: - body: {string: ''} - headers: - Cache-Control: [no-cache] - Content-Length: ['0'] - Date: ['Sat, 23 Sep 2017 06:58:37 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - x-ms-correlation-request-id: [eecc7b80-a504-4520-8933-343a739cc788] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [1dfa3102-af91-44fd-a219-7090f1085f95] - x-ms-routing-request-id: ['WESTUS2:20170923T065838Z:eecc7b80-a504-4520-8933-343a739cc788'] - status: {code: 200, message: OK} -version: 1 diff --git a/azure-mgmt/tests/recordings/test_batch.test_batch_applications.yaml b/azure-mgmt/tests/recordings/test_batch.test_batch_applications.yaml deleted file mode 100644 index 1e8a714f7334..000000000000 --- a/azure-mgmt/tests/recordings/test_batch.test_batch_applications.yaml +++ /dev/null @@ -1,735 +0,0 @@ -interactions: -- request: - body: '{"displayName": "my_application_name"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['38'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchmanagementclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [603ccf8c-7091-11e7-bdea-ecb1d755839a] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest/applications/my_application_id?api-version=2017-05-01 - response: - body: {string: '{"id":"my_application_id","displayName":"my_application_name","packages":[{"version":"v1.0","state":"pending"}],"allowUpdates":true}'} - headers: - Cache-Control: [no-cache] - Content-Length: ['132'] - Content-Type: [application/json; charset=utf-8] - Date: ['Mon, 24 Jul 2017 16:58:55 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - x-ms-correlation-request-id: [1c28f58f-9e21-4f37-ad6a-cbe0874eb709] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [9d30d731-9417-4498-90d8-1752430ec4ac] - x-ms-routing-request-id: ['WESTUS:20170724T165855Z:1c28f58f-9e21-4f37-ad6a-cbe0874eb709'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchmanagementclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [6122d762-7091-11e7-8704-ecb1d755839a] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest/applications/my_application_id?api-version=2017-05-01 - response: - body: {string: '{"id":"my_application_id","displayName":"my_application_name","packages":[{"version":"v1.0","state":"pending"}],"allowUpdates":true}'} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Mon, 24 Jul 2017 16:58:56 GMT'] - ETag: ['"0x8D4D2B5453D6198"'] - Expires: ['-1'] - Last-Modified: ['Mon, 24 Jul 2017 16:58:55 GMT'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - X-Content-Type-Options: [nosniff] - content-length: ['132'] - x-ms-correlation-request-id: [d307c835-a09f-4970-913f-e207d5e8b03e] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [d4a0a9eb-8856-4008-abe0-daef85ddbf65] - x-ms-routing-request-id: ['WESTUS:20170724T165857Z:d307c835-a09f-4970-913f-e207d5e8b03e'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchmanagementclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [61cf7fde-7091-11e7-a094-ecb1d755839a] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest/applications?api-version=2017-05-01 - response: - body: {string: '{"value":[{"id":"my_application_id","displayName":"my_application_name","packages":[{"version":"v1.0","state":"pending"}],"allowUpdates":true}]}'} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Mon, 24 Jul 2017 16:58:57 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - X-Content-Type-Options: [nosniff] - content-length: ['144'] - x-ms-correlation-request-id: [6eb80365-ff90-4a95-bbd2-b375221efac4] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [b69f4253-6943-4697-b71a-9541871dd161] - x-ms-routing-request-id: ['WESTUS:20170724T165858Z:6eb80365-ff90-4a95-bbd2-b375221efac4'] - 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; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchmanagementclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [6268629c-7091-11e7-ad91-ecb1d755839a] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest/applications/my_application_id/versions/v1.0?api-version=2017-05-01 - response: - body: {string: '{"id":"my_application_id","version":"v1.0","storageUrl":"https://batchpythonsdktest.blob.core.windows.net/app-my-application-id-b9dfc2b75e089960a922be9b4180a01f29ca0c78/my_application_id-v1.0-22c46b66-6942-4396-bcf6-5b0d24648e7e?sv=2015-04-05&sr=b&sig=VgzgLO4MKam5CuWkCV9Jp7rSEmUxHTUjFKIL%2FgzqSXA%3D&st=2017-07-24T16%3A53%3A58Z&se=2017-07-24T20%3A58%3A58Z&sp=rw","storageUrlExpiry":"2017-07-24T20:58:58.5413123Z","state":"pending"}'} - headers: - Cache-Control: [no-cache] - Content-Length: ['432'] - Content-Type: [application/json; charset=utf-8] - Date: ['Mon, 24 Jul 2017 16:58:59 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - x-ms-correlation-request-id: [a36ccc59-68d1-4618-ad23-4606ffa6da6f] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [0b4ecaaf-1145-45eb-8f88-d2c3c7b48b50] - x-ms-routing-request-id: ['WESTUS:20170724T165859Z:a36ccc59-68d1-4618-ad23-4606ffa6da6f'] - status: {code: 201, message: Created} -- request: - body: Hello World - headers: - Accept: ['*/*'] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['11'] - User-Agent: [python-requests/2.14.2] - x-ms-blob-type: [BlockBlob] - method: PUT - uri: https://batchpythonsdktest.blob.core.windows.net/app-my-application-id-b9dfc2b75e089960a922be9b4180a01f29ca0c78/my_application_id-v1.0-22c46b66-6942-4396-bcf6-5b0d24648e7e?sv=2015-04-05&sr=b&sig=VgzgLO4MKam5CuWkCV9Jp7rSEmUxHTUjFKIL%2FgzqSXA%3D&st=2017-07-24T16%3A53%3A58Z&se=2017-07-24T20%3A58%3A58Z&sp=rw - response: - body: {string: ''} - headers: - Content-MD5: [sQqNsWTgdUEFt6mb5y4/5Q==] - Date: ['Mon, 24 Jul 2017 16:59:00 GMT'] - ETag: ['"0x8D4D2B547E1D69A"'] - Last-Modified: ['Mon, 24 Jul 2017 16:59:00 GMT'] - Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - Transfer-Encoding: [chunked] - x-ms-request-id: [1f136fd7-0001-0039-2c9e-04e664000000] - x-ms-version: ['2015-04-05'] - status: {code: 201, message: Created} -- request: - body: '{"format": "zip"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['17'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchmanagementclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [63f8f850-7091-11e7-951d-ecb1d755839a] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest/applications/my_application_id/versions/v1.0/activate?api-version=2017-05-01 - response: - body: {string: ''} - headers: - Cache-Control: [no-cache] - Content-Length: ['0'] - Date: ['Mon, 24 Jul 2017 16:59:01 GMT'] - ETag: ['"0x8D4D2B5478AE7AD"'] - Expires: ['-1'] - Last-Modified: ['Mon, 24 Jul 2017 16:58:59 GMT'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - x-ms-correlation-request-id: [2b1927e4-6ad0-4c4b-8464-af4d41ba05e9] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [2809097e-9a07-4f5b-814d-0ff12ee2ad83] - x-ms-routing-request-id: ['WESTUS:20170724T165902Z:2b1927e4-6ad0-4c4b-8464-af4d41ba05e9'] - status: {code: 204, message: No Content} -- request: - body: '{"defaultVersion": "v1.0", "displayName": "my_updated_name", "allowUpdates": - false}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['83'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchmanagementclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [64c0f88c-7091-11e7-88cf-ecb1d755839a] - method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest/applications/my_application_id?api-version=2017-05-01 - response: - body: {string: ''} - headers: - Cache-Control: [no-cache] - Content-Length: ['0'] - Date: ['Mon, 24 Jul 2017 16:59:02 GMT'] - ETag: ['"0x8D4D2B5453D6198"'] - Expires: ['-1'] - Last-Modified: ['Mon, 24 Jul 2017 16:58:55 GMT'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - x-ms-correlation-request-id: [84c57118-c2ca-4f00-9d2c-8d2ff3e44a1a] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [72b23cea-45bd-4227-be47-95adedbb391b] - x-ms-routing-request-id: ['WESTUS:20170724T165903Z:84c57118-c2ca-4f00-9d2c-8d2ff3e44a1a'] - status: {code: 204, message: No Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchmanagementclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [65baeade-7091-11e7-bcde-ecb1d755839a] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest/applications/my_application_id/versions/v1.0?api-version=2017-05-01 - response: - body: {string: '{"id":"my_application_id","version":"v1.0","storageUrl":"https://batchpythonsdktest.blob.core.windows.net/app-my-application-id-b9dfc2b75e089960a922be9b4180a01f29ca0c78/my_application_id-v1.0-22c46b66-6942-4396-bcf6-5b0d24648e7e?sv=2015-04-05&sr=b&sig=rx%2FbS6PBAkkopfjyLG09yn4zBYBtmjtuWxlr2yE%2FjKU%3D&st=2017-07-24T16%3A54%3A04Z&se=2017-07-24T20%3A59%3A04Z&sp=r","storageUrlExpiry":"2017-07-24T20:59:04.9598648Z","state":"active","format":"zip","lastActivationTime":"2017-07-24T16:59:01.5527812Z"}'} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Mon, 24 Jul 2017 16:59:04 GMT'] - ETag: ['"0x8D4D2B548DC9545"'] - Expires: ['-1'] - Last-Modified: ['Mon, 24 Jul 2017 16:59:01 GMT'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - X-Content-Type-Options: [nosniff] - content-length: ['499'] - x-ms-correlation-request-id: [2428318c-8d76-486e-ab8f-8a26bc5acfa5] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [9af3d4f1-548f-4e61-be3e-929518319cee] - x-ms-routing-request-id: ['WESTUS:20170724T165904Z:2428318c-8d76-486e-ab8f-8a26bc5acfa5'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [667d5f02-7091-11e7-9458-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:59:05 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/applications/my_application_id?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#getapplicationsummaryresponse/@Element\"\ - ,\"id\":\"my_application_id\",\"versions\":[\r\n \"v1.0\"\r\n ],\"displayName\"\ - :\"my_updated_name\"\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:59:07 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [7b1bd4c7-039b-4fbe-b705-2fac35616b34] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [677224e8-7091-11e7-b2ce-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:59:06 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/applications?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#listapplicationsummariesresponses\"\ - ,\"value\":[\r\n {\r\n \"id\":\"my_application_id\",\"versions\":[\r\ - \n \"v1.0\"\r\n ],\"displayName\":\"my_updated_name\"\r\n }\r\ - \n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:59:07 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [744e2fde-9858-4001-a5a8-96df29764c51] - 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; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchmanagementclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [686899dc-7091-11e7-97a0-ecb1d755839a] - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest/applications/my_application_id/versions/v1.0?api-version=2017-05-01 - response: - body: {string: ''} - headers: - Cache-Control: [no-cache] - Content-Length: ['0'] - Date: ['Mon, 24 Jul 2017 16:59:08 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - x-ms-correlation-request-id: [c90c94d7-854f-45c9-bf4e-0a7b10b3aaf8] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - x-ms-request-id: [23c9bc23-3ebe-42b9-9f4b-d3b230e3466e] - x-ms-routing-request-id: ['WESTUS:20170724T165908Z:c90c94d7-854f-45c9-bf4e-0a7b10b3aaf8'] - status: {code: 204, message: No Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchmanagementclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [68d80b78-7091-11e7-a4f7-ecb1d755839a] - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest/applications/my_application_id?api-version=2017-05-01 - response: - body: {string: ''} - headers: - Cache-Control: [no-cache] - Content-Length: ['0'] - Date: ['Mon, 24 Jul 2017 16:59:10 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - x-ms-correlation-request-id: [9f40a912-5347-4194-a687-1cdbfe774943] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [55963090-c467-4e87-b7ef-4bbb48c45fd3] - x-ms-routing-request-id: ['WESTUS:20170724T165910Z:9f40a912-5347-4194-a687-1cdbfe774943'] - status: {code: 204, message: No Content} -- request: - body: '{"displayName": "my_application_name"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['38'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [a0f1d706-a02c-11e7-957d-6c3be5273719] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest3/applications/my_application_id?api-version=2017-05-01 - response: - body: {string: '{"id":"my_application_id","displayName":"my_application_name","packages":[{"version":"v1.0","state":"pending"}],"allowUpdates":true}'} - headers: - Cache-Control: [no-cache] - Content-Length: ['132'] - Content-Type: [application/json; charset=utf-8] - Date: ['Sat, 23 Sep 2017 06:58:40 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - x-ms-correlation-request-id: [ccf3ef49-f163-46b6-9a26-042b5df524f9] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [77928a55-fb52-431b-a3d2-a67e38127c4a] - x-ms-routing-request-id: ['WESTUS2:20170923T065841Z:ccf3ef49-f163-46b6-9a26-042b5df524f9'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [a1e0fcf4-a02c-11e7-9878-6c3be5273719] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest3/applications/my_application_id?api-version=2017-05-01 - response: - body: {string: '{"id":"my_application_id","displayName":"my_application_name","packages":[{"version":"v1.0","state":"pending"}],"allowUpdates":true}'} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Sat, 23 Sep 2017 06:58:42 GMT'] - ETag: ['"0x8D5025085D828FB"'] - Expires: ['-1'] - Last-Modified: ['Sat, 23 Sep 2017 06:58:40 GMT'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - X-Content-Type-Options: [nosniff] - content-length: ['132'] - x-ms-correlation-request-id: [98325fd4-56f0-4600-910f-03ba99e5d47b] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [866062cf-784c-4c41-ba03-24648dba5ff8] - x-ms-routing-request-id: ['WESTUS2:20170923T065842Z:98325fd4-56f0-4600-910f-03ba99e5d47b'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [a2a3bd2e-a02c-11e7-ab95-6c3be5273719] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest3/applications?api-version=2017-05-01 - response: - body: {string: '{"value":[{"id":"my_application_id","displayName":"my_application_name","packages":[{"version":"v1.0","state":"pending"}],"allowUpdates":true}]}'} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Sat, 23 Sep 2017 06:58:43 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - X-Content-Type-Options: [nosniff] - content-length: ['144'] - x-ms-correlation-request-id: [a7b2a32a-e8cc-49f5-9d62-7915d8217945] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [2507f802-5ab0-4e70-8acb-15c147f84465] - x-ms-routing-request-id: ['WESTUS2:20170923T065843Z:a7b2a32a-e8cc-49f5-9d62-7915d8217945'] - 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; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [a352cd9c-a02c-11e7-a707-6c3be5273719] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest3/applications/my_application_id/versions/v1.0?api-version=2017-05-01 - response: - body: {string: '{"id":"my_application_id","version":"v1.0","storageUrl":"https://batchpythonsdktest3.blob.core.windows.net/app-my-application-id-b9dfc2b75e089960a922be9b4180a01f29ca0c78/my_application_id-v1.0-0d661d30-26ef-49da-8e86-3af622499619?sv=2015-04-05&sr=b&sig=JEjJlawktxIKI7pVW0e8tQFt6lshyAVs6D45Cj9Uq54%3D&st=2017-09-23T06%3A53%3A45Z&se=2017-09-23T10%3A58%3A45Z&sp=rw","storageUrlExpiry":"2017-09-23T10:58:45.767173Z","state":"pending"}'} - headers: - Cache-Control: [no-cache] - Content-Length: ['430'] - Content-Type: [application/json; charset=utf-8] - Date: ['Sat, 23 Sep 2017 06:58:45 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - x-ms-correlation-request-id: [8cc84a70-d0f4-43e5-8f33-ef0d5279c07f] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [e9ce0fcc-7387-46e7-9e2d-31c7b2721521] - x-ms-routing-request-id: ['WESTUS2:20170923T065845Z:8cc84a70-d0f4-43e5-8f33-ef0d5279c07f'] - status: {code: 201, message: Created} -- request: - body: Hello World - headers: - Accept: ['*/*'] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['11'] - User-Agent: [python-requests/2.18.4] - x-ms-blob-type: [BlockBlob] - method: PUT - uri: https://batchpythonsdktest3.blob.core.windows.net/app-my-application-id-b9dfc2b75e089960a922be9b4180a01f29ca0c78/my_application_id-v1.0-0d661d30-26ef-49da-8e86-3af622499619?sv=2015-04-05&sr=b&sig=JEjJlawktxIKI7pVW0e8tQFt6lshyAVs6D45Cj9Uq54%3D&st=2017-09-23T06%3A53%3A45Z&se=2017-09-23T10%3A58%3A45Z&sp=rw - response: - body: {string: ''} - headers: - Content-MD5: [sQqNsWTgdUEFt6mb5y4/5Q==] - Date: ['Sat, 23 Sep 2017 06:58:45 GMT'] - ETag: ['"0x8D5025088E03812"'] - Last-Modified: ['Sat, 23 Sep 2017 06:58:45 GMT'] - Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - Transfer-Encoding: [chunked] - x-ms-request-id: [09a08636-001e-003d-2439-3413e6000000] - x-ms-version: ['2015-04-05'] - status: {code: 201, message: Created} -- request: - body: '{"format": "zip"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['17'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [a50b0b62-a02c-11e7-a090-6c3be5273719] - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest3/applications/my_application_id/versions/v1.0/activate?api-version=2017-05-01 - response: - body: {string: ''} - headers: - Cache-Control: [no-cache] - Content-Length: ['0'] - Date: ['Sat, 23 Sep 2017 06:58:47 GMT'] - ETag: ['"0x8D502508863E7C3"'] - Expires: ['-1'] - Last-Modified: ['Sat, 23 Sep 2017 06:58:45 GMT'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - x-ms-correlation-request-id: [45560319-8c72-46c4-a831-9dec6adfa7b5] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - x-ms-request-id: [defef8cf-3ef0-457f-bc43-9b2334f5b80b] - x-ms-routing-request-id: ['WESTUS2:20170923T065848Z:45560319-8c72-46c4-a831-9dec6adfa7b5'] - status: {code: 204, message: No Content} -- request: - body: '{"allowUpdates": false, "defaultVersion": "v1.0", "displayName": "my_updated_name"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['83'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [a6022264-a02c-11e7-9ba4-6c3be5273719] - method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest3/applications/my_application_id?api-version=2017-05-01 - response: - body: {string: ''} - headers: - Cache-Control: [no-cache] - Content-Length: ['0'] - Date: ['Sat, 23 Sep 2017 06:58:49 GMT'] - ETag: ['"0x8D5025085D828FB"'] - Expires: ['-1'] - Last-Modified: ['Sat, 23 Sep 2017 06:58:40 GMT'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - x-ms-correlation-request-id: [8064725d-3b04-42ea-9156-8829dc56ba1b] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [0a1bc26c-5852-43b0-891f-ae13e110ad9a] - x-ms-routing-request-id: ['WESTUS2:20170923T065849Z:8064725d-3b04-42ea-9156-8829dc56ba1b'] - status: {code: 204, message: No Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [a708d1fa-a02c-11e7-b78e-6c3be5273719] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest3/applications/my_application_id/versions/v1.0?api-version=2017-05-01 - response: - body: {string: '{"id":"my_application_id","version":"v1.0","storageUrl":"https://batchpythonsdktest3.blob.core.windows.net/app-my-application-id-b9dfc2b75e089960a922be9b4180a01f29ca0c78/my_application_id-v1.0-0d661d30-26ef-49da-8e86-3af622499619?sv=2015-04-05&sr=b&sig=n4TpI6UKpkneTYicm9qde4ngRnPikoBGWzvSd%2FR7CV4%3D&st=2017-09-23T06%3A53%3A51Z&se=2017-09-23T10%3A58%3A51Z&sp=r","storageUrlExpiry":"2017-09-23T10:58:51.3533642Z","state":"active","format":"zip","lastActivationTime":"2017-09-23T06:58:47.4458552Z"}'} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json; charset=utf-8] - Date: ['Sat, 23 Sep 2017 06:58:51 GMT'] - ETag: ['"0x8D5025089EB5186"'] - Expires: ['-1'] - Last-Modified: ['Sat, 23 Sep 2017 06:58:47 GMT'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - X-Content-Type-Options: [nosniff] - content-length: ['498'] - x-ms-correlation-request-id: [73bc0337-b4f2-4ad6-89c3-0d02ba605de4] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [e4773316-6258-47d3-a974-57e697205cea] - x-ms-routing-request-id: ['WESTUS2:20170923T065851Z:73bc0337-b4f2-4ad6-89c3-0d02ba605de4'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [a7c1330a-a02c-11e7-8414-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 06:58:51 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/applications/my_application_id?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#getapplicationsummaryresponse/@Element\"\ - ,\"id\":\"my_application_id\",\"versions\":[\r\n \"v1.0\"\r\n ],\"displayName\"\ - :\"my_updated_name\"\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 06:58:52 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [acbb0dff-de00-4b42-a125-9780f1b48aac] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [a8ba0c0c-a02c-11e7-ae45-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 06:58:52 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/applications?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#listapplicationsummariesresponses\"\ - ,\"value\":[\r\n {\r\n \"id\":\"my_application_id\",\"versions\":[\r\ - \n \"v1.0\"\r\n ],\"displayName\":\"my_updated_name\"\r\n }\r\ - \n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 06:58:54 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [6f97d949-aa25-4faa-a366-297d78e6ddd1] - 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; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [a9be7222-a02c-11e7-b8d9-6c3be5273719] - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest3/applications/my_application_id/versions/v1.0?api-version=2017-05-01 - response: - body: {string: ''} - headers: - Cache-Control: [no-cache] - Content-Length: ['0'] - Date: ['Sat, 23 Sep 2017 06:58:55 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - x-ms-correlation-request-id: [d9e11d28-e6c5-4143-9900-9c61ac64d55a] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - x-ms-request-id: [ba8649a4-29bb-4b74-b72b-fc888d169a59] - x-ms-routing-request-id: ['WESTUS:20170923T065856Z:d9e11d28-e6c5-4143-9900-9c61ac64d55a'] - status: {code: 204, message: No Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [aabf34c6-a02c-11e7-915d-6c3be5273719] - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest3/applications/my_application_id?api-version=2017-05-01 - response: - body: {string: ''} - headers: - Cache-Control: [no-cache] - Content-Length: ['0'] - Date: ['Sat, 23 Sep 2017 06:58:57 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - x-ms-correlation-request-id: [b59b15ba-237e-4e63-9697-0a0910918bbe] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [d8c27fe2-aed7-4ff5-b09d-8a03a2ccfa97] - x-ms-routing-request-id: ['WESTUS:20170923T065858Z:b59b15ba-237e-4e63-9697-0a0910918bbe'] - status: {code: 204, message: No Content} -version: 1 diff --git a/azure-mgmt/tests/recordings/test_batch.test_batch_certificates.yaml b/azure-mgmt/tests/recordings/test_batch.test_batch_certificates.yaml deleted file mode 100644 index 44e44190fd98..000000000000 --- a/azure-mgmt/tests/recordings/test_batch.test_batch_certificates.yaml +++ /dev/null @@ -1,297 +0,0 @@ -interactions: -- request: - body: '{"thumbprint": "cff2ab63c8c955aaf71989efa641b906558d9fb7", "data": "MIIGMQIBAzCCBe0GCSqGSIb3DQEHAaCCBd4EggXaMIIF1jCCA8AGCSqGSIb3DQEHAaCCA7EEggOtMIIDqTCCA6UGCyqGSIb3DQEMCgECoIICtjCCArIwHAYKKoZIhvcNAQwBAzAOBAhyd3xCtln3iQICB9AEggKQhe5P10V9iV1BsDlwWT561Yu2hVq3JT8ae/ebx1ZR/gMApVereDKkS9Zg4vFyssusHebbK5pDpU8vfAqle0TM4m7wGsRj453ZorSPUfMpHvQnAOn+2pEpWdMThU7xvZ6DVpwhDOQk9166z+KnKdHGuJKh4haMT7Rw/6xZ1rsBt2423cwTrQVMQyACrEkianpuujubKltN99qRoFAxhQcnYE2KlYKw7lRcExq6mDSYAyk5xJZ1ZFdLj6MAryZroQit/0g5eyhoNEKwWbi8px5j71pRTf7yjN+deMGQKwbGl+3OgaL1UZ5fCjypbVL60kpIBxLZwIJ7p3jJ+q9pbq9zSdzshPYor5lxyUfXqaso/0/91ayNoBzg4hQGh618PhFI6RMGjwkzhB9xk74iweJ9HQyIHf8yx2RCSI22JuCMitPMWSGvOszhbNx3AEDLuiiAOHg391mprEtKZguOIr9LrJwem/YmcHbwyz5YAbZmiseKPkllfC7dafFfCFEkj6R2oegIsZo0pEKYisAXBqT0g+6/jGwuhlZcBo0f7UIZm88iA3MrJCjlXEgV5OcQdoWj+hq0lKEdnhtCKr03AIfukN6+4vjjarZeW1bs0swq0l3XFf5RHa11otshMS4mpewshB9iO9MuKWpRxuxeng4PlKZ/zuBqmPeUrjJ9454oK35Pq+dghfemt7AUpBH/KycDNIZgfdEWUZrRKBGnc519C+RTqxyt5hWL18nJk4LvSd3QKlJ1iyJxClhhb/NWEzPqNdyA5cxen+2T9bd/EqJ2KzRv5/BPVwTQkHH9W/TZElFyvFfOFIW2+03RKbVGw72Mr/0xKZ+awAnEfoU+SL/2Gj2m6PHkqFX2sOCi/tN9EA4xgdswEwYJKoZIhvcNAQkVMQYEBAEAAAAwXQYJKwYBBAGCNxEBMVAeTgBNAGkAYwByAG8AcwBvAGYAdAAgAFMAdAByAG8AbgBnACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcjBlBgkqhkiG9w0BCRQxWB5WAFAAdgBrAFQAbQBwADoANABjAGUANgAwADQAZABhAC0AMAA2ADgAMQAtADQANAAxADUALQBhADIAYwBhAC0ANQA3ADcAMwAwADgAZQA2AGQAOQBhAGMwggIOBgkqhkiG9w0BBwGgggH/BIIB+zCCAfcwggHzBgsqhkiG9w0BDAoBA6CCAcswggHHBgoqhkiG9w0BCRYBoIIBtwSCAbMwggGvMIIBXaADAgECAhAdka3aTQsIsUphgIXGUmeRMAkGBSsOAwIdBQAwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3kwHhcNMTYwMTAxMDcwMDAwWhcNMTgwMTAxMDcwMDAwWjASMRAwDgYDVQQDEwdub2Rlc2RrMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC5fhcxbJHxxBEIDzVOMc56s04U6k4GPY7yMR1m+rBGVRiAyV4RjY6U936dqXHCVD36ps2Q0Z+OeEgyCInkIyVeB1EwXcToOcyeS2YcUb0vRWZDouC3tuFdHwiK1Ed5iW/LksmXDotyV7kpqzaPhOFiMtBuMEwNJcPge9k17hRgRQIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAHl2M97QbpzdnwO5HoRBsiEExOcLTNg+GKCr7HUsbzfvrUivw+JLL7qjHAIc5phnK+F5bQ8HKe0L9YXBSKl+fvwxFTATBgkqhkiG9w0BCRUxBgQEAQAAADA7MB8wBwYFKw4DAhoEFGVtyGMqiBd32fGpzlGZQoRM6UQwBBTI0YHFFqTS4Go8CoLgswn29EiuUQICB9A=", - "thumbprintAlgorithm": "sha1", "password": "nodesdk", "certificateFormat": "pfx"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['2272'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [239b698a-7091-11e7-a57c-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:57:12 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/certificates?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/certificates(ThumbprintAlgorithm=sha1,Thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:57:12 GMT'] - Location: ['https://pythonsdktest.brazilsouth.batch.azure.com/certificates(ThumbprintAlgorithm=sha1,Thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [bd713ef1-63d2-4a19-993d-688d4355be53] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [243c70c0-7091-11e7-a8a4-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:57:13 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/certificates?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#certificates\"\ - ,\"value\":[\r\n {\r\n \"thumbprint\":\"cff2ab63c8c955aaf71989efa641b906558d9fb7\"\ - ,\"thumbprintAlgorithm\":\"sha1\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)\"\ - ,\"state\":\"active\",\"stateTransitionTime\":\"2017-07-24T16:57:13.7803878Z\"\ - ,\"publicData\":\"MIIBrzCCAV2gAwIBAgIQHZGt2k0LCLFKYYCFxlJnkTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE2MDEwMTA3MDAwMFoXDTE4MDEwMTA3MDAwMFowEjEQMA4GA1UEAxMHbm9kZXNkazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuX4XMWyR8cQRCA81TjHOerNOFOpOBj2O8jEdZvqwRlUYgMleEY2OlPd+nalxwlQ9+qbNkNGfjnhIMgiJ5CMlXgdRMF3E6DnMnktmHFG9L0VmQ6Lgt7bhXR8IitRHeYlvy5LJlw6Lcle5Kas2j4ThYjLQbjBMDSXD4HvZNe4UYEUCAwEAAaNLMEkwRwYDVR0BBEAwPoAQEuQJLQYdHU8AjWEh3BZkY6EYMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5ghAGN2wAqgBkihHPuNSqXDX0MAkGBSsOAwIdBQADQQB5djPe0G6c3Z8DuR6EQbIhBMTnC0zYPhigq+x1LG83761Ir8PiSy+6oxwCHOaYZyvheW0PByntC/WFwUipfn78\"\ - \r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:57:15 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [522cfd83-6c64-41b0-9c76-8eb7d08795de] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [24cb1f24-7091-11e7-b2ca-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:57:14 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#certificates/@Element\"\ - ,\"thumbprint\":\"cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"thumbprintAlgorithm\"\ - :\"sha1\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)\"\ - ,\"state\":\"active\",\"stateTransitionTime\":\"2017-07-24T16:57:13.7803878Z\"\ - ,\"publicData\":\"MIIBrzCCAV2gAwIBAgIQHZGt2k0LCLFKYYCFxlJnkTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE2MDEwMTA3MDAwMFoXDTE4MDEwMTA3MDAwMFowEjEQMA4GA1UEAxMHbm9kZXNkazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuX4XMWyR8cQRCA81TjHOerNOFOpOBj2O8jEdZvqwRlUYgMleEY2OlPd+nalxwlQ9+qbNkNGfjnhIMgiJ5CMlXgdRMF3E6DnMnktmHFG9L0VmQ6Lgt7bhXR8IitRHeYlvy5LJlw6Lcle5Kas2j4ThYjLQbjBMDSXD4HvZNe4UYEUCAwEAAaNLMEkwRwYDVR0BBEAwPoAQEuQJLQYdHU8AjWEh3BZkY6EYMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5ghAGN2wAqgBkihHPuNSqXDX0MAkGBSsOAwIdBQADQQB5djPe0G6c3Z8DuR6EQbIhBMTnC0zYPhigq+x1LG83761Ir8PiSy+6oxwCHOaYZyvheW0PByntC/WFwUipfn78\"\ - \r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:57:14 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [9ad72475-7c35-430d-8382-5b6216fc9ac3] - 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [255fc80c-7091-11e7-b917-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:57:15 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)/canceldelete?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\"\ - ,\"code\":\"CertificateStateActive\",\"message\":{\r\n \"lang\":\"en-US\"\ - ,\"value\":\"The specified certificate is in active state.\\nRequestId:7693a705-8cd8-4fe2-966f-49aece797519\\\ - nTime:2017-07-24T16:57:16.6582993Z\"\r\n }\r\n}"} - headers: - Content-Length: ['360'] - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:57:16 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - request-id: [7693a705-8cd8-4fe2-966f-49aece797519] - status: {code: 409, message: The specified certificate is in active state.} -- 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [25ecd8e8-7091-11e7-a031-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:57:16 GMT'] - method: DELETE - uri: https://pythonsdktest.brazilsouth.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:57:17 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [072b4054-1aa5-4b68-b9cb-782d701cabae] - status: {code: 202, message: Accepted} -- request: - body: '{"thumbprint": "cff2ab63c8c955aaf71989efa641b906558d9fb7", "thumbprintAlgorithm": - "sha1", "data": "MIIGMQIBAzCCBe0GCSqGSIb3DQEHAaCCBd4EggXaMIIF1jCCA8AGCSqGSIb3DQEHAaCCA7EEggOtMIIDqTCCA6UGCyqGSIb3DQEMCgECoIICtjCCArIwHAYKKoZIhvcNAQwBAzAOBAhyd3xCtln3iQICB9AEggKQhe5P10V9iV1BsDlwWT561Yu2hVq3JT8ae/ebx1ZR/gMApVereDKkS9Zg4vFyssusHebbK5pDpU8vfAqle0TM4m7wGsRj453ZorSPUfMpHvQnAOn+2pEpWdMThU7xvZ6DVpwhDOQk9166z+KnKdHGuJKh4haMT7Rw/6xZ1rsBt2423cwTrQVMQyACrEkianpuujubKltN99qRoFAxhQcnYE2KlYKw7lRcExq6mDSYAyk5xJZ1ZFdLj6MAryZroQit/0g5eyhoNEKwWbi8px5j71pRTf7yjN+deMGQKwbGl+3OgaL1UZ5fCjypbVL60kpIBxLZwIJ7p3jJ+q9pbq9zSdzshPYor5lxyUfXqaso/0/91ayNoBzg4hQGh618PhFI6RMGjwkzhB9xk74iweJ9HQyIHf8yx2RCSI22JuCMitPMWSGvOszhbNx3AEDLuiiAOHg391mprEtKZguOIr9LrJwem/YmcHbwyz5YAbZmiseKPkllfC7dafFfCFEkj6R2oegIsZo0pEKYisAXBqT0g+6/jGwuhlZcBo0f7UIZm88iA3MrJCjlXEgV5OcQdoWj+hq0lKEdnhtCKr03AIfukN6+4vjjarZeW1bs0swq0l3XFf5RHa11otshMS4mpewshB9iO9MuKWpRxuxeng4PlKZ/zuBqmPeUrjJ9454oK35Pq+dghfemt7AUpBH/KycDNIZgfdEWUZrRKBGnc519C+RTqxyt5hWL18nJk4LvSd3QKlJ1iyJxClhhb/NWEzPqNdyA5cxen+2T9bd/EqJ2KzRv5/BPVwTQkHH9W/TZElFyvFfOFIW2+03RKbVGw72Mr/0xKZ+awAnEfoU+SL/2Gj2m6PHkqFX2sOCi/tN9EA4xgdswEwYJKoZIhvcNAQkVMQYEBAEAAAAwXQYJKwYBBAGCNxEBMVAeTgBNAGkAYwByAG8AcwBvAGYAdAAgAFMAdAByAG8AbgBnACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcjBlBgkqhkiG9w0BCRQxWB5WAFAAdgBrAFQAbQBwADoANABjAGUANgAwADQAZABhAC0AMAA2ADgAMQAtADQANAAxADUALQBhADIAYwBhAC0ANQA3ADcAMwAwADgAZQA2AGQAOQBhAGMwggIOBgkqhkiG9w0BBwGgggH/BIIB+zCCAfcwggHzBgsqhkiG9w0BDAoBA6CCAcswggHHBgoqhkiG9w0BCRYBoIIBtwSCAbMwggGvMIIBXaADAgECAhAdka3aTQsIsUphgIXGUmeRMAkGBSsOAwIdBQAwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3kwHhcNMTYwMTAxMDcwMDAwWhcNMTgwMTAxMDcwMDAwWjASMRAwDgYDVQQDEwdub2Rlc2RrMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC5fhcxbJHxxBEIDzVOMc56s04U6k4GPY7yMR1m+rBGVRiAyV4RjY6U936dqXHCVD36ps2Q0Z+OeEgyCInkIyVeB1EwXcToOcyeS2YcUb0vRWZDouC3tuFdHwiK1Ed5iW/LksmXDotyV7kpqzaPhOFiMtBuMEwNJcPge9k17hRgRQIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAHl2M97QbpzdnwO5HoRBsiEExOcLTNg+GKCr7HUsbzfvrUivw+JLL7qjHAIc5phnK+F5bQ8HKe0L9YXBSKl+fvwxFTATBgkqhkiG9w0BCRUxBgQEAQAAADA7MB8wBwYFKw4DAhoEFGVtyGMqiBd32fGpzlGZQoRM6UQwBBTI0YHFFqTS4Go8CoLgswn29EiuUQICB9A=", - "certificateFormat": "pfx", "password": "nodesdk"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['2272'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [ac50d564-a02c-11e7-b841-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 06:58:58 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/certificates?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/certificates(ThumbprintAlgorithm=sha1,Thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 06:59:00 GMT'] - Location: ['https://pythonsdktest3.brazilsouth.batch.azure.com/certificates(ThumbprintAlgorithm=sha1,Thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [70a337c2-ccb5-46f7-bc61-d4b9dfc1d844] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [ad06f39e-a02c-11e7-8440-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 06:59:00 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/certificates?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#certificates\"\ - ,\"value\":[\r\n {\r\n \"thumbprint\":\"cff2ab63c8c955aaf71989efa641b906558d9fb7\"\ - ,\"thumbprintAlgorithm\":\"sha1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)\"\ - ,\"state\":\"active\",\"stateTransitionTime\":\"2017-09-23T06:59:00.1711937Z\"\ - ,\"publicData\":\"MIIBrzCCAV2gAwIBAgIQHZGt2k0LCLFKYYCFxlJnkTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE2MDEwMTA3MDAwMFoXDTE4MDEwMTA3MDAwMFowEjEQMA4GA1UEAxMHbm9kZXNkazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuX4XMWyR8cQRCA81TjHOerNOFOpOBj2O8jEdZvqwRlUYgMleEY2OlPd+nalxwlQ9+qbNkNGfjnhIMgiJ5CMlXgdRMF3E6DnMnktmHFG9L0VmQ6Lgt7bhXR8IitRHeYlvy5LJlw6Lcle5Kas2j4ThYjLQbjBMDSXD4HvZNe4UYEUCAwEAAaNLMEkwRwYDVR0BBEAwPoAQEuQJLQYdHU8AjWEh3BZkY6EYMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5ghAGN2wAqgBkihHPuNSqXDX0MAkGBSsOAwIdBQADQQB5djPe0G6c3Z8DuR6EQbIhBMTnC0zYPhigq+x1LG83761Ir8PiSy+6oxwCHOaYZyvheW0PByntC/WFwUipfn78\"\ - \r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 06:59:01 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [3a171599-0c61-4c15-9f6e-3b1d00fdd659] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [adb453e4-a02c-11e7-98b8-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 06:59:01 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#certificates/@Element\"\ - ,\"thumbprint\":\"cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"thumbprintAlgorithm\"\ - :\"sha1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)\"\ - ,\"state\":\"active\",\"stateTransitionTime\":\"2017-09-23T06:59:00.1711937Z\"\ - ,\"publicData\":\"MIIBrzCCAV2gAwIBAgIQHZGt2k0LCLFKYYCFxlJnkTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE2MDEwMTA3MDAwMFoXDTE4MDEwMTA3MDAwMFowEjEQMA4GA1UEAxMHbm9kZXNkazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuX4XMWyR8cQRCA81TjHOerNOFOpOBj2O8jEdZvqwRlUYgMleEY2OlPd+nalxwlQ9+qbNkNGfjnhIMgiJ5CMlXgdRMF3E6DnMnktmHFG9L0VmQ6Lgt7bhXR8IitRHeYlvy5LJlw6Lcle5Kas2j4ThYjLQbjBMDSXD4HvZNe4UYEUCAwEAAaNLMEkwRwYDVR0BBEAwPoAQEuQJLQYdHU8AjWEh3BZkY6EYMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5ghAGN2wAqgBkihHPuNSqXDX0MAkGBSsOAwIdBQADQQB5djPe0G6c3Z8DuR6EQbIhBMTnC0zYPhigq+x1LG83761Ir8PiSy+6oxwCHOaYZyvheW0PByntC/WFwUipfn78\"\ - \r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 06:59:02 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [ddaf490a-ac2c-4910-a5b3-f37b4b1087ad] - 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [ae65985c-a02c-11e7-be08-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 06:59:02 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)/canceldelete?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\"\ - ,\"code\":\"CertificateStateActive\",\"message\":{\r\n \"lang\":\"en-US\"\ - ,\"value\":\"The specified certificate is in active state.\\nRequestId:17e9e495-a050-4a50-afdf-7c39ab10e901\\\ - nTime:2017-09-23T06:59:03.5541184Z\"\r\n }\r\n}"} - headers: - Content-Length: ['361'] - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 06:59:03 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - request-id: [17e9e495-a050-4a50-afdf-7c39ab10e901] - status: {code: 409, message: The specified certificate is in active state.} -- 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [af0a6092-a02c-11e7-a0bb-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 06:59:03 GMT'] - method: DELETE - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 06:59:04 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [b5c915a2-5724-4230-8f6e-e0a321a34e2b] - status: {code: 202, message: Accepted} -version: 1 diff --git a/azure-mgmt/tests/recordings/test_batch.test_batch_compute_nodes.yaml b/azure-mgmt/tests/recordings/test_batch.test_batch_compute_nodes.yaml deleted file mode 100644 index d58d0a514c26..000000000000 --- a/azure-mgmt/tests/recordings/test_batch.test_batch_compute_nodes.yaml +++ /dev/null @@ -1,2971 +0,0 @@ -interactions: -- request: - body: '{"targetDedicatedNodes": 2, "vmSize": "small", "cloudServiceConfiguration": - {"osFamily": "4"}, "id": "python_test_pool_3"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['122'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [4ce25e88-7089-11e7-8bfb-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:01:06 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:01:06 GMT'] - ETag: ['0x8D4D2AD30CDC235'] - Last-Modified: ['Mon, 24 Jul 2017 16:01:05 GMT'] - Location: ['https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [8557b858-9ed2-4ef0-ab16-64a8d3c49612] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [5f592948-7089-11e7-b3ed-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:01:37 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?$select=id%2Cstate&maxresults=1000&api-version=2017-06-01.5.1&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n \r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:01:37 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [101decc4-710f-49ec-921b-10d8f80a70fe] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [71c1611c-7089-11e7-bdcb-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:02:07 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?$select=id%2Cstate&maxresults=1000&api-version=2017-06-01.5.1&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n \r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:02:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [6eccd019-cba0-41c9-a58d-7b2253ff9228] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [84321ac6-7089-11e7-8a38-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:02:38 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?$select=id%2Cstate&maxresults=1000&api-version=2017-06-01.5.1&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t160214z\"\ - ,\"state\":\"creating\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170724t160214z\"\ - ,\"state\":\"creating\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:02:39 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [72efd5ed-ad4b-401e-803a-4e580fdbac4b] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [96a05efe-7089-11e7-987b-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:03:09 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?$select=id%2Cstate&maxresults=1000&api-version=2017-06-01.5.1&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t160214z\"\ - ,\"state\":\"creating\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170724t160214z\"\ - ,\"state\":\"creating\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:03:09 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [e58c9d4b-4202-476b-852d-5ba5b9cd38a9] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [a90fd64c-7089-11e7-93de-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:03:40 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?$select=id%2Cstate&maxresults=1000&api-version=2017-06-01.5.1&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t160214z\"\ - ,\"state\":\"starting\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170724t160214z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:03:40 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [424ce0b8-a606-4463-a66b-d2faa5c55fdc] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [bb80638c-7089-11e7-813d-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:04:11 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?$select=id%2Cstate&maxresults=1000&api-version=2017-06-01.5.1&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t160214z\"\ - ,\"state\":\"starting\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170724t160214z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:04:11 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [5e11dc23-eadc-407c-b2f0-336c7170436b] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [cdec6330-7089-11e7-9916-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:04:42 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?$select=id%2Cstate&maxresults=1000&api-version=2017-06-01.5.1&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t160214z\"\ - ,\"state\":\"starting\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170724t160214z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:04:43 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [e0aee984-bd03-41c3-8046-2a51d77e62f3] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [e058769a-7089-11e7-ae2f-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:05:13 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?$select=id%2Cstate&maxresults=1000&api-version=2017-06-01.5.1&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t160214z\"\ - ,\"state\":\"starting\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170724t160214z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:05:14 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [61300a83-b7bf-4c30-8a50-50ed7e4bac55] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [f2cac2ac-7089-11e7-a93c-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:05:44 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?$select=id%2Cstate&maxresults=1000&api-version=2017-06-01.5.1&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t160214z\"\ - ,\"state\":\"starting\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170724t160214z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:05:44 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [59e6cae9-2e56-4e8c-8eae-d976ce6860f1] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [053973c2-708a-11e7-a495-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:06:15 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?$select=id%2Cstate&maxresults=1000&api-version=2017-06-01.5.1&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t160214z\"\ - ,\"state\":\"starting\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170724t160214z\"\ - ,\"state\":\"idle\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:06:16 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [2fc6e567-9467-460b-9b67-7b233f87f7c0] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [17a71178-708a-11e7-952e-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:06:46 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?$select=id%2Cstate&maxresults=1000&api-version=2017-06-01.5.1&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t160214z\"\ - ,\"state\":\"idle\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170724t160214z\"\ - ,\"state\":\"idle\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:06:46 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [5a553b80-0b6f-452d-b969-e0757e937c35] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [2a1a6624-708a-11e7-b3a7-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:07:17 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t160214z\"\ - ,\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170724t160214z\"\ - ,\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ - :\"2017-07-24T16:06:37.5600407Z\",\"lastBootTime\":\"2017-07-24T16:06:34.9174535Z\"\ - ,\"allocationTime\":\"2017-07-24T16:02:14.2799494Z\",\"ipAddress\":\"100.79.42.112\"\ - ,\"affinityId\":\"TVM:tvm-57200098_1-20170724t160214z\",\"vmSize\":\"small\"\ - ,\"totalTasksRun\":0,\"totalTasksSucceeded\":0,\"runningTasksCount\":0,\"\ - isDedicated\":true\r\n },{\r\n \"id\":\"tvm-57200098_2-20170724t160214z\"\ - ,\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_2-20170724t160214z\"\ - ,\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ - :\"2017-07-24T16:06:00.5131437Z\",\"lastBootTime\":\"2017-07-24T16:05:58.1689504Z\"\ - ,\"allocationTime\":\"2017-07-24T16:02:14.2799494Z\",\"ipAddress\":\"100.79.26.104\"\ - ,\"affinityId\":\"TVM:tvm-57200098_2-20170724t160214z\",\"vmSize\":\"small\"\ - ,\"totalTasksRun\":0,\"totalTasksSucceeded\":0,\"runningTasksCount\":0,\"\ - isDedicated\":true\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:07:17 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [deb24aeb-2092-4081-8826-7c4bc08762df] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [2aa5edcc-708a-11e7-af90-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:07:18 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170724t160214z?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes/@Element\"\ - ,\"id\":\"tvm-57200098_1-20170724t160214z\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170724t160214z\"\ - ,\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ - :\"2017-07-24T16:06:37.5600407Z\",\"lastBootTime\":\"2017-07-24T16:06:34.9174535Z\"\ - ,\"allocationTime\":\"2017-07-24T16:02:14.2799494Z\",\"ipAddress\":\"100.79.42.112\"\ - ,\"affinityId\":\"TVM:tvm-57200098_1-20170724t160214z\",\"vmSize\":\"small\"\ - ,\"totalTasksRun\":0,\"totalTasksSucceeded\":0,\"runningTasksCount\":0,\"\ - isDedicated\":true\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:07:18 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [104aa512-4128-46ab-ad88-f0f21140b254] - status: {code: 200, message: OK} -- request: - body: '{"targetDedicatedNodes": 1, "vmSize": "standard_a1", "networkConfiguration": - {"endpointConfiguration": {"inboundNATPools": [{"backendPort": 64444, "frontendPortRangeEnd": - 61000, "name": "TestEndpointConfig", "frontendPortRangeStart": 60000, "protocol": - "udp", "networkSecurityGroupRules": [{"priority": 150, "access": "allow", "sourceAddressPrefix": - "*"}]}]}}, "virtualMachineConfiguration": {"nodeAgentSKUId": "batch.node.ubuntu - 16.04", "imageReference": {"publisher": "Canonical", "sku": "16.04-LTS", "offer": - "UbuntuServer"}}, "id": "python_test_pool_4"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['557'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [2b2acdd0-708a-11e7-a24f-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:07:19 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:07:19 GMT'] - ETag: ['0x8D4D2AE0F31258C'] - Last-Modified: ['Mon, 24 Jul 2017 16:07:18 GMT'] - Location: ['https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [1939029d-8c67-4200-a564-a6445c50f3ba] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [3dc0de00-708a-11e7-b585-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:07:50 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?$select=id%2Cstate&maxresults=1000&api-version=2017-06-01.5.1&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n \r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:07:51 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [f54251e7-ff6b-4777-9a70-00588ba3285c] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [502c7714-708a-11e7-bed0-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:08:21 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?$select=id%2Cstate&maxresults=1000&api-version=2017-06-01.5.1&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n \r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:08:21 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [cebc2ba2-8597-4e1c-bede-f6fbe0dc1623] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [629aa7b8-708a-11e7-a157-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:08:52 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?$select=id%2Cstate&maxresults=1000&api-version=2017-06-01.5.1&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t160827z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:08:53 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [638719ae-cfd0-4017-86d4-47d5d14afa0a] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [750157c2-708a-11e7-b33f-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:09:22 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?$select=id%2Cstate&maxresults=1000&api-version=2017-06-01.5.1&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t160827z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:09:23 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [73d5d565-1a3e-44fc-aa63-ff22b11ef417] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [876b1fd2-708a-11e7-bcdc-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:09:53 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?$select=id%2Cstate&maxresults=1000&api-version=2017-06-01.5.1&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t160827z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:09:54 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [0e63063c-813d-444d-bc8e-a275d1b05985] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [99d9ef94-708a-11e7-a7e7-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:10:24 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?$select=id%2Cstate&maxresults=1000&api-version=2017-06-01.5.1&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t160827z\"\ - ,\"state\":\"idle\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:10:24 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [e88c91c7-6664-4595-aaa6-5f87b26bcd6f] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [ac44f890-708a-11e7-b76f-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:10:55 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t160827z\"\ - ,\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes/tvm-57200098_1-20170724t160827z\"\ - ,\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ - :\"2017-07-24T16:09:56.674971Z\",\"lastBootTime\":\"2017-07-24T16:09:56.502198Z\"\ - ,\"allocationTime\":\"2017-07-24T16:08:27.9340796Z\",\"ipAddress\":\"10.0.0.4\"\ - ,\"affinityId\":\"TVM:tvm-57200098_1-20170724t160827z\",\"vmSize\":\"standard_a1\"\ - ,\"totalTasksRun\":0,\"totalTasksSucceeded\":0,\"runningTasksCount\":0,\"\ - isDedicated\":true,\"endpointConfiguration\":{\r\n \"inboundEndpoints\"\ - :[\r\n {\r\n \"name\":\"TestEndpointConfig.0\",\"protocol\"\ - :\"udp\",\"publicIPAddress\":\"191.232.175.168\",\"publicFQDN\":\"dns6e0bdf81-a96f-4f0d-8ee7-84852ddc3660-azurebatch-cloudservice.brazilsouth.cloudapp.azure.com\"\ - ,\"frontendPort\":60000,\"backendPort\":64444\r\n }\r\n ]\r\ - \n }\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:10:55 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [20dedee2-1543-4342-b9ab-2c42910d97d5] - 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [acd8298a-708a-11e7-a593-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:10:56 GMT'] - method: DELETE - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:10:57 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [ed99fdaa-0fd0-4289-842d-813a20ecaa79] - status: {code: 202, message: Accepted} -- request: - body: '{"isAdmin": false, "name": "BatchPythonSDKUser", "password": "kt#_gahr!@aGERDXA"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['81'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [ad68bac0-708a-11e7-bbac-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:10:57 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170724t160214z/users?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170724t160214z/users/BatchPythonSDKUser'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:10:57 GMT'] - Location: ['https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170724t160214z/users/BatchPythonSDKUser'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [b2bfcf3f-f5bd-452e-bad9-6823d363d444] - status: {code: 201, message: Created} -- request: - body: '{"password": "liilef#$DdRGSa_ewkjh"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['36'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [ae40c312-708a-11e7-a1ef-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:10:58 GMT'] - method: PUT - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170724t160214z/users/BatchPythonSDKUser?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170724t160214z/users/BatchPythonSDKUser'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:10:58 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [abbf8bdb-b984-4085-a19d-c0bf2fcb1fdd] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [aeecf0f0-708a-11e7-bb40-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:11:00 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170724t160214z/rdp?api-version=2017-06-01.5.1 - response: - body: {string: "full address:s:191.232.166.60\r\nLoadBalanceInfo:s:Cookie: mstshash=TVM#TVM_IN_0"} - headers: - Content-Type: [application/octet-stream] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:10:59 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [690eaa8c-3d01-42c5-8895-31a4dff57419] - 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [af73abcc-708a-11e7-aef7-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:11:00 GMT'] - method: DELETE - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170724t160214z/users/BatchPythonSDKUser?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:11:01 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [6ab9c09a-fe8a-4dd2-9383-2c77c463cafe] - 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [b029d56c-708a-11e7-9baa-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:11:02 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170724t160214z/disablescheduling?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170724t160214z/disablescheduling'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:11:02 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [c93c558c-e260-4596-a7d5-4d031290fdcc] - 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [b0edcad4-708a-11e7-918a-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:11:03 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170724t160214z/enablescheduling?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170724t160214z/enablescheduling'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:11:05 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [7c53fd60-681d-4ae2-814f-095fca5e5596] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [b1f7a69e-708a-11e7-8055-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:11:05 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170724t160214z/files?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#files\"\ - ,\"value\":[\r\n {\r\n \"name\":\"applications\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170724t160214z/files/applications\"\ - ,\"isDirectory\":true\r\n },{\r\n \"name\":\"shared\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170724t160214z/files/shared\"\ - ,\"isDirectory\":true\r\n },{\r\n \"name\":\"startup\",\"url\":\"\ - https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170724t160214z/files/startup\"\ - ,\"isDirectory\":true\r\n },{\r\n \"name\":\"workitems\",\"url\":\"\ - https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170724t160214z/files/workitems\"\ - ,\"isDirectory\":true\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:11:06 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [018324bb-00c1-4466-8810-7f1f1e858133] - 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [b3123824-708a-11e7-88cb-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:11:07 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170724t160214z/reboot?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170724t160214z/reboot'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:11:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [c2115043-b690-4d81-9fef-ee8eae0fb5de] - status: {code: 202, message: Accepted} -- 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [b42bba46-708a-11e7-a104-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:11:08 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_2-20170724t160214z/reimage?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_2-20170724t160214z/reimage'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:11:09 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [56998ae3-7fb6-4c0e-a56c-ff27382865ae] - status: {code: 202, message: Accepted} -- request: - body: '{"nodeList": ["tvm-57200098_1-20170724t160214z", "tvm-57200098_2-20170724t160214z"]}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['84'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [b5330cf4-708a-11e7-bfd2-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:11:10 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/removenodes?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3/removenodes'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:11:12 GMT'] - ETag: ['0x8D4D2AE9913C876'] - Last-Modified: ['Mon, 24 Jul 2017 16:11:10 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [5340857f-b4ac-4277-a622-b7dec1a3efa8] - status: {code: 202, message: Accepted} -- 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [b5c2faa8-708a-11e7-8ffc-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:11:11 GMT'] - method: DELETE - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_3?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:11:12 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [44020a53-fb4c-4518-8cb0-09ffe11ed2b8] - status: {code: 202, message: Accepted} -- request: - body: '{"id": "python_test_pool_3", "vmSize": "small", "cloudServiceConfiguration": - {"osFamily": "4"}, "targetDedicatedNodes": 2}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['122'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [b02f58e2-a02c-11e7-a520-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 06:59:05 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 06:59:06 GMT'] - ETag: ['0x8D5025095050BE1'] - Last-Modified: ['Sat, 23 Sep 2017 06:59:06 GMT'] - Location: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [7ea90918-e4ad-42cc-8ba3-c3022d6f32e9] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [c2b1b910-a02c-11e7-afa9-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 06:59:36 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n \r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 06:59:37 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [f0d365ef-c97f-4633-a9bb-bc456320f630] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [d531e952-a02c-11e7-ab1a-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:00:07 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n \r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:00:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [33d1c6c9-6261-46e4-9c66-435e73825d47] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [e7ba8cee-a02c-11e7-8b1e-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:00:38 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t070034z\"\ - ,\"state\":\"creating\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170923t070034z\"\ - ,\"state\":\"creating\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:00:38 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [a064876d-c78a-4cc1-99e0-7b8252687e5c] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [fa3e37ae-a02c-11e7-b117-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:01:09 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t070034z\"\ - ,\"state\":\"creating\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170923t070034z\"\ - ,\"state\":\"creating\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:01:10 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [6c92f314-a74d-4bee-a03d-186635a43040] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [0cc6efb4-a02d-11e7-8f84-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:01:40 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t070034z\"\ - ,\"state\":\"starting\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170923t070034z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:01:41 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [04c49be7-006d-49ed-b7e0-a8cc977e6454] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [1f53a1de-a02d-11e7-93c4-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:02:11 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t070034z\"\ - ,\"state\":\"starting\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170923t070034z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:02:13 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [55797b1d-41b2-4be0-833f-f558f066af71] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [31d91142-a02d-11e7-a98b-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:02:42 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t070034z\"\ - ,\"state\":\"starting\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170923t070034z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:02:44 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [dc759abc-90e6-4d71-953a-79c4f80a612c] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [4461b568-a02d-11e7-bcd9-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:03:13 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t070034z\"\ - ,\"state\":\"starting\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170923t070034z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:03:15 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [fc85717e-9710-46ad-8836-bcdb05f30c3c] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [56e7aea4-a02d-11e7-a76d-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:03:45 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t070034z\"\ - ,\"state\":\"starting\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170923t070034z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:03:45 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [c8a4fdae-9ae7-4d18-b58a-77025190d6d8] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [696b70a4-a02d-11e7-bc51-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:04:16 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t070034z\"\ - ,\"state\":\"idle\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170923t070034z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:04:16 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [918a5230-df98-44dd-aa11-d83ac81268f4] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [7bf7244a-a02d-11e7-a67e-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:04:47 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t070034z\"\ - ,\"state\":\"idle\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170923t070034z\"\ - ,\"state\":\"idle\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:04:48 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [ca8bde23-aca2-4498-9336-6ce166973d60] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [8e8061d8-a02d-11e7-b268-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:05:18 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t070034z\"\ - ,\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t070034z\"\ - ,\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ - :\"2017-09-23T07:04:15.3820909Z\",\"lastBootTime\":\"2017-09-23T07:04:14.0510632Z\"\ - ,\"allocationTime\":\"2017-09-23T07:00:34.6905705Z\",\"ipAddress\":\"100.79.224.28\"\ - ,\"affinityId\":\"TVM:tvm-57200098_1-20170923t070034z\",\"vmSize\":\"small\"\ - ,\"totalTasksRun\":0,\"totalTasksSucceeded\":0,\"runningTasksCount\":0,\"\ - isDedicated\":true\r\n },{\r\n \"id\":\"tvm-57200098_2-20170923t070034z\"\ - ,\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_2-20170923t070034z\"\ - ,\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ - :\"2017-09-23T07:04:46.1130252Z\",\"lastBootTime\":\"2017-09-23T07:04:44.8165545Z\"\ - ,\"allocationTime\":\"2017-09-23T07:00:34.6905705Z\",\"ipAddress\":\"100.79.236.93\"\ - ,\"affinityId\":\"TVM:tvm-57200098_2-20170923t070034z\",\"vmSize\":\"small\"\ - ,\"totalTasksRun\":0,\"totalTasksSucceeded\":0,\"runningTasksCount\":0,\"\ - isDedicated\":true\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:05:19 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [2d45bc4d-af2c-4058-8ece-d69762ceeecc] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [8f24b39c-a02d-11e7-bdd7-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:05:19 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t070034z?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes/@Element\"\ - ,\"id\":\"tvm-57200098_1-20170923t070034z\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t070034z\"\ - ,\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ - :\"2017-09-23T07:04:15.3820909Z\",\"lastBootTime\":\"2017-09-23T07:04:14.0510632Z\"\ - ,\"allocationTime\":\"2017-09-23T07:00:34.6905705Z\",\"ipAddress\":\"100.79.224.28\"\ - ,\"affinityId\":\"TVM:tvm-57200098_1-20170923t070034z\",\"vmSize\":\"small\"\ - ,\"totalTasksRun\":0,\"totalTasksSucceeded\":0,\"runningTasksCount\":0,\"\ - isDedicated\":true\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:05:20 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [b40032e9-73e4-40a8-8283-90573e969e80] - status: {code: 200, message: OK} -- request: - body: '{"id": "python_test_pool_4", "vmSize": "standard_a1", "virtualMachineConfiguration": - {"imageReference": {"publisher": "Canonical", "offer": "UbuntuServer", "sku": - "16.04-LTS"}, "nodeAgentSKUId": "batch.node.ubuntu 16.04"}, "targetDedicatedNodes": - 1, "networkConfiguration": {"endpointConfiguration": {"inboundNATPools": [{"name": - "TestEndpointConfig", "protocol": "udp", "backendPort": 64444, "frontendPortRangeStart": - 60000, "frontendPortRangeEnd": 61000, "networkSecurityGroupRules": [{"priority": - 150, "access": "allow", "sourceAddressPrefix": "*"}]}]}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['557'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [8fc704cc-a02d-11e7-b4fa-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:05:20 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:05:21 GMT'] - ETag: ['0x8D5025174B490DB'] - Last-Modified: ['Sat, 23 Sep 2017 07:05:21 GMT'] - Location: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [d2ac1db8-83db-42cb-aafa-416291469629] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [a2665e4c-a02d-11e7-955d-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:05:51 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n \r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:05:52 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [fff365f0-0e63-4728-a8b2-5fb818b51be6] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [b4ef60ac-a02d-11e7-b474-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:06:22 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n \r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:06:24 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [4d0221e5-5072-43db-a8f3-9687ca6f9f2b] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [c772ebe8-a02d-11e7-8f8e-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:06:53 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n \r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:06:55 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [2283795a-1776-4838-9867-95385b0efdf1] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [d9ffa56e-a02d-11e7-8ab1-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:07:24 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t070710z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:07:26 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [53bb2fa5-232a-4a71-adc9-97f04ccb0827] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [ec8c3d86-a02d-11e7-91bd-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:07:56 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t070710z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:07:57 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [d6b6a25a-498f-40ae-bb48-55902aa6f02b] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [ff134862-a02d-11e7-953d-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:08:27 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t070710z\"\ - ,\"state\":\"idle\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:08:28 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [017dbbbc-5e30-4310-b595-018da94c12be] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [11a1b7ca-a02e-11e7-af75-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:08:58 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t070710z\"\ - ,\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes/tvm-57200098_1-20170923t070710z\"\ - ,\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ - :\"2017-09-23T07:08:16.177964Z\",\"lastBootTime\":\"2017-09-23T07:08:16.047211Z\"\ - ,\"allocationTime\":\"2017-09-23T07:07:10.6193906Z\",\"ipAddress\":\"10.0.0.4\"\ - ,\"affinityId\":\"TVM:tvm-57200098_1-20170923t070710z\",\"vmSize\":\"standard_a1\"\ - ,\"totalTasksRun\":0,\"totalTasksSucceeded\":0,\"runningTasksCount\":0,\"\ - isDedicated\":true,\"endpointConfiguration\":{\r\n \"inboundEndpoints\"\ - :[\r\n {\r\n \"name\":\"TestEndpointConfig.0\",\"protocol\"\ - :\"udp\",\"publicIPAddress\":\"104.41.51.199\",\"publicFQDN\":\"dns8616108c-7485-40cf-b682-bb606eb311cd-azurebatch-cloudservice.brazilsouth.cloudapp.azure.com\"\ - ,\"frontendPort\":60000,\"backendPort\":64444\r\n },{\r\n \ - \ \"name\":\"SSHRule.0\",\"protocol\":\"tcp\",\"publicIPAddress\":\"104.41.51.199\"\ - ,\"publicFQDN\":\"dns8616108c-7485-40cf-b682-bb606eb311cd-azurebatch-cloudservice.brazilsouth.cloudapp.azure.com\"\ - ,\"frontendPort\":50000,\"backendPort\":22\r\n }\r\n ]\r\n\ - \ }\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:08:59 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [e62c3d19-9450-4274-a0a9-6e0fb6500bf5] - status: {code: 200, message: OK} -- request: - body: '{"name": "BatchPythonSDKUser", "isAdmin": false, "password": "kt#_gahr!@aGERDXA"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['81'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [1253d3e4-a02e-11e7-be9b-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:08:59 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t070034z/users?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t070034z/users/BatchPythonSDKUser'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:09:00 GMT'] - Location: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t070034z/users/BatchPythonSDKUser'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [fc2d34a9-4177-457c-aa0b-fb3f1700775a] - status: {code: 201, message: Created} -- request: - body: '{"password": "liilef#$DdRGSa_ewkjh"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['36'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [135979f6-a02e-11e7-aeb7-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:09:01 GMT'] - method: PUT - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t070034z/users/BatchPythonSDKUser?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t070034z/users/BatchPythonSDKUser'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:09:02 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [b8b32bfb-82e0-433e-8ead-2e8ec55a2f14] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [142367ba-a02e-11e7-b597-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:09:02 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t070034z/rdp?api-version=2017-09-01.6.0 - response: - body: {string: "full address:s:104.41.48.117\r\nLoadBalanceInfo:s:Cookie: mstshash=TVM#TVM_IN_0"} - headers: - Content-Type: [application/octet-stream] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:09:03 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [acf90fd9-2796-46cd-b8b3-0b3d409c1a4d] - 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [14c67852-a02e-11e7-a11f-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:09:03 GMT'] - method: DELETE - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t070034z/users/BatchPythonSDKUser?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:09:05 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [4f2f7d3a-e561-4354-b711-48bc84cbc318] - 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [158c51c0-a02e-11e7-a40a-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:09:04 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t070034z/disablescheduling?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t070034z/disablescheduling'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:09:07 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [8e20caf3-6ccc-4d4a-a007-b9648c557acb] - 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [16dc99fa-a02e-11e7-8f90-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:09:07 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t070034z/enablescheduling?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t070034z/enablescheduling'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:09:09 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [a603b5ae-0923-4353-9ce0-79de631c8c79] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [183675f6-a02e-11e7-a757-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:09:09 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t070034z/files?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#files\"\ - ,\"value\":[\r\n {\r\n \"name\":\"applications\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t070034z/files/applications\"\ - ,\"isDirectory\":true\r\n },{\r\n \"name\":\"shared\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t070034z/files/shared\"\ - ,\"isDirectory\":true\r\n },{\r\n \"name\":\"startup\",\"url\":\"\ - https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t070034z/files/startup\"\ - ,\"isDirectory\":true\r\n },{\r\n \"name\":\"workitems\",\"url\":\"\ - https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t070034z/files/workitems\"\ - ,\"isDirectory\":true\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:09:10 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [693a53c8-15cb-46ed-8861-e6acf42f2584] - 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [18ea47de-a02e-11e7-a6f6-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:09:10 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t070034z/reboot?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t070034z/reboot'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:09:13 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [b376fe7d-13d3-4c48-b7b3-57999a914b63] - status: {code: 202, message: Accepted} -- 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [1a598146-a02e-11e7-a928-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:09:12 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_2-20170923t070034z/reimage?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_2-20170923t070034z/reimage'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:09:14 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [d7480766-3c2a-4e39-8063-0af22de35d85] - status: {code: 202, message: Accepted} -- request: - body: '{"nodeList": ["tvm-57200098_1-20170923t070034z", "tvm-57200098_2-20170923t070034z"]}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['84'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [1b3d4042-a02e-11e7-841b-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:09:14 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/removenodes?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/removenodes'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:09:14 GMT'] - ETag: ['0x8D5025200119CA2'] - Last-Modified: ['Sat, 23 Sep 2017 07:09:15 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [02685c3d-d77e-4d7c-9ad7-8b7d3f4df0b8] - status: {code: 202, message: Accepted} -- request: - body: '{"id": "python_test_pool_3", "vmSize": "small", "cloudServiceConfiguration": - {"osFamily": "4"}, "targetDedicatedNodes": 2}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['122'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [fe5b7940-a02f-11e7-bd39-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:22:44 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:22:46 GMT'] - ETag: ['0x8D50253E3345F97'] - Last-Modified: ['Sat, 23 Sep 2017 07:22:46 GMT'] - Location: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [38370644-d877-481c-a987-ccbe03b46df0] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [10ef8b0c-a030-11e7-babc-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:23:16 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n \r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:23:17 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [7c6a1e58-f003-42d8-bf60-1adc7cee2f71] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [2379a234-a030-11e7-9d99-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:23:47 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n \r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:23:48 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [22be82a2-99a5-43e9-9732-484fee9d0322] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [36048ff4-a030-11e7-97b1-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:24:18 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t072404z\"\ - ,\"state\":\"creating\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170923t072404z\"\ - ,\"state\":\"creating\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:24:19 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [112fd993-81db-4ce6-a716-831d81eae6ab] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [488aabb0-a030-11e7-9e18-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:24:49 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t072404z\"\ - ,\"state\":\"creating\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170923t072404z\"\ - ,\"state\":\"creating\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:24:50 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [a2055a80-4b20-4497-8689-472bfbbb3840] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [5b0e775c-a030-11e7-beb3-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:25:20 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t072404z\"\ - ,\"state\":\"starting\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170923t072404z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:25:21 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [8533dbef-42f4-4297-aee6-1e8a890546f3] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [6d9990d2-a030-11e7-860a-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:25:51 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t072404z\"\ - ,\"state\":\"starting\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170923t072404z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:25:52 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [cf6fa03e-fc3d-4cab-829b-4f8d87f91f29] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [802221b0-a030-11e7-a0af-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:26:22 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t072404z\"\ - ,\"state\":\"starting\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170923t072404z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:26:24 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [02773bfc-c50d-4361-b5e3-492be883937a] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [92b44836-a030-11e7-972a-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:26:53 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t072404z\"\ - ,\"state\":\"starting\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170923t072404z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:26:54 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [c5ef3346-ff5a-40c9-b3d3-ac30a73f4632] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [a53ab552-a030-11e7-825d-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:27:24 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t072404z\"\ - ,\"state\":\"starting\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170923t072404z\"\ - ,\"state\":\"idle\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:27:26 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [f70b1155-b4de-4d86-81dd-a6a763d55866] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [b7c3a1d2-a030-11e7-82ff-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:27:56 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t072404z\"\ - ,\"state\":\"idle\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170923t072404z\"\ - ,\"state\":\"idle\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:27:57 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [3805a905-1086-48d3-9ca3-a8d531dd569a] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [ca4959dc-a030-11e7-b6c9-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:28:27 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t072404z\"\ - ,\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t072404z\"\ - ,\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ - :\"2017-09-23T07:27:28.8597816Z\",\"lastBootTime\":\"2017-09-23T07:27:27.7627677Z\"\ - ,\"allocationTime\":\"2017-09-23T07:24:04.1937273Z\",\"ipAddress\":\"100.72.84.63\"\ - ,\"affinityId\":\"TVM:tvm-57200098_1-20170923t072404z\",\"vmSize\":\"small\"\ - ,\"totalTasksRun\":0,\"totalTasksSucceeded\":0,\"runningTasksCount\":0,\"\ - isDedicated\":true\r\n },{\r\n \"id\":\"tvm-57200098_2-20170923t072404z\"\ - ,\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_2-20170923t072404z\"\ - ,\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ - :\"2017-09-23T07:27:10.8758338Z\",\"lastBootTime\":\"2017-09-23T07:27:09.5034252Z\"\ - ,\"allocationTime\":\"2017-09-23T07:24:04.1937273Z\",\"ipAddress\":\"100.72.74.53\"\ - ,\"affinityId\":\"TVM:tvm-57200098_2-20170923t072404z\",\"vmSize\":\"small\"\ - ,\"totalTasksRun\":0,\"totalTasksSucceeded\":0,\"runningTasksCount\":0,\"\ - isDedicated\":true\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:28:28 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [8a4229be-4380-4211-8fd7-066b29adc21f] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [caf50b6e-a030-11e7-a28f-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:28:28 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t072404z?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes/@Element\"\ - ,\"id\":\"tvm-57200098_1-20170923t072404z\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t072404z\"\ - ,\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ - :\"2017-09-23T07:27:28.8597816Z\",\"lastBootTime\":\"2017-09-23T07:27:27.7627677Z\"\ - ,\"allocationTime\":\"2017-09-23T07:24:04.1937273Z\",\"ipAddress\":\"100.72.84.63\"\ - ,\"affinityId\":\"TVM:tvm-57200098_1-20170923t072404z\",\"vmSize\":\"small\"\ - ,\"totalTasksRun\":0,\"totalTasksSucceeded\":0,\"runningTasksCount\":0,\"\ - isDedicated\":true\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:28:29 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [b603c4f6-9fcd-4db5-8ed4-506fbfc28ec9] - status: {code: 200, message: OK} -- request: - body: '{"id": "python_test_pool_4", "vmSize": "standard_a1", "virtualMachineConfiguration": - {"imageReference": {"publisher": "Canonical", "offer": "UbuntuServer", "sku": - "16.04-LTS"}, "nodeAgentSKUId": "batch.node.ubuntu 16.04"}, "targetDedicatedNodes": - 1, "networkConfiguration": {"endpointConfiguration": {"inboundNATPools": [{"name": - "TestEndpointConfig", "protocol": "udp", "backendPort": 64444, "frontendPortRangeStart": - 60000, "frontendPortRangeEnd": 61000, "networkSecurityGroupRules": [{"priority": - 150, "access": "allow", "sourceAddressPrefix": "*"}]}]}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['557'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [cba3760c-a030-11e7-a041-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:28:29 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:28:30 GMT'] - ETag: ['0x8D50254B0899B28'] - Last-Modified: ['Sat, 23 Sep 2017 07:28:30 GMT'] - Location: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [cd3572f3-83e3-4046-8753-8f51dc197f68] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [de45a600-a030-11e7-82ff-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:29:00 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n \r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:29:01 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [7e974f09-9cbb-4cef-8496-cee07be67922] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [f0c677a4-a030-11e7-8cc4-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:29:31 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n \r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:29:32 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [5b561475-3b37-479e-948b-e334248a6537] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [0354b7fa-a031-11e7-9a47-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:30:02 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n \r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:30:03 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [f71798c9-5074-4edd-adc6-bfa9a0c6c6f0] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [15da146e-a031-11e7-b1ac-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:30:33 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t073014z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:30:35 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [b03a9843-25c9-4f98-ba96-87f43d31e224] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [2867e634-a031-11e7-aa40-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:31:04 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t073014z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:31:05 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [fec79155-fc74-47b7-892f-b003c38f3fd3] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [3aeaa2a8-a031-11e7-bcab-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:31:36 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t073014z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:31:37 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [d1e07278-f6c0-475d-b87e-426c0518e712] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [4d74678c-a031-11e7-b2c7-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:32:07 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t073014z\"\ - ,\"state\":\"idle\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:32:07 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [0218761e-f8d4-43d2-ae1d-9d7953abe613] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [5ff6f338-a031-11e7-923e-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:32:38 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t073014z\"\ - ,\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes/tvm-57200098_1-20170923t073014z\"\ - ,\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\"\ - :\"2017-09-23T07:31:49.858499Z\",\"lastBootTime\":\"2017-09-23T07:31:49.712785Z\"\ - ,\"allocationTime\":\"2017-09-23T07:30:14.2503159Z\",\"ipAddress\":\"10.0.0.4\"\ - ,\"affinityId\":\"TVM:tvm-57200098_1-20170923t073014z\",\"vmSize\":\"standard_a1\"\ - ,\"totalTasksRun\":0,\"totalTasksSucceeded\":0,\"runningTasksCount\":0,\"\ - isDedicated\":true,\"endpointConfiguration\":{\r\n \"inboundEndpoints\"\ - :[\r\n {\r\n \"name\":\"TestEndpointConfig.0\",\"protocol\"\ - :\"udp\",\"publicIPAddress\":\"104.41.53.218\",\"publicFQDN\":\"dns6c9538e7-6606-46b0-b76d-8f034a189962-azurebatch-cloudservice.brazilsouth.cloudapp.azure.com\"\ - ,\"frontendPort\":60000,\"backendPort\":64444\r\n },{\r\n \ - \ \"name\":\"SSHRule.0\",\"protocol\":\"tcp\",\"publicIPAddress\":\"104.41.53.218\"\ - ,\"publicFQDN\":\"dns6c9538e7-6606-46b0-b76d-8f034a189962-azurebatch-cloudservice.brazilsouth.cloudapp.azure.com\"\ - ,\"frontendPort\":50000,\"backendPort\":22\r\n }\r\n ]\r\n\ - \ }\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:32:39 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [df90521c-21ff-476c-b2d3-8db0770c6125] - 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [609df30c-a031-11e7-acdd-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:32:39 GMT'] - method: DELETE - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:32:40 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [d0f3cda4-9556-44d6-bf01-fc57913b74c8] - status: {code: 202, message: Accepted} -- request: - body: '{"name": "BatchPythonSDKUser", "isAdmin": false, "password": "kt#_gahr!@aGERDXA"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['81'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [6149ec0a-a031-11e7-a3d2-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:32:40 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t072404z/users?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t072404z/users/BatchPythonSDKUser'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:32:42 GMT'] - Location: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t072404z/users/BatchPythonSDKUser'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [b1ffa086-e23e-4deb-99cc-3ba1523b2430] - status: {code: 201, message: Created} -- request: - body: '{"password": "liilef#$DdRGSa_ewkjh"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['36'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [6250d29a-a031-11e7-9f3b-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:32:42 GMT'] - method: PUT - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t072404z/users/BatchPythonSDKUser?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t072404z/users/BatchPythonSDKUser'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:32:42 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [46413f45-e5f6-481f-8cc1-a69828093f3a] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [630f35e2-a031-11e7-b6e6-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:32:43 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t072404z/rdp?api-version=2017-09-01.6.0 - response: - body: {string: "full address:s:191.232.32.194\r\nLoadBalanceInfo:s:Cookie: mstshash=TVM#TVM_IN_0"} - headers: - Content-Type: [application/octet-stream] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:32:44 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [552ccee5-f19e-47f6-909c-fa840c7c4e4f] - 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [63b399d2-a031-11e7-a658-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:32:44 GMT'] - method: DELETE - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t072404z/users/BatchPythonSDKUser?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:32:45 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [d0bbb93d-597e-4cdb-8f30-65e38ec8245f] - 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [6483b85c-a031-11e7-8951-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:32:45 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t072404z/disablescheduling?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t072404z/disablescheduling'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:32:47 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [86925fa4-9114-4deb-b360-d46a412d483d] - 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [657acebe-a031-11e7-9db9-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:32:47 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t072404z/enablescheduling?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t072404z/enablescheduling'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:32:49 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [a4fd6d7c-45b9-4b8b-9662-eacd938c8fcd] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [668663b6-a031-11e7-9fc0-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:32:49 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t072404z/files?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#files\"\ - ,\"value\":[\r\n {\r\n \"name\":\"applications\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t072404z/files/applications\"\ - ,\"isDirectory\":true\r\n },{\r\n \"name\":\"shared\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t072404z/files/shared\"\ - ,\"isDirectory\":true\r\n },{\r\n \"name\":\"startup\",\"url\":\"\ - https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t072404z/files/startup\"\ - ,\"isDirectory\":true\r\n },{\r\n \"name\":\"workitems\",\"url\":\"\ - https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t072404z/files/workitems\"\ - ,\"isDirectory\":true\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:32:50 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [d346d53b-3db1-4ea0-b827-ecc7f6df9985] - 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [67374754-a031-11e7-901d-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:32:50 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t072404z/reboot?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_1-20170923t072404z/reboot'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:32:51 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [cdb1920a-bddc-4935-a357-653660627081] - status: {code: 202, message: Accepted} -- 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [6830c636-a031-11e7-8c67-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:32:51 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_2-20170923t072404z/reimage?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/nodes/tvm-57200098_2-20170923t072404z/reimage'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:32:53 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [7ddf9b9b-cac6-4794-a405-7ea09ed87ed4] - status: {code: 202, message: Accepted} -- request: - body: '{"nodeList": ["tvm-57200098_1-20170923t072404z", "tvm-57200098_2-20170923t072404z"]}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['84'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [68d7aaac-a031-11e7-b47d-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:32:53 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/removenodes?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3/removenodes'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:32:53 GMT'] - ETag: ['0x8D502554DA3600A'] - Last-Modified: ['Sat, 23 Sep 2017 07:32:54 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [fac6279c-0e2e-4c34-b96c-02f448c05d04] - status: {code: 202, message: Accepted} -- 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [697c590c-a031-11e7-b945-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:32:54 GMT'] - method: DELETE - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:32:54 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [52ccb733-5f04-41a1-96dc-29ef85c1e999] - status: {code: 202, message: Accepted} -version: 1 diff --git a/azure-mgmt/tests/recordings/test_batch.test_batch_job_schedules.yaml b/azure-mgmt/tests/recordings/test_batch.test_batch_job_schedules.yaml deleted file mode 100644 index 04a8c4a0b70a..000000000000 --- a/azure-mgmt/tests/recordings/test_batch.test_batch_job_schedules.yaml +++ /dev/null @@ -1,1548 +0,0 @@ -interactions: -- request: - body: '{"id": "python_test_pool_5", "cloudServiceConfiguration": {"osFamily": - "4"}, "vmSize": "small", "targetDedicatedNodes": 2}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['122'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [04a46eb6-7090-11e7-bab5-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:49:11 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_5'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:49:11 GMT'] - ETag: ['0x8D4D2B3E9864CCC'] - Last-Modified: ['Mon, 24 Jul 2017 16:49:12 GMT'] - Location: ['https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_5'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [13733c4f-c414-4733-9b93-acd51ae033c5] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [1711ee30-7090-11e7-ac1e-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:49:42 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_5/nodes?timeout=30&api-version=2017-06-01.5.1&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n \r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:49:42 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [7cace4a8-28aa-4bae-881d-bc6aae0159b1] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [297767f4-7090-11e7-9e13-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:50:13 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_5/nodes?timeout=30&api-version=2017-06-01.5.1&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n \r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:50:12 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [72cb8406-24e1-4657-91b1-4a0647762365] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [3beb98a2-7090-11e7-bd35-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:50:44 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_5/nodes?timeout=30&api-version=2017-06-01.5.1&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n \r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:50:45 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [0b0611d0-6641-47d2-9f02-5832cd0c153e] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [4e5c5108-7090-11e7-98f4-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:51:15 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_5/nodes?timeout=30&api-version=2017-06-01.5.1&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t165050z\"\ - ,\"state\":\"creating\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170724t165050z\"\ - ,\"state\":\"creating\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:51:15 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [40357f59-40dc-43c5-ae87-5a08800c6dd7] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [60c3ba7a-7090-11e7-87cc-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:51:45 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_5/nodes?timeout=30&api-version=2017-06-01.5.1&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t165050z\"\ - ,\"state\":\"creating\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170724t165050z\"\ - ,\"state\":\"creating\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:51:47 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [e1909227-ed5f-4edd-be08-a1b23f3dfb64] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [73384c5a-7090-11e7-8217-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:52:16 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_5/nodes?timeout=30&api-version=2017-06-01.5.1&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t165050z\"\ - ,\"state\":\"starting\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170724t165050z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:52:17 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [3962de26-3086-4f06-8777-ceda303c5d56] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [85aa60ca-7090-11e7-aad1-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:52:47 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_5/nodes?timeout=30&api-version=2017-06-01.5.1&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t165050z\"\ - ,\"state\":\"starting\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170724t165050z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:52:48 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [80c62094-41bd-457e-85ca-fc7ce5346ec0] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [981ca154-7090-11e7-bda3-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:53:18 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_5/nodes?timeout=30&api-version=2017-06-01.5.1&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t165050z\"\ - ,\"state\":\"starting\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170724t165050z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:53:19 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [c9b2c2b4-a99a-41f8-9def-220d553ea976] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [aa8e398a-7090-11e7-afa4-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:53:49 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_5/nodes?timeout=30&api-version=2017-06-01.5.1&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t165050z\"\ - ,\"state\":\"starting\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170724t165050z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:53:50 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [ee7aae34-351a-42cd-8a11-929ece466f3e] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [bcfb2c54-7090-11e7-84ab-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:54:20 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_5/nodes?timeout=30&api-version=2017-06-01.5.1&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t165050z\"\ - ,\"state\":\"starting\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170724t165050z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:54:21 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [6671d9c4-133b-477a-b89b-1fd807df0072] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [cf69d7da-7090-11e7-b054-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:54:51 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_5/nodes?timeout=30&api-version=2017-06-01.5.1&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t165050z\"\ - ,\"state\":\"starting\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170724t165050z\"\ - ,\"state\":\"idle\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:54:51 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [b8ba1cac-4152-4912-a227-016adb664acc] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [e1da00a8-7090-11e7-92dc-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:55:22 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_5/nodes?timeout=30&api-version=2017-06-01.5.1&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t165050z\"\ - ,\"state\":\"starting\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170724t165050z\"\ - ,\"state\":\"idle\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:55:21 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [46844abf-ff58-46df-a6ea-abdcf51edb06] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [f44c33b8-7090-11e7-9d30-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:55:53 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_5/nodes?timeout=30&api-version=2017-06-01.5.1&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t165050z\"\ - ,\"state\":\"starting\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170724t165050z\"\ - ,\"state\":\"idle\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:55:55 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [612ce2ab-ff8d-488b-bbb0-385d6022d0fd] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [06c02a26-7091-11e7-a4fa-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:56:24 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_5/nodes?timeout=30&api-version=2017-06-01.5.1&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t165050z\"\ - ,\"state\":\"idle\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170724t165050z\"\ - ,\"state\":\"idle\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:56:24 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [e5c7e908-4324-4e96-8846-634098dad31a] - status: {code: 200, message: OK} -- request: - body: '{"id": "python_test_schedule", "jobSpecification": {"poolInfo": {"poolId": - "python_test_pool_5"}}, "schedule": {"recurrenceInterval": "P1D", "startWindow": - "PT1H"}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['164'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [19316a9a-7091-11e7-85fa-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:56:55 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobschedules?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/jobschedules/python_test_schedule'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:56:56 GMT'] - ETag: ['0x8D4D2B4FDEA3041'] - Last-Modified: ['Mon, 24 Jul 2017 16:56:56 GMT'] - Location: ['https://pythonsdktest.brazilsouth.batch.azure.com/jobschedules/python_test_schedule'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [a954cf64-de97-4b93-a6f3-a9c293d4f814] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [19c7d788-7091-11e7-b958-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:56:56 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobschedules?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#jobschedules\"\ - ,\"value\":[\r\n {\r\n \"id\":\"python_test_schedule\",\"url\":\"\ - https://pythonsdktest.brazilsouth.batch.azure.com/jobschedules/python_test_schedule\"\ - ,\"eTag\":\"0x8D4D2B4FDEA3041\",\"lastModified\":\"2017-07-24T16:56:56.2012225Z\"\ - ,\"creationTime\":\"2017-07-24T16:56:56.2012225Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T16:56:56.2012225Z\",\"schedule\":{\r\n\ - \ \"startWindow\":\"PT1H\",\"recurrenceInterval\":\"P1D\"\r\n \ - \ },\"jobSpecification\":{\r\n \"priority\":0,\"usesTaskDependencies\"\ - :false,\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"noaction\"\ - ,\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"poolInfo\":{\r\n \"poolId\"\ - :\"python_test_pool_5\"\r\n }\r\n },\"executionInfo\":{\r\n \ - \ \"nextRunTime\":\"2017-07-25T16:56:56.2012225Z\",\"recentJob\":{\r\n\ - \ \"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_schedule:job-1\"\ - ,\"id\":\"python_test_schedule:job-1\"\r\n }\r\n }\r\n }\r\n\ - \ ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:56:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [0117fba0-af92-4176-8bc4-bf6fa3cd4e3b] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [1a51e27e-7091-11e7-a793-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:56:57 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobschedules/python_test_schedule?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#jobschedules/@Element\"\ - ,\"id\":\"python_test_schedule\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobschedules/python_test_schedule\"\ - ,\"eTag\":\"0x8D4D2B4FDEA3041\",\"lastModified\":\"2017-07-24T16:56:56.2012225Z\"\ - ,\"creationTime\":\"2017-07-24T16:56:56.2012225Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T16:56:56.2012225Z\",\"schedule\":{\r\n\ - \ \"startWindow\":\"PT1H\",\"recurrenceInterval\":\"P1D\"\r\n },\"jobSpecification\"\ - :{\r\n \"priority\":0,\"usesTaskDependencies\":false,\"onAllTasksComplete\"\ - :\"noaction\",\"onTaskFailure\":\"noaction\",\"constraints\":{\r\n \"\ - maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\ - \n },\"poolInfo\":{\r\n \"poolId\":\"python_test_pool_5\"\r\n }\r\ - \n },\"executionInfo\":{\r\n \"nextRunTime\":\"2017-07-25T16:56:56.2012225Z\"\ - ,\"recentJob\":{\r\n \"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_schedule:job-1\"\ - ,\"id\":\"python_test_schedule:job-1\"\r\n }\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:56:57 GMT'] - ETag: ['0x8D4D2B4FDEA3041'] - Last-Modified: ['Mon, 24 Jul 2017 16:56:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [b2ea62b9-91bf-4ff9-a45a-60ee2794b2c4] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [1ad22664-7091-11e7-8d12-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:56:58 GMT'] - method: HEAD - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobschedules/python_test_schedule?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:56:59 GMT'] - ETag: ['0x8D4D2B4FDEA3041'] - Last-Modified: ['Mon, 24 Jul 2017 16:56:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [7fcb986e-c91a-4247-bdf6-5a373dc54725] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [1b5c9838-7091-11e7-b496-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:56:58 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobschedules/python_test_schedule/jobs?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#jobs\"\ - ,\"value\":[\r\n {\r\n \"id\":\"python_test_schedule:job-1\",\"url\"\ - :\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_schedule:job-1\"\ - ,\"eTag\":\"0x8D4D2B4FDF97928\",\"lastModified\":\"2017-07-24T16:56:56.3013928Z\"\ - ,\"creationTime\":\"2017-07-24T16:56:56.2617752Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T16:56:56.3013928Z\",\"priority\":0,\"usesTaskDependencies\"\ - :false,\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"poolInfo\":{\r\n \"poolId\":\"\ - python_test_pool_5\"\r\n },\"executionInfo\":{\r\n \"startTime\"\ - :\"2017-07-24T16:56:56.3013928Z\",\"poolId\":\"python_test_pool_5\"\r\n \ - \ },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"noaction\"\r\ - \n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:57:00 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [5f9eb35b-8b3d-4621-82f1-3f39734518e0] - 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [1bea4212-7091-11e7-9745-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:56:59 GMT'] - method: DELETE - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_schedule%3Ajob-1?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:57:00 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [c205e9cf-c769-454e-9132-e0ae83db9d83] - status: {code: 202, message: Accepted} -- 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [1c6e934a-7091-11e7-99ad-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:57:00 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobschedules/python_test_schedule/disable?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - Content-Length: ['0'] - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/jobschedules/python_test_schedule/disable'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:57:00 GMT'] - ETag: ['0x8D4D2B50120623D'] - Last-Modified: ['Mon, 24 Jul 2017 16:57:01 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - request-id: [f78d0387-2315-499a-8f2a-bddbfa1a503b] - status: {code: 204, message: No Content} -- 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [1cf6b86c-7091-11e7-be58-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:57:01 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobschedules/python_test_schedule/enable?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - Content-Length: ['0'] - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/jobschedules/python_test_schedule/enable'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:57:00 GMT'] - ETag: ['0x8D4D2B501B2D4E9'] - Last-Modified: ['Mon, 24 Jul 2017 16:57:02 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - request-id: [26348ec6-021b-4302-af82-c597198aa34b] - status: {code: 204, message: No Content} -- request: - body: '{"jobSpecification": {"poolInfo": {"poolId": "python_test_pool_5"}}, "schedule": - {"recurrenceInterval": "PT10H"}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['113'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [1d88b3dc-7091-11e7-94d3-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:57:02 GMT'] - method: PUT - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobschedules/python_test_schedule?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/jobschedules/python_test_schedule'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:57:03 GMT'] - ETag: ['0x8D4D2B502408F06'] - Last-Modified: ['Mon, 24 Jul 2017 16:57:03 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [be11ff21-5868-421a-8fcf-241035d82f58] - status: {code: 200, message: OK} -- request: - body: '{"schedule": {"recurrenceInterval": "PT5H"}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['44'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [1e166ba4-7091-11e7-9320-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:57:03 GMT'] - method: PATCH - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobschedules/python_test_schedule?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/jobschedules/python_test_schedule'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:57:04 GMT'] - ETag: ['0x8D4D2B502C9CBCB'] - Last-Modified: ['Mon, 24 Jul 2017 16:57:04 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [b581c023-7187-4f97-a818-959a5ae21742] - 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [1e9fbb66-7091-11e7-96d7-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:57:04 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobschedules/python_test_schedule/terminate?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/jobschedules/python_test_schedule/terminate'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:57:05 GMT'] - ETag: ['0x8D4D2B5034D2EAF'] - Last-Modified: ['Mon, 24 Jul 2017 16:57:05 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [2c15d29e-c3a2-4c64-8eaa-028a4caa052e] - status: {code: 202, message: Accepted} -- 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [1f23b698-7091-11e7-a57a-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:57:05 GMT'] - method: DELETE - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobschedules/python_test_schedule?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:57:05 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [dd706fc9-a6a6-4d61-b4aa-52b3e63b4d1b] - status: {code: 202, message: Accepted} -- 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [1fa8d8ca-7091-11e7-ae10-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 16:57:06 GMT'] - method: DELETE - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_5?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 16:57:07 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [4ab1a061-6eee-4a43-9e22-7fc4829931db] - status: {code: 202, message: Accepted} -- request: - body: '{"id": "python_test_pool_5", "vmSize": "small", "cloudServiceConfiguration": - {"osFamily": "4"}, "targetDedicatedNodes": 2}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['122'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [1ce159b6-a02e-11e7-9ee7-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:09:17 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_5'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:09:18 GMT'] - ETag: ['0x8D5025201BF66E4'] - Last-Modified: ['Sat, 23 Sep 2017 07:09:18 GMT'] - Location: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_5'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [89f43da4-23a7-4980-9db0-02cafee3fae2] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [2f729724-a02e-11e7-91d7-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:09:48 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_5/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n \r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:09:49 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [869a8c28-01d6-47ff-a74d-7c7262cbddcb] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [41f48b06-a02e-11e7-b245-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:10:19 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_5/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n \r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:10:20 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [942110c3-f6e7-4f80-b573-e675e2647e5e] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [54774014-a02e-11e7-9922-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:10:50 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_5/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t071026z\"\ - ,\"state\":\"creating\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170923t071026z\"\ - ,\"state\":\"creating\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:10:51 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [79b8eff0-e438-469c-9ffb-050089c573fd] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [66fa4ec0-a02e-11e7-9604-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:11:21 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_5/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t071026z\"\ - ,\"state\":\"creating\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170923t071026z\"\ - ,\"state\":\"creating\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:11:22 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [3f6e50b8-8ada-4a01-9b22-b30398c7b99d] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [7985d576-a02e-11e7-85f9-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:11:52 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_5/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t071026z\"\ - ,\"state\":\"starting\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170923t071026z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:11:53 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [0ec55e49-8dc1-4305-9add-a740b2deb988] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [8c104024-a02e-11e7-9277-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:12:23 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_5/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t071026z\"\ - ,\"state\":\"starting\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170923t071026z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:12:24 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [925dae7f-dc3d-40bf-8ace-c424a2f33012] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [9e9334f4-a02e-11e7-ad76-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:12:54 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_5/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t071026z\"\ - ,\"state\":\"starting\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170923t071026z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:12:55 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [431e1a9d-8d01-4919-8d32-5ccb2ef88564] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [b11ce624-a02e-11e7-8ec9-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:13:25 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_5/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t071026z\"\ - ,\"state\":\"starting\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170923t071026z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:13:27 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [24d129e5-687b-4ce2-adc9-bc4872d411cd] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [c3a1fbb0-a02e-11e7-94c2-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:13:56 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_5/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t071026z\"\ - ,\"state\":\"starting\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170923t071026z\"\ - ,\"state\":\"idle\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:13:58 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [cb8dd01b-78d0-4af2-8775-d4b0ad2746fd] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [d62f90ca-a02e-11e7-a752-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:14:28 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_5/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t071026z\"\ - ,\"state\":\"idle\"\r\n },{\r\n \"id\":\"tvm-57200098_2-20170923t071026z\"\ - ,\"state\":\"idle\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:14:28 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [92e865a3-9f9b-424c-8646-d976659ce1c7] - status: {code: 200, message: OK} -- request: - body: '{"id": "python_test_schedule", "schedule": {"startWindow": "PT1H", "recurrenceInterval": - "P1D"}, "jobSpecification": {"poolInfo": {"poolId": "python_test_pool_5"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['164'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [e8b76c1e-a02e-11e7-a759-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:14:59 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobschedules?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobschedules/python_test_schedule'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:15:00 GMT'] - ETag: ['0x8D50252CD8D02E8'] - Last-Modified: ['Sat, 23 Sep 2017 07:15:00 GMT'] - Location: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobschedules/python_test_schedule'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [c60aa643-4a1e-40e1-9a9a-1c914f78f1ae] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [e963d54a-a02e-11e7-848f-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:15:00 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobschedules?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#jobschedules\"\ - ,\"value\":[\r\n {\r\n \"id\":\"python_test_schedule\",\"url\":\"\ - https://pythonsdktest3.brazilsouth.batch.azure.com/jobschedules/python_test_schedule\"\ - ,\"eTag\":\"0x8D50252CD8D02E8\",\"lastModified\":\"2017-09-23T07:15:00.193764Z\"\ - ,\"creationTime\":\"2017-09-23T07:15:00.193764Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:15:00.193764Z\",\"schedule\":{\r\n \ - \ \"startWindow\":\"PT1H\",\"recurrenceInterval\":\"P1D\"\r\n },\"\ - jobSpecification\":{\r\n \"priority\":0,\"usesTaskDependencies\":false,\"\ - onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"noaction\",\"constraints\"\ - :{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\"\ - :0\r\n },\"poolInfo\":{\r\n \"poolId\":\"python_test_pool_5\"\ - \r\n }\r\n },\"executionInfo\":{\r\n \"nextRunTime\":\"\ - 2017-09-24T07:15:00.193764Z\",\"recentJob\":{\r\n \"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_schedule:job-1\"\ - ,\"id\":\"python_test_schedule:job-1\"\r\n }\r\n }\r\n }\r\n\ - \ ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:15:01 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [e4cbcaa2-e882-4604-96f6-434732ed5afa] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [ea046be4-a02e-11e7-83e7-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:15:01 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobschedules/python_test_schedule?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#jobschedules/@Element\"\ - ,\"id\":\"python_test_schedule\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobschedules/python_test_schedule\"\ - ,\"eTag\":\"0x8D50252CD8D02E8\",\"lastModified\":\"2017-09-23T07:15:00.193764Z\"\ - ,\"creationTime\":\"2017-09-23T07:15:00.193764Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:15:00.193764Z\",\"schedule\":{\r\n \ - \ \"startWindow\":\"PT1H\",\"recurrenceInterval\":\"P1D\"\r\n },\"jobSpecification\"\ - :{\r\n \"priority\":0,\"usesTaskDependencies\":false,\"onAllTasksComplete\"\ - :\"noaction\",\"onTaskFailure\":\"noaction\",\"constraints\":{\r\n \"\ - maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\ - \n },\"poolInfo\":{\r\n \"poolId\":\"python_test_pool_5\"\r\n }\r\ - \n },\"executionInfo\":{\r\n \"nextRunTime\":\"2017-09-24T07:15:00.193764Z\"\ - ,\"recentJob\":{\r\n \"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_schedule:job-1\"\ - ,\"id\":\"python_test_schedule:job-1\"\r\n }\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:15:02 GMT'] - ETag: ['0x8D50252CD8D02E8'] - Last-Modified: ['Sat, 23 Sep 2017 07:15:00 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [888d1ea7-6999-4e51-950c-333741a68b25] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [eaa1f950-a02e-11e7-abb5-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:15:02 GMT'] - method: HEAD - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobschedules/python_test_schedule?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:15:03 GMT'] - ETag: ['0x8D50252CD8D02E8'] - Last-Modified: ['Sat, 23 Sep 2017 07:15:00 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [d03404bc-10de-4855-a54a-9567718f6ea0] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [eb3fb16c-a02e-11e7-9b0b-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:15:03 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobschedules/python_test_schedule/jobs?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#jobs\"\ - ,\"value\":[\r\n {\r\n \"id\":\"python_test_schedule:job-1\",\"url\"\ - :\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_schedule:job-1\"\ - ,\"eTag\":\"0x8D50252CD96A105\",\"lastModified\":\"2017-09-23T07:15:00.2567941Z\"\ - ,\"creationTime\":\"2017-09-23T07:15:00.2367526Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:15:00.2567941Z\",\"priority\":0,\"usesTaskDependencies\"\ - :false,\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"poolInfo\":{\r\n \"poolId\":\"\ - python_test_pool_5\"\r\n },\"executionInfo\":{\r\n \"startTime\"\ - :\"2017-09-23T07:15:00.2567941Z\",\"poolId\":\"python_test_pool_5\"\r\n \ - \ },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"noaction\"\r\ - \n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:15:04 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [9a30edef-28d4-4408-96e0-b798bdbbcdbd] - 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [ebeb8252-a02e-11e7-a5c0-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:15:04 GMT'] - method: DELETE - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_schedule%3Ajob-1?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:15:05 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [6aebe946-d50d-4126-81dd-ba189a2710f9] - status: {code: 202, message: Accepted} -- 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [ec92f498-a02e-11e7-a29d-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:15:05 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobschedules/python_test_schedule/disable?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - Content-Length: ['0'] - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobschedules/python_test_schedule/disable'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:15:06 GMT'] - ETag: ['0x8D50252D16B13B0'] - Last-Modified: ['Sat, 23 Sep 2017 07:15:06 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - request-id: [4ec4032a-c108-4a3a-8e3e-0da2fa13a33c] - status: {code: 204, message: No Content} -- 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [ed3caf8a-a02e-11e7-b193-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:15:06 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobschedules/python_test_schedule/enable?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - Content-Length: ['0'] - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobschedules/python_test_schedule/enable'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:15:07 GMT'] - ETag: ['0x8D50252D20C2A0D'] - Last-Modified: ['Sat, 23 Sep 2017 07:15:07 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - request-id: [3331349d-ad78-4bd5-a5c4-32f501ce57ea] - status: {code: 204, message: No Content} -- request: - body: '{"schedule": {"recurrenceInterval": "PT10H"}, "jobSpecification": {"poolInfo": - {"poolId": "python_test_pool_5"}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['113'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [eddd7da8-a02e-11e7-96c5-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:15:07 GMT'] - method: PUT - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobschedules/python_test_schedule?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobschedules/python_test_schedule'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:15:09 GMT'] - ETag: ['0x8D50252D2B1381E'] - Last-Modified: ['Sat, 23 Sep 2017 07:15:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [bb968ebd-d8b6-4bce-ac99-6948f3d32265] - status: {code: 200, message: OK} -- request: - body: '{"schedule": {"recurrenceInterval": "PT5H"}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['44'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [ee837ac8-a02e-11e7-b01d-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:15:08 GMT'] - method: PATCH - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobschedules/python_test_schedule?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobschedules/python_test_schedule'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:15:09 GMT'] - ETag: ['0x8D50252D354E42D'] - Last-Modified: ['Sat, 23 Sep 2017 07:15:09 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [0437b5b0-2373-4c29-b33d-8e64f9df2644] - 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [ef263cd0-a02e-11e7-8b5c-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:15:09 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobschedules/python_test_schedule/terminate?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobschedules/python_test_schedule/terminate'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:15:11 GMT'] - ETag: ['0x8D50252D3F8B85F'] - Last-Modified: ['Sat, 23 Sep 2017 07:15:10 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [d09fb607-d8f1-46d8-a99d-2e0a10ee0f2d] - status: {code: 202, message: Accepted} -- 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [efca6c68-a02e-11e7-a4fa-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:15:11 GMT'] - method: DELETE - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobschedules/python_test_schedule?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:15:11 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [5665d814-46a9-449d-9d54-68c7cc3e6f62] - status: {code: 202, message: Accepted} -version: 1 diff --git a/azure-mgmt/tests/recordings/test_batch.test_batch_jobs.yaml b/azure-mgmt/tests/recordings/test_batch.test_batch_jobs.yaml deleted file mode 100644 index c369587620f4..000000000000 --- a/azure-mgmt/tests/recordings/test_batch.test_batch_jobs.yaml +++ /dev/null @@ -1,10765 +0,0 @@ -interactions: -- request: - body: '{"displayName": "my_application_name"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['38'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchmanagementclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [e4b1b34c-709c-11e7-998d-ecb1d755839a] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest/applications/my_application_id?api-version=2017-05-01 - response: - body: {string: '{"id":"my_application_id","displayName":"my_application_name","packages":[{"version":"v1.0","state":"pending"}],"allowUpdates":true}'} - headers: - Cache-Control: [no-cache] - Content-Length: ['132'] - Content-Type: [application/json; charset=utf-8] - Date: ['Mon, 24 Jul 2017 18:21:21 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - x-ms-correlation-request-id: [1f219f17-55b5-4a80-a780-0bd727667ad8] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - x-ms-request-id: [20d98a6c-753e-4082-bbba-cc5c5289764b] - x-ms-routing-request-id: ['WESTUS2:20170724T182122Z:1f219f17-55b5-4a80-a780-0bd727667ad8'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchmanagementclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [e59d3c24-709c-11e7-b3b4-ecb1d755839a] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest/applications/my_application_id/versions/v1.0?api-version=2017-05-01 - response: - body: {string: '{"id":"my_application_id","version":"v1.0","storageUrl":"https://batchpythonsdktest.blob.core.windows.net/app-my-application-id-b9dfc2b75e089960a922be9b4180a01f29ca0c78/my_application_id-v1.0-1ebdbaf8-6544-4408-86d8-0bf9a544cea8?sv=2015-04-05&sr=b&sig=77JF9sF%2BWmNZWNk2aMZi0jiqH7gtdYJm5QMx8fQqioA%3D&st=2017-07-24T18%3A16%3A24Z&se=2017-07-24T22%3A21%3A24Z&sp=rw","storageUrlExpiry":"2017-07-24T22:21:24.6981779Z","state":"pending"}'} - headers: - Cache-Control: [no-cache] - Content-Length: ['432'] - Content-Type: [application/json; charset=utf-8] - Date: ['Mon, 24 Jul 2017 18:21:23 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - x-ms-correlation-request-id: [ab7bdf98-9041-4f84-a89b-b113ffd70b06] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [bd154c26-10cd-4132-b7c1-ce34bf15c765] - x-ms-routing-request-id: ['WESTUS2:20170724T182124Z:ab7bdf98-9041-4f84-a89b-b113ffd70b06'] - status: {code: 201, message: Created} -- request: - body: '{"userAccounts": [{"password": "kt#_gahr!@aGERDXA", "name": "task-user", - "elevationLevel": "admin"}], "virtualMachineConfiguration": {"nodeAgentSKUId": - "batch.node.windows amd64", "imageReference": {"offer": "WindowsServer", "sku": - "2016-Datacenter", "publisher": "MicrosoftWindowsServer"}}, "vmSize": "standard_a1", - "id": "python_test_pool_4", "targetDedicatedNodes": 1}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['371'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [e699c86c-709c-11e7-afb7-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:21:24 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:21:25 GMT'] - ETag: ['0x8D4D2C0CADF48DC'] - Last-Modified: ['Mon, 24 Jul 2017 18:21:24 GMT'] - Location: ['https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [4b7f9d15-ca68-4735-a613-02d96b9f2e86] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [f927060c-709c-11e7-90a2-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:21:55 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-06-01.5.1&timeout=30&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n \r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:21:57 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [ae1cecbb-2511-4cba-a903-b7b751039420] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [0baa5014-709d-11e7-9db0-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:22:26 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-06-01.5.1&timeout=30&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n \r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:22:26 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [d3de335f-2ab1-48eb-adf6-543c1592508c] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [1e2ee592-709d-11e7-b719-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:22:57 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-06-01.5.1&timeout=30&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t182237z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:22:59 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [fa5a8b3b-5651-4ca3-94f0-f08d1f6c2e8f] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [30b3bdec-709d-11e7-8eba-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:23:28 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-06-01.5.1&timeout=30&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t182237z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:23:28 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [51334ff2-0353-4ce5-8f59-f043562a94ee] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [43386500-709d-11e7-a00c-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:23:59 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-06-01.5.1&timeout=30&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t182237z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:24:00 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [5b4511a7-c0fc-4362-8d99-5c2873ba4c6c] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [55bef888-709d-11e7-be4b-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:24:30 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-06-01.5.1&timeout=30&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t182237z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:24:31 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [ac223507-1753-413b-a2dc-d20733851d85] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [68422926-709d-11e7-a59e-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:25:01 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-06-01.5.1&timeout=30&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t182237z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:25:02 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [79b4e55e-da44-4e6a-9062-9090c4ffb562] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [7ac8e068-709d-11e7-abf1-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:25:33 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-06-01.5.1&timeout=30&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t182237z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:25:33 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [15164b32-c7e7-4986-991b-2144a1f31775] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [8d5a3c06-709d-11e7-a554-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:26:04 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-06-01.5.1&timeout=30&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t182237z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:26:05 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [855f57a6-1cde-421a-bc58-bb68c3362d34] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [9fdfcdf0-709d-11e7-b6dc-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:26:35 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-06-01.5.1&timeout=30&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t182237z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:26:36 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [670ae530-26a1-449b-aa75-5f7bf7db6b15] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [b2681fdc-709d-11e7-b943-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:27:06 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-06-01.5.1&timeout=30&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t182237z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:27:07 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [7ad19da2-bf79-41bc-b243-d68d59a908c4] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [c4e474a8-709d-11e7-ad68-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:27:37 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-06-01.5.1&timeout=30&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t182237z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:27:37 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [af8de114-d1b2-4f6b-810b-074594edbd6a] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [d76f241e-709d-11e7-903b-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:28:08 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-06-01.5.1&timeout=30&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t182237z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:28:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [bb5c4843-a25d-40f9-a41a-1540b369cafc] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [e9ed2930-709d-11e7-8c62-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:28:39 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-06-01.5.1&timeout=30&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t182237z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:28:41 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [c5112f42-49f9-4e7c-8fef-2823f72d8f67] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [fc7b8c48-709d-11e7-8919-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:29:10 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-06-01.5.1&timeout=30&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t182237z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:29:11 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [d80bf897-5ab8-4006-9b55-0320f16a1e71] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [0efc15a2-709e-11e7-b07f-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:29:41 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-06-01.5.1&timeout=30&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t182237z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:29:41 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [a5a59a2e-f68d-410e-81e8-d365dbb6cea5] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [2180fa88-709e-11e7-820f-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:30:12 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-06-01.5.1&timeout=30&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t182237z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:30:14 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [a64bad3d-9091-4203-b179-837f501453e3] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [34000bb0-709e-11e7-9262-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:30:43 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-06-01.5.1&timeout=30&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t182237z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:30:45 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [1ac7becd-721b-4a69-b831-9434d127f34d] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [46858210-709e-11e7-95c7-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:31:14 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-06-01.5.1&timeout=30&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t182237z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:31:15 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [7f974a87-9a47-43f3-ad6f-e4754d353991] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [5901d188-709e-11e7-b79f-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:31:45 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-06-01.5.1&timeout=30&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t182237z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:31:45 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [a7843635-a751-4e61-8afa-d98057897706] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [6b898580-709e-11e7-a795-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:32:16 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-06-01.5.1&timeout=30&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t182237z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:32:17 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [b5c6425e-254c-473d-9488-312a1d35202c] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [7e0cb2ae-709e-11e7-bf7e-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:32:48 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-06-01.5.1&timeout=30&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t182237z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:32:48 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [eb85e3a5-ca76-4916-a42f-c1f0e0e2b1b6] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [909055f4-709e-11e7-b8fc-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:33:19 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-06-01.5.1&timeout=30&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t182237z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:33:19 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [3f68183f-2592-4c64-86ac-3aa3ad55b310] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [a313acc0-709e-11e7-95ec-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:33:50 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-06-01.5.1&timeout=30&maxresults=1000&$select=id%2Cstate - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170724t182237z\"\ - ,\"state\":\"idle\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:33:51 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [163fac2a-0bee-42a0-bd7c-5317778db771] - status: {code: 200, message: OK} -- request: - body: '{"poolInfo": {"poolId": "python_test_pool_4"}, "id": "python_test_job"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['71'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [b596885c-709e-11e7-bc64-ecb1d755839a] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/jobs/job-1'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:34:22 GMT'] - ETag: ['0x8D4D2C299FD1D52'] - Last-Modified: ['Mon, 24 Jul 2017 18:34:21 GMT'] - Location: ['https://pythonsdktest.brazilsouth.batch.azure.com/jobs/job-1'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [3106546c-5a3e-4b62-b17c-7b11bb8b4247] - status: {code: 201, message: Created} -- request: - body: '{"onTaskFailure": "performExitOptionsJobAction", "poolInfo": {"poolId": - "python_test_pool_4"}, "onAllTasksComplete": "noAction", "id": "python_test_job_2"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['155'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [bc6c048c-709e-11e7-a163-ecb1d755839a] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/jobs/job-1'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:34:32 GMT'] - ETag: ['0x8D4D2C2A0C1230F'] - Last-Modified: ['Mon, 24 Jul 2017 18:34:32 GMT'] - Location: ['https://pythonsdktest.brazilsouth.batch.azure.com/jobs/job-1'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [ef10b5d2-9ede-494e-80d9-0ebe00611217] - status: {code: 201, message: Created} -- request: - body: '{"poolInfo": {"poolId": "python_test_pool_4"}, "constraints": {"maxTaskRetryCount": - 3}, "priority": 500}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['104'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [c330c610-709e-11e7-b3a7-ecb1d755839a] - method: PUT - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:34:44 GMT'] - ETag: ['0x8D4D2C2A7C0C687'] - Last-Modified: ['Mon, 24 Jul 2017 18:34:44 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [6ff2d235-0012-4dbf-a4bc-dbb78c53b08d] - status: {code: 200, message: OK} -- request: - body: '{"poolInfo": {"poolId": "python_test_pool_4"}, "constraints": {"maxTaskRetryCount": - 1}, "priority": 900}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['104'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [c685855a-709e-11e7-8870-ecb1d755839a] - method: PATCH - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:34:50 GMT'] - ETag: ['0x8D4D2C2AAE8FCBB'] - Last-Modified: ['Mon, 24 Jul 2017 18:34:49 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [f6947d7f-20db-45f2-8f58-39573cc5080c] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [c7634a00-709e-11e7-ab49-ecb1d755839a] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#jobs/@Element\"\ - ,\"id\":\"python_test_job\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job\"\ - ,\"eTag\":\"0x8D4D2C2AAE8FCBB\",\"lastModified\":\"2017-07-24T18:34:49.8966715Z\"\ - ,\"creationTime\":\"2017-07-24T18:34:21.4863339Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:34:21.5073106Z\",\"priority\":900,\"\ - usesTaskDependencies\":false,\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":1\r\n },\"poolInfo\"\ - :{\r\n \"poolId\":\"python_test_pool_4\"\r\n },\"executionInfo\":{\r\n\ - \ \"startTime\":\"2017-07-24T18:34:21.5073106Z\",\"poolId\":\"python_test_pool_4\"\ - \r\n },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"noaction\"\ - \r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:34:52 GMT'] - ETag: ['0x8D4D2C2AAE8FCBB'] - Last-Modified: ['Mon, 24 Jul 2017 18:34:49 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [9de8e251-ade8-4160-82d7-0d28f7b6864e] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [c8323da2-709e-11e7-b9b4-ecb1d755839a] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#jobs\"\ - ,\"value\":[\r\n {\r\n \"id\":\"python_test_job\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job\"\ - ,\"eTag\":\"0x8D4D2C2AAE8FCBB\",\"lastModified\":\"2017-07-24T18:34:49.8966715Z\"\ - ,\"creationTime\":\"2017-07-24T18:34:21.4863339Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:34:21.5073106Z\",\"priority\":900,\"\ - usesTaskDependencies\":false,\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":1\r\n },\"poolInfo\"\ - :{\r\n \"poolId\":\"python_test_pool_4\"\r\n },\"executionInfo\"\ - :{\r\n \"startTime\":\"2017-07-24T18:34:21.5073106Z\",\"poolId\":\"\ - python_test_pool_4\"\r\n },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\"\ - :\"noaction\"\r\n },{\r\n \"id\":\"python_test_job_2\",\"url\":\"\ - https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2\"\ - ,\"eTag\":\"0x8D4D2C2A0C1230F\",\"lastModified\":\"2017-07-24T18:34:32.8582927Z\"\ - ,\"creationTime\":\"2017-07-24T18:34:32.8338578Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:34:32.8582927Z\",\"priority\":0,\"usesTaskDependencies\"\ - :false,\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"poolInfo\":{\r\n \"poolId\":\"\ - python_test_pool_4\"\r\n },\"executionInfo\":{\r\n \"startTime\"\ - :\"2017-07-24T18:34:32.8582927Z\",\"poolId\":\"python_test_pool_4\"\r\n \ - \ },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"performexitoptionsjobaction\"\ - \r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:34:54 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [ff24080c-fea2-4aa7-8a8f-07b9005fe027] - 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [cbe79630-709e-11e7-a586-ecb1d755839a] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/disable?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/disable'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:34:59 GMT'] - ETag: ['0x8D4D2C2B09B4AE5'] - Last-Modified: ['Mon, 24 Jul 2017 18:34:59 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [e9944ec9-6ff2-4af9-8dae-5123aacae69c] - status: {code: 202, message: Accepted} -- 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [cd2299c0-709e-11e7-9206-ecb1d755839a] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/enable?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/enable'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:35:01 GMT'] - ETag: ['0x8D4D2C2B1A2A6DC'] - Last-Modified: ['Mon, 24 Jul 2017 18:35:01 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [33fef295-c911-48d9-ad6b-e2c3e8e51492] - status: {code: 202, message: Accepted} -- request: - body: '{"authenticationTokenSettings": {"access": ["job"]}, "userIdentity": {"autoUser": - {"scope": "task", "elevationLevel": "admin"}}, "exitConditions": {"default": - {"jobAction": "terminate"}, "exitCodes": [{"exitOptions": {"jobAction": "none"}, - "code": 1}]}, "id": "python_task_with_auto_complete", "commandLine": "cmd /c - \"echo hello world\""}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['339'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [ce396fc6-709e-11e7-a85f-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:35:02 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_with_auto_complete'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:35:02 GMT'] - ETag: ['0x8D4D2C2B2574508'] - Last-Modified: ['Mon, 24 Jul 2017 18:35:02 GMT'] - Location: ['https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_with_auto_complete'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [aa8160e3-4eca-4011-88ed-ea44ea59cd2a] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [cef5cc74-709e-11e7-bfa8-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:35:03 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_with_auto_complete?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_with_auto_complete\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_with_auto_complete\"\ - ,\"eTag\":\"0x8D4D2C2B2574508\",\"creationTime\":\"2017-07-24T18:35:02.3634696Z\"\ - ,\"lastModified\":\"2017-07-24T18:35:02.3634696Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:35:02.3634696Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n \"autoUser\":{\r\ - \n \"scope\":\"task\",\"elevationLevel\":\"admin\"\r\n }\r\n },\"\ - exitConditions\":{\r\n \"exitCodes\":[\r\n {\r\n \"code\":1,\"\ - exitOptions\":{\r\n \"jobAction\":\"none\"\r\n }\r\n \ - \ }\r\n ],\"default\":{\r\n \"jobAction\":\"terminate\"\r\n }\r\ - \n },\"authenticationTokenSettings\":{\r\n \"access\":[\r\n \"job\"\ - \r\n ]\r\n },\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\ - \n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\":0\r\n \ - \ }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:35:04 GMT'] - ETag: ['0x8D4D2C2B2574508'] - Last-Modified: ['Mon, 24 Jul 2017 18:35:02 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [d76ed183-fd0e-4b2c-9848-fab520c60c80] - status: {code: 200, message: OK} -- request: - body: '{"userIdentity": {"username": "task-user"}, "id": "python_task_with_app_package", - "applicationPackageReferences": [{"applicationId": "my_application_id"}], "commandLine": - "cmd /c \"echo hello world\""}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['201'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [cfaccd7e-709e-11e7-a992-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:35:04 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_with_app_package'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:35:04 GMT'] - ETag: ['0x8D4D2C2B3CB7EF3'] - Last-Modified: ['Mon, 24 Jul 2017 18:35:04 GMT'] - Location: ['https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_with_app_package'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [065ce120-f0db-45ea-b520-c0ac88ae59ee] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [d04ee95a-709e-11e7-8268-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:35:06 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_with_app_package?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_with_app_package\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_with_app_package\"\ - ,\"eTag\":\"0x8D4D2C2B3CB7EF3\",\"creationTime\":\"2017-07-24T18:35:04.8028915Z\"\ - ,\"lastModified\":\"2017-07-24T18:35:04.8028915Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:35:04.8028915Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"applicationPackageReferences\":[\r\n \ - \ {\r\n \"applicationId\":\"my_application_id\"\r\n }\r\n ],\"\ - userIdentity\":{\r\n \"username\":\"task-user\"\r\n },\"constraints\"\ - :{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"retentionTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":1\r\n },\"executionInfo\"\ - :{\r\n \"retryCount\":0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:35:06 GMT'] - ETag: ['0x8D4D2C2B3CB7EF3'] - Last-Modified: ['Mon, 24 Jul 2017 18:35:04 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [94d44d37-2457-4dad-844d-a9195a56f981] - 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [d0f18d76-709e-11e7-b562-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:35:07 GMT'] - method: DELETE - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_with_app_package?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:35:07 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [2b8ceabd-f6ac-49dd-b8d4-ce0ddc829757] - status: {code: 200, message: OK} -- request: - body: '{"outputFiles": [{"destination": {"container": {"path": "taskLogs/output.txt", - "containerUrl": "https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z"}}, - "uploadOptions": {"uploadCondition": "taskCompletion"}, "filePattern": "../stdout.txt"}, - {"destination": {"container": {"path": "taskLogs/error.txt", "containerUrl": - "https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z"}}, - "uploadOptions": {"uploadCondition": "taskFailure"}, "filePattern": "../stderr.txt"}], - "id": "python_task_1", "commandLine": "cmd /c \"echo hello world\""}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['782'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [d1956e08-709e-11e7-8d23-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:35:08 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:35:08 GMT'] - ETag: ['0x8D4D2C2B63EDF11'] - Last-Modified: ['Mon, 24 Jul 2017 18:35:08 GMT'] - Location: ['https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [c558f8c8-ac36-462b-be43-bb2a08eaedd9] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [d23aee10-709e-11e7-9d54-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:35:09 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D4D2C2B63EDF11\",\"creationTime\":\"2017-07-24T18:35:08.9144593Z\"\ - ,\"lastModified\":\"2017-07-24T18:35:08.9144593Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:35:08.9144593Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:35:10 GMT'] - ETag: ['0x8D4D2C2B63EDF11'] - Last-Modified: ['Mon, 24 Jul 2017 18:35:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [3dd1d6a1-4ce7-4459-8817-03b89c5a704f] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [d5d9d4dc-709e-11e7-8dda-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:35:15 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D4D2C2B63EDF11\",\"creationTime\":\"2017-07-24T18:35:08.9144593Z\"\ - ,\"lastModified\":\"2017-07-24T18:35:08.9144593Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:35:08.9144593Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:35:15 GMT'] - ETag: ['0x8D4D2C2B63EDF11'] - Last-Modified: ['Mon, 24 Jul 2017 18:35:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [0f0d28da-c1c6-48c6-9a04-fc133b8aab0e] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [d9781ff6-709e-11e7-acc1-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:35:21 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D4D2C2B63EDF11\",\"creationTime\":\"2017-07-24T18:35:08.9144593Z\"\ - ,\"lastModified\":\"2017-07-24T18:35:08.9144593Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:35:08.9144593Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:35:22 GMT'] - ETag: ['0x8D4D2C2B63EDF11'] - Last-Modified: ['Mon, 24 Jul 2017 18:35:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [7fd62b78-1340-41d2-bfa6-b7c52670d3e8] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [dd18ddc6-709e-11e7-91e5-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:35:27 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D4D2C2B63EDF11\",\"creationTime\":\"2017-07-24T18:35:08.9144593Z\"\ - ,\"lastModified\":\"2017-07-24T18:35:08.9144593Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:35:08.9144593Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:35:28 GMT'] - ETag: ['0x8D4D2C2B63EDF11'] - Last-Modified: ['Mon, 24 Jul 2017 18:35:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [d81e85a7-8445-474a-a199-fcf80b606ea0] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [e0ba8d1a-709e-11e7-9310-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:35:33 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D4D2C2B63EDF11\",\"creationTime\":\"2017-07-24T18:35:08.9144593Z\"\ - ,\"lastModified\":\"2017-07-24T18:35:08.9144593Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:35:08.9144593Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:35:32 GMT'] - ETag: ['0x8D4D2C2B63EDF11'] - Last-Modified: ['Mon, 24 Jul 2017 18:35:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [8e6961c7-dad3-4a7c-838d-4eea49bc6cf3] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [e461d040-709e-11e7-a809-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:35:39 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D4D2C2B63EDF11\",\"creationTime\":\"2017-07-24T18:35:08.9144593Z\"\ - ,\"lastModified\":\"2017-07-24T18:35:08.9144593Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:35:08.9144593Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:35:39 GMT'] - ETag: ['0x8D4D2C2B63EDF11'] - Last-Modified: ['Mon, 24 Jul 2017 18:35:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [3c864181-7a45-4bde-9551-5ac4bce1f4c3] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [e808c39c-709e-11e7-b49d-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:35:45 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D4D2C2B63EDF11\",\"creationTime\":\"2017-07-24T18:35:08.9144593Z\"\ - ,\"lastModified\":\"2017-07-24T18:35:08.9144593Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:35:08.9144593Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:35:46 GMT'] - ETag: ['0x8D4D2C2B63EDF11'] - Last-Modified: ['Mon, 24 Jul 2017 18:35:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [dcf31fad-ccf3-4fdf-91b5-7a183e594d9c] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [ebabe550-709e-11e7-9718-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:35:51 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D4D2C2B63EDF11\",\"creationTime\":\"2017-07-24T18:35:08.9144593Z\"\ - ,\"lastModified\":\"2017-07-24T18:35:08.9144593Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:35:08.9144593Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:35:52 GMT'] - ETag: ['0x8D4D2C2B63EDF11'] - Last-Modified: ['Mon, 24 Jul 2017 18:35:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [c7b19409-a932-468d-b5ce-d9df5c37f57b] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [ef4eb324-709e-11e7-9441-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:35:58 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D4D2C2B63EDF11\",\"creationTime\":\"2017-07-24T18:35:08.9144593Z\"\ - ,\"lastModified\":\"2017-07-24T18:35:08.9144593Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:35:08.9144593Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:35:58 GMT'] - ETag: ['0x8D4D2C2B63EDF11'] - Last-Modified: ['Mon, 24 Jul 2017 18:35:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [2fe3aefe-bba1-4c61-b003-76eb6ef0fb8e] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [f2f2c586-709e-11e7-a403-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:36:04 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D4D2C2B63EDF11\",\"creationTime\":\"2017-07-24T18:35:08.9144593Z\"\ - ,\"lastModified\":\"2017-07-24T18:35:08.9144593Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:35:08.9144593Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:36:04 GMT'] - ETag: ['0x8D4D2C2B63EDF11'] - Last-Modified: ['Mon, 24 Jul 2017 18:35:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [9e38ffba-5748-4dff-9ca4-be0f858e9eb1] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [f691747a-709e-11e7-a6f8-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:36:10 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D4D2C2B63EDF11\",\"creationTime\":\"2017-07-24T18:35:08.9144593Z\"\ - ,\"lastModified\":\"2017-07-24T18:35:08.9144593Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:35:08.9144593Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:36:10 GMT'] - ETag: ['0x8D4D2C2B63EDF11'] - Last-Modified: ['Mon, 24 Jul 2017 18:35:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [8a1e5bd4-3140-4172-a3dc-64498ab74c31] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [fa310bf6-709e-11e7-ad69-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:36:16 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D4D2C2B63EDF11\",\"creationTime\":\"2017-07-24T18:35:08.9144593Z\"\ - ,\"lastModified\":\"2017-07-24T18:35:08.9144593Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:35:08.9144593Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:36:16 GMT'] - ETag: ['0x8D4D2C2B63EDF11'] - Last-Modified: ['Mon, 24 Jul 2017 18:35:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [cbec6e25-e6e8-409e-9d46-c4b17b5a7b39] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [fdd05810-709e-11e7-9960-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:36:22 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D4D2C2B63EDF11\",\"creationTime\":\"2017-07-24T18:35:08.9144593Z\"\ - ,\"lastModified\":\"2017-07-24T18:35:08.9144593Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:35:08.9144593Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:36:23 GMT'] - ETag: ['0x8D4D2C2B63EDF11'] - Last-Modified: ['Mon, 24 Jul 2017 18:35:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [1c7d2a0f-8090-42a2-a2cd-b7df2903df72] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [0171335c-709f-11e7-b895-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:36:28 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D4D2C2B63EDF11\",\"creationTime\":\"2017-07-24T18:35:08.9144593Z\"\ - ,\"lastModified\":\"2017-07-24T18:35:08.9144593Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:35:08.9144593Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:36:29 GMT'] - ETag: ['0x8D4D2C2B63EDF11'] - Last-Modified: ['Mon, 24 Jul 2017 18:35:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [abbff6fd-415e-45c0-910e-1c52e9c76481] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [050f9a34-709f-11e7-a4eb-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:36:34 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D4D2C2B63EDF11\",\"creationTime\":\"2017-07-24T18:35:08.9144593Z\"\ - ,\"lastModified\":\"2017-07-24T18:35:08.9144593Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:35:08.9144593Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:36:34 GMT'] - ETag: ['0x8D4D2C2B63EDF11'] - Last-Modified: ['Mon, 24 Jul 2017 18:35:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [53b1a533-a14c-48ae-ade3-b339829d77ee] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [08ae1f10-709f-11e7-a1e3-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:36:40 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D4D2C2B63EDF11\",\"creationTime\":\"2017-07-24T18:35:08.9144593Z\"\ - ,\"lastModified\":\"2017-07-24T18:35:08.9144593Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:35:08.9144593Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:36:40 GMT'] - ETag: ['0x8D4D2C2B63EDF11'] - Last-Modified: ['Mon, 24 Jul 2017 18:35:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [77b9c85f-5064-43d8-b2e3-dec3b41da92c] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [0c59d408-709f-11e7-8615-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:36:46 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D4D2C2B63EDF11\",\"creationTime\":\"2017-07-24T18:35:08.9144593Z\"\ - ,\"lastModified\":\"2017-07-24T18:35:08.9144593Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:35:08.9144593Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:36:48 GMT'] - ETag: ['0x8D4D2C2B63EDF11'] - Last-Modified: ['Mon, 24 Jul 2017 18:35:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [a718602b-f8e3-4738-9412-8a1752938ab8] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [0ffc00ac-709f-11e7-af45-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:36:52 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D4D2C2B63EDF11\",\"creationTime\":\"2017-07-24T18:35:08.9144593Z\"\ - ,\"lastModified\":\"2017-07-24T18:35:08.9144593Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:35:08.9144593Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:36:52 GMT'] - ETag: ['0x8D4D2C2B63EDF11'] - Last-Modified: ['Mon, 24 Jul 2017 18:35:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [5cd15d72-99d2-40b4-abe7-b01b51500246] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [139cbe78-709f-11e7-8fd7-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:36:58 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D4D2C2B63EDF11\",\"creationTime\":\"2017-07-24T18:35:08.9144593Z\"\ - ,\"lastModified\":\"2017-07-24T18:35:08.9144593Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:35:08.9144593Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:36:58 GMT'] - ETag: ['0x8D4D2C2B63EDF11'] - Last-Modified: ['Mon, 24 Jul 2017 18:35:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [4a027009-d5d7-40b7-8b8a-1cb48b3d186a] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [1739e740-709f-11e7-9ac0-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:37:04 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D4D2C2B63EDF11\",\"creationTime\":\"2017-07-24T18:35:08.9144593Z\"\ - ,\"lastModified\":\"2017-07-24T18:35:08.9144593Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:35:08.9144593Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:37:06 GMT'] - ETag: ['0x8D4D2C2B63EDF11'] - Last-Modified: ['Mon, 24 Jul 2017 18:35:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [a7b3fbe0-cc81-4f08-9801-312bec1eafe8] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [1ad65766-709f-11e7-b9e0-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:37:11 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D4D2C2B63EDF11\",\"creationTime\":\"2017-07-24T18:35:08.9144593Z\"\ - ,\"lastModified\":\"2017-07-24T18:35:08.9144593Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:35:08.9144593Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:37:11 GMT'] - ETag: ['0x8D4D2C2B63EDF11'] - Last-Modified: ['Mon, 24 Jul 2017 18:35:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [4da46a7d-2df4-4b66-887f-2cae804a612a] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [1e7a86fa-709f-11e7-af26-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:37:17 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D4D2C2B63EDF11\",\"creationTime\":\"2017-07-24T18:35:08.9144593Z\"\ - ,\"lastModified\":\"2017-07-24T18:35:08.9144593Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:35:08.9144593Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:37:17 GMT'] - ETag: ['0x8D4D2C2B63EDF11'] - Last-Modified: ['Mon, 24 Jul 2017 18:35:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [f9f73e66-3df0-43ad-ae73-005a33eef84b] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [5552003e-70a6-11e7-b1da-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:28:55 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D4D2C2B63EDF11\",\"creationTime\":\"2017-07-24T18:35:08.9144593Z\"\ - ,\"lastModified\":\"2017-07-24T18:35:08.9144593Z\",\"state\":\"completed\"\ - ,\"stateTransitionTime\":\"2017-07-24T18:45:17.458712Z\",\"previousState\"\ - :\"running\",\"previousStateTransitionTime\":\"2017-07-24T18:45:08.832222Z\"\ - ,\"commandLine\":\"cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n\ - \ {\r\n \"filePattern\":\"../stdout.txt\",\"destination\":{\r\n \ - \ \"container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?sp=rwdl&sig=Hg7Sw8hVYPEet1JN7fehrc1iWgGEu/UzmOQI3AMBFVA%3D&sv=2016-05-31&sr=c&se=2017-07-24T20%3A35%3A08Z\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"startTime\":\"\ - 2017-07-24T18:45:08.832222Z\",\"endTime\":\"2017-07-24T18:45:17.458712Z\"\ - ,\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0,\"requeueCount\":0\r\ - \n },\"nodeInfo\":{\r\n \"affinityId\":\"TVM:tvm-57200098_1-20170724t182237z\"\ - ,\"nodeUrl\":\"https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes/tvm-57200098_1-20170724t182237z\"\ - ,\"poolId\":\"python_test_pool_4\",\"nodeId\":\"tvm-57200098_1-20170724t182237z\"\ - ,\"taskRootDirectory\":\"workitems\\\\python_test_job_2\\\\job-1\\\\python_task_1\"\ - ,\"taskRootDirectoryUrl\":\"https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes/tvm-57200098_1-20170724t182237z/files/workitems/python_test_job_2/job-1/python_task_1\"\ - \r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:28:57 GMT'] - ETag: ['0x8D4D2C2B63EDF11'] - Last-Modified: ['Mon, 24 Jul 2017 18:35:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [068d0158-2bf9-43fc-bd30-46b6f81858f7] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/0.34.0 (Python CPython 3.5.1; Windows 10)] - x-ms-client-request-id: [5991def8-70a6-11e7-86f6-ecb1d755839a] - x-ms-date: ['Mon, 24 Jul 2017 19:29:02 GMT'] - x-ms-version: ['2016-05-31'] - method: GET - uri: https://batchpythonsdktest.blob.core.windows.net/batch-sdk-test-outputs?comp=list&restype=container - response: - body: {string: "\uFEFFtaskLogs/output.txtMon,\ - \ 24 Jul 2017 18:45:16 GMT0x8D4D2C420A71B3413application/octet-streamoPKjwdzVscrHG/DAPy/xvQ==BlockBlobunlockedavailablefalse"} - headers: - Content-Type: [application/xml] - Date: ['Mon, 24 Jul 2017 19:29:03 GMT'] - Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - Transfer-Encoding: [chunked] - x-ms-request-id: [b8c19027-0001-0011-0ab3-0491db000000] - x-ms-version: ['2016-05-31'] - status: {code: 200, message: OK} -- request: - body: '{"id": "python_task_1", "commandLine": "cmd /c \"echo hello world\""}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['69'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [5a3ccae6-70a6-11e7-8c03-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:29:03 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_1'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:29:03 GMT'] - ETag: ['0x8D4D2CA3E5BC340'] - Last-Modified: ['Mon, 24 Jul 2017 19:29:03 GMT'] - Location: ['https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_1'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [78a6bc4e-f064-4e66-a4d5-2bf820ee6dc9] - status: {code: 201, message: Created} -- 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [5ae02e94-70a6-11e7-8cbd-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:29:04 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_1/terminate?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - Content-Length: ['0'] - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_1/terminate'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:29:04 GMT'] - ETag: ['0x8D4D2CA3EE63653'] - Last-Modified: ['Mon, 24 Jul 2017 19:29:04 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - request-id: [61e23f72-70f6-4c74-bd74-a122389c273b] - status: {code: 204, message: No Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [5b8857e4-70a6-11e7-8c2d-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:29:06 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_1?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D4D2CA3EE63653\",\"creationTime\":\"2017-07-24T19:29:03.7510464Z\"\ - ,\"lastModified\":\"2017-07-24T19:29:04.6583891Z\",\"state\":\"completed\"\ - ,\"stateTransitionTime\":\"2017-07-24T19:29:04.6583891Z\",\"previousState\"\ - :\"active\",\"previousStateTransitionTime\":\"2017-07-24T19:29:03.7510464Z\"\ - ,\"commandLine\":\"cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n\ - \ \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n\ - \ },\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":1\r\ - \n },\"executionInfo\":{\r\n \"endTime\":\"2017-07-24T19:29:04.6583891Z\"\ - ,\"failureInfo\":{\r\n \"category\":\"UserError\",\"code\":\"TaskEnded\"\ - ,\"message\":\"Task Was Ended by User Request\"\r\n },\"result\":\"Failure\"\ - ,\"retryCount\":0,\"requeueCount\":0\r\n },\"nodeInfo\":{\r\n \r\n }\r\ - \n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:29:07 GMT'] - ETag: ['0x8D4D2CA3EE63653'] - Last-Modified: ['Mon, 24 Jul 2017 19:29:04 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [2b459788-ec98-4210-8a6f-72da294f4cf9] - 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [5c34a55a-70a6-11e7-9140-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:29:07 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_1/reactivate?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - Content-Length: ['0'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:29:07 GMT'] - ETag: ['0x8D4D2CA40ABB1AD'] - Last-Modified: ['Mon, 24 Jul 2017 19:29:07 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - request-id: [d6bd674d-6d1f-42ca-be92-90fa5be73507] - status: {code: 204, message: No Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [5cf5f664-70a6-11e7-81d9-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:29:08 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_1?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D4D2CA40ABB1AD\",\"creationTime\":\"2017-07-24T19:29:03.7510464Z\"\ - ,\"lastModified\":\"2017-07-24T19:29:07.6303277Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T19:29:07.6303277Z\",\"previousState\":\"\ - completed\",\"previousStateTransitionTime\":\"2017-07-24T19:29:04.6583891Z\"\ - ,\"commandLine\":\"cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n\ - \ \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n\ - \ },\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":1\r\ - \n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\":0\r\n \ - \ }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:29:08 GMT'] - ETag: ['0x8D4D2CA40ABB1AD'] - Last-Modified: ['Mon, 24 Jul 2017 19:29:07 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [769a642a-8d0c-433d-a69a-8805b0ee4c31] - status: {code: 200, message: OK} -- request: - body: '{"id": "python_task_bad", "commandLine": "bad command"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['55'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [5d9ab022-70a6-11e7-9cf1-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:29:09 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_bad'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:29:08 GMT'] - ETag: ['0x8D4D2CA4150AC98'] - Last-Modified: ['Mon, 24 Jul 2017 19:29:08 GMT'] - Location: ['https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_bad'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [f91d9e47-535e-4922-8c46-e0b57e895cc8] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [5e3b9e36-70a6-11e7-a896-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:29:10 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_bad?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_bad\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_bad\"\ - ,\"eTag\":\"0x8D4D2CA4150AC98\",\"creationTime\":\"2017-07-24T19:29:08.7115416Z\"\ - ,\"lastModified\":\"2017-07-24T19:29:08.7115416Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T19:29:08.7115416Z\",\"commandLine\":\"\ - bad command\",\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:29:11 GMT'] - ETag: ['0x8D4D2CA4150AC98'] - Last-Modified: ['Mon, 24 Jul 2017 19:29:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [5f7aad88-03ee-40c8-b643-af9d34221770] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [61e13ac6-70a6-11e7-8bea-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:29:16 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_bad?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_bad\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_bad\"\ - ,\"eTag\":\"0x8D4D2CA4150AC98\",\"creationTime\":\"2017-07-24T19:29:08.7115416Z\"\ - ,\"lastModified\":\"2017-07-24T19:29:08.7115416Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T19:29:08.7115416Z\",\"commandLine\":\"\ - bad command\",\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:29:15 GMT'] - ETag: ['0x8D4D2CA4150AC98'] - Last-Modified: ['Mon, 24 Jul 2017 19:29:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [3cce9233-0d3d-477d-bfcb-484b4b622361] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [65817914-70a6-11e7-a221-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:29:22 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_bad?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_bad\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_bad\"\ - ,\"eTag\":\"0x8D4D2CA4150AC98\",\"creationTime\":\"2017-07-24T19:29:08.7115416Z\"\ - ,\"lastModified\":\"2017-07-24T19:29:08.7115416Z\",\"state\":\"running\",\"\ - stateTransitionTime\":\"2017-07-24T19:29:19.525928Z\",\"previousState\":\"\ - active\",\"previousStateTransitionTime\":\"2017-07-24T19:29:08.7115416Z\"\ - ,\"commandLine\":\"bad command\",\"userIdentity\":{\r\n \"autoUser\":{\r\ - \n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\ - \n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"retentionTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\n },\"executionInfo\"\ - :{\r\n \"startTime\":\"2017-07-24T19:29:19.525928Z\",\"retryCount\":0,\"\ - requeueCount\":0\r\n },\"nodeInfo\":{\r\n \"affinityId\":\"TVM:tvm-57200098_1-20170724t182237z\"\ - ,\"nodeUrl\":\"https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes/tvm-57200098_1-20170724t182237z\"\ - ,\"poolId\":\"python_test_pool_4\",\"nodeId\":\"tvm-57200098_1-20170724t182237z\"\ - ,\"taskRootDirectory\":\"workitems\\\\python_test_job_2\\\\job-1\\\\python_task_bad\"\ - ,\"taskRootDirectoryUrl\":\"https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes/tvm-57200098_1-20170724t182237z/files/workitems/python_test_job_2/job-1/python_task_bad\"\ - \r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:29:23 GMT'] - ETag: ['0x8D4D2CA4150AC98'] - Last-Modified: ['Mon, 24 Jul 2017 19:29:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [8de9995a-7306-4834-b83c-2d0cfcf61c0e] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [69246cf0-70a6-11e7-95be-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:29:28 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_bad?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_bad\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_bad\"\ - ,\"eTag\":\"0x8D4D2CA4150AC98\",\"creationTime\":\"2017-07-24T19:29:08.7115416Z\"\ - ,\"lastModified\":\"2017-07-24T19:29:08.7115416Z\",\"state\":\"completed\"\ - ,\"stateTransitionTime\":\"2017-07-24T19:29:24.910617Z\",\"previousState\"\ - :\"running\",\"previousStateTransitionTime\":\"2017-07-24T19:29:19.525928Z\"\ - ,\"commandLine\":\"bad command\",\"userIdentity\":{\r\n \"autoUser\":{\r\ - \n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\ - \n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"retentionTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\n },\"executionInfo\"\ - :{\r\n \"startTime\":\"2017-07-24T19:29:19.525928Z\",\"endTime\":\"2017-07-24T19:29:24.910617Z\"\ - ,\"failureInfo\":{\r\n \"category\":\"UserError\",\"code\":\"CommandProgramNotFound\"\ - ,\"message\":\"The specified command program is not found\",\"details\":[\r\ - \n {\r\n \"name\":\"CommandLine\",\"value\":\"bad command\"\ - \r\n },{\r\n \"name\":\"Message\",\"value\":\"The system cannot\ - \ find the file specified.\"\r\n }\r\n ]\r\n },\"result\":\"\ - Failure\",\"retryCount\":0,\"requeueCount\":0\r\n },\"nodeInfo\":{\r\n \ - \ \"affinityId\":\"TVM:tvm-57200098_1-20170724t182237z\",\"nodeUrl\":\"https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes/tvm-57200098_1-20170724t182237z\"\ - ,\"poolId\":\"python_test_pool_4\",\"nodeId\":\"tvm-57200098_1-20170724t182237z\"\ - ,\"taskRootDirectory\":\"workitems\\\\python_test_job_2\\\\job-1\\\\python_task_bad\"\ - ,\"taskRootDirectoryUrl\":\"https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes/tvm-57200098_1-20170724t182237z/files/workitems/python_test_job_2/job-1/python_task_bad\"\ - \r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:29:29 GMT'] - ETag: ['0x8D4D2CA4150AC98'] - Last-Modified: ['Mon, 24 Jul 2017 19:29:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [ee798ab9-9fa8-449b-b911-040120ce2867] - status: {code: 200, message: OK} -- request: - body: '{"id": "python_task_2", "commandLine": "cmd /c \"echo hello world\""}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['69'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [69cad83e-70a6-11e7-9809-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:29:29 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:29:29 GMT'] - ETag: ['0x8D4D2CA4D80ED7F'] - Last-Modified: ['Mon, 24 Jul 2017 19:29:29 GMT'] - Location: ['https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [8027486b-4100-4c11-bfab-abbf88fcbf1f] - status: {code: 201, message: Created} -- request: - body: '{"constraints": {"maxTaskRetryCount": 1}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['41'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [6a6cafac-70a6-11e7-9f84-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:29:31 GMT'] - method: PUT - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:29:32 GMT'] - ETag: ['0x8D4D2CA4F413742'] - Last-Modified: ['Mon, 24 Jul 2017 19:29:32 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [2a05dac3-2fa9-46a1-97e7-16fd14a46135] - status: {code: 200, message: OK} -- request: - body: '{"value": [{"id": "python_task_3", "commandLine": "cmd /c \"echo hello - world\""}, {"id": "python_task_4", "commandLine": "cmd /c \"echo hello world\""}, - {"id": "python_task_5", "commandLine": "cmd /c \"echo hello world\""}]}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['224'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [6b1c96a6-70a6-11e7-ba4c-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:29:32 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/addtaskcollection?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#taskaddresult\"\ - ,\"value\":[\r\n {\r\n \"status\":\"Success\",\"taskId\":\"python_task_3\"\ - ,\"eTag\":\"0x8D4D2CA503AA095\",\"lastModified\":\"2017-07-24T19:29:33.7328789Z\"\ - ,\"location\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_3\"\ - \r\n },{\r\n \"status\":\"Success\",\"taskId\":\"python_task_4\",\"\ - eTag\":\"0x8D4D2CA503E988D\",\"lastModified\":\"2017-07-24T19:29:33.7588877Z\"\ - ,\"location\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_4\"\ - \r\n },{\r\n \"status\":\"Success\",\"taskId\":\"python_task_5\",\"\ - eTag\":\"0x8D4D2CA503F0D4C\",\"lastModified\":\"2017-07-24T19:29:33.7618764Z\"\ - ,\"location\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_5\"\ - \r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:29:33 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [ca8015f4-c17c-457b-9f66-fcb55ab6ca58] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [6bcf90dc-70a6-11e7-896a-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:29:33 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/taskcounts?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#taskcounts/@Element\"\ - ,\"active\":4,\"running\":0,\"completed\":1,\"succeeded\":1,\"failed\":0,\"\ - validationStatus\":\"Validated\"\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:29:35 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [ac4d8b1a-6fbc-4731-848f-acc883c6dc69] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [6e5bfa54-70a6-11e7-8838-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:29:37 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks\"\ - ,\"value\":[\r\n {\r\n \"id\":\"python_task_1\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D4D2CA40ABB1AD\",\"creationTime\":\"2017-07-24T19:29:03.7510464Z\"\ - ,\"lastModified\":\"2017-07-24T19:29:07.6303277Z\",\"state\":\"completed\"\ - ,\"stateTransitionTime\":\"2017-07-24T19:29:17.45176Z\",\"previousState\"\ - :\"running\",\"previousStateTransitionTime\":\"2017-07-24T19:29:11.638944Z\"\ - ,\"commandLine\":\"cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n\ - \ \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n \ - \ }\r\n },\"constraints\":{\r\n \"maxWallClockTime\":\"\ - P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":1\r\n },\"executionInfo\":{\r\n \"startTime\"\ - :\"2017-07-24T19:29:11.638944Z\",\"endTime\":\"2017-07-24T19:29:17.45176Z\"\ - ,\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0,\"requeueCount\":0\r\ - \n },\"nodeInfo\":{\r\n \"affinityId\":\"TVM:tvm-57200098_1-20170724t182237z\"\ - ,\"nodeUrl\":\"https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes/tvm-57200098_1-20170724t182237z\"\ - ,\"poolId\":\"python_test_pool_4\",\"nodeId\":\"tvm-57200098_1-20170724t182237z\"\ - ,\"taskRootDirectory\":\"workitems\\\\python_test_job\\\\job-1\\\\python_task_1\"\ - ,\"taskRootDirectoryUrl\":\"https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes/tvm-57200098_1-20170724t182237z/files/workitems/python_test_job/job-1/python_task_1\"\ - \r\n }\r\n },{\r\n \"id\":\"python_task_2\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2\"\ - ,\"eTag\":\"0x8D4D2CA4F413742\",\"creationTime\":\"2017-07-24T19:29:29.1604351Z\"\ - ,\"lastModified\":\"2017-07-24T19:29:32.0983362Z\",\"state\":\"running\",\"\ - stateTransitionTime\":\"2017-07-24T19:29:32.546164Z\",\"previousState\":\"\ - active\",\"previousStateTransitionTime\":\"2017-07-24T19:29:29.1604351Z\"\ - ,\"commandLine\":\"cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n\ - \ \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n \ - \ }\r\n },\"constraints\":{\r\n \"maxWallClockTime\":\"\ - P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":1\r\n },\"executionInfo\":{\r\n \"startTime\"\ - :\"2017-07-24T19:29:32.546164Z\",\"retryCount\":0,\"requeueCount\":0\r\n \ - \ },\"nodeInfo\":{\r\n \"affinityId\":\"TVM:tvm-57200098_1-20170724t182237z\"\ - ,\"nodeUrl\":\"https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes/tvm-57200098_1-20170724t182237z\"\ - ,\"poolId\":\"python_test_pool_4\",\"nodeId\":\"tvm-57200098_1-20170724t182237z\"\ - ,\"taskRootDirectory\":\"workitems\\\\python_test_job\\\\job-1\\\\python_task_2\"\ - ,\"taskRootDirectoryUrl\":\"https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes/tvm-57200098_1-20170724t182237z/files/workitems/python_test_job/job-1/python_task_2\"\ - \r\n }\r\n },{\r\n \"id\":\"python_task_3\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_3\"\ - ,\"eTag\":\"0x8D4D2CA503AA095\",\"creationTime\":\"2017-07-24T19:29:33.7328789Z\"\ - ,\"lastModified\":\"2017-07-24T19:29:33.7328789Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T19:29:33.7328789Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n \"autoUser\"\ - :{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"\ - constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":1\r\ - \n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\"\ - :0\r\n }\r\n },{\r\n \"id\":\"python_task_4\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_4\"\ - ,\"eTag\":\"0x8D4D2CA503E988D\",\"creationTime\":\"2017-07-24T19:29:33.7588877Z\"\ - ,\"lastModified\":\"2017-07-24T19:29:33.7588877Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T19:29:33.7588877Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n \"autoUser\"\ - :{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"\ - constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":1\r\ - \n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\"\ - :0\r\n }\r\n },{\r\n \"id\":\"python_task_5\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_5\"\ - ,\"eTag\":\"0x8D4D2CA503F0D4C\",\"creationTime\":\"2017-07-24T19:29:33.7618764Z\"\ - ,\"lastModified\":\"2017-07-24T19:29:33.7618764Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T19:29:33.7618764Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n \"autoUser\"\ - :{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"\ - constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":1\r\ - \n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\"\ - :0\r\n }\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:29:37 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [dac0c10d-833a-4df9-8e97-354a79c8b6ba] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [6f0ad712-70a6-11e7-a721-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:29:38 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_2\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2\"\ - ,\"eTag\":\"0x8D4D2CA4F413742\",\"creationTime\":\"2017-07-24T19:29:29.1604351Z\"\ - ,\"lastModified\":\"2017-07-24T19:29:32.0983362Z\",\"state\":\"completed\"\ - ,\"stateTransitionTime\":\"2017-07-24T19:29:38.49594Z\",\"previousState\"\ - :\"running\",\"previousStateTransitionTime\":\"2017-07-24T19:29:32.546164Z\"\ - ,\"commandLine\":\"cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n\ - \ \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n\ - \ },\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":1\r\ - \n },\"executionInfo\":{\r\n \"startTime\":\"2017-07-24T19:29:32.546164Z\"\ - ,\"endTime\":\"2017-07-24T19:29:38.49594Z\",\"exitCode\":0,\"result\":\"Success\"\ - ,\"retryCount\":0,\"requeueCount\":0\r\n },\"nodeInfo\":{\r\n \"affinityId\"\ - :\"TVM:tvm-57200098_1-20170724t182237z\",\"nodeUrl\":\"https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes/tvm-57200098_1-20170724t182237z\"\ - ,\"poolId\":\"python_test_pool_4\",\"nodeId\":\"tvm-57200098_1-20170724t182237z\"\ - ,\"taskRootDirectory\":\"workitems\\\\python_test_job\\\\job-1\\\\python_task_2\"\ - ,\"taskRootDirectoryUrl\":\"https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes/tvm-57200098_1-20170724t182237z/files/workitems/python_test_job/job-1/python_task_2\"\ - \r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:29:40 GMT'] - ETag: ['0x8D4D2CA4F413742'] - Last-Modified: ['Mon, 24 Jul 2017 19:29:32 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [a93678a7-d3b1-4c32-a3b0-6ffc9bdcbd0d] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [6fb19de8-70a6-11e7-b733-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:29:39 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2/subtasksinfo?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#subtaskinfo\"\ - ,\"value\":[\r\n \r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:29:40 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [31df2cde-b7e8-4eea-98a4-e320db1bcdee] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [8239c0da-70a6-11e7-8a54-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:30:10 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2/files?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#files\"\ - ,\"value\":[\r\n {\r\n \"name\":\"stderr.txt\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2/files/stderr.txt\"\ - ,\"isDirectory\":false,\"properties\":{\r\n \"creationTime\":\"2017-07-24T19:29:35.120614Z\"\ - ,\"lastModified\":\"2017-07-24T19:29:35.120614Z\",\"contentLength\":\"0\"\ - ,\"contentType\":\"text/plain\"\r\n }\r\n },{\r\n \"name\":\"\ - stdout.txt\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2/files/stdout.txt\"\ - ,\"isDirectory\":false,\"properties\":{\r\n \"creationTime\":\"2017-07-24T19:29:35.120614Z\"\ - ,\"lastModified\":\"2017-07-24T19:29:38.19407Z\",\"contentLength\":\"13\"\ - ,\"contentType\":\"text/plain\"\r\n }\r\n },{\r\n \"name\":\"\ - wd\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2/files/wd\"\ - ,\"isDirectory\":true\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:30:11 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [d06bdeeb-8e09-4c3f-8f60-7a88e2e180e2] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [834822ca-70a6-11e7-afe9-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:30:12 GMT'] - method: HEAD - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2/files/stdout.txt?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - Content-Length: ['13'] - Content-Type: [text/plain] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:30:12 GMT'] - Last-Modified: ['Mon, 24 Jul 2017 19:29:38 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - ocp-batch-file-isdirectory: ['False'] - ocp-batch-file-url: [https%3A%2F%2Fpythonsdktest.brazilsouth.batch.azure.com%2Fjobs%2Fpython_test_job%2Ftasks%2Fpython_task_2%2Ffiles%2Fstdout.txt] - ocp-creation-time: ['Mon, 24 Jul 2017 19:29:35 GMT'] - request-id: [2815c89d-5d37-44d5-9c78-cba519550768] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [842b22a4-70a6-11e7-b3f8-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:30:14 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2/files/stdout.txt?api-version=2017-06-01.5.1 - response: - body: {string: "hello world\r\n"} - headers: - Content-Type: [text/plain] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:30:16 GMT'] - Last-Modified: ['Mon, 24 Jul 2017 19:29:38 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - ocp-batch-file-isdirectory: ['False'] - ocp-batch-file-url: [https%3A%2F%2Fpythonsdktest.brazilsouth.batch.azure.com%2Fjobs%2Fpython_test_job%2Ftasks%2Fpython_task_2%2Ffiles%2Fstdout.txt] - ocp-creation-time: ['Mon, 24 Jul 2017 19:29:35 GMT'] - request-id: [d9e49614-667f-4dba-8d66-7d9eadbce051] - 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [850f01de-70a6-11e7-8b14-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:30:15 GMT'] - method: DELETE - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2/files/stdout.txt?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:30:15 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [fcaeae39-0828-4cce-b129-36a6e2cf29d1] - 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [8608591e-70a6-11e7-8647-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:30:17 GMT'] - method: DELETE - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_1?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:30:19 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [dc96c148-0629-4a3b-81d7-eae18d422096] - 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [8791c6c2-70a6-11e7-8097-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:30:19 GMT'] - method: DELETE - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:30:22 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [f98b12f8-e61f-4545-87c2-17e8d3d03993] - 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [89218fec-70a6-11e7-874b-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:30:22 GMT'] - method: DELETE - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_3?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:30:23 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [cd3958bd-4065-463c-a579-b8be563c3af1] - 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [8ad23528-70a6-11e7-a132-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:30:25 GMT'] - method: DELETE - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_4?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:30:28 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [abacfb51-6731-4b61-8a28-18a3924ea2cd] - 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [8c705b18-70a6-11e7-8ab2-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:30:28 GMT'] - method: DELETE - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_5?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:30:30 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [60d09a00-8c5f-453b-9687-cf21f185d7dd] - 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [8e03d1cc-70a6-11e7-9d40-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:30:30 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/terminate?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job/terminate'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:30:32 GMT'] - ETag: ['0x8D4D2CA733F301E'] - Last-Modified: ['Mon, 24 Jul 2017 19:30:32 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [9dd85760-1c73-4041-a860-81e32a462323] - status: {code: 202, message: Accepted} -- 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [8ead765e-70a6-11e7-92e9-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:30:31 GMT'] - method: DELETE - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:30:33 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [7e6fea24-d079-403e-92a4-182426e073fb] - status: {code: 202, message: Accepted} -- 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [8f5567a4-70a6-11e7-8bf6-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:30:32 GMT'] - method: DELETE - uri: https://pythonsdktest.brazilsouth.batch.azure.com/jobs/python_test_job_2?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:30:32 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [91a6a0b2-7fed-47c4-b10b-70016854371f] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [90071676-70a6-11e7-a5bb-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:30:34 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/lifetimejobstats?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#jobstats/@Element\"\ - ,\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/lifetimejobstats\"\ - ,\"startTime\":\"2017-07-21T20:07:03.6209399Z\",\"lastUpdateTime\":\"2017-07-24T18:30:00Z\"\ - ,\"userCPUTime\":\"PT8.906S\",\"kernelCPUTime\":\"PT0S\",\"wallClockTime\"\ - :\"PT8.906S\",\"readIOps\":\"0\",\"writeIOps\":\"0\",\"readIOGiB\":0.0,\"\ - writeIOGiB\":0.0,\"numTaskRetries\":\"0\",\"numSucceededTasks\":\"18\",\"\ - numFailedTasks\":\"0\",\"waitTime\":\"PT7H44M49.433S\"\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:30:35 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [ee2ab2f6-b109-46d3-a6bd-023025835ff8] - 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [90c32d7e-70a6-11e7-a55c-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 19:30:35 GMT'] - method: DELETE - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_4?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 19:30:37 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [71481530-c81f-4fb9-93da-3e6fec42572b] - status: {code: 202, message: Accepted} -- request: - body: '{"displayName": "my_application_name"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['38'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [f1ca45ae-a02e-11e7-b272-6c3be5273719] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest3/applications/my_application_id?api-version=2017-05-01 - response: - body: {string: '{"id":"my_application_id","displayName":"my_application_name","packages":[],"allowUpdates":true}'} - headers: - Cache-Control: [no-cache] - Content-Length: ['96'] - Content-Type: [application/json; charset=utf-8] - Date: ['Sat, 23 Sep 2017 07:15:15 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - x-ms-correlation-request-id: [d3c3135a-ab97-428b-9103-d19a80d889a5] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [17e8baca-7b2a-4a9a-9a5a-451291eede69] - x-ms-routing-request-id: ['WESTUS2:20170923T071516Z:d3c3135a-ab97-428b-9103-d19a80d889a5'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [f2cbef36-a02e-11e7-b7c5-6c3be5273719] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest3/applications/my_application_id/versions/v1.0?api-version=2017-05-01 - response: - body: {string: '{"id":"my_application_id","version":"v1.0","storageUrl":"https://batchpythonsdktest3.blob.core.windows.net/app-my-application-id-b9dfc2b75e089960a922be9b4180a01f29ca0c78/my_application_id-v1.0-56e6b1be-5180-4d0b-b49a-ff9e6d0fcff9?sv=2015-04-05&sr=b&sig=HO5wFkhn30aKlTGyMo%2B9TCVyIyalDKbrgMbJzqpZ7tU%3D&st=2017-09-23T07%3A10%3A18Z&se=2017-09-23T11%3A15%3A18Z&sp=rw","storageUrlExpiry":"2017-09-23T11:15:18.094844Z","state":"pending"}'} - headers: - Cache-Control: [no-cache] - Content-Length: ['432'] - Content-Type: [application/json; charset=utf-8] - Date: ['Sat, 23 Sep 2017 07:15:17 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - x-ms-correlation-request-id: [9aa5a0cb-b75a-4b1f-a238-0f25e52a5811] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - x-ms-request-id: [b75ecd80-ff68-4dee-ab99-bf762229a7b0] - x-ms-routing-request-id: ['WESTUS2:20170923T071517Z:9aa5a0cb-b75a-4b1f-a238-0f25e52a5811'] - status: {code: 201, message: Created} -- request: - body: '{"id": "python_test_pool_4", "vmSize": "standard_a1", "virtualMachineConfiguration": - {"imageReference": {"publisher": "MicrosoftWindowsServer", "offer": "WindowsServer", - "sku": "2016-Datacenter-smalldisk"}, "nodeAgentSKUId": "batch.node.windows amd64"}, - "targetDedicatedNodes": 1, "userAccounts": [{"name": "task-user", "password": - "kt#_gahr!@aGERDXA", "elevationLevel": "admin"}]}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['381'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [f3eae840-a02e-11e7-8a12-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:15:17 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\"\ - ,\"code\":\"PoolExists\",\"message\":{\r\n \"lang\":\"en-US\",\"value\"\ - :\"The specified pool already exists.\\nRequestId:cd4daf32-dbb1-45fa-b7fc-751db5421f9f\\\ - nTime:2017-09-23T07:15:19.2099175Z\"\r\n }\r\n}"} - headers: - Content-Length: ['338'] - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:15:18 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - request-id: [cd4daf32-dbb1-45fa-b7fc-751db5421f9f] - status: {code: 409, message: The specified pool already exists.} -- 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [f4908368-a02e-11e7-9ddd-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:15:19 GMT'] - method: DELETE - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:15:20 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [1d1d7b8f-694d-467f-a2e9-f5348308badf] - status: {code: 202, message: Accepted} -- request: - body: '{"displayName": "my_application_name"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['38'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [26330e2e-a032-11e7-8b0c-6c3be5273719] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest3/applications/my_application_id?api-version=2017-05-01 - response: - body: {string: '{"id":"my_application_id","displayName":"my_application_name","packages":[{"version":"v1.0","state":"pending"}],"allowUpdates":true}'} - headers: - Cache-Control: [no-cache] - Content-Length: ['132'] - Content-Type: [application/json; charset=utf-8] - Date: ['Sat, 23 Sep 2017 07:38:12 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - x-ms-correlation-request-id: [3a27631d-567c-431b-aaa5-ecf01fac7ff8] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - x-ms-request-id: [be8acbc5-b400-4c2d-9ebd-9bd8dad1d905] - x-ms-routing-request-id: ['WESTUS2:20170923T073812Z:3a27631d-567c-431b-aaa5-ecf01fac7ff8'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchmanagementclient/4.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [271e0ae2-a032-11e7-9d68-6c3be5273719] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/python_batch_sdk_test/providers/Microsoft.Batch/batchAccounts/pythonsdktest3/applications/my_application_id/versions/v1.0?api-version=2017-05-01 - response: - body: {string: '{"id":"my_application_id","version":"v1.0","storageUrl":"https://batchpythonsdktest3.blob.core.windows.net/app-my-application-id-b9dfc2b75e089960a922be9b4180a01f29ca0c78/my_application_id-v1.0-56e6b1be-5180-4d0b-b49a-ff9e6d0fcff9?sv=2015-04-05&sr=b&sig=wpTiok1LdeV%2FNL47r2GvOmg43tkp1qoF9Sw%2BmQd8FuU%3D&st=2017-09-23T07%3A33%3A14Z&se=2017-09-23T11%3A38%3A14Z&sp=rw","storageUrlExpiry":"2017-09-23T11:38:14.6695341Z","state":"pending"}'} - headers: - Cache-Control: [no-cache] - Content-Length: ['435'] - Content-Type: [application/json; charset=utf-8] - Date: ['Sat, 23 Sep 2017 07:38:14 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - x-ms-correlation-request-id: [570295a5-6c13-4cb0-acc0-02a5868531dc] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [cd582935-580f-427c-9a10-8760d1027b90] - x-ms-routing-request-id: ['WESTUS2:20170923T073814Z:570295a5-6c13-4cb0-acc0-02a5868531dc'] - status: {code: 201, message: Created} -- request: - body: '{"id": "python_test_pool_4", "vmSize": "standard_a1", "virtualMachineConfiguration": - {"imageReference": {"publisher": "MicrosoftWindowsServer", "offer": "WindowsServer", - "sku": "2016-Datacenter-smalldisk"}, "nodeAgentSKUId": "batch.node.windows amd64"}, - "targetDedicatedNodes": 1, "userAccounts": [{"name": "task-user", "password": - "kt#_gahr!@aGERDXA", "elevationLevel": "admin"}]}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['381'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [285b1f4c-a032-11e7-b9ce-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:38:14 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:38:15 GMT'] - ETag: ['0x8D502560D444FD3'] - Last-Modified: ['Sat, 23 Sep 2017 07:38:15 GMT'] - Location: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [c87f1daa-4128-456c-bfb6-365d7f9831c5] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [3b0293da-a032-11e7-9a86-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:38:45 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n \r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:38:46 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [484a3091-154e-4ca0-a8e8-61c789102c04] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [4d89404a-a032-11e7-ad8d-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:39:16 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n \r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:39:18 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [e4cc9e9c-0e96-4fb7-98be-b6ebd0a3388d] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [6014c8a4-a032-11e7-83b8-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:39:47 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n \r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:39:49 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [ad9b7eab-6cd6-42b6-a72b-41b049296510] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [729647ec-a032-11e7-9081-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:40:18 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t073959z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:40:20 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [24d445d2-bdd0-492e-b2de-84ad1fe82c5d] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [85201f18-a032-11e7-9fd7-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:40:50 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t073959z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:40:51 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [5ef0217e-4d38-440e-85d8-b71b03dc89d4] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [97a6c0be-a032-11e7-8cb0-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:41:21 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t073959z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:41:23 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [facc08ab-33b0-41f9-81bc-aa9814f17e69] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [aace34da-a032-11e7-86cc-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:41:53 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t073959z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:41:53 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [53dee5b6-0bbf-4b82-8110-df8069643238] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [bd576512-a032-11e7-aba4-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:42:24 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t073959z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:42:25 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [bfb21623-f91d-42eb-bcaf-3f011ebb0681] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [cfe5dd9e-a032-11e7-aa14-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:42:55 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t073959z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:42:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [0441e937-2e0d-457d-bd5f-3d192823e5cd] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [e26efac6-a032-11e7-afe5-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:43:26 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t073959z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:43:27 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [c1c52784-178e-4125-82e4-3e13a423b865] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [f4f25e86-a032-11e7-bdf6-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:43:57 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t073959z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:43:58 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [f17f71cc-5ee7-479c-a8a2-78387c2e32d7] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [0783b4f4-a033-11e7-9000-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:44:28 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t073959z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:44:29 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [e7425449-05aa-4abe-9ae1-f1648e679267] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [1a26476c-a033-11e7-8350-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:45:00 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t073959z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:45:01 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [c3942b2b-7845-4b51-b262-b2aed3d69058] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [2caecb1c-a033-11e7-b8e9-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:45:31 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t073959z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:45:32 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [5225f4b6-b316-4844-ac32-31cc55acb6ee] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [3f326e34-a033-11e7-bc81-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:46:02 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t073959z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:46:03 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [799c45c6-4daf-4b3e-ab3e-bc10ad84694a] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [51b95b50-a033-11e7-a448-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:46:33 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t073959z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:46:34 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [d2b1b079-1271-40af-a32b-dd8e92098257] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [643f30fa-a033-11e7-816d-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:47:04 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t073959z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:47:05 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [365ed0d2-ca1b-4463-a915-96d874ea10f0] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [76d31a3a-a033-11e7-9dba-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:47:35 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t073959z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:47:36 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [a6db7ffe-8446-4066-8b06-12b5f61200a6] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [8958871e-a033-11e7-b111-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:48:06 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t073959z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:48:07 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [b3ba6861-a028-48ac-bc26-95428a695b68] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [9be0354c-a033-11e7-8f94-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:48:37 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t073959z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:48:38 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [58f02129-c8c7-4ca2-8f82-5d1e18a7eb14] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [ae69a2c0-a033-11e7-957c-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:49:08 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t073959z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:49:09 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [6f78f46b-e8cd-4ae7-95c8-ed35a01e9e51] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [c0f2fccc-a033-11e7-86ab-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:49:39 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t073959z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:49:41 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [acab30a6-54a1-44e9-b964-0db11001d165] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [d37e43c0-a033-11e7-9e07-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:50:11 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t073959z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:50:12 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [6e0a7d73-9059-4fdd-8b4e-0ff6f675bded] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [e60a9c28-a033-11e7-8345-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:50:42 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t073959z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:50:43 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [f5dedfe7-fb23-42b1-b964-a41bef04e176] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [f890a408-a033-11e7-8fa7-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:51:13 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t073959z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:51:14 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [90a509b9-6dfb-4736-8ba1-0db988ecf406] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [0b198a00-a034-11e7-9efa-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:51:44 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t073959z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:51:45 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [0ee9368d-f66c-4358-a256-def5b538df8f] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [1da12270-a034-11e7-90d0-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:52:15 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t073959z\"\ - ,\"state\":\"starting\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:52:16 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [bb5e0aca-56d1-44a3-b986-516d02ba9319] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [302d00b4-a034-11e7-8e96-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:52:46 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes?api-version=2017-09-01.6.0&$select=id%2Cstate&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#nodes\"\ - ,\"value\":[\r\n {\r\n \"id\":\"tvm-57200098_1-20170923t073959z\"\ - ,\"state\":\"idle\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:52:48 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [0525fbea-5014-4dac-9c92-adb011a84b83] - status: {code: 200, message: OK} -- request: - body: '{"id": "python_test_job", "poolInfo": {"poolId": "python_test_pool_4"}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['71'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [42be1b5a-a034-11e7-8ae9-6c3be5273719] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/job-1'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:53:19 GMT'] - ETag: ['0x8D5025827CE4EA9'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:19 GMT'] - Location: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/job-1'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [1874a0d2-8e5d-45d4-a6a8-d69f329443d7] - status: {code: 201, message: Created} -- request: - body: '{"id": "python_test_job_2", "poolInfo": {"poolId": "python_test_pool_4"}, - "onAllTasksComplete": "noAction", "onTaskFailure": "performExitOptionsJobAction"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['155'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [499e70b8-a034-11e7-87e5-6c3be5273719] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/job-1'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:53:30 GMT'] - ETag: ['0x8D502582EB5FD03'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:30 GMT'] - Location: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/job-1'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [371f79a5-25df-4b99-829b-7ed683d5138f] - status: {code: 201, message: Created} -- request: - body: '{"priority": 500, "constraints": {"maxTaskRetryCount": 3}, "poolInfo": - {"poolId": "python_test_pool_4"}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['104'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [50869676-a034-11e7-8079-6c3be5273719] - method: PUT - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:53:42 GMT'] - ETag: ['0x8D502583583FD20'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:42 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [28f94d7c-cfc6-417a-81e7-7d548a017e7e] - status: {code: 200, message: OK} -- request: - body: '{"priority": 900, "constraints": {"maxTaskRetryCount": 1}, "poolInfo": - {"poolId": "python_test_pool_4"}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['104'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [515fc812-a034-11e7-b346-6c3be5273719] - method: PATCH - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:53:43 GMT'] - ETag: ['0x8D5025836452BCB'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:43 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [5abfd63e-e3a8-42dc-8e98-d611da46d200] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [5220e0ec-a034-11e7-a9c6-6c3be5273719] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#jobs/@Element\"\ - ,\"id\":\"python_test_job\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job\"\ - ,\"eTag\":\"0x8D5025836452BCB\",\"lastModified\":\"2017-09-23T07:53:43.3673675Z\"\ - ,\"creationTime\":\"2017-09-23T07:53:19.0812721Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:19.1002793Z\",\"priority\":900,\"\ - usesTaskDependencies\":false,\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":1\r\n },\"poolInfo\"\ - :{\r\n \"poolId\":\"python_test_pool_4\"\r\n },\"executionInfo\":{\r\n\ - \ \"startTime\":\"2017-09-23T07:53:19.1002793Z\",\"poolId\":\"python_test_pool_4\"\ - \r\n },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"noaction\"\ - \r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:53:45 GMT'] - ETag: ['0x8D5025836452BCB'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:43 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [89117bf8-aadc-4531-8bdf-e6e414d53326] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [52ecbd00-a034-11e7-88d0-6c3be5273719] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#jobs\"\ - ,\"value\":[\r\n {\r\n \"id\":\"python_test_job\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job\"\ - ,\"eTag\":\"0x8D5025836452BCB\",\"lastModified\":\"2017-09-23T07:53:43.3673675Z\"\ - ,\"creationTime\":\"2017-09-23T07:53:19.0812721Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:19.1002793Z\",\"priority\":900,\"\ - usesTaskDependencies\":false,\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":1\r\n },\"poolInfo\"\ - :{\r\n \"poolId\":\"python_test_pool_4\"\r\n },\"executionInfo\"\ - :{\r\n \"startTime\":\"2017-09-23T07:53:19.1002793Z\",\"poolId\":\"\ - python_test_pool_4\"\r\n },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\"\ - :\"noaction\"\r\n },{\r\n \"id\":\"python_test_job_2\",\"url\":\"\ - https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2\"\ - ,\"eTag\":\"0x8D502582EB5FD03\",\"lastModified\":\"2017-09-23T07:53:30.6849539Z\"\ - ,\"creationTime\":\"2017-09-23T07:53:30.660963Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:30.6849539Z\",\"priority\":0,\"usesTaskDependencies\"\ - :false,\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"poolInfo\":{\r\n \"poolId\":\"\ - python_test_pool_4\"\r\n },\"executionInfo\":{\r\n \"startTime\"\ - :\"2017-09-23T07:53:30.6849539Z\",\"poolId\":\"python_test_pool_4\"\r\n \ - \ },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"performexitoptionsjobaction\"\ - \r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:53:46 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [4b44a2ee-1be7-42ce-9de7-77271228255b] - 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [53c13418-a034-11e7-9ce1-6c3be5273719] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/disable?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/disable'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:53:47 GMT'] - ETag: ['0x8D5025838A3AA20'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:47 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [dc654d53-0612-4bc1-82da-5eb27fb0dac5] - status: {code: 202, message: Accepted} -- 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [547f7882-a034-11e7-a660-6c3be5273719] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/enable?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/enable'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:53:48 GMT'] - ETag: ['0x8D502583960F4C5'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:48 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [aad8b3f3-05fb-4267-b804-ad964ef6279e] - status: {code: 202, message: Accepted} -- request: - body: '{"id": "python_task_with_auto_complete", "commandLine": "cmd /c \"echo - hello world\"", "exitConditions": {"exitCodes": [{"code": 1, "exitOptions": - {"jobAction": "none"}}], "default": {"jobAction": "terminate"}}, "userIdentity": - {"autoUser": {"scope": "task", "elevationLevel": "admin"}}, "authenticationTokenSettings": - {"access": ["job"]}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['339'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [553cd48a-a034-11e7-a913-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:53:48 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_with_auto_complete'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:53:49 GMT'] - ETag: ['0x8D502583A0A97D1'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:49 GMT'] - Location: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_with_auto_complete'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [cfb3f77e-2234-4afc-b67f-6b3113c91333] - status: {code: 201, message: Created} -- request: - body: '{"id": "python_task_containers", "commandLine": "cat /etc/centos-release", - "containerSettings": {"imageName": "centos"}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['120'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [55e6d7a4-a034-11e7-a72b-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:53:49 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_containers'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:53:50 GMT'] - ETag: ['0x8D502583ADB653A'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:51 GMT'] - Location: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_containers'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [27c37f4e-9bb6-4dba-bc49-32499344be82] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [568b6890-a034-11e7-8668-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:53:50 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_with_auto_complete?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_with_auto_complete\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_with_auto_complete\"\ - ,\"eTag\":\"0x8D502583A0A97D1\",\"creationTime\":\"2017-09-23T07:53:49.6943569Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:49.6943569Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:49.6943569Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n \"autoUser\":{\r\ - \n \"scope\":\"task\",\"elevationLevel\":\"admin\"\r\n }\r\n },\"\ - exitConditions\":{\r\n \"exitCodes\":[\r\n {\r\n \"code\":1,\"\ - exitOptions\":{\r\n \"jobAction\":\"none\"\r\n }\r\n \ - \ }\r\n ],\"default\":{\r\n \"jobAction\":\"terminate\"\r\n }\r\ - \n },\"authenticationTokenSettings\":{\r\n \"access\":[\r\n \"job\"\ - \r\n ]\r\n },\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\ - \n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\":0\r\n \ - \ }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:53:52 GMT'] - ETag: ['0x8D502583A0A97D1'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:49 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [9b3cbd51-24fd-4ae1-b06f-8b28d295a61e] - status: {code: 200, message: OK} -- request: - body: '{"id": "python_task_with_app_package", "commandLine": "cmd /c \"echo hello - world\"", "userIdentity": {"username": "task-user"}, "applicationPackageReferences": - [{"applicationId": "my_application_id"}]}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['201'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [572bfccc-a034-11e7-9928-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:53:51 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_with_app_package'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:53:53 GMT'] - ETag: ['0x8D502583C208E32'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:53 GMT'] - Location: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_with_app_package'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [93c3e22c-8329-4351-9a9e-f7d0ad9efbca] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [57cff95c-a034-11e7-9521-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:53:53 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_with_app_package?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_with_app_package\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_with_app_package\"\ - ,\"eTag\":\"0x8D502583C208E32\",\"creationTime\":\"2017-09-23T07:53:53.193733Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:53.193733Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:53.193733Z\",\"commandLine\":\"cmd\ - \ /c \\\"echo hello world\\\"\",\"applicationPackageReferences\":[\r\n \ - \ {\r\n \"applicationId\":\"my_application_id\"\r\n }\r\n ],\"userIdentity\"\ - :{\r\n \"username\":\"task-user\"\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":1\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:53:54 GMT'] - ETag: ['0x8D502583C208E32'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:53 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [49fbffc0-012c-4966-874b-0a29f2b74da5] - 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [58754c06-a034-11e7-9070-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:53:54 GMT'] - method: DELETE - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_with_app_package?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:53:55 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [bd43a746-4331-4e62-888a-15da1bbdfc02] - status: {code: 200, message: OK} -- request: - body: '{"id": "python_task_1", "commandLine": "cmd /c \"echo hello world\"", "outputFiles": - [{"filePattern": "../stdout.txt", "destination": {"container": {"path": "taskLogs/output.txt", - "containerUrl": "https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D"}}, - "uploadOptions": {"uploadCondition": "taskCompletion"}}, {"filePattern": "../stderr.txt", - "destination": {"container": {"path": "taskLogs/error.txt", "containerUrl": - "https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D"}}, - "uploadOptions": {"uploadCondition": "taskFailure"}}]}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['784'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [59173918-a034-11e7-9427-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:53:55 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:53:56 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Location: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [3ad10085-e21a-4713-ae82-9d55b1500167] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [59bf754a-a034-11e7-b966-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:53:56 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:53:57 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [99f6752c-3a34-40b8-98e6-8dc1f9931651] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [5d5df49e-a034-11e7-b636-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:54:02 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:54:03 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [54a8adc1-673b-4a03-9bbb-234193c58b62] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [60f9c312-a034-11e7-bbc3-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:54:08 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:54:09 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [d0903cf0-b459-4667-b575-b916b605ee0d] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [6499c4ae-a034-11e7-9e23-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:54:14 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:54:15 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [a1b5c844-5b95-415a-907b-37562b2e649e] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [6837ae26-a034-11e7-b216-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:54:20 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:54:21 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [b7217254-32fa-40c1-bf8f-2ce1b3d3359e] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [6bdb7546-a034-11e7-a2f8-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:54:26 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:54:27 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [490dd907-61ea-4d03-962a-e0b73a7a7741] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [6f7b802e-a034-11e7-a128-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:54:32 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:54:33 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [3bd008ae-0aa2-43bd-a6cd-0c7c5b0094ff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [7318a7b4-a034-11e7-ba63-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:54:38 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:54:39 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [3522bdd8-a2bd-483d-87f5-396d96090e19] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [76b4f798-a034-11e7-bb64-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:54:44 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:54:46 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [7df530a9-4a58-470c-865c-30301ec85d36] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [7a504650-a034-11e7-a6ae-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:54:50 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:54:52 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [53fa26bc-f3a4-4a40-81db-aa87c34382cd] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [7df4c4a2-a034-11e7-a5dd-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:54:57 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:54:58 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [9d071f30-7411-44b2-99df-9fbf4e87c626] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [8192a7ca-a034-11e7-bee5-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:55:03 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:55:04 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [cbc8c950-3836-400c-9948-19d2b87190bd] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [853481d2-a034-11e7-92dc-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:55:09 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:55:10 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [10969268-1dc4-42fe-8ed2-e6a113431942] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [88d669c8-a034-11e7-bd69-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:55:15 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:55:16 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [049f75d4-ba62-447f-857f-9e4daaddf930] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [8c7f7a1a-a034-11e7-b44d-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:55:21 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:55:22 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [ead05c6d-edf8-48cb-bf12-d827c26aaf87] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [9027be34-a034-11e7-95ae-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:55:27 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:55:28 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [23abb759-924b-4414-9f88-e66921e50f02] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [93d62b8a-a034-11e7-a87a-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:55:33 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:55:34 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [adadd826-24ea-4a1a-9e5b-508590a982ec] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [9778ec1e-a034-11e7-bae7-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:55:39 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:55:40 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [523ae232-7abe-4190-9f6a-a9dcd718fb32] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [9b18dcc8-a034-11e7-86aa-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:55:45 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:55:46 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [20d39d2d-de04-400c-b0e0-c09c09b6e627] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [9ebdc02e-a034-11e7-b56d-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:55:52 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:55:53 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [daf501a4-9c11-4b5f-9062-f68d96ccb50b] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [a25b6df4-a034-11e7-ac3c-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:55:58 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:55:58 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [71369ba7-f7ef-42cf-b457-e6976b9af661] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [a5fa359c-a034-11e7-be7a-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:56:04 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:56:05 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [1bbc0b98-2c5f-421b-9e2a-a4b94a3f65bd] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [a998787a-a034-11e7-8b02-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:56:10 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:56:11 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [f139aa12-f13c-4fc9-b3fa-4ae1a1a100d9] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [ad35e24c-a034-11e7-a754-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:56:16 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:56:17 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [64d83ced-29b1-49b9-bde7-65571ac91cdc] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [b0d4371c-a034-11e7-b442-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:56:22 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:56:23 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [4017cd8e-290a-4797-b4db-b50447de9f60] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [b475b95a-a034-11e7-97d4-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:56:28 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:56:29 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [fd93d254-4a2f-41cc-9608-a21eca149c28] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [b817d03a-a034-11e7-ab04-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:56:34 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:56:35 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [598ed741-398d-476d-910f-70bb01b55305] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [bbb7d754-a034-11e7-9a92-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:56:40 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:56:41 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [29b69374-80f9-411f-8396-179dacfb06c2] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [bf5db046-a034-11e7-8b7d-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:56:46 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:56:47 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [2f1a4ca1-246d-4069-a0bd-fb888f55913b] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [c2fcc534-a034-11e7-be71-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:56:52 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:56:54 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [5279ba6c-ace4-42c4-8c89-8cd9188fda78] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [c69a6ed8-a034-11e7-b1cc-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:56:58 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:57:00 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [b20a21fb-1f68-45fc-8840-7baaaf5d55ba] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [ca38f79e-a034-11e7-81d6-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:57:04 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:57:05 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [017ea265-684a-4bd3-98e1-94aab69e1b42] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [cdd70f12-a034-11e7-836a-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:57:11 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:57:12 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [3b199b27-4158-4609-a9eb-4a2d332b4f7f] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [d179af40-a034-11e7-af59-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:57:17 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:57:18 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [5f06113b-8678-4002-9c8a-b19a766a324d] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [d517d45c-a034-11e7-8431-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:57:23 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:57:24 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [7d0c4720-3b90-4902-a7af-622ed7d2ec06] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [d8b5476e-a034-11e7-b9bc-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:57:29 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:57:30 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [1c73a705-676b-4c46-a75d-87e85307e157] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [dc53f21c-a034-11e7-8d8b-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:57:35 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:57:36 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [cb15262e-9992-43ef-bb1a-6cadb0dcb29e] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [dff0f418-a034-11e7-9e74-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:57:41 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:57:42 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [5c7c1873-f9b5-432a-bce3-cf225b2e0c61] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [e3984538-a034-11e7-9147-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:57:47 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:57:48 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [5a152d4c-f774-418f-8eb0-46649d08c28b] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [e73851de-a034-11e7-864e-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:57:53 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:57:54 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [05107788-d3ac-4e51-bdac-0f6806bf7a62] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [ead5eb30-a034-11e7-99f2-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:57:59 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:58:00 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [53423b5d-c5ca-4d11-bb40-1992737ef1fc] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [ee746b9e-a034-11e7-9ec5-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:58:05 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:58:07 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [df40a85c-a474-4c44-9363-4e1cf432e52e] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [f2118af0-a034-11e7-95ce-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:58:11 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:58:13 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [73c5e0e2-10bd-426f-b531-b15e03e54231] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [f5afa6a6-a034-11e7-b290-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:58:17 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:58:18 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [be7cdbfb-ad0a-49b0-9932-7b19e7c7e717] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [f9530ce8-a034-11e7-8de3-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:58:23 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:58:25 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [5ed42232-56d6-439a-966c-acb1995c9b32] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [fcf1674c-a034-11e7-a430-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:58:30 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:58:30 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [d3fad2d3-5b70-4adc-977c-e5d0ea7ffd8b] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [00939a1a-a035-11e7-aff2-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:58:36 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:58:37 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [61af4225-ca7e-40d0-85c5-9fcbf56ec6d1] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [0433ed90-a035-11e7-86ff-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:58:42 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:58:43 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [ddfe911f-d8fe-4f5d-9d52-ad931f79855f] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [07de0522-a035-11e7-81a2-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:58:48 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:58:49 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [3f04f7bc-fe19-491c-87ae-d2ea6b663d1c] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [0b81ca08-a035-11e7-b76c-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:58:54 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:58:55 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [89af8c50-0273-4443-a008-0628b1f9efbb] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [0f1fe178-a035-11e7-8864-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:59:00 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:59:01 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [feedf102-676e-4e69-8fb2-aaaeac09a4d3] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [12bfe1a6-a035-11e7-b032-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:59:06 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:59:07 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [cf5bdd04-2929-4360-a028-307ca37c19c4] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [165c6af6-a035-11e7-be45-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:59:12 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:59:13 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [0ff23dfc-06ef-4083-b02c-267505fab2b9] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [19fde2a4-a035-11e7-978d-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:59:18 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:59:20 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [442b12c4-bba2-495d-8258-5bf5475eeb8d] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [1da0e3e8-a035-11e7-ab09-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:59:24 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:59:26 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [6c054cb7-46f3-4a7d-b89a-0148d7eff898] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [213d425e-a035-11e7-a78f-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:59:30 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:59:32 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [a182b3bd-d292-43b6-94fa-19927ce154d3] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [24dd87ae-a035-11e7-8b30-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:59:37 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:59:38 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [ddcbda13-d986-45fb-8f59-ca3798bdba6a] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [287cc7de-a035-11e7-a16f-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:59:43 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:59:44 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [2a11391c-c340-4fc7-b999-630bc368e7d7] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [2c22d6cc-a035-11e7-862c-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:59:49 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:59:50 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [1a0bb93c-ce95-4ea9-a0d9-4b12a19c439b] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [2fc75aba-a035-11e7-88a4-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:59:55 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:59:56 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [7ee9b785-cd1c-4147-961a-dd27a8c23c21] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [33667a1e-a035-11e7-a186-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:00:01 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:00:02 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [fd2ae426-1126-4795-ac57-8b75318e98bf] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [3705ad40-a035-11e7-a51f-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:00:07 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:00:08 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [286826c0-975d-45cf-b53b-877b2ebbe7b1] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [3aa30b4a-a035-11e7-ae05-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:00:13 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:00:14 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [3af9a3ce-09e0-4056-84b3-b42cc86d1991] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [3e428e76-a035-11e7-aa31-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:00:19 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:00:20 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [f1bf74f0-b756-4072-8e3d-70b2c6a79777] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [41e63876-a035-11e7-8522-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:00:25 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:00:26 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [af1f7e21-e05c-45af-9748-3977078ed2a2] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [4585312c-a035-11e7-9677-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:00:31 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:00:33 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [4bb39a25-6ccd-472c-a80d-d715d2451466] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [49266998-a035-11e7-92f6-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:00:37 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:00:39 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [b614d5f6-3940-4645-a808-cdd188e744ab] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [4ccc0c42-a035-11e7-a811-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:00:44 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:00:45 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [86e4a840-ae13-4497-90a1-ab9688eefab2] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [5078af12-a035-11e7-a82a-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:00:50 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:00:51 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [514d97f7-aae7-4caf-ba4e-480c8eaa21d6] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [54196f64-a035-11e7-87a9-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:00:56 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:00:57 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [8f9ccc6b-b22a-4c12-8582-96fb7f560c55] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [57c68a2e-a035-11e7-a5ab-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:01:02 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:01:02 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [efa36afe-53d8-4dfc-b7ac-b2f39863ae7f] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [5b645300-a035-11e7-8fb6-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:01:08 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:01:09 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [d29a0ef0-698b-4796-bbee-2cedbc29a393] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [5f071bfe-a035-11e7-a2d6-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:01:14 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:01:15 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [ee927298-6a46-4e7c-8208-41488a1af3af] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [62a49c9a-a035-11e7-bf10-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:01:20 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:01:21 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [a02c1f69-6635-4aa7-a650-5216b7628f09] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [66411a74-a035-11e7-a881-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:01:26 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:01:27 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [224f780b-4384-4d70-b0fb-3607b6ae828a] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [69de6b12-a035-11e7-8196-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:01:32 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:01:33 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [95a0ad1f-83a7-4658-a251-58924aa2a963] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [6d816a34-a035-11e7-933f-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:01:38 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:01:40 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [05a884c3-f7cc-4e93-a795-745e431b9796] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [7126db50-a035-11e7-b7a5-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:01:45 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:01:46 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [b9d605c5-9846-4366-8783-0412e4d894e8] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [74c554c0-a035-11e7-9f16-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:01:51 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:01:52 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [b966d981-b029-4eef-8625-5b77f9f86ad4] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [786aaa3e-a035-11e7-9faf-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:01:57 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:01:58 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [6d16bf56-86b4-4a6e-9b9e-b820c459e8eb] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [7c0e3280-a035-11e7-9fd0-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:02:03 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:02:04 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [9a540224-8be4-4cb4-a1ab-4a0d24a2ec91] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [7face612-a035-11e7-9af3-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:02:09 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:02:10 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [7b4bc60a-ba84-4358-9d5f-8835aecbb0f3] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [834a944a-a035-11e7-9812-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:02:15 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:02:16 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [f65df140-791e-4414-bd85-3e6a454e8da1] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [86e827b6-a035-11e7-b079-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:02:21 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:02:22 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [9c98d70e-8ee8-4c75-9e92-47c5f3f8402c] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [8a87d39e-a035-11e7-8e78-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:02:27 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:02:28 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [c9cfdcab-7075-49ff-bd22-79a50686506b] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [8e29134c-a035-11e7-863d-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:02:33 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:02:34 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [52f12c4b-8ec0-42f3-93c3-c2a882fe3d80] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [91c6c864-a035-11e7-b865-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:02:39 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:02:40 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [7f55d469-4e09-42b5-bbaa-9492f6f932cd] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [956a0d2c-a035-11e7-9fcd-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:02:45 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:02:47 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [88181f6a-fa4a-46e3-a210-bc85f9c96008] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [99112aee-a035-11e7-8dc7-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:02:51 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:02:53 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [dd9375a7-d913-421f-9b4e-588f573f44e5] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [9caead9e-a035-11e7-bd00-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:02:58 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:02:58 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [766be40b-1b0a-4d8f-8644-6ac9fc86d080] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [a05975c0-a035-11e7-83ae-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:03:04 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:03:05 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [e1425d56-7f18-400c-9319-fad308e7a9d8] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [a3f825b4-a035-11e7-baa0-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:03:10 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:03:11 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [e6c09d72-1325-46fd-a6a0-8efa607b25da] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [a79c9a02-a035-11e7-b82b-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:03:16 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:03:17 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [dbaea0f4-eee8-4c73-b1f1-f7a4c7ec40a4] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [ab432adc-a035-11e7-b146-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:03:22 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:03:24 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [19b91746-72c9-4694-8911-3685c2df411e] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [af827698-a035-11e7-aa42-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:03:29 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:03:30 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [a8064916-1aa2-40c0-9c9e-22ce0c0cfff3] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [b321b5d0-a035-11e7-b440-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:03:35 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:03:36 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [ccb5f229-1cc5-4a62-89c5-6e983b24f1fa] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [b6bd5774-a035-11e7-ab7c-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:03:41 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:03:42 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [890a6f89-112f-4f70-a4c3-bba8f092eaba] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [ba5c529a-a035-11e7-abfb-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:03:47 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:03:49 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [83564461-060f-4eb1-a89d-a3bc33391b5c] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [bdfc00b6-a035-11e7-b450-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:03:53 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n {\r\n \"filePattern\"\ - :\"../stdout.txt\",\"destination\":{\r\n \"container\":{\r\n \ - \ \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:03:55 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [af200ac1-401c-4069-a247-1617e2a17bef] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [c19906e2-a035-11e7-9617-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:03:59 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"running\",\"\ - stateTransitionTime\":\"2017-09-23T08:03:57.950478Z\",\"previousState\":\"\ - active\",\"previousStateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"commandLine\":\"cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n\ - \ {\r\n \"filePattern\":\"../stdout.txt\",\"destination\":{\r\n \ - \ \"container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"startTime\":\"\ - 2017-09-23T08:03:57.950478Z\",\"retryCount\":0,\"requeueCount\":0\r\n },\"\ - nodeInfo\":{\r\n \"affinityId\":\"TVM:tvm-57200098_1-20170923t073959z\"\ - ,\"nodeUrl\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes/tvm-57200098_1-20170923t073959z\"\ - ,\"poolId\":\"python_test_pool_4\",\"nodeId\":\"tvm-57200098_1-20170923t073959z\"\ - \r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:04:01 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [5d207fcf-2e1d-40b2-8415-0a61e41d867f] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [c53df9c8-a035-11e7-b7e9-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:04:06 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"running\",\"\ - stateTransitionTime\":\"2017-09-23T08:03:57.950478Z\",\"previousState\":\"\ - active\",\"previousStateTransitionTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"commandLine\":\"cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n\ - \ {\r\n \"filePattern\":\"../stdout.txt\",\"destination\":{\r\n \ - \ \"container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"startTime\":\"\ - 2017-09-23T08:03:57.950478Z\",\"retryCount\":0,\"requeueCount\":0\r\n },\"\ - nodeInfo\":{\r\n \"affinityId\":\"TVM:tvm-57200098_1-20170923t073959z\"\ - ,\"nodeUrl\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes/tvm-57200098_1-20170923t073959z\"\ - ,\"poolId\":\"python_test_pool_4\",\"nodeId\":\"tvm-57200098_1-20170923t073959z\"\ - ,\"taskRootDirectory\":\"workitems\\\\python_test_job_2\\\\job-1\\\\python_task_1\"\ - ,\"taskRootDirectoryUrl\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes/tvm-57200098_1-20170923t073959z/files/workitems/python_test_job_2/job-1/python_task_1\"\ - \r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:04:07 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [74161cd0-ff37-44be-b721-439ace229e28] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [c8e0feae-a035-11e7-b5be-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:04:12 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D502583E09ACBE\",\"creationTime\":\"2017-09-23T07:53:56.3992254Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:56.3992254Z\",\"state\":\"completed\"\ - ,\"stateTransitionTime\":\"2017-09-23T08:04:12.35267Z\",\"previousState\"\ - :\"running\",\"previousStateTransitionTime\":\"2017-09-23T08:03:57.950478Z\"\ - ,\"commandLine\":\"cmd /c \\\"echo hello world\\\"\",\"outputFiles\":[\r\n\ - \ {\r\n \"filePattern\":\"../stdout.txt\",\"destination\":{\r\n \ - \ \"container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/output.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskCompletion\"\r\n }\r\n },{\r\ - \n \"filePattern\":\"../stderr.txt\",\"destination\":{\r\n \"\ - container\":{\r\n \"containerUrl\":\"https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?se=2017-09-23T09%3A53%3A55Z&sp=rwdl&sv=2017-04-17&sr=c&sig=eJO/v2W12c4HobSANeaJ7nzfnzU6KaNVP10bh5BPggk%3D\"\ - ,\"path\":\"taskLogs/error.txt\"\r\n }\r\n },\"uploadOptions\"\ - :{\r\n \"uploadCondition\":\"TaskFailure\"\r\n }\r\n }\r\n\ - \ ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"startTime\":\"\ - 2017-09-23T08:03:57.950478Z\",\"endTime\":\"2017-09-23T08:04:12.35267Z\",\"\ - exitCode\":0,\"result\":\"Success\",\"retryCount\":0,\"requeueCount\":0\r\n\ - \ },\"nodeInfo\":{\r\n \"affinityId\":\"TVM:tvm-57200098_1-20170923t073959z\"\ - ,\"nodeUrl\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes/tvm-57200098_1-20170923t073959z\"\ - ,\"poolId\":\"python_test_pool_4\",\"nodeId\":\"tvm-57200098_1-20170923t073959z\"\ - ,\"taskRootDirectory\":\"workitems\\\\python_test_job_2\\\\job-1\\\\python_task_1\"\ - ,\"taskRootDirectoryUrl\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes/tvm-57200098_1-20170923t073959z/files/workitems/python_test_job_2/job-1/python_task_1\"\ - \r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:04:12 GMT'] - ETag: ['0x8D502583E09ACBE'] - Last-Modified: ['Sat, 23 Sep 2017 07:53:56 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [be7dbe1e-8bd9-44c0-800e-146555a59a44] - status: {code: 200, message: OK} -- request: - body: null - headers: - Connection: [keep-alive] - User-Agent: [Azure-Storage/0.36.0 (Python CPython 3.6.2; Windows 10)] - x-ms-client-request-id: [c98ec636-a035-11e7-a922-6c3be5273719] - x-ms-date: ['Sat, 23 Sep 2017 08:04:13 GMT'] - x-ms-version: ['2017-04-17'] - method: GET - uri: https://batchpythonsdktest3.blob.core.windows.net/batch-sdk-test-outputs?restype=container&comp=list - response: - body: {string: "\uFEFFtaskLogs/output.txtSat,\ - \ 23 Sep 2017 08:04:11 GMT0x8D50259ACD9F61813application/octet-streamoPKjwdzVscrHG/DAPy/xvQ==BlockBlobunlockedavailabletrue"} - headers: - Content-Type: [application/xml] - Date: ['Sat, 23 Sep 2017 08:04:14 GMT'] - Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] - Transfer-Encoding: [chunked] - x-ms-request-id: [b04adb8a-001e-003f-2642-34111c000000] - x-ms-version: ['2017-04-17'] - status: {code: 200, message: OK} -- request: - body: '{"id": "python_task_1", "commandLine": "cmd /c \"echo hello world\""}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['69'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [ca39f166-a035-11e7-8cfc-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:04:14 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_1'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:04:15 GMT'] - ETag: ['0x8D50259AF2B6BCE'] - Last-Modified: ['Sat, 23 Sep 2017 08:04:15 GMT'] - Location: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_1'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [5ae6e113-aa86-4137-ae23-680bbe14e1e0] - status: {code: 201, message: Created} -- 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [cade68de-a035-11e7-a272-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:04:15 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_1/terminate?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - Content-Length: ['0'] - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_1/terminate'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:04:16 GMT'] - ETag: ['0x8D50259AFD69F12'] - Last-Modified: ['Sat, 23 Sep 2017 08:04:16 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - request-id: [e2ae2ac2-0ed3-45a1-9d27-0d1e9ac8b4a2] - status: {code: 204, message: No Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [cb854d88-a035-11e7-9263-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:04:16 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D50259AFD69F12\",\"creationTime\":\"2017-09-23T08:04:15.6996558Z\"\ - ,\"lastModified\":\"2017-09-23T08:04:16.8216338Z\",\"state\":\"completed\"\ - ,\"stateTransitionTime\":\"2017-09-23T08:04:16.8216338Z\",\"previousState\"\ - :\"active\",\"previousStateTransitionTime\":\"2017-09-23T08:04:15.6996558Z\"\ - ,\"commandLine\":\"cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n\ - \ \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n\ - \ },\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":1\r\ - \n },\"executionInfo\":{\r\n \"endTime\":\"2017-09-23T08:04:16.8216338Z\"\ - ,\"failureInfo\":{\r\n \"category\":\"UserError\",\"code\":\"TaskEnded\"\ - ,\"message\":\"Task Was Ended by User Request\"\r\n },\"result\":\"Failure\"\ - ,\"retryCount\":0,\"requeueCount\":0\r\n },\"nodeInfo\":{\r\n \r\n }\r\ - \n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:04:17 GMT'] - ETag: ['0x8D50259AFD69F12'] - Last-Modified: ['Sat, 23 Sep 2017 08:04:16 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [51fa2c02-0633-47fa-9a2c-5c1676e5202c] - 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [cc2ae4d2-a035-11e7-91d2-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:04:17 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_1/reactivate?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - Content-Length: ['0'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:04:19 GMT'] - ETag: ['0x8D50259B14940C1'] - Last-Modified: ['Sat, 23 Sep 2017 08:04:19 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - request-id: [5e54642b-2122-4ffb-b902-ebf0d88c9fbc] - status: {code: 204, message: No Content} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [ccdde906-a035-11e7-9f70-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:04:18 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D50259B14940C1\",\"creationTime\":\"2017-09-23T08:04:15.6996558Z\"\ - ,\"lastModified\":\"2017-09-23T08:04:19.2506049Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T08:04:19.2506049Z\",\"previousState\":\"\ - completed\",\"previousStateTransitionTime\":\"2017-09-23T08:04:16.8216338Z\"\ - ,\"commandLine\":\"cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n\ - \ \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n\ - \ },\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":1\r\ - \n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\":0\r\n \ - \ }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:04:20 GMT'] - ETag: ['0x8D50259B14940C1'] - Last-Modified: ['Sat, 23 Sep 2017 08:04:19 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [a9431ff4-39f8-4ab2-b379-041e5da8bbf6] - status: {code: 200, message: OK} -- request: - body: '{"id": "python_task_bad", "commandLine": "bad command"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['55'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [cd85ca4a-a035-11e7-9b11-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:04:19 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_bad'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:04:21 GMT'] - ETag: ['0x8D50259B27EBC62'] - Last-Modified: ['Sat, 23 Sep 2017 08:04:21 GMT'] - Location: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_bad'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [6d5c2379-160e-4865-be84-8b39443625de] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [ce2ece5e-a035-11e7-ab7d-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:04:21 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_bad?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_bad\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_bad\"\ - ,\"eTag\":\"0x8D50259B27EBC62\",\"creationTime\":\"2017-09-23T08:04:21.2788322Z\"\ - ,\"lastModified\":\"2017-09-23T08:04:21.2788322Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T08:04:21.2788322Z\",\"commandLine\":\"\ - bad command\",\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:04:22 GMT'] - ETag: ['0x8D50259B27EBC62'] - Last-Modified: ['Sat, 23 Sep 2017 08:04:21 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [9b1bab5c-65f5-455b-af57-46adf6d9b429] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [d1ccaf46-a035-11e7-9819-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:04:27 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_bad?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_bad\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_bad\"\ - ,\"eTag\":\"0x8D50259B27EBC62\",\"creationTime\":\"2017-09-23T08:04:21.2788322Z\"\ - ,\"lastModified\":\"2017-09-23T08:04:21.2788322Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T08:04:21.2788322Z\",\"commandLine\":\"\ - bad command\",\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:04:28 GMT'] - ETag: ['0x8D50259B27EBC62'] - Last-Modified: ['Sat, 23 Sep 2017 08:04:21 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [e3878590-ec5a-4b64-89da-6612d6e33aa4] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [d570a6a8-a035-11e7-9154-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:04:33 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_bad?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_bad\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_bad\"\ - ,\"eTag\":\"0x8D50259B27EBC62\",\"creationTime\":\"2017-09-23T08:04:21.2788322Z\"\ - ,\"lastModified\":\"2017-09-23T08:04:21.2788322Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T08:04:21.2788322Z\",\"commandLine\":\"\ - bad command\",\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\"\ - :\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\"\ - :0,\"requeueCount\":0\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:04:34 GMT'] - ETag: ['0x8D50259B27EBC62'] - Last-Modified: ['Sat, 23 Sep 2017 08:04:21 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [0daa3fac-a74b-4949-8be2-0684b924fed4] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [d90e881c-a035-11e7-91c7-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:04:39 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_bad?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_bad\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_bad\"\ - ,\"eTag\":\"0x8D50259B27EBC62\",\"creationTime\":\"2017-09-23T08:04:21.2788322Z\"\ - ,\"lastModified\":\"2017-09-23T08:04:21.2788322Z\",\"state\":\"running\",\"\ - stateTransitionTime\":\"2017-09-23T08:04:34.953092Z\",\"previousState\":\"\ - active\",\"previousStateTransitionTime\":\"2017-09-23T08:04:21.2788322Z\"\ - ,\"commandLine\":\"bad command\",\"userIdentity\":{\r\n \"autoUser\":{\r\ - \n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\ - \n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"retentionTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\n },\"executionInfo\"\ - :{\r\n \"startTime\":\"2017-09-23T08:04:34.953092Z\",\"retryCount\":0,\"\ - requeueCount\":0\r\n },\"nodeInfo\":{\r\n \"affinityId\":\"TVM:tvm-57200098_1-20170923t073959z\"\ - ,\"nodeUrl\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes/tvm-57200098_1-20170923t073959z\"\ - ,\"poolId\":\"python_test_pool_4\",\"nodeId\":\"tvm-57200098_1-20170923t073959z\"\ - ,\"taskRootDirectory\":\"workitems\\\\python_test_job_2\\\\job-1\\\\python_task_bad\"\ - ,\"taskRootDirectoryUrl\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes/tvm-57200098_1-20170923t073959z/files/workitems/python_test_job_2/job-1/python_task_bad\"\ - \r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:04:40 GMT'] - ETag: ['0x8D50259B27EBC62'] - Last-Modified: ['Sat, 23 Sep 2017 08:04:21 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [e1873618-b77a-4824-b67c-2a4c2710d35f] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [dcabaf22-a035-11e7-8f63-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:04:45 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_bad?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_bad\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2/tasks/python_task_bad\"\ - ,\"eTag\":\"0x8D50259B27EBC62\",\"creationTime\":\"2017-09-23T08:04:21.2788322Z\"\ - ,\"lastModified\":\"2017-09-23T08:04:21.2788322Z\",\"state\":\"completed\"\ - ,\"stateTransitionTime\":\"2017-09-23T08:04:41.87344Z\",\"previousState\"\ - :\"running\",\"previousStateTransitionTime\":\"2017-09-23T08:04:34.953092Z\"\ - ,\"commandLine\":\"bad command\",\"userIdentity\":{\r\n \"autoUser\":{\r\ - \n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\ - \n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"retentionTime\"\ - :\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\n },\"executionInfo\"\ - :{\r\n \"startTime\":\"2017-09-23T08:04:34.953092Z\",\"endTime\":\"2017-09-23T08:04:41.87344Z\"\ - ,\"failureInfo\":{\r\n \"category\":\"UserError\",\"code\":\"CommandProgramNotFound\"\ - ,\"message\":\"The specified command program is not found\",\"details\":[\r\ - \n {\r\n \"name\":\"CommandLine\",\"value\":\"bad command\"\ - \r\n },{\r\n \"name\":\"Message\",\"value\":\"The system cannot\ - \ find the file specified.\"\r\n }\r\n ]\r\n },\"result\":\"\ - Failure\",\"retryCount\":0,\"requeueCount\":0\r\n },\"nodeInfo\":{\r\n \ - \ \"affinityId\":\"TVM:tvm-57200098_1-20170923t073959z\",\"nodeUrl\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes/tvm-57200098_1-20170923t073959z\"\ - ,\"poolId\":\"python_test_pool_4\",\"nodeId\":\"tvm-57200098_1-20170923t073959z\"\ - ,\"taskRootDirectory\":\"workitems\\\\python_test_job_2\\\\job-1\\\\python_task_bad\"\ - ,\"taskRootDirectoryUrl\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes/tvm-57200098_1-20170923t073959z/files/workitems/python_test_job_2/job-1/python_task_bad\"\ - \r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:04:46 GMT'] - ETag: ['0x8D50259B27EBC62'] - Last-Modified: ['Sat, 23 Sep 2017 08:04:21 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [ff6ce72c-bdaa-465f-bcf4-443f0687cdfc] - status: {code: 200, message: OK} -- request: - body: '{"id": "python_task_2", "commandLine": "cmd /c \"echo hello world\""}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['69'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [dd4e6a4a-a035-11e7-b80c-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:04:46 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:04:47 GMT'] - ETag: ['0x8D50259C241485F'] - Last-Modified: ['Sat, 23 Sep 2017 08:04:47 GMT'] - Location: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [f7ea2f2d-7167-460d-a779-3e6cc03f77a9] - status: {code: 201, message: Created} -- request: - body: '{"constraints": {"maxTaskRetryCount": 1}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['41'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [ddf140a2-a035-11e7-b07c-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:04:47 GMT'] - method: PUT - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:04:48 GMT'] - ETag: ['0x8D50259C2EC4F68'] - Last-Modified: ['Sat, 23 Sep 2017 08:04:48 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [9d725aac-8495-413b-aa61-2de2ebcfdea2] - status: {code: 200, message: OK} -- request: - body: '{"value": [{"id": "python_task_3", "commandLine": "cmd /c \"echo hello - world\""}, {"id": "python_task_4", "commandLine": "cmd /c \"echo hello world\""}, - {"id": "python_task_5", "commandLine": "cmd /c \"echo hello world\""}]}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['224'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [dea34886-a035-11e7-a6fc-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:04:48 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/addtaskcollection?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#taskaddresult\"\ - ,\"value\":[\r\n {\r\n \"status\":\"Success\",\"taskId\":\"python_task_3\"\ - ,\"eTag\":\"0x8D50259C39C30BB\",\"lastModified\":\"2017-09-23T08:04:49.9931323Z\"\ - ,\"location\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_3\"\ - \r\n },{\r\n \"status\":\"Success\",\"taskId\":\"python_task_5\",\"\ - eTag\":\"0x8D50259C39F1720\",\"lastModified\":\"2017-09-23T08:04:50.0121376Z\"\ - ,\"location\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_5\"\ - \r\n },{\r\n \"status\":\"Success\",\"taskId\":\"python_task_4\",\"\ - eTag\":\"0x8D50259C39FB362\",\"lastModified\":\"2017-09-23T08:04:50.0161378Z\"\ - ,\"location\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_4\"\ - \r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:04:50 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [09acf572-6c28-4ab8-8f9e-a6a6fdaec89f] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [df5169f6-a035-11e7-aaee-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:04:49 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/taskcounts?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#taskcounts/@Element\"\ - ,\"active\":1,\"running\":0,\"completed\":2,\"succeeded\":1,\"failed\":1,\"\ - validationStatus\":\"Validated\"\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:04:51 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [d0f5367a-0e91-4c3b-8c5c-425b8c420e00] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [e0179c12-a035-11e7-ad3b-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:04:51 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks\"\ - ,\"value\":[\r\n {\r\n \"id\":\"python_task_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_1\"\ - ,\"eTag\":\"0x8D50259B14940C1\",\"creationTime\":\"2017-09-23T08:04:15.6996558Z\"\ - ,\"lastModified\":\"2017-09-23T08:04:19.2506049Z\",\"state\":\"completed\"\ - ,\"stateTransitionTime\":\"2017-09-23T08:04:31.275326Z\",\"previousState\"\ - :\"running\",\"previousStateTransitionTime\":\"2017-09-23T08:04:21.872924Z\"\ - ,\"commandLine\":\"cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n\ - \ \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n \ - \ }\r\n },\"constraints\":{\r\n \"maxWallClockTime\":\"\ - P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":1\r\n },\"executionInfo\":{\r\n \"startTime\"\ - :\"2017-09-23T08:04:21.872924Z\",\"endTime\":\"2017-09-23T08:04:31.275326Z\"\ - ,\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0,\"requeueCount\":0\r\ - \n },\"nodeInfo\":{\r\n \"affinityId\":\"TVM:tvm-57200098_1-20170923t073959z\"\ - ,\"nodeUrl\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes/tvm-57200098_1-20170923t073959z\"\ - ,\"poolId\":\"python_test_pool_4\",\"nodeId\":\"tvm-57200098_1-20170923t073959z\"\ - ,\"taskRootDirectory\":\"workitems\\\\python_test_job\\\\job-1\\\\python_task_1\"\ - ,\"taskRootDirectoryUrl\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes/tvm-57200098_1-20170923t073959z/files/workitems/python_test_job/job-1/python_task_1\"\ - \r\n }\r\n },{\r\n \"id\":\"python_task_2\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2\"\ - ,\"eTag\":\"0x8D50259C2EC4F68\",\"creationTime\":\"2017-09-23T08:04:47.7196383Z\"\ - ,\"lastModified\":\"2017-09-23T08:04:48.840484Z\",\"state\":\"running\",\"\ - stateTransitionTime\":\"2017-09-23T08:04:50.96756Z\",\"previousState\":\"\ - active\",\"previousStateTransitionTime\":\"2017-09-23T08:04:47.7196383Z\"\ - ,\"commandLine\":\"cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n\ - \ \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n \ - \ }\r\n },\"constraints\":{\r\n \"maxWallClockTime\":\"\ - P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"maxTaskRetryCount\":1\r\n },\"executionInfo\":{\r\n \"startTime\"\ - :\"2017-09-23T08:04:50.96756Z\",\"retryCount\":0,\"requeueCount\":0\r\n \ - \ },\"nodeInfo\":{\r\n \"affinityId\":\"TVM:tvm-57200098_1-20170923t073959z\"\ - ,\"nodeUrl\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes/tvm-57200098_1-20170923t073959z\"\ - ,\"poolId\":\"python_test_pool_4\",\"nodeId\":\"tvm-57200098_1-20170923t073959z\"\ - \r\n }\r\n },{\r\n \"id\":\"python_task_3\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_3\"\ - ,\"eTag\":\"0x8D50259C39C30BB\",\"creationTime\":\"2017-09-23T08:04:49.9931323Z\"\ - ,\"lastModified\":\"2017-09-23T08:04:49.9931323Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T08:04:49.9931323Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n \"autoUser\"\ - :{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"\ - constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":1\r\ - \n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\"\ - :0\r\n }\r\n },{\r\n \"id\":\"python_task_4\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_4\"\ - ,\"eTag\":\"0x8D50259C39FB362\",\"creationTime\":\"2017-09-23T08:04:50.0161378Z\"\ - ,\"lastModified\":\"2017-09-23T08:04:50.0161378Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T08:04:50.0161378Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n \"autoUser\"\ - :{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"\ - constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":1\r\ - \n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\"\ - :0\r\n }\r\n },{\r\n \"id\":\"python_task_5\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_5\"\ - ,\"eTag\":\"0x8D50259C39F1720\",\"creationTime\":\"2017-09-23T08:04:50.0121376Z\"\ - ,\"lastModified\":\"2017-09-23T08:04:50.0121376Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T08:04:50.0121376Z\",\"commandLine\":\"\ - cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n \"autoUser\"\ - :{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"\ - constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":1\r\ - \n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\"\ - :0\r\n }\r\n },{\r\n \"id\":\"python_task_containers\",\"url\"\ - :\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_containers\"\ - ,\"eTag\":\"0x8D502583ADB653A\",\"creationTime\":\"2017-09-23T07:53:51.0627642Z\"\ - ,\"lastModified\":\"2017-09-23T07:53:51.0627642Z\",\"state\":\"completed\"\ - ,\"stateTransitionTime\":\"2017-09-23T07:54:25.536148Z\",\"previousState\"\ - :\"running\",\"previousStateTransitionTime\":\"2017-09-23T07:54:24.992188Z\"\ - ,\"commandLine\":\"cat /etc/centos-release\",\"containerSettings\":{\r\n \ - \ \"imageName\":\"centos\"\r\n },\"userIdentity\":{\r\n \ - \ \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\ - \n },\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":1\r\ - \n },\"executionInfo\":{\r\n \"startTime\":\"2017-09-23T07:54:24.992188Z\"\ - ,\"endTime\":\"2017-09-23T07:54:25.536148Z\",\"failureInfo\":{\r\n \ - \ \"category\":\"UserError\",\"code\":\"ContainerPoolNotSupported\",\"message\"\ - :\"The compute node does not support container feature\"\r\n },\"result\"\ - :\"Failure\",\"retryCount\":0,\"requeueCount\":0\r\n },\"nodeInfo\":{\r\ - \n \"affinityId\":\"TVM:tvm-57200098_1-20170923t073959z\",\"nodeUrl\"\ - :\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes/tvm-57200098_1-20170923t073959z\"\ - ,\"poolId\":\"python_test_pool_4\",\"nodeId\":\"tvm-57200098_1-20170923t073959z\"\ - \r\n }\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:04:52 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [8d42db99-10d2-4fe5-a7ca-203f71f2dfcf] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [e0bd7f58-a035-11e7-b05c-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:04:52 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#tasks/@Element\"\ - ,\"id\":\"python_task_2\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2\"\ - ,\"eTag\":\"0x8D50259C2EC4F68\",\"creationTime\":\"2017-09-23T08:04:47.7196383Z\"\ - ,\"lastModified\":\"2017-09-23T08:04:48.840484Z\",\"state\":\"running\",\"\ - stateTransitionTime\":\"2017-09-23T08:04:50.96756Z\",\"previousState\":\"\ - active\",\"previousStateTransitionTime\":\"2017-09-23T08:04:47.7196383Z\"\ - ,\"commandLine\":\"cmd /c \\\"echo hello world\\\"\",\"userIdentity\":{\r\n\ - \ \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n\ - \ },\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\"\ - ,\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":1\r\ - \n },\"executionInfo\":{\r\n \"startTime\":\"2017-09-23T08:04:50.96756Z\"\ - ,\"retryCount\":0,\"requeueCount\":0\r\n },\"nodeInfo\":{\r\n \"affinityId\"\ - :\"TVM:tvm-57200098_1-20170923t073959z\",\"nodeUrl\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4/nodes/tvm-57200098_1-20170923t073959z\"\ - ,\"poolId\":\"python_test_pool_4\",\"nodeId\":\"tvm-57200098_1-20170923t073959z\"\ - \r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:04:52 GMT'] - ETag: ['0x8D50259C2EC4F68'] - Last-Modified: ['Sat, 23 Sep 2017 08:04:48 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [9a3829b0-880e-47ca-b9f6-208e42de1f3b] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [e15f1c70-a035-11e7-b5ac-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:04:53 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2/subtasksinfo?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#subtaskinfo\"\ - ,\"value\":[\r\n \r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:04:54 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [cdf6ac46-1bcc-4e95-82bd-e8ab663a1cba] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [f3e94728-a035-11e7-a3e5-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:05:24 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2/files?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#files\"\ - ,\"value\":[\r\n {\r\n \"name\":\"stdout.txt\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2/files/stdout.txt\"\ - ,\"isDirectory\":false,\"properties\":{\r\n \"creationTime\":\"2017-09-23T08:04:54.348763Z\"\ - ,\"lastModified\":\"2017-09-23T08:04:58.54234Z\",\"contentLength\":\"13\"\ - ,\"contentType\":\"text/plain\"\r\n }\r\n },{\r\n \"name\":\"\ - wd\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2/files/wd\"\ - ,\"isDirectory\":true\r\n },{\r\n \"name\":\"stderr.txt\",\"url\"\ - :\"https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2/files/stderr.txt\"\ - ,\"isDirectory\":false,\"properties\":{\r\n \"creationTime\":\"2017-09-23T08:04:54.348763Z\"\ - ,\"lastModified\":\"2017-09-23T08:04:54.348763Z\",\"contentLength\":\"0\"\ - ,\"contentType\":\"text/plain\"\r\n }\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:05:26 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [87d2cdad-c2a2-4d01-a9dd-bc27f1dda20b] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [f5432200-a035-11e7-a728-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:05:26 GMT'] - method: HEAD - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2/files/stdout.txt?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - Content-Length: ['13'] - Content-Type: [text/plain] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:05:28 GMT'] - Last-Modified: ['Sat, 23 Sep 2017 08:04:58 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - ocp-batch-file-isdirectory: ['False'] - ocp-batch-file-url: [https%3A%2F%2Fpythonsdktest3.brazilsouth.batch.azure.com%2Fjobs%2Fpython_test_job%2Ftasks%2Fpython_task_2%2Ffiles%2Fstdout.txt] - ocp-creation-time: ['Sat, 23 Sep 2017 08:04:54 GMT'] - request-id: [126033eb-9df6-438d-a470-beb614b499dd] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [f681ea1e-a035-11e7-9df5-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:05:28 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2/files/stdout.txt?api-version=2017-09-01.6.0 - response: - body: {string: "hello world\r\n"} - headers: - Content-Type: [text/plain] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:05:33 GMT'] - Last-Modified: ['Sat, 23 Sep 2017 08:04:58 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - ocp-batch-file-isdirectory: ['False'] - ocp-batch-file-url: [https%3A%2F%2Fpythonsdktest3.brazilsouth.batch.azure.com%2Fjobs%2Fpython_test_job%2Ftasks%2Fpython_task_2%2Ffiles%2Fstdout.txt] - ocp-creation-time: ['Sat, 23 Sep 2017 08:04:54 GMT'] - request-id: [0696187e-c501-437a-8e6e-1007069ceadc] - 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [f90e4fec-a035-11e7-8bbd-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:05:33 GMT'] - method: DELETE - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2/files/stdout.txt?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:05:35 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [9f8c82bb-91e6-4dd4-968d-57090a5432e0] - 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [fa7ac262-a035-11e7-9c1d-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:05:35 GMT'] - method: DELETE - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_1?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:05:42 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [bb1419b4-d69c-4565-95f4-d391a7c128a2] - 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [fe79d100-a035-11e7-9701-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:05:42 GMT'] - method: DELETE - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_2?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:05:49 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [02f7c7dc-093e-4a3f-8e08-daf8e1d9b4e4] - 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [02b39e9e-a036-11e7-97be-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:05:49 GMT'] - method: DELETE - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_3?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:05:55 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [9c0ac501-169b-4c67-88c6-7cd42bba4383] - 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [065ffda4-a036-11e7-a96f-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:05:55 GMT'] - method: DELETE - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_4?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:06:02 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [249b01f2-907a-468f-99ca-812ba30b8314] - 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [0a537a0c-a036-11e7-870c-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:06:02 GMT'] - method: DELETE - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_5?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:06:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [1a76d49b-6d55-47f0-a09c-3cfde10899e5] - 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [0e743d7a-a036-11e7-8877-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:06:08 GMT'] - method: DELETE - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/tasks/python_task_containers?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:06:15 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [4c29afe7-cac5-4b1a-a363-b9d06812395f] - 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [12092eb8-a036-11e7-a683-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:06:14 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/terminate?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job/terminate'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:06:16 GMT'] - ETag: ['0x8D50259F6D4EE8E'] - Last-Modified: ['Sat, 23 Sep 2017 08:06:15 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [24ce1388-14c0-4f4b-8ec6-fca821ca94b5] - status: {code: 202, message: Accepted} -- 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [12b3eddc-a036-11e7-b900-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:06:16 GMT'] - method: DELETE - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:06:17 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [06373f53-907c-412b-bf30-43feab6c012a] - status: {code: 202, message: Accepted} -- 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [1360f724-a036-11e7-b921-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:06:17 GMT'] - method: DELETE - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/jobs/python_test_job_2?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:06:18 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [41b32e36-0e4b-4f6d-8a69-c127ddef4f9d] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [140637fa-a036-11e7-a354-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:06:18 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/lifetimejobstats?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#jobstats/@Element\"\ - ,\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/lifetimejobstats\"\ - ,\"startTime\":\"2017-09-22T22:41:45.5128184Z\",\"lastUpdateTime\":\"2017-09-23T07:00:00Z\"\ - ,\"userCPUTime\":\"PT38.366S\",\"kernelCPUTime\":\"PT0S\",\"wallClockTime\"\ - :\"PT38.366S\",\"readIOps\":\"0\",\"writeIOps\":\"0\",\"readIOGiB\":0.0,\"\ - writeIOGiB\":0.0,\"numTaskRetries\":\"0\",\"numSucceededTasks\":\"56\",\"\ - numFailedTasks\":\"0\",\"waitTime\":\"PT2H31M47.137S\"\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:06:19 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [9a44665c-5892-4995-90e7-f7335347ce85] - 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [14d13050-a036-11e7-8054-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 08:06:19 GMT'] - method: DELETE - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 08:06:20 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [9d1e0d68-673f-4700-907a-82ef3438c73c] - status: {code: 202, message: Accepted} -version: 1 diff --git a/azure-mgmt/tests/recordings/test_batch.test_batch_pools.yaml b/azure-mgmt/tests/recordings/test_batch.test_batch_pools.yaml deleted file mode 100644 index 1535f5ff55c3..000000000000 --- a/azure-mgmt/tests/recordings/test_batch.test_batch_pools.yaml +++ /dev/null @@ -1,2315 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [054a24b8-709c-11e7-9e77-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:15:06 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/nodeagentskus?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.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.3\",\"version\":\"latest\"\r\n },{\r\n \"publisher\"\ - :\"OpenLogic\",\"offer\":\"CentOS\",\"sku\":\"7.2\",\"version\":\"latest\"\ - \r\n },{\r\n \"publisher\":\"OpenLogic\",\"offer\":\"CentOS\"\ - ,\"sku\":\"7.1\",\"version\":\"latest\"\r\n },{\r\n \"publisher\"\ - :\"OpenLogic\",\"offer\":\"CentOS\",\"sku\":\"7.0\",\"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.2\",\"version\":\"latest\"\ - \r\n },{\r\n \"publisher\":\"Oracle\",\"offer\":\"Oracle-Linux\"\ - ,\"sku\":\"7.0\",\"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 ],\"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.opensuse 13.2\",\"verifiedImageReferences\":[\r\n\ - \ \r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.opensuse\ - \ 42.1\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\"\ - :\"SUSE\",\"offer\":\"openSUSE-Leap\",\"sku\":\"42.1\",\"version\":\"latest\"\ - \r\n },{\r\n \"publisher\":\"SUSE\",\"offer\":\"SLES\",\"\ - sku\":\"12-SP2\",\"version\":\"latest\"\r\n },{\r\n \"publisher\"\ - :\"SUSE\",\"offer\":\"SLES\",\"sku\":\"12-SP1\",\"version\":\"latest\"\r\n\ - \ },{\r\n \"publisher\":\"SUSE\",\"offer\":\"SLES-HPC\",\"\ - sku\":\"12-SP1\",\"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\":\"Canonical\",\"offer\"\ - :\"UbuntuServer\",\"sku\":\"16.10\",\"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\":\"2012-R2-Datacenter\"\ - ,\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\"\ - ,\"offer\":\"WindowsServer\",\"sku\":\"2012-Datacenter\",\"version\":\"latest\"\ - \r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\"\ - :\"WindowsServer\",\"sku\":\"2008-R2-SP1\",\"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-with-Containers\",\"version\"\ - :\"latest\"\r\n },{\r\n \"publisher\":\"microsoft-ads\",\"\ - offer\":\"standard-data-science-vm\",\"sku\":\"standard-data-science-vm\"\ - ,\"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: ['Mon, 24 Jul 2017 18:15:05 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [23bfe319-6404-40ea-a124-82ae946211db] - status: {code: 200, message: OK} -- request: - body: '{"vmSize": "small", "id": "python_test_pool_1", "userAccounts": [{"password": - "kt#_gahr!@aGERDXA", "name": "test-user-1"}, {"password": "kt#_gahr!@aGERDXA", - "name": "test-user-2", "elevationLevel": "admin"}], "cloudServiceConfiguration": - {"osFamily": "4"}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['256'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [05ef5d30-709c-11e7-9caf-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:15:07 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_1'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:15:07 GMT'] - ETag: ['0x8D4D2BFEA39E3D9'] - Last-Modified: ['Mon, 24 Jul 2017 18:15:07 GMT'] - Location: ['https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_1'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [48209eed-2dd8-4859-a70c-11bf973d1bf9] - status: {code: 201, message: Created} -- request: - body: '{"vmSize": "small", "targetLowPriorityNodes": 2, "id": "python_test_pool_2", - "cloudServiceConfiguration": {"osFamily": "4"}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['124'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [187a4842-709c-11e7-b11f-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:15:38 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_2'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:15:38 GMT'] - ETag: ['0x8D4D2BFFCBE8A79'] - Last-Modified: ['Mon, 24 Jul 2017 18:15:38 GMT'] - Location: ['https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_2'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [52eea42b-2e08-469e-93ea-f37813124c9f] - status: {code: 201, message: Created} -- request: - body: '{"networkConfiguration": {"subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"}, - "vmSize": "small", "id": "no_pool", "cloudServiceConfiguration": {"osFamily": - "4"}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['263'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [2aff0db6-709c-11e7-9760-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:16:09 GMT'] - return-client-request-id: ['false'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools?api-version=2017-06-01.5.1&timeout=45 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\"\ - ,\"code\":\"Forbidden\",\"message\":{\r\n \"lang\":\"en-US\",\"value\"\ - :\"Access is Forbidden\\nRequestId:dcc27dbc-34ce-4143-84c2-8ab508dc8301\\\ - nTime:2017-07-24T18:16:10.0261385Z\"\r\n },\"values\":[\r\n {\r\n \ - \ \"key\":\"Reason\",\"value\":\"Property subnetId with value /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1\ - \ is not enabled for current account\"\r\n }\r\n ]\r\n}"} - headers: - Content-Length: ['585'] - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:16:10 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - request-id: [dcc27dbc-34ce-4143-84c2-8ab508dc8301] - status: {code: 403, message: Access is Forbidden} -- request: - body: '{"virtualMachineConfiguration": {"osDisk": {"imageUris": ["http://image-A", - "http://image-B"]}, "nodeAgentSKUId": "batch.node.ubuntu 16.04"}, "vmSize": - "Standard_A1", "id": "no_pool"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['183'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [2bb60b42-709c-11e7-8adf-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:16:10 GMT'] - return-client-request-id: ['false'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools?api-version=2017-06-01.5.1&timeout=45 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.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:5e0967d3-47cb-4c71-baf1-cf41947e2721\\nTime:2017-07-24T18:16:12.3779240Z\"\ - \r\n },\"values\":[\r\n {\r\n \"key\":\"PropertyName\",\"value\"\ - :\"osDisk\"\r\n },{\r\n \"key\":\"Reason\",\"value\":\"Property osDisk\ - \ is allowed only for Batch accounts created with poolAllocationMode of BatchService\"\ - \r\n }\r\n ]\r\n}"} - headers: - Content-Length: ['604'] - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:16:12 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - request-id: [5e0967d3-47cb-4c71-baf1-cf41947e2721] - status: {code: 400, message: The value provided for one of the properties in the - request body is invalid.} -- request: - body: '{"vmSize": "small", "id": "no_pool", "cloudServiceConfiguration": {"osFamily": - "4"}, "applicationLicenses": ["maya"]}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['117'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [2c55aa50-709c-11e7-a5d9-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:16:11 GMT'] - return-client-request-id: ['false'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools?api-version=2017-06-01.5.1&timeout=45 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\"\ - ,\"code\":\"Forbidden\",\"message\":{\r\n \"lang\":\"en-US\",\"value\"\ - :\"Access is Forbidden\\nRequestId:d5a171b5-47fd-4c9b-b5f1-67ff87119025\\\ - nTime:2017-07-24T18:16:12.7330735Z\"\r\n },\"values\":[\r\n {\r\n \ - \ \"key\":\"Reason\",\"value\":\"Property applicationLicenses is not enabled\ - \ for current account\"\r\n }\r\n ]\r\n}"} - headers: - Content-Length: ['447'] - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:16:12 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - request-id: [d5a171b5-47fd-4c9b-b5f1-67ff87119025] - status: {code: 403, message: Access is Forbidden} -- request: - body: '{"targetOSVersion": "*"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['24'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [2cf418a2-709c-11e7-ab03-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:16:12 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_1/upgradeos?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\"\ - ,\"code\":\"PoolVersionEqualsUpgradeVersion\",\"message\":{\r\n \"lang\"\ - :\"en-US\",\"value\":\"The pool is already with the given version.\\nRequestId:ed25972f-02ea-4643-a5ff-2371ec385b1d\\\ - nTime:2017-07-24T18:16:12.2105338Z\"\r\n }\r\n}"} - headers: - Content-Length: ['367'] - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:16:12 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - request-id: [ed25972f-02ea-4643-a5ff-2371ec385b1d] - status: {code: 400, message: The pool is already with the given version.} -- request: - body: '{"certificateReferences": [], "applicationPackageReferences": [], "metadata": - [{"value": "bar", "name": "foo"}]}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['112'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [2d95ef0c-709c-11e7-832c-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:16:14 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_1/updateproperties?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - Content-Length: ['0'] - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_1/updateproperties'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:16:15 GMT'] - ETag: ['0x8D4D2C011D9A6DB'] - Last-Modified: ['Mon, 24 Jul 2017 18:16:14 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - request-id: [8ee9cd6b-1a30-4390-afa7-cd8c7e205df5] - status: {code: 204, message: No Content} -- request: - body: '{"metadata": [{"value": "bar2", "name": "foo2"}]}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['49'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [2e3580c8-709c-11e7-be6f-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:16:15 GMT'] - method: PATCH - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_1?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_1'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:16:14 GMT'] - ETag: ['0x8D4D2C0127A1294'] - Last-Modified: ['Mon, 24 Jul 2017 18:16:15 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [73e18145-2196-41ae-bac6-c1406993a039] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [2ed4e38a-709c-11e7-968a-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:16:16 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_1?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#pools/@Element\"\ - ,\"id\":\"python_test_pool_1\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_1\"\ - ,\"eTag\":\"0x8D4D2C0127A1294\",\"lastModified\":\"2017-07-24T18:16:15.1626388Z\"\ - ,\"creationTime\":\"2017-07-24T18:15:07.6331481Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:15:07.6331481Z\",\"allocationState\"\ - :\"steady\",\"allocationStateTransitionTime\":\"2017-07-24T18:15:07.7524122Z\"\ - ,\"vmSize\":\"small\",\"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 ],\"metadata\":[\r\n {\r\n \"name\":\"foo2\",\"value\"\ - :\"bar2\"\r\n }\r\n ],\"maxTasksPerNode\":1,\"taskSchedulingPolicy\":{\r\ - \n \"nodeFillType\":\"Spread\"\r\n },\"cloudServiceConfiguration\":{\r\ - \n \"osFamily\":\"4\",\"targetOSVersion\":\"*\",\"currentOSVersion\":\"\ - *\"\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:16:16 GMT'] - ETag: ['0x8D4D2C0127A1294'] - Last-Modified: ['Mon, 24 Jul 2017 18:16:15 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [8b80ad03-01f5-4e6f-8f91-636276f0c827] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [2f7a74f8-709c-11e7-a34b-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:16:17 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_1?api-version=2017-06-01.5.1&$expand=stats&$select=id%2Cstate&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#pools/@Element\"\ - ,\"id\":\"python_test_pool_1\",\"state\":\"active\"\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:16:17 GMT'] - ETag: ['0x8D4D2C0127A1294'] - Last-Modified: ['Mon, 24 Jul 2017 18:16:15 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [b7efe511-df60-48ec-9fe0-f062463148fb] - status: {code: 200, message: OK} -- request: - body: '{"autoScaleEvaluationInterval": "PT6M", "autoScaleFormula": "$TargetDedicatedNodes=2"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['86'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [30188646-709c-11e7-94be-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:16:18 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_1/enableautoscale?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_1/enableautoscale'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:16:19 GMT'] - ETag: ['0x8D4D2C0145CDD8E'] - Last-Modified: ['Mon, 24 Jul 2017 18:16:18 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [64b82e3a-3575-4e40-b4bd-4ff5c4deab5a] - status: {code: 200, message: OK} -- request: - body: '{"autoScaleFormula": "$TargetDedicatedNodes=3"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['47'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [30bd62c8-709c-11e7-bee3-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:16:19 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_1/evaluateautoscale?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.AutoScaleRun\"\ - ,\"timestamp\":\"2017-07-24T18:16:20.7937302Z\",\"results\":\"$TargetDedicatedNodes=3;$TargetLowPriorityNodes=0;$NodeDeallocationOption=requeue\"\ - \r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_1/evaluateautoscale'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:16:20 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [63f2bb20-cb5a-48ae-9907-c4486d037381] - 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [315a3036-709c-11e7-8be8-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:16:20 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_1/disableautoscale?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_1/disableautoscale'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:16:20 GMT'] - ETag: ['0x8D4D2C0159FBD33'] - Last-Modified: ['Mon, 24 Jul 2017 18:16:20 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [f15b9404-a8aa-4145-9a11-c9583263c59e] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [31fbf776-709c-11e7-a623-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:16:21 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#pools\"\ - ,\"value\":[\r\n {\r\n \"id\":\"python_test_pool_1\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_1\"\ - ,\"eTag\":\"0x8D4D2C0159FE43B\",\"lastModified\":\"2017-07-24T18:16:20.4436539Z\"\ - ,\"creationTime\":\"2017-07-24T18:15:07.6331481Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:15:07.6331481Z\",\"allocationState\"\ - :\"stopping\",\"allocationStateTransitionTime\":\"2017-07-24T18:16:20.4436539Z\"\ - ,\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ - :0,\"targetDedicatedNodes\":2,\"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 ],\"metadata\":[\r\n {\r\n \ - \ \"name\":\"foo2\",\"value\":\"bar2\"\r\n }\r\n ],\"maxTasksPerNode\"\ - :1,\"taskSchedulingPolicy\":{\r\n \"nodeFillType\":\"Spread\"\r\n \ - \ },\"cloudServiceConfiguration\":{\r\n \"osFamily\":\"4\",\"targetOSVersion\"\ - :\"*\",\"currentOSVersion\":\"*\"\r\n }\r\n },{\r\n \"id\":\"\ - python_test_pool_2\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_2\"\ - ,\"eTag\":\"0x8D4D2BFFCBE8A79\",\"lastModified\":\"2017-07-24T18:15:38.7014777Z\"\ - ,\"creationTime\":\"2017-07-24T18:15:38.7014777Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:15:38.7014777Z\",\"allocationState\"\ - :\"resizing\",\"allocationStateTransitionTime\":\"2017-07-24T18:15:38.7014777Z\"\ - ,\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ - :0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\"\ - :2,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"maxTasksPerNode\"\ - :1,\"taskSchedulingPolicy\":{\r\n \"nodeFillType\":\"Spread\"\r\n \ - \ },\"cloudServiceConfiguration\":{\r\n \"osFamily\":\"4\",\"targetOSVersion\"\ - :\"*\",\"currentOSVersion\":\"*\"\r\n }\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:16:22 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [356f258a-d43e-4e9e-a5a2-c01c882b7ba6] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [32943a10-709c-11e7-b788-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:16:22 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools?api-version=2017-06-01.5.1&timeout=30&maxresults=1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#pools\"\ - ,\"value\":[\r\n {\r\n \"id\":\"python_test_pool_1\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_1\"\ - ,\"eTag\":\"0x8D4D2C0159FE43B\",\"lastModified\":\"2017-07-24T18:16:20.4436539Z\"\ - ,\"creationTime\":\"2017-07-24T18:15:07.6331481Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:15:07.6331481Z\",\"allocationState\"\ - :\"stopping\",\"allocationStateTransitionTime\":\"2017-07-24T18:16:20.4436539Z\"\ - ,\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ - :0,\"targetDedicatedNodes\":2,\"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 ],\"metadata\":[\r\n {\r\n \ - \ \"name\":\"foo2\",\"value\":\"bar2\"\r\n }\r\n ],\"maxTasksPerNode\"\ - :1,\"taskSchedulingPolicy\":{\r\n \"nodeFillType\":\"Spread\"\r\n \ - \ },\"cloudServiceConfiguration\":{\r\n \"osFamily\":\"4\",\"targetOSVersion\"\ - :\"*\",\"currentOSVersion\":\"*\"\r\n }\r\n }\r\n ],\"odata.nextLink\"\ - :\"https://pythonsdktest.brazilsouth.batch.azure.com/pools?api-version=2017-06-01.5.1&timeout=30&maxresults=1&$skiptoken=WATV2:%5Eca9WbK4/YGDRF2UD1E5/sJTsmOkxo8Rxn03Pp3MUCvWTXUCc4cyhCjneMViirwHJ3dI2UCYYV%5EJGu3tih5WAaz7y0VggUnMZH6nlTduFMc%5Ef/SL8Xblgnbc9FXiKr9UC/CZYPNXcRfiFBQmkHgXmO3ReKqS%5EAwFH3gsA4wLkHf6kc7Ag6Dg%5EVp7J/VkroGW3cALEjGZv9ZvTxTeyHq5Q6dQ7IysyBv8utczHuFYWqKhIusgMZptVSCjOd69QadWyq1hVcYJHyEWK5gpN3CEs/OdO%5ERQka9HjNRMK568pxc=:1$1\"\ - \r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:16:23 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [2223aa75-3d6f-4e61-b945-d460545c59ac] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [332e05ca-709c-11e7-9f57-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:16:23 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools?api-version=2017-06-01.5.1&$select=id%2Cstate&timeout=30&maxresults=1000&$expand=stats&$filter=startswith%28id%2C%27python_test_pool_1%27%29 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#pools\"\ - ,\"value\":[\r\n {\r\n \"id\":\"python_test_pool_1\",\"state\":\"\ - active\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:16:22 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [fb5740ab-b920-418c-b366-acaf0c43cb7a] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [33dd1486-709c-11e7-af59-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:16:24 GMT'] - method: HEAD - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_2?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:16:24 GMT'] - ETag: ['0x8D4D2BFFCBE8A79'] - Last-Modified: ['Mon, 24 Jul 2017 18:15:38 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [dc2fb48a-e5e7-4c5e-b7b1-4942e8ffe9af] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [347e3112-709c-11e7-bd6d-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:16:25 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_2?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#pools/@Element\"\ - ,\"id\":\"python_test_pool_2\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_2\"\ - ,\"eTag\":\"0x8D4D2BFFCBE8A79\",\"lastModified\":\"2017-07-24T18:15:38.7014777Z\"\ - ,\"creationTime\":\"2017-07-24T18:15:38.7014777Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:15:38.7014777Z\",\"allocationState\"\ - :\"resizing\",\"allocationStateTransitionTime\":\"2017-07-24T18:15:38.7014777Z\"\ - ,\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ - :0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\"\ - :2,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"maxTasksPerNode\"\ - :1,\"taskSchedulingPolicy\":{\r\n \"nodeFillType\":\"Spread\"\r\n },\"\ - cloudServiceConfiguration\":{\r\n \"osFamily\":\"4\",\"targetOSVersion\"\ - :\"*\",\"currentOSVersion\":\"*\"\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:16:25 GMT'] - ETag: ['0x8D4D2BFFCBE8A79'] - Last-Modified: ['Mon, 24 Jul 2017 18:15:38 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [31b39e74-b9b0-4bf1-82a0-ca1c89edc416] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [4103337a-709c-11e7-9c2f-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:16:46 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_2?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#pools/@Element\"\ - ,\"id\":\"python_test_pool_2\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_2\"\ - ,\"eTag\":\"0x8D4D2BFFCBE8A79\",\"lastModified\":\"2017-07-24T18:15:38.7014777Z\"\ - ,\"creationTime\":\"2017-07-24T18:15:38.7014777Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:15:38.7014777Z\",\"allocationState\"\ - :\"resizing\",\"allocationStateTransitionTime\":\"2017-07-24T18:15:38.7014777Z\"\ - ,\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ - :0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\"\ - :2,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"maxTasksPerNode\"\ - :1,\"taskSchedulingPolicy\":{\r\n \"nodeFillType\":\"Spread\"\r\n },\"\ - cloudServiceConfiguration\":{\r\n \"osFamily\":\"4\",\"targetOSVersion\"\ - :\"*\",\"currentOSVersion\":\"*\"\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:16:48 GMT'] - ETag: ['0x8D4D2BFFCBE8A79'] - Last-Modified: ['Mon, 24 Jul 2017 18:15:38 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [8cbd929a-7355-4efd-b67b-f5c1a7b701b8] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [4d908af0-709c-11e7-8479-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:17:07 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_2?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#pools/@Element\"\ - ,\"id\":\"python_test_pool_2\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_2\"\ - ,\"eTag\":\"0x8D4D2BFFCBE8A79\",\"lastModified\":\"2017-07-24T18:15:38.7014777Z\"\ - ,\"creationTime\":\"2017-07-24T18:15:38.7014777Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:15:38.7014777Z\",\"allocationState\"\ - :\"steady\",\"allocationStateTransitionTime\":\"2017-07-24T18:16:58.3308985Z\"\ - ,\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ - :0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":2,\"targetLowPriorityNodes\"\ - :2,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"maxTasksPerNode\"\ - :1,\"taskSchedulingPolicy\":{\r\n \"nodeFillType\":\"Spread\"\r\n },\"\ - cloudServiceConfiguration\":{\r\n \"osFamily\":\"4\",\"targetOSVersion\"\ - :\"*\",\"currentOSVersion\":\"*\"\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:17:08 GMT'] - ETag: ['0x8D4D2BFFCBE8A79'] - Last-Modified: ['Mon, 24 Jul 2017 18:15:38 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [49f76cd1-1538-4c53-9224-69ea4a0298dd] - status: {code: 200, message: OK} -- request: - body: '{"targetLowPriorityNodes": 0, "targetDedicatedNodes": 3}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['56'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [4e29dbac-709c-11e7-995d-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:17:08 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_2/resize?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_2/resize'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:17:09 GMT'] - ETag: ['0x8D4D2C032700596'] - Last-Modified: ['Mon, 24 Jul 2017 18:17:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [9a83b034-5911-44f1-a515-54e529f68561] - status: {code: 202, message: Accepted} -- 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [4ece7d38-709c-11e7-aa07-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:17:09 GMT'] - method: POST - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_2/stopresize?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_2/stopresize'] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:17:09 GMT'] - ETag: ['0x8D4D2C0331831CF'] - Last-Modified: ['Mon, 24 Jul 2017 18:17:09 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [72da49c2-ed6b-4ff5-8ad1-b53d1401dce2] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [4f77b8f6-709c-11e7-aa66-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:17:10 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_2?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#pools/@Element\"\ - ,\"id\":\"python_test_pool_2\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_2\"\ - ,\"eTag\":\"0x8D4D2C0331831CF\",\"lastModified\":\"2017-07-24T18:17:09.8859983Z\"\ - ,\"creationTime\":\"2017-07-24T18:15:38.7014777Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:15:38.7014777Z\",\"allocationState\"\ - :\"stopping\",\"allocationStateTransitionTime\":\"2017-07-24T18:17:09.8859983Z\"\ - ,\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ - :0,\"targetDedicatedNodes\":3,\"currentLowPriorityNodes\":2,\"targetLowPriorityNodes\"\ - :0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"maxTasksPerNode\"\ - :1,\"taskSchedulingPolicy\":{\r\n \"nodeFillType\":\"Spread\"\r\n },\"\ - cloudServiceConfiguration\":{\r\n \"osFamily\":\"4\",\"targetOSVersion\"\ - :\"*\",\"currentOSVersion\":\"*\"\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:17:12 GMT'] - ETag: ['0x8D4D2C0331831CF'] - Last-Modified: ['Mon, 24 Jul 2017 18:17:09 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [a4c85294-660e-42c7-a09e-03099f39e567] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [64b64054-709c-11e7-870c-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:17:46 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_2?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#pools/@Element\"\ - ,\"id\":\"python_test_pool_2\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_2\"\ - ,\"eTag\":\"0x8D4D2C0331831CF\",\"lastModified\":\"2017-07-24T18:17:09.8859983Z\"\ - ,\"creationTime\":\"2017-07-24T18:15:38.7014777Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:15:38.7014777Z\",\"allocationState\"\ - :\"stopping\",\"allocationStateTransitionTime\":\"2017-07-24T18:17:09.8859983Z\"\ - ,\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ - :0,\"targetDedicatedNodes\":3,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\"\ - :0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"maxTasksPerNode\"\ - :1,\"taskSchedulingPolicy\":{\r\n \"nodeFillType\":\"Spread\"\r\n },\"\ - cloudServiceConfiguration\":{\r\n \"osFamily\":\"4\",\"targetOSVersion\"\ - :\"*\",\"currentOSVersion\":\"*\"\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:17:48 GMT'] - ETag: ['0x8D4D2C0331831CF'] - Last-Modified: ['Mon, 24 Jul 2017 18:17:09 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [23d11e5c-3f2c-4031-89c0-9030f653e7c3] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [79c77402-709c-11e7-87df-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:18:21 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_2?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#pools/@Element\"\ - ,\"id\":\"python_test_pool_2\",\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_2\"\ - ,\"eTag\":\"0x8D4D2C0331831CF\",\"lastModified\":\"2017-07-24T18:17:09.8859983Z\"\ - ,\"creationTime\":\"2017-07-24T18:15:38.7014777Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-07-24T18:15:38.7014777Z\",\"allocationState\"\ - :\"steady\",\"allocationStateTransitionTime\":\"2017-07-24T18:17:48.4690205Z\"\ - ,\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ - :0,\"targetDedicatedNodes\":3,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\"\ - :0,\"resizeErrors\":[\r\n {\r\n \"code\":\"ResizeStopped\",\"message\"\ - :\"Desired number of dedicated nodes could not be allocated due to a stop\ - \ resize operation\"\r\n }\r\n ],\"enableAutoScale\":false,\"enableInterNodeCommunication\"\ - :false,\"maxTasksPerNode\":1,\"taskSchedulingPolicy\":{\r\n \"nodeFillType\"\ - :\"Spread\"\r\n },\"cloudServiceConfiguration\":{\r\n \"osFamily\":\"\ - 4\",\"targetOSVersion\":\"*\",\"currentOSVersion\":\"*\"\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:18:21 GMT'] - ETag: ['0x8D4D2C0331831CF'] - Last-Modified: ['Mon, 24 Jul 2017 18:17:09 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [59bebb2c-3e9f-45a1-8f7f-2491d384c3c8] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [8790910a-709c-11e7-a04a-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:18:44 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/lifetimepoolstats?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#poolstats/@Element\"\ - ,\"url\":\"https://pythonsdktest.brazilsouth.batch.azure.com/lifetimepoolstats\"\ - ,\"usageStats\":{\r\n \"startTime\":\"2017-07-21T20:07:03.6209399Z\",\"\ - lastUpdateTime\":\"2017-07-24T17:30:00Z\",\"dedicatedCoreTime\":\"PT2H20M51.718S\"\ - \r\n },\"resourceStats\":{\r\n \"startTime\":\"2017-07-21T20:07:03.6209399Z\"\ - ,\"diskReadIOps\":\"107128\",\"diskWriteIOps\":\"114086\",\"lastUpdateTime\"\ - :\"2017-07-24T17:30:00Z\",\"avgCPUPercentage\":1.7616287844765952,\"avgMemoryGiB\"\ - :1.230974636198529,\"peakMemoryGiB\":1.7261924743652344,\"avgDiskGiB\":1.0735083464867106,\"\ - peakDiskGiB\":1.9517402648925781,\"diskReadGiB\":2.17431640625,\"diskWriteGiB\"\ - :2.3532304763793945,\"networkReadGiB\":0.0079978480935096741,\"networkWriteGiB\"\ - :0.0037815384566783905\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:18:44 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [acc4b61e-cef4-46ab-8dfc-25c56a1348ec] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.5.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [885468fa-709c-11e7-82f5-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:18:46 GMT'] - method: GET - uri: https://pythonsdktest.brazilsouth.batch.azure.com/poolusagemetrics?api-version=2017-06-01.5.1 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest.brazilsouth.batch.azure.com/$metadata#poolusagemetrics\"\ - ,\"value\":[\r\n {\r\n \"poolId\":\"python_test_pool_3\",\"startTime\"\ - :\"2017-07-24T15:30:00Z\",\"endTime\":\"2017-07-24T16:00:00Z\",\"vmSize\"\ - :\"small\",\"totalCoreHours\":0.18872857927777775,\"dataIngressGiB\":0.0,\"\ - dataEgressGiB\":0.0\r\n },{\r\n \"poolId\":\"python_test_pool_3\"\ - ,\"startTime\":\"2017-07-24T15:30:00Z\",\"endTime\":\"2017-07-24T16:00:00Z\"\ - ,\"vmSize\":\"small\",\"totalCoreHours\":0.1719947726111111,\"dataIngressGiB\"\ - :0.0,\"dataEgressGiB\":0.0\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:18:46 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [0db011a6-1f16-46c8-87f2-475c26beffeb] - 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [88ffbcd2-709c-11e7-8d41-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:18:47 GMT'] - method: DELETE - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_2?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:18:47 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [13a8b66b-4347-4215-bb4c-2abf6f851ed0] - status: {code: 202, message: Accepted} -- 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.1 (Windows-10-10.0.15063-SP0) requests/2.14.2 msrest/0.4.8 - msrest_azure/0.4.7 batchserviceclient/3.1.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [899fe428-709c-11e7-965c-ecb1d755839a] - ocp-date: ['Mon, 24 Jul 2017 18:18:48 GMT'] - method: DELETE - uri: https://pythonsdktest.brazilsouth.batch.azure.com/pools/python_test_pool_1?api-version=2017-06-01.5.1 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Mon, 24 Jul 2017 18:18:49 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [e6e5422f-4286-43f7-9c80-53ad98216aa3] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [f69f40cc-a02e-11e7-b626-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:15:22 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/nodeagentskus?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.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.3\",\"version\":\"latest\"\r\n },{\r\n \"publisher\"\ - :\"OpenLogic\",\"offer\":\"CentOS-HPC\",\"sku\":\"7.3\",\"version\":\"latest\"\ - \r\n },{\r\n \"publisher\":\"Oracle\",\"offer\":\"Oracle-Linux\"\ - ,\"sku\":\"7.3\",\"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 ],\"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 \"publisher\":\"Credativ\",\"offer\"\ - :\"Debian\",\"sku\":\"8-backports\",\"version\":\"latest\"\r\n }\r\n\ - \ ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.opensuse\ - \ 13.2\",\"verifiedImageReferences\":[\r\n \r\n ],\"osType\":\"\ - linux\"\r\n },{\r\n \"id\":\"batch.node.opensuse 42.1\",\"verifiedImageReferences\"\ - :[\r\n {\r\n \"publisher\":\"SUSE\",\"offer\":\"SLES\",\"\ - sku\":\"12-SP2\",\"version\":\"latest\"\r\n },{\r\n \"publisher\"\ - :\"SUSE\",\"offer\":\"SLES-HPC\",\"sku\":\"12-SP1\",\"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\":\"Canonical\",\"offer\":\"UbuntuServer\",\"sku\":\"17.04\"\ - ,\"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\":\"2012-R2-Datacenter\",\"version\":\"latest\"\r\ - \n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\"\ - :\"WindowsServer\",\"sku\":\"2012-Datacenter\",\"version\":\"latest\"\r\n\ - \ },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\"\ - :\"WindowsServer\",\"sku\":\"2008-R2-SP1\",\"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-with-Containers\",\"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-smalldisk\",\"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-smalldisk\",\"version\"\ - :\"latest\"\r\n },{\r\n \"publisher\":\"microsoft-ads\",\"\ - offer\":\"standard-data-science-vm\",\"sku\":\"standard-data-science-vm\"\ - ,\"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: ['Sat, 23 Sep 2017 07:15:22 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [265a2723-c9c6-4cc2-9fec-38e9173dfd55] - status: {code: 200, message: OK} -- request: - body: '{"id": "python_test_pool_1", "vmSize": "small", "cloudServiceConfiguration": - {"osFamily": "4"}, "userAccounts": [{"name": "test-user-1", "password": "kt#_gahr!@aGERDXA"}, - {"name": "test-user-2", "password": "kt#_gahr!@aGERDXA", "elevationLevel": "admin"}]}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['256'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [f73e8d18-a02e-11e7-81dd-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:15:23 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_1'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:15:24 GMT'] - ETag: ['0x8D50252DC170F86'] - Last-Modified: ['Sat, 23 Sep 2017 07:15:24 GMT'] - Location: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_1'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [2e12914b-1d68-4c18-9058-9afee3b19cfc] - status: {code: 201, message: Created} -- request: - body: '{"id": "python_test_pool_2", "vmSize": "small", "cloudServiceConfiguration": - {"osFamily": "4"}, "targetLowPriorityNodes": 2}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['124'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [09cfbfe8-a02f-11e7-ae7c-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:15:54 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_2'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:15:55 GMT'] - ETag: ['0x8D50252EEA3D4C2'] - Last-Modified: ['Sat, 23 Sep 2017 07:15:55 GMT'] - Location: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_2'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [9ec36411-2966-472f-8e0d-e636d52df636] - status: {code: 201, message: Created} -- request: - body: '{"id": "no_pool", "vmSize": "small", "cloudServiceConfiguration": {"osFamily": - "4"}, "networkConfiguration": {"subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['263'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [1c5b418a-a02f-11e7-aaec-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:16:25 GMT'] - return-client-request-id: ['false'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools?api-version=2017-09-01.6.0&timeout=45 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\"\ - ,\"code\":\"Forbidden\",\"message\":{\r\n \"lang\":\"en-US\",\"value\"\ - :\"Access is Forbidden\\nRequestId:446a07af-479a-4c19-a110-23704f21692f\\\ - nTime:2017-09-23T07:16:28.4129150Z\"\r\n },\"values\":[\r\n {\r\n \ - \ \"key\":\"Reason\",\"value\":\"Property subnetId with value /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1\ - \ is not enabled for current account\"\r\n }\r\n ]\r\n}"} - headers: - Content-Length: ['586'] - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:16:28 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - request-id: [446a07af-479a-4c19-a110-23704f21692f] - status: {code: 403, message: Access is Forbidden} -- request: - body: '{"id": "vmconfig_pool", "vmSize": "Standard_A1", "virtualMachineConfiguration": - {"imageReference": {"virtualMachineImageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test/providers/Microsoft.Compute/images/FakeImage"}, - "nodeAgentSKUId": "batch.node.ubuntu 16.04"}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['291'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [1dd08f34-a02f-11e7-9c15-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:16:28 GMT'] - return-client-request-id: ['false'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools?api-version=2017-09-01.6.0&timeout=45 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.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:6d1cd54d-36a8-4a0b-bd47-d378fab5873c\\nTime:2017-09-23T07:16:29.5722092Z\"\ - \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: ['856'] - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:16:29 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - request-id: [6d1cd54d-36a8-4a0b-bd47-d378fab5873c] - status: {code: 400, message: The value provided for one of the properties in the - request body is invalid.} -- request: - body: '{"id": "osdisk_pool", "vmSize": "standard_a1", "virtualMachineConfiguration": - {"imageReference": {"publisher": "Canonical", "offer": "UbuntuServer", "sku": - "16.04-LTS"}, "osDisk": {"caching": "readWrite"}, "nodeAgentSKUId": "batch.node.ubuntu - 16.04"}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['251'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [1e80307a-a02f-11e7-8efa-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:16:29 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/osdisk_pool'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:16:30 GMT'] - ETag: ['0x8D50253035DED1E'] - Last-Modified: ['Sat, 23 Sep 2017 07:16:30 GMT'] - Location: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/osdisk_pool'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [11b2d179-b023-4e68-ad70-e8de9749325a] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [3116364c-a02f-11e7-b8d7-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:17:00 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/osdisk_pool?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#pools/@Element\"\ - ,\"id\":\"osdisk_pool\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/osdisk_pool\"\ - ,\"eTag\":\"0x8D50253035DED1E\",\"lastModified\":\"2017-09-23T07:16:30.4821534Z\"\ - ,\"creationTime\":\"2017-09-23T07:16:30.4821534Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:16:30.4821534Z\",\"allocationState\"\ - :\"steady\",\"allocationStateTransitionTime\":\"2017-09-23T07:16:30.8511174Z\"\ - ,\"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: ['Sat, 23 Sep 2017 07:17:01 GMT'] - ETag: ['0x8D50253035DED1E'] - Last-Modified: ['Sat, 23 Sep 2017 07:16:30 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [b1ecaa0a-eecf-45aa-871e-f4e5b05f6150] - status: {code: 200, message: OK} -- request: - body: '{"id": "datadisk_pool", "vmSize": "standard_a1", "virtualMachineConfiguration": - {"imageReference": {"publisher": "Canonical", "offer": "UbuntuServer", "sku": - "16.04-LTS"}, "nodeAgentSKUId": "batch.node.ubuntu 16.04", "dataDisks": [{"lun": - 1, "diskSizeGB": 50}]}}' - 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [31b8a6da-a02f-11e7-a792-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:17:01 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/datadisk_pool'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:17:02 GMT'] - ETag: ['0x8D50253168AF192'] - Last-Modified: ['Sat, 23 Sep 2017 07:17:02 GMT'] - Location: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/datadisk_pool'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [72ca273b-1424-4599-9e59-6b5a6c9e50ee] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [4443a052-a02f-11e7-b47b-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:17:32 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/datadisk_pool?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#pools/@Element\"\ - ,\"id\":\"datadisk_pool\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/datadisk_pool\"\ - ,\"eTag\":\"0x8D50253168AF192\",\"lastModified\":\"2017-09-23T07:17:02.6538898Z\"\ - ,\"creationTime\":\"2017-09-23T07:17:02.6538898Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:17:02.6538898Z\",\"allocationState\"\ - :\"steady\",\"allocationStateTransitionTime\":\"2017-09-23T07:17:03.4338559Z\"\ - ,\"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: ['Sat, 23 Sep 2017 07:17:34 GMT'] - ETag: ['0x8D50253168AF192'] - Last-Modified: ['Sat, 23 Sep 2017 07:17:02 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [e1c9a656-cd0f-4751-a427-a78ddf831958] - status: {code: 200, message: OK} -- request: - body: '{"id": "app_licenses_pool", "vmSize": "small", "cloudServiceConfiguration": - {"osFamily": "4"}, "applicationLicenses": ["maya"]}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['127'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [44ec3a86-a02f-11e7-a581-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:17:33 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/app_licenses_pool'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:17:35 GMT'] - ETag: ['0x8D5025329BFA178'] - Last-Modified: ['Sat, 23 Sep 2017 07:17:34 GMT'] - Location: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/app_licenses_pool'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [e6c92360-2436-42ab-bae4-891305563bf8] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [57788018-a02f-11e7-8960-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:18:04 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/app_licenses_pool?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#pools/@Element\"\ - ,\"id\":\"app_licenses_pool\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/app_licenses_pool\"\ - ,\"eTag\":\"0x8D5025329BFA178\",\"lastModified\":\"2017-09-23T07:17:34.8758904Z\"\ - ,\"creationTime\":\"2017-09-23T07:17:34.8758904Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:17:34.8758904Z\",\"allocationState\"\ - :\"steady\",\"allocationStateTransitionTime\":\"2017-09-23T07:17:34.9961723Z\"\ - ,\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ - :0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\"\ - :0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"maxTasksPerNode\"\ - :1,\"taskSchedulingPolicy\":{\r\n \"nodeFillType\":\"Spread\"\r\n },\"\ - cloudServiceConfiguration\":{\r\n \"osFamily\":\"4\",\"targetOSVersion\"\ - :\"*\",\"currentOSVersion\":\"*\"\r\n },\"applicationLicenses\":[\r\n \ - \ \"maya\"\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:18:05 GMT'] - ETag: ['0x8D5025329BFA178'] - Last-Modified: ['Sat, 23 Sep 2017 07:17:34 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [f9dbb033-9c54-4c0d-83df-a202b43a48c0] - status: {code: 200, message: OK} -- request: - body: '{"id": "app_licenses_pool", "url": "https://pythonsdktest3.brazilsouth.batch.azure.com/pools/app_licenses_pool", - "eTag": "0x8D5025329BFA178", "lastModified": "2017-09-23T07:17:34.87589Z", "creationTime": - "2017-09-23T07:17:34.87589Z", "state": "active", "stateTransitionTime": "2017-09-23T07:17:34.87589Z", - "allocationState": "steady", "allocationStateTransitionTime": "2017-09-23T07:17:34.996172Z", - "vmSize": "small", "cloudServiceConfiguration": {"osFamily": "4", "targetOSVersion": - "*"}, "resizeTimeout": "PT15M", "currentDedicatedNodes": 0, "currentLowPriorityNodes": - 0, "targetDedicatedNodes": 0, "targetLowPriorityNodes": 0, "enableAutoScale": - false, "enableInterNodeCommunication": false, "applicationLicenses": ["maya"], - "maxTasksPerNode": 1, "taskSchedulingPolicy": {"nodeFillType": "spread"}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['801'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [581a51ae-a02f-11e7-8d2e-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:18:06 GMT'] - return-client-request-id: ['false'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools?api-version=2017-09-01.6.0&timeout=45 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\"\ - ,\"code\":\"UnsupportedProperty\",\"message\":{\r\n \"lang\":\"en-US\"\ - ,\"value\":\"One of the properties specified in the request body is not supported.\\\ - nRequestId:5732ec8d-b1f3-4a9a-9241-70a64d6fd16b\\nTime:2017-09-23T07:18:07.2490433Z\"\ - \r\n },\"values\":[\r\n {\r\n \"key\":\"PropertyName\",\"value\"\ - :\"url\"\r\n }\r\n ]\r\n}"} - headers: - Content-Length: ['454'] - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:18:07 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - request-id: [5732ec8d-b1f3-4a9a-9241-70a64d6fd16b] - status: {code: 400, message: One of the properties specified in the request body - is not supported.} -- request: - body: '{"targetOSVersion": "*"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['24'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [58b83f9e-a02f-11e7-b2d3-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:18:07 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_1/upgradeos?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\"\ - ,\"code\":\"PoolVersionEqualsUpgradeVersion\",\"message\":{\r\n \"lang\"\ - :\"en-US\",\"value\":\"The pool is already with the given version.\\nRequestId:7b17927a-f40b-4daa-b0b2-663b0a2fad02\\\ - nTime:2017-09-23T07:18:08.1113800Z\"\r\n }\r\n}"} - headers: - Content-Length: ['368'] - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:18:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - request-id: [7b17927a-f40b-4daa-b0b2-663b0a2fad02] - status: {code: 400, message: The pool is already with the given version.} -- request: - body: '{"certificateReferences": [], "applicationPackageReferences": [], "metadata": - [{"name": "foo", "value": "bar"}]}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['112'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [5959f3ee-a02f-11e7-a874-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:18:08 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_1/updateproperties?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - Content-Length: ['0'] - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_1/updateproperties'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:18:09 GMT'] - ETag: ['0x8D502533E2BD539'] - Last-Modified: ['Sat, 23 Sep 2017 07:18:09 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - X-Content-Type-Options: [nosniff] - request-id: [3c339596-14c6-4c16-8863-bcd7bcf3ad0d] - status: {code: 204, message: No Content} -- request: - body: '{"metadata": [{"name": "foo2", "value": "bar2"}]}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['49'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [59ff657e-a02f-11e7-9861-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:18:09 GMT'] - method: PATCH - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_1?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_1'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:18:10 GMT'] - ETag: ['0x8D502533EED7918'] - Last-Modified: ['Sat, 23 Sep 2017 07:18:10 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [a2c1979e-574d-49bd-9505-126d96023b51] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [5ac993b0-a02f-11e7-93ec-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:18:10 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_1?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#pools/@Element\"\ - ,\"id\":\"python_test_pool_1\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_1\"\ - ,\"eTag\":\"0x8D502533EED7918\",\"lastModified\":\"2017-09-23T07:18:10.408476Z\"\ - ,\"creationTime\":\"2017-09-23T07:15:24.5865862Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:15:24.5865862Z\",\"allocationState\"\ - :\"steady\",\"allocationStateTransitionTime\":\"2017-09-23T07:15:24.7285705Z\"\ - ,\"vmSize\":\"small\",\"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 ],\"metadata\":[\r\n {\r\n \"name\":\"foo2\",\"value\"\ - :\"bar2\"\r\n }\r\n ],\"maxTasksPerNode\":1,\"taskSchedulingPolicy\":{\r\ - \n \"nodeFillType\":\"Spread\"\r\n },\"cloudServiceConfiguration\":{\r\ - \n \"osFamily\":\"4\",\"targetOSVersion\":\"*\",\"currentOSVersion\":\"\ - *\"\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:18:11 GMT'] - ETag: ['0x8D502533EED7918'] - Last-Modified: ['Sat, 23 Sep 2017 07:18:10 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [7c8e6c4b-822d-41d8-b2cf-bf3c1889974a] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [5b8cbd1a-a02f-11e7-bb16-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:18:11 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_1?api-version=2017-09-01.6.0&$select=id%2Cstate&$expand=stats&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#pools/@Element\"\ - ,\"id\":\"python_test_pool_1\",\"state\":\"active\"\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:18:12 GMT'] - ETag: ['0x8D502533EED7918'] - Last-Modified: ['Sat, 23 Sep 2017 07:18:10 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [c2f43412-65fd-4645-9753-f574587068a7] - status: {code: 200, message: OK} -- request: - body: '{"autoScaleFormula": "$TargetDedicatedNodes=2", "autoScaleEvaluationInterval": - "PT6M"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['86'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [5c2f473e-a02f-11e7-a39f-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:18:12 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_1/enableautoscale?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_1/enableautoscale'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:18:13 GMT'] - ETag: ['0x8D5025341031D80'] - Last-Modified: ['Sat, 23 Sep 2017 07:18:13 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [3fc6b2b4-9242-4f64-8890-54bfa71ffe4d] - status: {code: 200, message: OK} -- request: - body: '{"autoScaleFormula": "$TargetDedicatedNodes=3"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['47'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [5cdfd0a2-a02f-11e7-9b37-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:18:14 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_1/evaluateautoscale?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.AutoScaleRun\"\ - ,\"timestamp\":\"2017-09-23T07:18:15.2854317Z\",\"results\":\"$TargetDedicatedNodes=3;$TargetLowPriorityNodes=0;$NodeDeallocationOption=requeue\"\ - \r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_1/evaluateautoscale'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:18:15 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [d0d65a54-3e99-457f-b6f2-ce218d02a618] - 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [5d83f8da-a02f-11e7-b3b2-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:18:15 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_1/disableautoscale?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_1/disableautoscale'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:18:16 GMT'] - ETag: ['0x8D502534255303B'] - Last-Modified: ['Sat, 23 Sep 2017 07:18:16 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [c8a10831-5aa3-44d6-a86d-642831072587] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [5e2aa176-a02f-11e7-ae96-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:18:16 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#pools\"\ - ,\"value\":[\r\n {\r\n \"id\":\"app_licenses_pool\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/app_licenses_pool\"\ - ,\"eTag\":\"0x8D5025329BFA178\",\"lastModified\":\"2017-09-23T07:17:34.8758904Z\"\ - ,\"creationTime\":\"2017-09-23T07:17:34.8758904Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:17:34.8758904Z\",\"allocationState\"\ - :\"steady\",\"allocationStateTransitionTime\":\"2017-09-23T07:17:34.9961723Z\"\ - ,\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ - :0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\"\ - :0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"maxTasksPerNode\"\ - :1,\"taskSchedulingPolicy\":{\r\n \"nodeFillType\":\"Spread\"\r\n \ - \ },\"cloudServiceConfiguration\":{\r\n \"osFamily\":\"4\",\"targetOSVersion\"\ - :\"*\",\"currentOSVersion\":\"*\"\r\n },\"applicationLicenses\":[\r\n\ - \ \"maya\"\r\n ]\r\n },{\r\n \"id\":\"datadisk_pool\"\ - ,\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/datadisk_pool\"\ - ,\"eTag\":\"0x8D50253168AF192\",\"lastModified\":\"2017-09-23T07:17:02.6538898Z\"\ - ,\"creationTime\":\"2017-09-23T07:17:02.6538898Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:17:02.6538898Z\",\"allocationState\"\ - :\"steady\",\"allocationStateTransitionTime\":\"2017-09-23T07:17:03.4338559Z\"\ - ,\"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\":\"osdisk_pool\"\ - ,\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/osdisk_pool\"\ - ,\"eTag\":\"0x8D50253035DED1E\",\"lastModified\":\"2017-09-23T07:16:30.4821534Z\"\ - ,\"creationTime\":\"2017-09-23T07:16:30.4821534Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:16:30.4821534Z\",\"allocationState\"\ - :\"steady\",\"allocationStateTransitionTime\":\"2017-09-23T07:16:30.8511174Z\"\ - ,\"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 \"id\":\"python_test_pool_1\",\"\ - url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_1\"\ - ,\"eTag\":\"0x8D502534255303B\",\"lastModified\":\"2017-09-23T07:18:16.1213499Z\"\ - ,\"creationTime\":\"2017-09-23T07:15:24.5865862Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:15:24.5865862Z\",\"allocationState\"\ - :\"stopping\",\"allocationStateTransitionTime\":\"2017-09-23T07:18:16.1213499Z\"\ - ,\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ - :0,\"targetDedicatedNodes\":2,\"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 ],\"metadata\":[\r\n {\r\n \ - \ \"name\":\"foo2\",\"value\":\"bar2\"\r\n }\r\n ],\"maxTasksPerNode\"\ - :1,\"taskSchedulingPolicy\":{\r\n \"nodeFillType\":\"Spread\"\r\n \ - \ },\"cloudServiceConfiguration\":{\r\n \"osFamily\":\"4\",\"targetOSVersion\"\ - :\"*\",\"currentOSVersion\":\"*\"\r\n }\r\n },{\r\n \"id\":\"\ - python_test_pool_2\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_2\"\ - ,\"eTag\":\"0x8D50252EEA3D4C2\",\"lastModified\":\"2017-09-23T07:15:55.7081282Z\"\ - ,\"creationTime\":\"2017-09-23T07:15:55.7081282Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:15:55.7081282Z\",\"allocationState\"\ - :\"steady\",\"allocationStateTransitionTime\":\"2017-09-23T07:17:30.8258871Z\"\ - ,\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ - :0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":2,\"targetLowPriorityNodes\"\ - :2,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"maxTasksPerNode\"\ - :1,\"taskSchedulingPolicy\":{\r\n \"nodeFillType\":\"Spread\"\r\n \ - \ },\"cloudServiceConfiguration\":{\r\n \"osFamily\":\"4\",\"targetOSVersion\"\ - :\"*\",\"currentOSVersion\":\"*\"\r\n }\r\n },{\r\n \"id\":\"\ - python_test_pool_3\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_3\"\ - ,\"eTag\":\"0x8D5025200119CA2\",\"lastModified\":\"2017-09-23T07:09:15.452125Z\"\ - ,\"creationTime\":\"2017-09-23T06:59:06.3568353Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T06:59:06.3568353Z\",\"allocationState\"\ - :\"steady\",\"allocationStateTransitionTime\":\"2017-09-23T07:09:41.905641Z\"\ - ,\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ - :0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\"\ - :0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"maxTasksPerNode\"\ - :1,\"taskSchedulingPolicy\":{\r\n \"nodeFillType\":\"Spread\"\r\n \ - \ },\"cloudServiceConfiguration\":{\r\n \"osFamily\":\"4\",\"targetOSVersion\"\ - :\"*\",\"currentOSVersion\":\"*\"\r\n }\r\n },{\r\n \"id\":\"\ - python_test_pool_4\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_4\"\ - ,\"eTag\":\"0x8D50252D96DEC06\",\"lastModified\":\"2017-09-23T07:15:20.1226758Z\"\ - ,\"creationTime\":\"2017-09-23T07:05:21.6390363Z\",\"state\":\"deleting\"\ - ,\"stateTransitionTime\":\"2017-09-23T07:15:20.1226758Z\",\"allocationState\"\ - :\"resizing\",\"allocationStateTransitionTime\":\"2017-09-23T07:15:20.3413629Z\"\ - ,\"vmSize\":\"standard_a1\",\"resizeTimeout\":\"P49DT17H2M47.295S\",\"currentDedicatedNodes\"\ - :1,\"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\"\r\n },\"networkConfiguration\":{\r\n \"endpointConfiguration\"\ - :{\r\n \"inboundNATPools\":[\r\n {\r\n \"\ - name\":\"TestEndpointConfig\",\"protocol\":\"udp\",\"backendPort\":64444,\"\ - frontendPortRangeStart\":60000,\"frontendPortRangeEnd\":61000,\"networkSecurityGroupRules\"\ - :[\r\n {\r\n \"priority\":150,\"access\":\"\ - allow\",\"sourceAddressPrefix\":\"*\"\r\n }\r\n \ - \ ]\r\n }\r\n ]\r\n }\r\n }\r\n },{\r\ - \n \"id\":\"python_test_pool_5\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_5\"\ - ,\"eTag\":\"0x8D5025201BF66E4\",\"lastModified\":\"2017-09-23T07:09:18.2687972Z\"\ - ,\"creationTime\":\"2017-09-23T07:09:18.2687972Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:09:18.2687972Z\",\"allocationState\"\ - :\"steady\",\"allocationStateTransitionTime\":\"2017-09-23T07:10:27.8783778Z\"\ - ,\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ - :2,\"targetDedicatedNodes\":2,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\"\ - :0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"maxTasksPerNode\"\ - :1,\"taskSchedulingPolicy\":{\r\n \"nodeFillType\":\"Spread\"\r\n \ - \ },\"cloudServiceConfiguration\":{\r\n \"osFamily\":\"4\",\"targetOSVersion\"\ - :\"*\",\"currentOSVersion\":\"*\"\r\n }\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:18:17 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [11a4a407-fe17-4449-9873-b2e1fe142ef5] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [5ed49dca-a02f-11e7-8d1c-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:18:17 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools?api-version=2017-09-01.6.0&maxresults=1&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#pools\"\ - ,\"value\":[\r\n {\r\n \"id\":\"app_licenses_pool\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/app_licenses_pool\"\ - ,\"eTag\":\"0x8D5025329BFA178\",\"lastModified\":\"2017-09-23T07:17:34.8758904Z\"\ - ,\"creationTime\":\"2017-09-23T07:17:34.8758904Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:17:34.8758904Z\",\"allocationState\"\ - :\"steady\",\"allocationStateTransitionTime\":\"2017-09-23T07:17:34.9961723Z\"\ - ,\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ - :0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\"\ - :0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"maxTasksPerNode\"\ - :1,\"taskSchedulingPolicy\":{\r\n \"nodeFillType\":\"Spread\"\r\n \ - \ },\"cloudServiceConfiguration\":{\r\n \"osFamily\":\"4\",\"targetOSVersion\"\ - :\"*\",\"currentOSVersion\":\"*\"\r\n },\"applicationLicenses\":[\r\n\ - \ \"maya\"\r\n ]\r\n }\r\n ],\"odata.nextLink\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools?api-version=2017-09-01.6.0&maxresults=1&timeout=30&$skiptoken=WATV2:Wu3Pnckl7CJXo5TdmimwiALKcJQchxAVYqy18ynUByCgjbcu2xYO92CIrq1G8tFrLU33Y6tywAw5TD4hnpo2LdN3wTSzhE7MH5FlPp7YSrstLLwJF59HjM3yIpYyHOg97qrfm8QXOwKLgShKBbu6C1FNguPLz0920%5EQr9pJbYDAMx5kkJrUwOWB5DDu8WRlR6XIxOdP9z71XG/Fo1xztRM9vgzzuhw6grGz2xRqN0r9CmDKswfTMjKk25uMOnT0yzEwAdQeyK9X4CnoVIy45fHsAsKLDSmaJJ/tLo55hfoE=:1$1\"\ - \r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:18:18 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [d22d9bb4-9b3d-42a8-82c8-ff24a04964f6] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [5f73deb8-a02f-11e7-9226-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:18:18 GMT'] - return-client-request-id: ['false'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools?api-version=2017-09-01.6.0&$filter=startswith%28id%2C%27python_test_pool_1%27%29&$select=id%2Cstate&$expand=stats&maxresults=1000&timeout=30 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#pools\"\ - ,\"value\":[\r\n {\r\n \"id\":\"python_test_pool_1\",\"state\":\"\ - active\"\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:18:19 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [f6c8ed60-75f2-4283-8c29-7ab2814fffb5] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [60120ad2-a02f-11e7-bf90-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:18:19 GMT'] - method: HEAD - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_2?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:18:20 GMT'] - ETag: ['0x8D50252EEA3D4C2'] - Last-Modified: ['Sat, 23 Sep 2017 07:15:55 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [7bb32de9-c3a8-4b1f-b102-9cf84b51f64c] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [60b8fca4-a02f-11e7-ae73-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:18:20 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_2?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#pools/@Element\"\ - ,\"id\":\"python_test_pool_2\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_2\"\ - ,\"eTag\":\"0x8D50252EEA3D4C2\",\"lastModified\":\"2017-09-23T07:15:55.7081282Z\"\ - ,\"creationTime\":\"2017-09-23T07:15:55.7081282Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:15:55.7081282Z\",\"allocationState\"\ - :\"steady\",\"allocationStateTransitionTime\":\"2017-09-23T07:17:30.8258871Z\"\ - ,\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ - :0,\"targetDedicatedNodes\":0,\"currentLowPriorityNodes\":2,\"targetLowPriorityNodes\"\ - :2,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"maxTasksPerNode\"\ - :1,\"taskSchedulingPolicy\":{\r\n \"nodeFillType\":\"Spread\"\r\n },\"\ - cloudServiceConfiguration\":{\r\n \"osFamily\":\"4\",\"targetOSVersion\"\ - :\"*\",\"currentOSVersion\":\"*\"\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:18:21 GMT'] - ETag: ['0x8D50252EEA3D4C2'] - Last-Modified: ['Sat, 23 Sep 2017 07:15:55 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [4f165af9-3d79-45bb-82d0-03bf6c65bb3e] - status: {code: 200, message: OK} -- request: - body: '{"targetDedicatedNodes": 3, "targetLowPriorityNodes": 0}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['56'] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [615651d2-a02f-11e7-8d8f-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:18:21 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_2/resize?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_2/resize'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:18:21 GMT'] - ETag: ['0x8D502534624B5B2'] - Last-Modified: ['Sat, 23 Sep 2017 07:18:22 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [859554ed-ea48-4f6e-83b1-a7efc30beb6a] - status: {code: 202, message: Accepted} -- 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.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [61f9d192-a02f-11e7-b663-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:18:22 GMT'] - method: POST - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_2/stopresize?api-version=2017-09-01.6.0 - response: - body: {string: ''} - headers: - DataServiceId: ['https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_2/stopresize'] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:18:23 GMT'] - ETag: ['0x8D5025346C713D6'] - Last-Modified: ['Sat, 23 Sep 2017 07:18:23 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [6c1d8d60-a129-44cb-ad5f-87b832924efc] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [629b5b6e-a02f-11e7-9de9-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:18:23 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_2?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#pools/@Element\"\ - ,\"id\":\"python_test_pool_2\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_2\"\ - ,\"eTag\":\"0x8D5025346C713D6\",\"lastModified\":\"2017-09-23T07:18:23.5786198Z\"\ - ,\"creationTime\":\"2017-09-23T07:15:55.7081282Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:15:55.7081282Z\",\"allocationState\"\ - :\"stopping\",\"allocationStateTransitionTime\":\"2017-09-23T07:18:23.5786198Z\"\ - ,\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ - :0,\"targetDedicatedNodes\":3,\"currentLowPriorityNodes\":2,\"targetLowPriorityNodes\"\ - :0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"maxTasksPerNode\"\ - :1,\"taskSchedulingPolicy\":{\r\n \"nodeFillType\":\"Spread\"\r\n },\"\ - cloudServiceConfiguration\":{\r\n \"osFamily\":\"4\",\"targetOSVersion\"\ - :\"*\",\"currentOSVersion\":\"*\"\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:18:25 GMT'] - ETag: ['0x8D5025346C713D6'] - Last-Modified: ['Sat, 23 Sep 2017 07:18:23 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [49e5322f-665f-4cf4-ad69-8d31fe00126e] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [6f2588f4-a02f-11e7-9d8f-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:18:44 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_2?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#pools/@Element\"\ - ,\"id\":\"python_test_pool_2\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_2\"\ - ,\"eTag\":\"0x8D5025346C713D6\",\"lastModified\":\"2017-09-23T07:18:23.5786198Z\"\ - ,\"creationTime\":\"2017-09-23T07:15:55.7081282Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:15:55.7081282Z\",\"allocationState\"\ - :\"stopping\",\"allocationStateTransitionTime\":\"2017-09-23T07:18:23.5786198Z\"\ - ,\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ - :0,\"targetDedicatedNodes\":3,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\"\ - :0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"maxTasksPerNode\"\ - :1,\"taskSchedulingPolicy\":{\r\n \"nodeFillType\":\"Spread\"\r\n },\"\ - cloudServiceConfiguration\":{\r\n \"osFamily\":\"4\",\"targetOSVersion\"\ - :\"*\",\"currentOSVersion\":\"*\"\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:18:45 GMT'] - ETag: ['0x8D5025346C713D6'] - Last-Modified: ['Sat, 23 Sep 2017 07:18:23 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [ed229fc3-6e7e-40c1-ab93-42a3c441a28c] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [7bb8895a-a02f-11e7-8b2b-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:19:05 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_2?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#pools/@Element\"\ - ,\"id\":\"python_test_pool_2\",\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/pools/python_test_pool_2\"\ - ,\"eTag\":\"0x8D5025346C713D6\",\"lastModified\":\"2017-09-23T07:18:23.5786198Z\"\ - ,\"creationTime\":\"2017-09-23T07:15:55.7081282Z\",\"state\":\"active\",\"\ - stateTransitionTime\":\"2017-09-23T07:15:55.7081282Z\",\"allocationState\"\ - :\"steady\",\"allocationStateTransitionTime\":\"2017-09-23T07:19:03.7186397Z\"\ - ,\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\"\ - :0,\"targetDedicatedNodes\":3,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\"\ - :0,\"resizeErrors\":[\r\n {\r\n \"code\":\"ResizeStopped\",\"message\"\ - :\"Desired number of dedicated nodes could not be allocated due to a stop\ - \ resize operation\"\r\n }\r\n ],\"enableAutoScale\":false,\"enableInterNodeCommunication\"\ - :false,\"maxTasksPerNode\":1,\"taskSchedulingPolicy\":{\r\n \"nodeFillType\"\ - :\"Spread\"\r\n },\"cloudServiceConfiguration\":{\r\n \"osFamily\":\"\ - 4\",\"targetOSVersion\":\"*\",\"currentOSVersion\":\"*\"\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:19:06 GMT'] - ETag: ['0x8D5025346C713D6'] - Last-Modified: ['Sat, 23 Sep 2017 07:18:23 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [1ec87238-6872-4f48-a01d-97772f0fb601] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [7c577bda-a02f-11e7-aa71-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:19:06 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/lifetimepoolstats?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#poolstats/@Element\"\ - ,\"url\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/lifetimepoolstats\"\ - ,\"usageStats\":{\r\n \"startTime\":\"2017-09-22T22:41:45.5128184Z\",\"\ - lastUpdateTime\":\"2017-09-23T06:30:00Z\",\"dedicatedCoreTime\":\"PT2H51M57.197S\"\ - \r\n },\"resourceStats\":{\r\n \"startTime\":\"2017-09-22T22:41:45.5128184Z\"\ - ,\"diskReadIOps\":\"514058\",\"diskWriteIOps\":\"438868\",\"lastUpdateTime\"\ - :\"2017-09-23T06:30:00Z\",\"avgCPUPercentage\":1.1119900936595029,\"avgMemoryGiB\"\ - :1.4256713960598537,\"peakMemoryGiB\":1.7262535095214844,\"avgDiskGiB\":1.6409994053217103,\"\ - peakDiskGiB\":2.1982536315917969,\"diskReadGiB\":11.588936805725098,\"diskWriteGiB\"\ - :9.3737239837646484,\"networkReadGiB\":0.038559922948479652,\"networkWriteGiB\"\ - :0.009967360645532608\r\n }\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:19:08 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [19c17c45-3297-4224-93b9-a10ecfe4863e] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; odata=minimalmetadata; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.14 - msrest_azure/0.4.14 batchserviceclient/4.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - client-request-id: [7d195750-a02f-11e7-acc1-6c3be5273719] - ocp-date: ['Sat, 23 Sep 2017 07:19:08 GMT'] - method: GET - uri: https://pythonsdktest3.brazilsouth.batch.azure.com/poolusagemetrics?api-version=2017-09-01.6.0 - response: - body: {string: "{\r\n \"odata.metadata\":\"https://pythonsdktest3.brazilsouth.batch.azure.com/$metadata#poolusagemetrics\"\ - ,\"value\":[\r\n {\r\n \"poolId\":\"python_test_pool_4\",\"startTime\"\ - :\"2017-09-23T01:00:00Z\",\"endTime\":\"2017-09-23T01:30:00Z\",\"vmSize\"\ - :\"standard_a1\",\"totalCoreHours\":0.02281227475,\"dataIngressGiB\":0.0,\"\ - dataEgressGiB\":0.0\r\n },{\r\n \"poolId\":\"python_test_pool_4\"\ - ,\"startTime\":\"2017-09-23T01:00:00Z\",\"endTime\":\"2017-09-23T01:30:00Z\"\ - ,\"vmSize\":\"standard_a1\",\"totalCoreHours\":0.29641277947222222,\"dataIngressGiB\"\ - :0.0,\"dataEgressGiB\":0.0\r\n }\r\n ]\r\n}"} - headers: - Content-Type: [application/json;odata=minimalmetadata] - DataServiceVersion: ['3.0'] - Date: ['Sat, 23 Sep 2017 07:19:09 GMT'] - Server: [Microsoft-HTTPAPI/2.0] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - X-Content-Type-Options: [nosniff] - request-id: [365de851-8100-4992-986e-8888fbada2bb] - status: {code: 200, message: OK} -version: 1 diff --git a/azure-mgmt/tests/test_batch.py b/azure-mgmt/tests/test_batch.py deleted file mode 100644 index 4f41f948ded3..000000000000 --- a/azure-mgmt/tests/test_batch.py +++ /dev/null @@ -1,1496 +0,0 @@ -# coding: utf-8 - -#------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -#-------------------------------------------------------------------------- -import datetime -import io -import json -import logging -import os -import sys -import time -import unittest - -import requests - -from testutils.common_recordingtestcase import ( - RecordingTestCase, - TestMode, -) -from tests.mgmt_testcase import HttpStatusCode, AzureMgmtTestCase -import tests.mgmt_settings_fake as fake_settings -from testutils.common_recordingtestcase import record - -import azure.mgmt.resource -import azure.mgmt.storage -import azure.mgmt.batch -import azure.mgmt.keyvault -import azure.batch as batch -from azure.batch.batch_auth import SharedKeyCredentials -from msrestazure.azure_active_directory import AADTokenCredentials -from azure.common.credentials import ServicePrincipalCredentials - - -AZURE_BATCH_ACCOUNT = 'pythonsdktest3' -AZURE_RESOURCE_GROUP = 'python_batch_sdk_test' -AZURE_LOCATION = 'brazilsouth' -AZURE_STORAGE_ACCOUNT = 'batchpythonsdktest3' -AZURE_KEY_VAULT = 'batchpythonsdktest3' -AZURE_TENANT_ID = 'microsoft.onmicrosoft.com' -OUTPUT_CONTAINER = 'batch-sdk-test-outputs' -EXISTING_RESOURCES = False -CLEAN_UP = True - -LOG = logging.getLogger('batch-python-tests') -LOG.level = logging.WARNING -LOG.addHandler(logging.StreamHandler()) - -def init_tst_mode(working_folder): - try: - path = os.path.join(working_folder, 'testsettings_local.json') - with open(path) as testsettings_local_file: - test_settings = json.load(testsettings_local_file) - return test_settings['mode'] - except: - return TestMode.playback - - -def validate_shared_key_auth(adapter, request, *args, **kwargs): - assert(request.headers['Authorization'].startswith('SharedKey ')) - - -def validate_token_auth(adapter, request, *args, **kwargs): - assert(request.headers['Authorization'].startswith('Bearer ')) - - -def create_mgmt_client(settings, client_class, **kwargs): - client = client_class( - credentials=settings.get_credentials(), - subscription_id=settings.SUBSCRIPTION_ID, - **kwargs - ) - return client - - -def create_resource_group(client): - group = { - 'name': AZURE_RESOURCE_GROUP, - 'location': AZURE_LOCATION - } - result_create = client.resource_groups.create_or_update( - AZURE_RESOURCE_GROUP, - group, - ) - return result_create - - -def create_keyvault(client): - result_create = client.vaults.create_or_update( - AZURE_RESOURCE_GROUP, - AZURE_KEY_VAULT, - { - 'location': 'eastus2', - 'properties': { - 'sku': {'name': 'standard'}, - 'tenant_id': "72f988bf-86f1-41af-91ab-2d7cd011db47", - 'enabled_for_deployment': True, - 'enabled_for_disk_encryption': True, - 'enabled_for_template_deployment': True, - 'access_policies': [ { - 'tenant_id': "72f988bf-86f1-41af-91ab-2d7cd011db47", - 'object_id': "f520d84c-3fd3-4cc8-88d4-2ed25b00d27a", - 'permissions': { - 'keys': ['all'], - 'secrets': ['all'] - } - }] - } - }) - return result_create - - -def create_storage_account(client): - params = { - 'sku': {'name': 'Standard_LRS'}, - 'kind': 'Storage', - 'location': AZURE_LOCATION - } - result_create = client.storage_accounts.create( - AZURE_RESOURCE_GROUP, - AZURE_STORAGE_ACCOUNT, - params, - ) - result_create.result() - - -def create_storage_client(mgmt_client): - import azure.storage.blob as storage - keys = mgmt_client.storage_accounts.list_keys( - AZURE_RESOURCE_GROUP, - AZURE_STORAGE_ACCOUNT) - account_key = keys.keys[0].value - data_client = storage.BlockBlobService(AZURE_STORAGE_ACCOUNT, account_key) - data_client.create_container(OUTPUT_CONTAINER, fail_on_exist=False) - return data_client - - -def create_batch_account(client, settings, live): - if live: - if not EXISTING_RESOURCES: - storage_resource = '/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Storage/storageAccounts/{}'.format( - settings.SUBSCRIPTION_ID, - AZURE_RESOURCE_GROUP, - AZURE_STORAGE_ACCOUNT - ) - batch_account = azure.mgmt.batch.models.BatchAccountCreateParameters( - location=AZURE_LOCATION, - auto_storage=azure.mgmt.batch.models.AutoStorageBaseProperties(storage_resource) - ) - account_setup = client.batch_account.create(AZURE_RESOURCE_GROUP, AZURE_BATCH_ACCOUNT, batch_account) - new_account = account_setup.result() - account_keys = client.batch_account.get_keys(AZURE_RESOURCE_GROUP, AZURE_BATCH_ACCOUNT) - shared_key_creds = SharedKeyCredentials(AZURE_BATCH_ACCOUNT, account_keys.primary) - aad_creds = ServicePrincipalCredentials(settings.BATCH_CLIENT_ID, settings.BATCH_SECRET, - tenant=AZURE_TENANT_ID, - resource='https://batch.core.windows.net/') - else: - shared_key_creds = SharedKeyCredentials(AZURE_BATCH_ACCOUNT, 'ZmFrZV9hY29jdW50X2tleQ==') - aad_creds = AADTokenCredentials(token={'access_token':'faked_token'}) - url = "https://{}.{}.batch.azure.com/".format(AZURE_BATCH_ACCOUNT, AZURE_LOCATION) - sk_client = azure.batch.BatchServiceClient(shared_key_creds, base_url=url) - aad_client = azure.batch.BatchServiceClient(aad_creds, base_url=url) - return (sk_client, aad_client) - - -class BatchMgmtTestCase(RecordingTestCase): - - @classmethod - def setUpClass(cls): - LOG.warning('Starting Batch tests') - LOG.debug("Setting up Batch tests:") - cls.working_folder = os.path.dirname(__file__) - try: - cls.test_mode = init_tst_mode(cls.working_folder) - cls.fake_settings = fake_settings - if TestMode.is_playback(cls.test_mode): - LOG.debug(" running in playback mode") - cls.live = False - cls.settings = cls.fake_settings - else: - LOG.debug(" running in live mode") - import tests.mgmt_settings_real as real_settings - cls.settings = real_settings - cls.live = True - LOG.debug(' creating resource client') - cls.resource_client = create_mgmt_client(cls.settings, - azure.mgmt.resource.resources.ResourceManagementClient - ) - LOG.debug(' creating keyvault client') - cls.keyvault_client = create_mgmt_client(cls.settings, - azure.mgmt.keyvault.KeyVaultManagementClient - ) - LOG.debug(' creating storage client') - cls.storage_client = create_mgmt_client(cls.settings, - azure.mgmt.storage.StorageManagementClient - ) - LOG.debug(' creating batch client') - cls.batch_mgmt_client = create_mgmt_client(cls.settings, - azure.mgmt.batch.BatchManagementClient - ) - if cls.live: - if not EXISTING_RESOURCES: - LOG.debug(' creating resource group') - create_resource_group(cls.resource_client) - LOG.debug(' creating storage') - create_storage_account(cls.storage_client) - LOG.debug(' creating keyvault') - create_keyvault(cls.keyvault_client) - cls.storage_data_client = create_storage_client(cls.storage_client) - else: - cls.storage_data_client = None - LOG.debug(' creating batch account') - cls.batch_client_sk, cls.batch_client_aad = create_batch_account(cls.batch_mgmt_client, cls.settings, cls.live) - except Exception as err: - cls.tearDownClass() - raise AssertionError("Failed to setup Batch Account: {}".format(err)) - LOG.debug(" finished setup") - return super(BatchMgmtTestCase, cls).setUpClass() - - @classmethod - def tearDownClass(cls): - LOG.debug("Tearing down Batch resources:") - if cls.live and CLEAN_UP: - try: - LOG.debug(" deleting Batch account") - deleting = cls.batch_mgmt_client.batch_account.delete( - AZURE_RESOURCE_GROUP, AZURE_BATCH_ACCOUNT) - deleting.wait() - except: pass # This should get deleted with the resource group anyway - try: - LOG.debug(" deleting storage") - cls.storage_client.storage_accounts.delete( - AZURE_RESOURCE_GROUP, AZURE_STORAGE_ACCOUNT) - except: pass - try: - LOG.debug(" deleting resource group") - deleting = cls.resource_client.resource_groups.delete(AZURE_RESOURCE_GROUP) - deleting.wait() - except: pass - LOG.debug(" finished") - LOG.warning("Batch tests complete") - return super(BatchMgmtTestCase, cls).tearDownClass() - - def _scrub(self, val): - if not hasattr(val, 'replace'): - return val - val = super(BatchMgmtTestCase, self)._scrub(val) - real_to_fake_dict = { - self.settings.SUBSCRIPTION_ID: self.fake_settings.SUBSCRIPTION_ID, - } - val = self._scrub_using_dict(val, real_to_fake_dict) - return val - - def _generate_container_sas_token(self): - """Generate a container URL with SAS token.""" - if self.live: - import azure.storage.blob as storage - permission=storage.ContainerPermissions(True, True, True, True) - sas_token = self.storage_data_client.generate_container_shared_access_signature( - OUTPUT_CONTAINER, - permission=permission, - expiry=datetime.datetime.utcnow() + datetime.timedelta(hours=2)) - url = '{}://{}/{}?{}'.format( - self.storage_data_client.protocol, - self.storage_data_client.primary_endpoint, - OUTPUT_CONTAINER, - sas_token) - else: - url = 'test_container_sas' - return url - - def assertBatchError(self, error, message, code, func, *args, **kwargs): - try: - func(*args, **kwargs) - if message not in error: - error[message] = "BatchErrorException expected but not raised" - except batch.models.BatchErrorException as err: - self.assertEqual(error, message, err.error.code, code) - except Exception as err: - if message not in error: - error[message] = "Expected BatchErrorExcption, instead got: {!r}".format(err) - - def assertCloudError(self, error, message, code, func, *args, **kwargs): - try: - func(*args, **kwargs) - if message not in error: - error[message] = "CloudError expected but not raised" - except azure.common.exceptions.CloudError as err: - self.assertTrue(error, message, code in str(err)) - except Exception as err: - if message not in error: - error[message] = "Expected CloudError, instead got: {!r}".format(err) - - def assertRuns(self, error, message, func, *args, **kwargs): - try: - return func(*args, **kwargs) - except Exception as err: - if message not in error: - error[message] = str(err) - - def assertList(self, error, message, func, *args, **kwargs): - response = self.assertRuns(error, message, func, *args, **kwargs) - if response is None: - if message not in error: - error[message] = "Received uniterable response" - return [] - try: - return [r for r in response] - except Exception as err: - if message not in error: - error[message] = str(err) - return [] - - def assertIsNone(self, error, message, obj): - try: - super(BatchMgmtTestCase, self).assertIsNone(obj) - except AssertionError as err: - if message not in error: - error[message] = str(err) - - def assertEqual(self, error, message, first, second, msg = None): - try: - super(BatchMgmtTestCase, self).assertEqual(first, second) - except AssertionError as err: - if message not in error: - error[message] = str(err) - - def assertTrue(self, error, message, expr, msg=None): - try: - super(BatchMgmtTestCase, self).assertTrue(expr, msg) - except AssertionError as err: - if message not in error: - error[message] = str(err) - - def assertSuccess(self, errors): - if errors: - message = "The following errors occurred:\n" - message += "\n".join(["{}: {!r}".format(k, v) for k, v in errors.items()]) - raise AssertionError(message) - - @record - def test_batch_accounts(self): - _e = {} - - _m = "Test List Batch Operations" - LOG.debug(_m) - operations = self.assertList(_e, _m, self.batch_mgmt_client.operations.list) - self.assertEqual(_e, _m, len(operations), 20) - self.assertEqual(_e, _m, operations[0].name, 'Microsoft.Batch/batchAccounts/providers/Microsoft.Insights/diagnosticSettings/read') - self.assertEqual(_e, _m, operations[0].origin, 'system') - self.assertEqual(_e, _m, operations[0].display.provider, 'Microsoft Batch') - self.assertEqual(_e, _m, operations[0].display.operation, 'Read diagnostic setting') - - _m = "Test Get Subscription Quota" - LOG.debug(_m) - quotas = self.assertRuns(_e, _m, self.batch_mgmt_client.location.get_quotas, - AZURE_LOCATION) - self.assertTrue(_e, _m, isinstance(quotas, azure.mgmt.batch.models.BatchLocationQuota)) - if quotas: - self.assertEqual(_e, _m, quotas.account_quota, 1) - - _m = "Test Invalid Account Name" - LOG.debug(_m) - availability = self.assertRuns(_e, _m, self.batch_mgmt_client.location.check_name_availability, - AZURE_LOCATION, "randombatchaccount@5^$g9873495873") - self.assertTrue(_e, _m, isinstance(availability, azure.mgmt.batch.models.CheckNameAvailabilityResult)) - if availability: - self.assertEqual(_e, _m, availability.name_available, False) - self.assertEqual(_e, _m, availability.reason, azure.mgmt.batch.models.NameAvailabilityReason.invalid) - - _m = "Test Unvailable Account Name" - LOG.debug(_m) - availability = self.assertRuns(_e, _m, self.batch_mgmt_client.location.check_name_availability, - AZURE_LOCATION, AZURE_BATCH_ACCOUNT) - self.assertTrue(_e, _m, isinstance(availability, azure.mgmt.batch.models.CheckNameAvailabilityResult)) - if availability: - self.assertEqual(_e, _m, availability.name_available, False) - self.assertEqual(_e, _m, availability.reason, azure.mgmt.batch.models.NameAvailabilityReason.already_exists) - - _m = "Test Available Account Name" - LOG.debug(_m) - availability = self.assertRuns(_e, _m, self.batch_mgmt_client.location.check_name_availability, - 'eastus2', 'batchpythonaccounttest') - self.assertTrue(_e, _m, isinstance(availability, azure.mgmt.batch.models.CheckNameAvailabilityResult)) - if availability: - self.assertTrue(_e, _m, availability.name_available) - - _m = "Test Create BYOS Account" - LOG.debug(_m) - batch_account = azure.mgmt.batch.models.BatchAccountCreateParameters( - location='eastus2', - pool_allocation_mode=azure.mgmt.batch.models.PoolAllocationMode.user_subscription) - try: - creating = self.batch_mgmt_client.batch_account.create( - AZURE_RESOURCE_GROUP, - 'batchpythonaccounttest', - batch_account) - creating.result() - _e[_m] = "Expected CloudError to be raised." - except Exception as error: - # TODO: Figure out why this deserializes to HTTPError rather than CloudError - if hasattr(error.inner_exception, 'error'): - self.assertEqual(_e, _m, error.inner_exception.error, "InvalidRequestBody") - - _m = "Test Create Account with Key Vault Reference" - keyvault_id = "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.KeyVault/vaults/{}".format( - self.settings.SUBSCRIPTION_ID, AZURE_RESOURCE_GROUP, AZURE_KEY_VAULT) - keyvault_url = "https://{}.vault.azure.net/".format(AZURE_KEY_VAULT) - batch_account = azure.mgmt.batch.models.BatchAccountCreateParameters( - location='eastus2', - pool_allocation_mode=azure.mgmt.batch.models.PoolAllocationMode.user_subscription, - key_vault_reference={'id': keyvault_id, 'url': keyvault_url}) - creating = self.assertRuns(_e, _m, self.batch_mgmt_client.batch_account.create, - AZURE_RESOURCE_GROUP, - 'batchpythonaccounttest', - batch_account) - self.assertRuns(_e, _m, creating.result) - - _m = "Test Get Account" - LOG.debug(_m) - account = self.assertRuns(_e, _m, self.batch_mgmt_client.batch_account.get, - AZURE_RESOURCE_GROUP, AZURE_BATCH_ACCOUNT) - self.assertTrue(_e, _m, isinstance(account, azure.mgmt.batch.models.BatchAccount)) - if account: - self.assertEqual(_e, _m, account.dedicated_core_quota, 20) - self.assertEqual(_e, _m, account.low_priority_core_quota, 50) - self.assertEqual(_e, _m, account.pool_quota, 20) - self.assertEqual(_e, _m, account.pool_allocation_mode.value, 'BatchService') - - _m = "Test List Accounts" #TODO: Need to re-record - LOG.debug('TODO: ' + _m) - #accounts = self.assertList(_e, _m, self.batch_mgmt_client.batch_account.list) - #self.assertTrue(_e, _m, len(accounts) > 0) - - _m = "Test List Accounts by Resource Group" - LOG.debug(_m) - accounts = self.assertList(_e, _m, self.batch_mgmt_client.batch_account.list_by_resource_group, - AZURE_RESOURCE_GROUP) - self.assertEqual(_e, _m, len(accounts), 2) - - _m = "Test List Account Keys" - LOG.debug(_m) - keys = self.assertRuns(_e, _m, self.batch_mgmt_client.batch_account.get_keys, - AZURE_RESOURCE_GROUP, AZURE_BATCH_ACCOUNT) - self.assertTrue(_e, _m, isinstance(keys, azure.mgmt.batch.models.BatchAccountKeys)) - secondary = None - if keys: - self.assertEqual(_e, _m, keys.account_name, AZURE_BATCH_ACCOUNT) - secondary = keys.secondary - - _m = "Test Regenerate Account Key" - LOG.debug(_m) - keys = self.assertRuns(_e, _m, self.batch_mgmt_client.batch_account.regenerate_key, - AZURE_RESOURCE_GROUP, AZURE_BATCH_ACCOUNT, 'Secondary') - self.assertTrue(_e, _m, isinstance(keys, azure.mgmt.batch.models.BatchAccountKeys)) - self.assertTrue(_e, _m, keys.secondary != secondary) - - _m = "Test Sync AutoStorage Keys" - LOG.debug(_m) - response = self.assertRuns(_e, _m, self.batch_mgmt_client.batch_account.synchronize_auto_storage_keys, - AZURE_RESOURCE_GROUP, AZURE_BATCH_ACCOUNT) - self.assertIsNone(_e, _m, response) - - _m = "Test Update Account" - LOG.debug(_m) - update_tags = {'Name': 'tagName', 'Value': 'tagValue'} - updated = self.assertRuns(_e, _m, self.batch_mgmt_client.batch_account.update, - AZURE_RESOURCE_GROUP, AZURE_BATCH_ACCOUNT, update_tags) - self.assertTrue(_e, _m, isinstance(updated, azure.mgmt.batch.models.BatchAccount)) - if updated: - self.assertEqual(_e, _m, updated.tags['Name'], 'tagName') - self.assertEqual(_e, _m, updated.tags['Value'], 'tagValue') - - _m = "Test Delete Account" - LOG.debug(_m) - response = self.assertRuns(_e, _m, self.batch_mgmt_client.batch_account.delete, - AZURE_RESOURCE_GROUP, 'batchpythonaccounttest') - self.assertIsNone(_e, _m, response.result()) - - self.assertSuccess(_e) - - @record - def test_batch_applications(self): - _e = {} - _m = "Test Add Application" - LOG.debug(_m) - application = self.assertRuns(_e, _m, self.batch_mgmt_client.application.create, - AZURE_RESOURCE_GROUP, AZURE_BATCH_ACCOUNT, 'my_application_id', - allow_updated=True, display_name='my_application_name') - self.assertTrue(_e, _m, isinstance(application, azure.mgmt.batch.models.Application)) - if application: - self.assertEqual(_e, _m, application.id, 'my_application_id') - self.assertEqual(_e, _m, application.display_name, 'my_application_name') - self.assertEqual(_e, _m, application.allow_updates, True) - - _m = "Test Mgmt Get Application" - LOG.debug(_m) - application = self.assertRuns(_e, _m, self.batch_mgmt_client.application.get, - AZURE_RESOURCE_GROUP, AZURE_BATCH_ACCOUNT, 'my_application_id') - self.assertTrue(_e, _m, isinstance(application, azure.mgmt.batch.models.Application)) - if application: - self.assertEqual(_e, _m, application.id, 'my_application_id') - self.assertEqual(_e, _m, application.display_name, 'my_application_name') - self.assertEqual(_e, _m, application.allow_updates, True) - - _m = "Test Mgmt List Applications" - LOG.debug(_m) - applications = self.assertList(_e, _m, self.batch_mgmt_client.application.list, - AZURE_RESOURCE_GROUP, AZURE_BATCH_ACCOUNT) - self.assertTrue(_e, _m, len(applications) > 0) - - _m = "Test Add Application Package" - LOG.debug(_m) - package_ref = self.assertRuns(_e, _m, self.batch_mgmt_client.application_package.create, - AZURE_RESOURCE_GROUP, AZURE_BATCH_ACCOUNT, 'my_application_id', 'v1.0') - self.assertTrue(_e, _m, isinstance(package_ref, azure.mgmt.batch.models.ApplicationPackage)) - if package_ref: - try: - with io.BytesIO(b'Hello World') as f: - headers = {'x-ms-blob-type': 'BlockBlob'} - upload = requests.put(package_ref.storage_url, headers=headers, data=f.read()) - if not upload: - raise ValueError('Upload failed: {!r}'.format(upload)) - except Exception as err: - _e[_m] = 'Failed to upload test package: {}'.format(err) - - _m = "Test Activate Application Package" - LOG.debug(_m) - response = self.assertRuns(_e, _m, self.batch_mgmt_client.application_package.activate, - AZURE_RESOURCE_GROUP, AZURE_BATCH_ACCOUNT, 'my_application_id', 'v1.0', 'zip') - self.assertIsNone(_e, _m, response) - - _m = "Test Update Application" - LOG.debug(_m) - params = azure.mgmt.batch.models.ApplicationUpdateParameters( - allow_updates=False, - display_name='my_updated_name', - default_version='v1.0' - ) - response = self.assertRuns(_e, _m, self.batch_mgmt_client.application.update, - AZURE_RESOURCE_GROUP, AZURE_BATCH_ACCOUNT, 'my_application_id', params) - self.assertIsNone(_e, _m, response) - - _m = "Test Get Application Package" - LOG.debug(_m) - package_ref = self.assertRuns(_e, _m, self.batch_mgmt_client.application_package.get, - AZURE_RESOURCE_GROUP, AZURE_BATCH_ACCOUNT, 'my_application_id', 'v1.0') - self.assertTrue(_e, _m, isinstance(package_ref, azure.mgmt.batch.models.ApplicationPackage)) - if package_ref: - self.assertEqual(_e, _m, package_ref.id, 'my_application_id') - self.assertEqual(_e, _m, package_ref.version, 'v1.0') - self.assertEqual(_e, _m, package_ref.format, 'zip') - self.assertEqual(_e, _m, package_ref.state, azure.mgmt.batch.models.PackageState.active) - - _m = "Test Service Get Application" - LOG.debug(_m) - application = self.assertRuns(_e, _m, self.batch_client_sk.application.get, 'my_application_id') - self.assertTrue(_e, _m, isinstance(application, batch.models.ApplicationSummary)) - if application: - self.assertEqual(_e, _m, application.id, 'my_application_id') - self.assertEqual(_e, _m, application.display_name, 'my_updated_name') - self.assertEqual(_e, _m, application.versions, ['v1.0']) - - _m = "Test Service List Applications" - LOG.debug(_m) - applications = self.assertList(_e, _m, self.batch_client_sk.application.list) - self.assertTrue(_e, _m, len(applications) > 0) - - _m = "Test Delete Application Package" - LOG.debug(_m) - response = self.assertRuns(_e, _m, self.batch_mgmt_client.application_package.delete, - AZURE_RESOURCE_GROUP, AZURE_BATCH_ACCOUNT, 'my_application_id', 'v1.0') - self.assertIsNone(_e, _m, response) - - _m = "Test Delete Application" - LOG.debug(_m) - response = self.assertRuns(_e, _m, self.batch_mgmt_client.application.delete, - AZURE_RESOURCE_GROUP, AZURE_BATCH_ACCOUNT, 'my_application_id') - self.assertIsNone(_e, _m, response) - self.assertSuccess(_e) - - @record - def test_batch_certificates(self): - _e = {} - _m = "Test Add Certificate" - LOG.debug(_m) - certificate = batch.models.CertificateAddParameter( - thumbprint='cff2ab63c8c955aaf71989efa641b906558d9fb7', - thumbprint_algorithm='sha1', - data='MIIGMQIBAzCCBe0GCSqGSIb3DQEHAaCCBd4EggXaMIIF1jCCA8AGCSqGSIb3DQEHAaCCA7EEggOtMIIDqTCCA6UGCyqGSIb3DQEMCgECoIICtjCCArIwHAYKKoZIhvcNAQwBAzAOBAhyd3xCtln3iQICB9AEggKQhe5P10V9iV1BsDlwWT561Yu2hVq3JT8ae/ebx1ZR/gMApVereDKkS9Zg4vFyssusHebbK5pDpU8vfAqle0TM4m7wGsRj453ZorSPUfMpHvQnAOn+2pEpWdMThU7xvZ6DVpwhDOQk9166z+KnKdHGuJKh4haMT7Rw/6xZ1rsBt2423cwTrQVMQyACrEkianpuujubKltN99qRoFAxhQcnYE2KlYKw7lRcExq6mDSYAyk5xJZ1ZFdLj6MAryZroQit/0g5eyhoNEKwWbi8px5j71pRTf7yjN+deMGQKwbGl+3OgaL1UZ5fCjypbVL60kpIBxLZwIJ7p3jJ+q9pbq9zSdzshPYor5lxyUfXqaso/0/91ayNoBzg4hQGh618PhFI6RMGjwkzhB9xk74iweJ9HQyIHf8yx2RCSI22JuCMitPMWSGvOszhbNx3AEDLuiiAOHg391mprEtKZguOIr9LrJwem/YmcHbwyz5YAbZmiseKPkllfC7dafFfCFEkj6R2oegIsZo0pEKYisAXBqT0g+6/jGwuhlZcBo0f7UIZm88iA3MrJCjlXEgV5OcQdoWj+hq0lKEdnhtCKr03AIfukN6+4vjjarZeW1bs0swq0l3XFf5RHa11otshMS4mpewshB9iO9MuKWpRxuxeng4PlKZ/zuBqmPeUrjJ9454oK35Pq+dghfemt7AUpBH/KycDNIZgfdEWUZrRKBGnc519C+RTqxyt5hWL18nJk4LvSd3QKlJ1iyJxClhhb/NWEzPqNdyA5cxen+2T9bd/EqJ2KzRv5/BPVwTQkHH9W/TZElFyvFfOFIW2+03RKbVGw72Mr/0xKZ+awAnEfoU+SL/2Gj2m6PHkqFX2sOCi/tN9EA4xgdswEwYJKoZIhvcNAQkVMQYEBAEAAAAwXQYJKwYBBAGCNxEBMVAeTgBNAGkAYwByAG8AcwBvAGYAdAAgAFMAdAByAG8AbgBnACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcjBlBgkqhkiG9w0BCRQxWB5WAFAAdgBrAFQAbQBwADoANABjAGUANgAwADQAZABhAC0AMAA2ADgAMQAtADQANAAxADUALQBhADIAYwBhAC0ANQA3ADcAMwAwADgAZQA2AGQAOQBhAGMwggIOBgkqhkiG9w0BBwGgggH/BIIB+zCCAfcwggHzBgsqhkiG9w0BDAoBA6CCAcswggHHBgoqhkiG9w0BCRYBoIIBtwSCAbMwggGvMIIBXaADAgECAhAdka3aTQsIsUphgIXGUmeRMAkGBSsOAwIdBQAwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3kwHhcNMTYwMTAxMDcwMDAwWhcNMTgwMTAxMDcwMDAwWjASMRAwDgYDVQQDEwdub2Rlc2RrMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC5fhcxbJHxxBEIDzVOMc56s04U6k4GPY7yMR1m+rBGVRiAyV4RjY6U936dqXHCVD36ps2Q0Z+OeEgyCInkIyVeB1EwXcToOcyeS2YcUb0vRWZDouC3tuFdHwiK1Ed5iW/LksmXDotyV7kpqzaPhOFiMtBuMEwNJcPge9k17hRgRQIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAHl2M97QbpzdnwO5HoRBsiEExOcLTNg+GKCr7HUsbzfvrUivw+JLL7qjHAIc5phnK+F5bQ8HKe0L9YXBSKl+fvwxFTATBgkqhkiG9w0BCRUxBgQEAQAAADA7MB8wBwYFKw4DAhoEFGVtyGMqiBd32fGpzlGZQoRM6UQwBBTI0YHFFqTS4Go8CoLgswn29EiuUQICB9A=', - certificate_format=batch.models.CertificateFormat.pfx, - password='nodesdk') - - response = self.assertRuns(_e, _m, self.batch_client_sk.certificate.add, certificate) - self.assertIsNone(_e, _m, response) - - _m = "Test List Certificates" - LOG.debug(_m) - certs = self.assertList(_e, _m, self.batch_client_sk.certificate.list) - self.assertTrue(_e, _m, len(certs) > 0) - - test_cert = [c for c in certs if c.thumbprint == 'cff2ab63c8c955aaf71989efa641b906558d9fb7'] - self.assertEqual(_e, _m, len(test_cert), 1) - - _m = "Test Get Certificate" - LOG.debug(_m) - cert = self.assertRuns(_e, _m, self.batch_client_sk.certificate.get, 'sha1', 'cff2ab63c8c955aaf71989efa641b906558d9fb7') - self.assertTrue(_e, _m, isinstance(cert, batch.models.Certificate)) - if cert: - self.assertEqual(_e, _m, cert.thumbprint, 'cff2ab63c8c955aaf71989efa641b906558d9fb7') - self.assertEqual(_e, _m, cert.thumbprint_algorithm, 'sha1') - self.assertIsNone(_e, _m, cert.delete_certificate_error) - - _m = "Test Cancel Certificate Delete" - LOG.debug(_m) - self.assertBatchError(_e, _m, 'CertificateStateActive', - self.batch_client_sk.certificate.cancel_deletion, - 'sha1', - 'cff2ab63c8c955aaf71989efa641b906558d9fb7') - - _m = "Test Delete Certificate" - LOG.debug(_m) - response = self.assertRuns(_e, _m, self.batch_client_sk.certificate.delete, - 'sha1', - 'cff2ab63c8c955aaf71989efa641b906558d9fb7') - self.assertIsNone(_e, _m, response) - self.assertSuccess(_e) - - @record - def test_batch_pools(self): - _e = {} - - _m = "Test List Node Agent SKUs" - response = self.assertList(_e, _m, self.batch_client_sk.account.list_node_agent_skus) - if response: - self.assertTrue(_e, _m, len(response) > 1) - self.assertEqual(_e, _m, response[-1].id, "batch.node.windows amd64") - self.assertEqual(_e, _m, response[-1].os_type.value, "windows") - self.assertTrue(_e, _m, len(response[-1].verified_image_references) > 1) - - users = [ - {'name': 'test-user-1', 'password': 'kt#_gahr!@aGERDXA'}, - {'name': 'test-user-2', 'password': 'kt#_gahr!@aGERDXA', - 'elevation_level': batch.models.ElevationLevel.admin} - ] - - with BatchPool(self.live, self.batch_client_sk, 'python_test_pool_1', user_accounts=users) as pool_id: - with BatchPool(self.live, self.batch_client_sk, 'python_test_pool_2', - target_low_priority_nodes=2) as pool_id_2: - - _m = "Test Create Pool with Network Configuration" - LOG.debug(_m) - pool_config = batch.models.CloudServiceConfiguration('4') - network_config = batch.models.NetworkConfiguration('/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1') - pool = batch.models.PoolAddParameter('no_pool', 'small', - cloud_service_configuration=pool_config, - network_configuration=network_config) - self.assertBatchError(_e, _m, 'Forbidden', - self.batch_client_sk.pool.add, - pool, batch.models.PoolAddOptions(timeout=45)) - - _m = "Test Create Pool with Custom Image" - LOG.debug(_m) - pool_config = batch.models.VirtualMachineConfiguration( - node_agent_sku_id="batch.node.ubuntu 16.04", - image_reference=batch.models.ImageReference( - virtual_machine_image_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test/providers/Microsoft.Compute/images/FakeImage")) - pool = batch.models.PoolAddParameter( - 'vmconfig_pool', 'Standard_A1', - virtual_machine_configuration=pool_config) - self.assertBatchError(_e, _m, 'InvalidPropertyValue', - self.batch_client_sk.pool.add, - pool, batch.models.PoolAddOptions(timeout=45)) - - _m = "Test Create Pool with OSDisk" - LOG.debug(_m) - pool_config = batch.models.VirtualMachineConfiguration( - node_agent_sku_id="batch.node.ubuntu 16.04", - image_reference=batch.models.ImageReference( - publisher="Canonical", - offer="UbuntuServer", - sku="16.04-LTS"), - os_disk=batch.models.OSDisk( - caching=batch.models.CachingType.read_write)) - with BatchPool(self.live, self.batch_client_sk, - 'osdisk_pool', virtual_machine_configuration=pool_config) as osdisk_pool: - pool = self.assertRuns(_e, _m, self.batch_client_sk.pool.get, osdisk_pool) - self.assertEqual( - _e, _m, pool.virtual_machine_configuration.os_disk.caching, - pool_config.os_disk.caching) - - _m = "Test Create Pool with Data Disk" - LOG.debug(_m) - pool_config = batch.models.VirtualMachineConfiguration( - node_agent_sku_id="batch.node.ubuntu 16.04", - image_reference=batch.models.ImageReference( - publisher="Canonical", - offer="UbuntuServer", - sku="16.04-LTS"), - data_disks=[batch.models.DataDisk(lun=1, disk_size_gb=50)]) - with BatchPool(self.live, self.batch_client_sk, 'datadisk_pool', - virtual_machine_configuration=pool_config) as datadisk_pool: - pool = self.assertRuns(_e, _m, self.batch_client_sk.pool.get, datadisk_pool) - self.assertEqual( - _e, _m, pool.virtual_machine_configuration.data_disks[0].lun, - pool_config.data_disks[0].lun) - self.assertEqual( - _e, _m, pool.virtual_machine_configuration.data_disks[0].disk_size_gb, - pool_config.data_disks[0].disk_size_gb) - - _m = "Test Create Pool with application licenses" - LOG.debug(_m) - with BatchPool(self.live, self.batch_client_sk, - 'app_licenses_pool', - application_licenses=["maya"]) as app_pool: - pool = self.assertRuns(_e, _m, self.batch_client_sk.pool.get, app_pool) - self.assertEqual(_e, _m, pool.application_licenses[0], 'maya') - - self.assertBatchError(_e, _m, 'UnsupportedProperty', - self.batch_client_sk.pool.add, - pool, batch.models.PoolAddOptions(timeout=45)) - - _m = "Test Upgrade Pool OS" - LOG.debug(_m) - response = self.assertBatchError(_e, _m, "PoolVersionEqualsUpgradeVersion", - self.batch_client_sk.pool.upgrade_os, pool_id, '*') - self.assertIsNone(_e, _m, response) - - _m = "Test Update Pool Parameters" - LOG.debug(_m) - params = batch.models.PoolUpdatePropertiesParameter([], [], [batch.models.MetadataItem('foo', 'bar')]) - response = self.assertRuns(_e, _m, self.batch_client_sk.pool.update_properties, pool_id, params) - self.assertIsNone(_e, _m, response) - - _m = "Test Patch Pool Parameters" - LOG.debug(_m) - params = batch.models.PoolPatchParameter(metadata=[batch.models.MetadataItem('foo2', 'bar2')]) - response = self.assertRuns(_e, _m, self.batch_client_sk.pool.patch, pool_id, params) - self.assertIsNone(_e, _m, response) - - _m = "Test Get Pool" - LOG.debug(_m) - pool = self.assertRuns(_e, _m, self.batch_client_sk.pool.get, pool_id) - self.assertTrue(_e, _m, isinstance(pool, batch.models.CloudPool)) - if pool: - self.assertEqual(_e, _m, pool.id, pool_id) - self.assertEqual(_e, _m, pool.state, batch.models.PoolState.active) - self.assertEqual(_e, _m, pool.allocation_state, batch.models.AllocationState.steady) - self.assertEqual(_e, _m, pool.cloud_service_configuration.os_family, '4') - self.assertEqual(_e, _m, pool.vm_size, 'small') - self.assertEqual(_e, _m, pool.metadata[0].name, 'foo2') - self.assertEqual(_e, _m, pool.metadata[0].value, 'bar2') - self.assertEqual(_e, _m, pool.user_accounts[0].name, 'test-user-1') - self.assertEqual(_e, _m, pool.user_accounts[0].elevation_level.value, 'nonAdmin') - self.assertEqual(_e, _m, pool.user_accounts[1].name, 'test-user-2') - self.assertEqual(_e, _m, pool.user_accounts[1].elevation_level.value, 'admin') - - _m = "Test Get Pool with OData Clauses" - LOG.debug(_m) - options = batch.models.PoolGetOptions(select='id,state', expand='stats') - pool = self.assertRuns(_e, _m, self.batch_client_sk.pool.get, pool_id, options) - self.assertTrue(_e, _m, isinstance(pool, batch.models.CloudPool)) - if pool: - self.assertEqual(_e, _m, pool.id, pool_id) - self.assertEqual(_e, _m, pool.state, batch.models.PoolState.active) - self.assertIsNone(_e, _m, pool.allocation_state) - self.assertIsNone(_e, _m, pool.vm_size) - - _m = "Test Enable Autoscale" - LOG.debug(_m) - interval = datetime.timedelta(minutes=6) - response = self.assertRuns(_e, _m, self.batch_client_sk.pool.enable_auto_scale, pool_id, - auto_scale_formula='$TargetDedicatedNodes=2', - auto_scale_evaluation_interval=interval) - self.assertIsNone(_e, _m, response) - - _m = "Test Evaluate Autoscale" - LOG.debug(_m) - result = self.assertRuns(_e, _m, self.batch_client_sk.pool.evaluate_auto_scale, - pool_id, '$TargetDedicatedNodes=3') - if result: - self.assertTrue(_e, _m, isinstance(result, batch.models.AutoScaleRun)) - self.assertEqual(_e, _m, result.results, '$TargetDedicatedNodes=3;$TargetLowPriorityNodes=0;$NodeDeallocationOption=requeue') - - _m = "Test Disable Autoscale" - LOG.debug(_m) - response = self.assertRuns(_e, _m, self.batch_client_sk.pool.disable_auto_scale, pool_id) - self.assertIsNone(_e, _m, response) - - _m = "Test List Pools without Filters" - LOG.debug(_m) - pools = self.assertList(_e, _m, self.batch_client_sk.pool.list) - self.assertTrue(_e, _m, len(pools) > 1) - - _m = "Test List Pools with Maximum" - LOG.debug(_m) - options = batch.models.PoolListOptions(max_results=1) - pools = self.assertRuns(_e, _m, self.batch_client_sk.pool.list, options) - if pools: - self.assertRuns(_e, _m, pools.next) - self.assertEqual(_e, _m, len(pools.current_page), 1) - - _m = "Test List Pools with Filter" - LOG.debug(_m) - options = batch.models.PoolListOptions( - filter='startswith(id,\'python_test_pool_1\')', - select='id,state', - expand='stats') - pools = self.assertList(_e, _m, self.batch_client_sk.pool.list, options) - self.assertEqual(_e, _m, len(pools), 1) - - _m = "Test Pool Exists" - LOG.debug(_m) - response = self.assertRuns(_e, _m, self.batch_client_sk.pool.exists, pool_id_2) - self.assertTrue(_e, _m, response) - - _m = "Test Pool Resize" - LOG.debug(_m) - pool = self.assertRuns(_e, _m, self.batch_client_sk.pool.get, pool_id_2) - self.assertTrue(_e, _m, isinstance(pool, batch.models.CloudPool)) - if pool: - while pool.allocation_state != batch.models.AllocationState.steady and self.live: - print("Waiting for pool state to become steady") - time.sleep(20) - pool = self.assertRuns(_e, _m, self.batch_client_sk.pool.get, pool_id_2) - self.assertEqual(_e, _m, pool.target_dedicated_nodes, 0) - self.assertEqual(_e, _m, pool.target_low_priority_nodes, 2) - params = batch.models.PoolResizeParameter(target_dedicated_nodes=3, target_low_priority_nodes=0) - response = self.assertRuns(_e, _m, self.batch_client_sk.pool.resize, pool_id_2, params) - self.assertIsNone(_e, _m, response) - - _m = "Test Stop Pool Resize" - LOG.debug(_m) - response = self.assertRuns(_e, _m, self.batch_client_sk.pool.stop_resize, pool_id_2) - self.assertIsNone(_e, _m, response) - pool = self.assertRuns(_e, _m, self.batch_client_sk.pool.get, pool_id_2) - self.assertTrue(_e, _m, isinstance(pool, batch.models.CloudPool)) - if pool: - while pool.allocation_state != batch.models.AllocationState.steady and self.live: - print("Waiting for pool state to become steady") - time.sleep(20) - pool = self.assertRuns(_e, _m, self.batch_client_sk.pool.get, pool_id_2) - self.assertEqual(_e, _m, pool.target_dedicated_nodes, 3) - # self.assertEqual(_e, _m, pool.target_low_priority_nodes, 0) # TODO: Why - - _m = "Test Get All Pools Lifetime Statistics" - LOG.debug(_m) - stats = self.assertRuns(_e, _m, self.batch_client_sk.pool.get_all_lifetime_statistics) - self.assertTrue(_e, _m, isinstance(stats, batch.models.PoolStatistics)) - if stats: - self.assertEqual(_e, _m, stats.url, "https://{}.{}.batch.azure.com/lifetimepoolstats".format( - AZURE_BATCH_ACCOUNT, AZURE_LOCATION)) - self.assertTrue(_e, _m, stats.resource_stats.avg_cpu_percentage is not None) - self.assertTrue(_e, _m, stats.resource_stats.network_read_gi_b is not None) - self.assertTrue(_e, _m, stats.resource_stats.disk_write_gi_b is not None) - self.assertTrue(_e, _m, stats.resource_stats.peak_disk_gi_b is not None) - - _m = "Test Get Pool Usage Info" #TODO: Test with real usage metrics - LOG.debug('TODO: ' + _m) - response = self.assertList(_e, _m, self.batch_client_sk.pool.list_usage_metrics) - #TODO: Assert - self.assertSuccess(_e) - - @record - def test_batch_compute_nodes(self): - _e = {} - with BatchPool(self.live, - self.batch_client_sk, - 'python_test_pool_3', - target_dedicated_nodes=2) as pool_id: - - _m = "Test List Compute Nodes" - LOG.debug(_m) - nodes = self.assertList(_e, _m, self.batch_client_sk.compute_node.list, pool_id) - self.assertEqual(_e, _m, len(nodes), 2) - node_ids = [n.id for n in nodes] - - _m = "Test Get Compute Node" - LOG.debug(_m) - node = self.assertRuns(_e, _m, self.batch_client_sk.compute_node.get, pool_id, node_ids[0]) - self.assertTrue(_e, _m, isinstance(node, batch.models.ComputeNode)) - if node: - self.assertEqual(_e, _m, node.state, batch.models.ComputeNodeState.idle) - self.assertEqual(_e, _m, node.scheduling_state, batch.models.SchedulingState.enabled) - self.assertTrue(_e, _m, node.is_dedicated) - - _m = "Test a Pool with Inbound Endpoint Configuration" - LOG.debug(_m) - network_config = batch.models.NetworkConfiguration( - endpoint_configuration=batch.models.PoolEndpointConfiguration( - inbound_nat_pools=[ - batch.models.InboundNATPool( - name="TestEndpointConfig", - protocol=batch.models.InboundEndpointProtocol.udp, - backend_port=64444, - frontend_port_range_start=60000, - frontend_port_range_end=61000, - network_security_group_rules=[ - batch.models.NetworkSecurityGroupRule( - priority=150, - access=batch.models.NetworkSecurityGroupRuleAccess.allow, - source_address_prefix='*' - ) - ] - ) - ] - ) - ) - virtual_machine_config = batch.models.VirtualMachineConfiguration( - node_agent_sku_id="batch.node.ubuntu 16.04", - image_reference=batch.models.ImageReference( - publisher="Canonical", - offer="UbuntuServer", - sku="16.04-LTS") - ) - with BatchPool(self.live, - self.batch_client_sk, - 'python_test_pool_4', - target_dedicated_nodes=1, - virtual_machine_configuration=virtual_machine_config, - network_configuration=network_config) as network_pool_id: - nodes = self.assertList(_e, _m, self.batch_client_sk.compute_node.list, network_pool_id) - self.assertEqual(_e, _m, len(nodes), 1) - if nodes: - self.assertTrue(_e, _m, isinstance(nodes[0], batch.models.ComputeNode)) - self.assertEqual(_e, _m, len(nodes[0].endpoint_configuration.inbound_endpoints), 2) - self.assertEqual(_e, _m, nodes[0].endpoint_configuration.inbound_endpoints[0].name, 'TestEndpointConfig.0') - self.assertEqual(_e, _m, nodes[0].endpoint_configuration.inbound_endpoints[0].protocol.value, 'udp') - - _m = "Test Add User" - LOG.debug(_m) - user = batch.models.ComputeNodeUser('BatchPythonSDKUser', password='kt#_gahr!@aGERDXA', is_admin=False) - response = self.assertRuns(_e, _m, self.batch_client_sk.compute_node.add_user, pool_id, node_ids[0], user) - self.assertIsNone(_e, _m, response) - - _m = "Test Update User" - LOG.debug(_m) - user = batch.models.NodeUpdateUserParameter(password='liilef#$DdRGSa_ewkjh') - response = self.assertRuns(_e, _m, self.batch_client_sk.compute_node.update_user, - pool_id, node_ids[0], 'BatchPythonSDKUser', user) - self.assertIsNone(_e, _m, response) - - _m = "Test Get RDP File" - LOG.debug(_m) - file_length = 0 - with io.BytesIO() as file_handle: - response = self.assertRuns(_e, _m, self.batch_client_sk.compute_node.get_remote_desktop, - pool_id, node_ids[0]) - if response: - for data in response: - file_length += len(data) - self.assertTrue(_e, _m, file_length > 0) - - _m = "Test Delete User" - LOG.debug(_m) - response = self.assertRuns(_e, _m, self.batch_client_sk.compute_node.delete_user, - pool_id, node_ids[0], 'BatchPythonSDKUser') - self.assertIsNone(_e, _m, response) - - _m = "Test Disable Scheduling" - LOG.debug(_m) - response = self.assertRuns(_e, _m, self.batch_client_sk.compute_node.disable_scheduling, - pool_id, node_ids[0]) - self.assertIsNone(_e, _m, response) - - _m = "Test Enable Scehduling" - LOG.debug(_m) - response = self.assertRuns(_e, _m, self.batch_client_sk.compute_node.enable_scheduling, pool_id, node_ids[0]) - self.assertIsNone(_e, _m, response) - - _m = "Test List Files" - LOG.debug(_m) - files = self.assertList(_e, _m, self.batch_client_sk.file.list_from_compute_node, pool_id, node_ids[0]) - self.assertTrue(_e, _m, len(files) > 2) - - _m = "Test File Properties" - LOG.debug('TODO: ' + _m) - #props = self.batch_client_sk.file.get_properties_from_compute_node(pool_id, node_ids[0], '', raw=True) - #self.assertTrue('Content-Length' in props.headers) - #self.assertTrue('Content-Type'in props.headers) - - _m = "Test Get File" - LOG.debug('TODO: ' + _m) - #file_length = 0 - #with io.BytesIO() as file_handle: - # response = self.batch_client_sk.file.get_from_task(pool_id, node_ids[0], '') - # for data in response: - # file_length += len(data) - #self.assertEqual(file_length, props.headers['Content-Length']) - - _m = "Test Reboot Node" - LOG.debug(_m) - response = self.assertRuns(_e, _m, self.batch_client_sk.compute_node.reboot, - pool_id, node_ids[0]) - self.assertIsNone(_e, _m, response) - - _m = "Test Reimage Node" - LOG.debug(_m) - response = self.assertRuns(_e, _m, self.batch_client_sk.compute_node.reimage, - pool_id, node_ids[1]) - self.assertIsNone(_e, _m, response) - - _m = "Test Remove Nodes" - LOG.debug(_m) - options = batch.models.NodeRemoveParameter(node_ids) - response = self.assertRuns(_e, _m, self.batch_client_sk.pool.remove_nodes, pool_id, options) - self.assertIsNone(_e, _m, response) - self.assertSuccess(_e) - - @record - def test_batch_jobs(self): - _e = {} - _m = "Test Add Application" - LOG.debug(_m) - application = self.assertRuns(_e, _m, self.batch_mgmt_client.application.create, - AZURE_RESOURCE_GROUP, AZURE_BATCH_ACCOUNT, 'my_application_id', - allow_updated=True, display_name='my_application_name') - self.assertTrue(_e, _m, isinstance(application, azure.mgmt.batch.models.Application)) - if application: - self.assertEqual(_e, _m, application.id, 'my_application_id') - self.assertEqual(_e, _m, application.display_name, 'my_application_name') - self.assertEqual(_e, _m, application.allow_updates, True) - - _m = "Test Add Application Package" - LOG.debug(_m) - package_ref = self.assertRuns(_e, _m, self.batch_mgmt_client.application_package.create, - AZURE_RESOURCE_GROUP, AZURE_BATCH_ACCOUNT, 'my_application_id', 'v1.0') - self.assertTrue(_e, _m, isinstance(package_ref, azure.mgmt.batch.models.ApplicationPackage)) - - users = [ - {'name': 'task-user', 'password': 'kt#_gahr!@aGERDXA', - 'elevation_level': batch.models.ElevationLevel.admin} - ] - image = batch.models.VirtualMachineConfiguration( - node_agent_sku_id="batch.node.windows amd64", - image_reference=batch.models.ImageReference( - publisher="MicrosoftWindowsServer", - offer="WindowsServer", - sku="2016-Datacenter-smalldisk") - ) - with BatchPool(self.live, - self.batch_client_sk, - 'python_test_pool_4', - virtual_machine_configuration=image, - target_dedicated_nodes=1, user_accounts=users) as pool_id: - - _m = "Test Create Job" - LOG.debug(_m) - job = batch.models.JobAddParameter('python_test_job', - batch.models.PoolInformation(pool_id=pool_id)) - response = self.assertRuns(_e, _m, self.batch_client_aad.job.add, job) - self.assertIsNone(_e, _m, response) - - LOG.debug(" wait for job to create...") - self.sleep(10) - - _m = "Test Create Job with Auto Complete" - LOG.debug(_m) - job_with_auto_complete = batch.models.JobAddParameter(id='python_test_job_2', - pool_info=batch.models.PoolInformation(pool_id=pool_id), - on_all_tasks_complete='noAction', - on_task_failure='performExitOptionsJobAction') - response = self.assertRuns(_e, _m, self.batch_client_aad.job.add, job_with_auto_complete) - self.assertIsNone(_e, _m, response) - - - LOG.debug(" wait for job to create...") - self.sleep(10) - - _m = "Test Update Job" - LOG.debug(_m) - constraints = batch.models.JobConstraints(max_task_retry_count=3) - options = batch.models.JobUpdateParameter(priority=500, - constraints=constraints, - pool_info=batch.models.PoolInformation(pool_id=pool_id)) - response = self.assertRuns(_e, _m, self.batch_client_aad.job.update, 'python_test_job', options) - self.assertIsNone(_e, _m, response) - - _m = "Test Patch Job" - LOG.debug(_m) - constraints = batch.models.JobConstraints(max_task_retry_count=1) - options = batch.models.JobPatchParameter(priority=900, - constraints=constraints, - pool_info=batch.models.PoolInformation(pool_id=pool_id)) - response = self.assertRuns(_e, _m, self.batch_client_aad.job.patch, 'python_test_job', options) - self.assertIsNone(_e, _m, response) - - _m = "Test Get Job" - LOG.debug(_m) - job = self.assertRuns(_e, _m, self.batch_client_aad.job.get, 'python_test_job') - self.assertTrue(_e, _m, isinstance(job, batch.models.CloudJob)) - if job: - self.assertEqual(_e, _m, job.id, 'python_test_job') - self.assertEqual(_e, _m, job.pool_info.pool_id, pool_id) - self.assertEqual(_e, _m, job.constraints.max_task_retry_count, 1) - - _m = "Test List Jobs" - LOG.debug(_m) - jobs = self.assertList(_e, _m, self.batch_client_aad.job.list) - self.assertTrue(_e, _m, len(jobs) > 0) - job_ids = [j.id for j in jobs] - - _m = "Test Job Disable" - LOG.debug(_m) - response = self.assertRuns(_e, _m, self.batch_client_aad.job.disable, 'python_test_job', 'requeue') - self.assertIsNone(_e, _m, response) - - _m = "Test Job Enable" - LOG.debug(_m) - response = self.assertRuns(_e, _m, self.batch_client_aad.job.enable, 'python_test_job') - self.assertIsNone(_e, _m, response) - - _m = "Test Create Task with Auto Complete and Auto User and Token Settings" - LOG.debug(_m) - auto_user = batch.models.AutoUserSpecification( - scope=batch.models.AutoUserScope.task, - elevation_level=batch.models.ElevationLevel.admin) - conditions = batch.models.ExitConditions(default=batch.models.ExitOptions('terminate'), - exit_codes=[batch.models.ExitCodeMapping(code=1, exit_options=batch.models.ExitOptions('None'))]) - task = batch.models.TaskAddParameter(id='python_task_with_auto_complete', - command_line='cmd /c "echo hello world"', - user_identity={'auto_user': auto_user}, - exit_conditions=conditions, - authentication_token_settings={'access': ['job']}) - response = self.assertRuns(_e, _m, self.batch_client_sk.task.add, 'python_test_job_2', task) - self.assertIsNone(_e, _m, response) - - _m = "Test Create Task with container settings" - LOG.debug(_m) - task = batch.models.TaskAddParameter( - id='python_task_containers', - command_line='cat /etc/centos-release', - container_settings=batch.models.TaskContainerSettings(image_name='centos')) - response = self.assertRuns(_e, _m, self.batch_client_sk.task.add, 'python_test_job', task) - self.assertIsNone(_e, _m, response) - - _m = "Test Get Task with Auto Complete and Auto User and Token Settings" - LOG.debug(_m) - task = self.assertRuns(_e, _m, self.batch_client_sk.task.get, 'python_test_job_2', 'python_task_with_auto_complete') - self.assertTrue(_e, _m, isinstance(task, batch.models.CloudTask)) - if task: - self.assertEqual(_e, _m, task.exit_conditions.default.job_action.value, 'terminate') - self.assertEqual(_e, _m, task.exit_conditions.exit_codes[0].code, 1) - self.assertEqual(_e, _m, task.user_identity.auto_user.scope.value, 'task') - self.assertEqual(_e, _m, task.user_identity.auto_user.elevation_level.value, 'admin') - self.assertEqual(_e, _m, task.authentication_token_settings.access[0].value, 'job') - self.assertEqual(_e, _m, task.exit_conditions.exit_codes[0].exit_options.job_action.value, 'none') - - _m = "Test Create Task with Application Package and Run-As-User" - LOG.debug(_m) - task = batch.models.TaskAddParameter('python_task_with_app_package', - 'cmd /c "echo hello world"', - user_identity={'user_name': 'task-user'}, - application_package_references=[batch.models.ApplicationPackageReference('my_application_id')]) - response = self.assertRuns(_e, _m, self.batch_client_sk.task.add, 'python_test_job', task) - self.assertIsNone(_e, _m, response) - - _m = "Test Get Task with Application Package and Run-As-User" - LOG.debug(_m) - task = self.assertRuns(_e, _m, self.batch_client_sk.task.get, 'python_test_job', 'python_task_with_app_package') - - self.assertTrue(_e, _m, isinstance(task, batch.models.CloudTask)) - if task: - self.assertEqual(_e, _m, task.id, 'python_task_with_app_package') - self.assertEqual(_e, _m, task.user_identity.user_name, 'task-user') - self.assertEqual(_e, _m, task.application_package_references[0].application_id, 'my_application_id') - - response = self.assertRuns(_e, _m, self.batch_client_sk.task.delete, 'python_test_job', 'python_task_with_app_package') - self.assertIsNone(_e, _m, response) - - _m = "Test Create Task with Output Files" - LOG.debug(_m) - container_url = self._generate_container_sas_token() - outputs = [ - batch.models.OutputFile( - file_pattern="../stdout.txt", - destination=batch.models.OutputFileDestination( - container=batch.models.OutputFileBlobContainerDestination( - container_url=container_url, path="taskLogs/output.txt")), - upload_options=batch.models.OutputFileUploadOptions( - upload_condition=batch.models.OutputFileUploadCondition.task_completion)), - batch.models.OutputFile( - file_pattern="../stderr.txt", - destination=batch.models.OutputFileDestination( - container=batch.models.OutputFileBlobContainerDestination( - container_url=container_url, path="taskLogs/error.txt")), - upload_options=batch.models.OutputFileUploadOptions( - upload_condition=batch.models.OutputFileUploadCondition.task_failure)), - ] - - task = batch.models.TaskAddParameter('python_task_1', 'cmd /c "echo hello world"', - output_files=outputs) - response = self.assertRuns(_e, _m, self.batch_client_sk.task.add, 'python_test_job_2', task) - self.assertIsNone(_e, _m, response) - - _m = "Test for Complete Output Files" - - LOG.debug(_m) - task = self.batch_client_sk.task.get('python_test_job_2', 'python_task_1') - if self.live and task: - while task.state.value != 'completed': - time.sleep(5) - task = self.batch_client_sk.task.get('python_test_job_2', 'python_task_1') - outputs = list(self.storage_data_client.list_blobs(OUTPUT_CONTAINER)) - self.assertEqual(_e, _m, len(outputs), 1) - if outputs: - self.assertEqual(_e, _m, outputs[0].name, "taskLogs/output.txt") - - _m = "Test Terminate Task" - LOG.debug(_m) - task = batch.models.TaskAddParameter('python_task_1', 'cmd /c "echo hello world"') - response = self.assertRuns(_e, _m, self.batch_client_sk.task.add, 'python_test_job', task) - response = self.assertRuns(_e, _m, self.batch_client_sk.task.terminate, - 'python_test_job', 'python_task_1') - self.assertIsNone(_e, _m, response) - - task = self.assertRuns(_e, _m, self.batch_client_sk.task.get, 'python_test_job', 'python_task_1') - self.assertTrue(_e, _m, isinstance(task, batch.models.CloudTask)) - if task: - self.assertEqual(_e, _m, task.state.value, 'completed') - - _m = "Test Reactivate Task" - LOG.debug(_m) - response = self.assertRuns(_e, _m, self.batch_client_sk.task.reactivate, - 'python_test_job', 'python_task_1') - self.assertIsNone(_e, _m, response) - task = self.assertRuns(_e, _m, self.batch_client_sk.task.get, 'python_test_job', 'python_task_1') - - self.assertTrue(_e, _m, isinstance(task, batch.models.CloudTask)) - if task: - self.assertEqual(_e, _m, task.state.value, 'active') - - _m = "Test Task Failure" - LOG.debug(_m) - task = batch.models.TaskAddParameter('python_task_bad', 'bad command') - response = self.assertRuns(_e, _m, self.batch_client_sk.task.add, 'python_test_job_2', task) - self.assertIsNone(_e, _m, response) - task = self.assertRuns(_e, _m, self.batch_client_sk.task.get, 'python_test_job_2', 'python_task_bad') - if self.live and task: - while task.state.value != 'completed': - time.sleep(5) - task = self.batch_client_sk.task.get('python_test_job_2', 'python_task_bad') - self.assertEqual(_e, _m, task.execution_info.result, batch.models.TaskExecutionResult.failure) - self.assertEqual(_e, _m, task.execution_info.failure_info.category, batch.models.ErrorCategory.user_error) - self.assertEqual(_e, _m, task.execution_info.failure_info.code, 'CommandProgramNotFound') - - _m = "Test Update Task" - LOG.debug(_m) - task = batch.models.TaskAddParameter('python_task_2', 'cmd /c "echo hello world"') - response = self.assertRuns(_e, _m, self.batch_client_sk.task.add, 'python_test_job', task) - constraints = batch.models.TaskConstraints(max_task_retry_count=1) - response = self.assertRuns(_e, _m, self.batch_client_sk.task.update, - 'python_test_job', 'python_task_2', constraints=constraints) - self.assertIsNone(_e, _m, response) - - _m = "Test Add Task Collection" - LOG.debug(_m) - tasks = [] - for i in range(3, 6): - tasks.append(batch.models.TaskAddParameter('python_task_{}'.format(i), 'cmd /c "echo hello world"')) - response = self.assertRuns(_e, _m, self.batch_client_sk.task.add_collection, 'python_test_job', tasks) - self.assertTrue(_e, _m, isinstance(response, batch.models.TaskAddCollectionResult)) - - _m = "Test Count Tasks" - LOG.debug(_m) - task_counts = self.assertRuns(_e, _m, self.batch_client_sk.job.get_task_counts, 'python_test_job') - self.assertTrue(_e, _m, isinstance(task_counts, batch.models.TaskCounts)) - if task_counts: - self.assertTrue(_e, _m, task_counts.completed > 0) - self.assertTrue(_e, _m, task_counts.succeeded > 0) - self.assertEqual(_e, _m, task_counts.validation_status, batch.models.TaskCountValidationStatus.validated) - - _m = "Test List Tasks" - LOG.debug(_m) - tasks = self.assertList(_e, _m, self.batch_client_sk.task.list, 'python_test_job') - self.assertEqual(_e, _m, len(tasks), 6) - task_ids = [t.id for t in tasks] - - _m = "Test Get Task" - LOG.debug(_m) - task = self.assertRuns(_e, _m, self.batch_client_sk.task.get, 'python_test_job', 'python_task_2') - self.assertTrue(_e, _m, isinstance(task, batch.models.CloudTask)) - if task: - self.assertEqual(_e, _m, task.constraints.max_task_retry_count, 1) - self.assertEqual(_e, _m, task.id, 'python_task_2') - self.assertEqual(_e, _m, task.command_line, 'cmd /c "echo hello world"') - - _m = "Test Get Subtasks" #TODO: Test with actual subtasks - LOG.debug('TODO: ' + _m) - subtasks = self.assertRuns(_e, _m, self.batch_client_sk.task.list_subtasks, - 'python_test_job', 'python_task_2') - #TODO: Assert - - LOG.debug(" wait for job to finish...") - self.sleep(30) - - _m = "Test List Files" - LOG.debug(_m) - files = self.assertList(_e, _m, self.batch_client_sk.file.list_from_task, - 'python_test_job', 'python_task_2') - self.assertTrue(_e, _m, len(files) > 2) - - _m = "Test Get File Properties" - LOG.debug(_m) - props = self.assertRuns(_e, _m, self.batch_client_sk.file.get_properties_from_task, - 'python_test_job', 'python_task_2', 'stdout.txt', raw=True) - if props: - self.assertTrue(_e, _m, 'Content-Length' in props.headers) - self.assertTrue(_e, _m, 'Content-Type'in props.headers) - - _m = "Test Task File" - LOG.debug(_m) - file_length = 0 - with io.BytesIO() as file_handle: - response = self.assertRuns(_e, _m, self.batch_client_sk.file.get_from_task, - 'python_test_job', 'python_task_2', 'stdout.txt') - if response: - for data in response: - file_length += len(data) - self.assertTrue(_e, _m, file_length > 0) - - _m = "Test Prep and Release Task" #TODO: Test with actual prep and release tasks - LOG.debug('TODO: ' + _m) - response = self.assertRuns(_e, _m, self.batch_client_aad.job.list_preparation_and_release_task_status, - 'python_test_job') - #TODO: Assert - - _m = "Test Delete File" - LOG.debug(_m) - response = self.assertRuns(_e, _m, self.batch_client_sk.file.delete_from_task, - 'python_test_job', 'python_task_2', 'stdout.txt') - self.assertIsNone(_e, _m, response) - - _m = "Test Delete Task" - LOG.debug(_m) - for id in task_ids: - response = self.assertRuns(_e, _m, self.batch_client_sk.task.delete, 'python_test_job', id) - self.assertIsNone(_e, _m, response) - - _m = "Test Terminate Job" - LOG.debug(_m) - response = self.assertRuns(_e, _m, self.batch_client_sk.job.terminate, 'python_test_job') - self.assertIsNone(_e, _m, response) - - _m = "Test Delete Job" - LOG.debug(_m) - for id in job_ids: - response = self.assertRuns(_e, _m, self.batch_client_sk.job.delete, id) - self.assertIsNone(_e, _m, response) - - _m = "Test Job Lifetime Statistics" - LOG.debug(_m) - response = self.assertRuns(_e, _m, self.batch_client_sk.job.get_all_lifetime_statistics) - self.assertSuccess(_e) - - @record - def test_batch_job_schedules(self): - _e = {} - with BatchPool(self.live, - self.batch_client_sk, - 'python_test_pool_5', - target_dedicated_nodes=2) as pool_id: - - _m = "Test Create Job Schedule" - LOG.debug(_m) - job_spec = batch.models.JobSpecification(pool_info=batch.models.PoolInformation(pool_id)) - schedule = batch.models.Schedule(start_window=datetime.timedelta(hours=1), - recurrence_interval=datetime.timedelta(days=1)) - params = batch.models.JobScheduleAddParameter('python_test_schedule', schedule, job_spec) - response = self.assertRuns(_e, _m, self.batch_client_sk.job_schedule.add, params) - self.assertIsNone(_e, _m, response) - - _m = "Test List Job Schedules" - LOG.debug(_m) - schedules = self.assertList(_e, _m, self.batch_client_sk.job_schedule.list) - self.assertTrue(_e, _m, len(schedules) > 0) - - _m = "Test Get Job Schedule" - LOG.debug(_m) - schedule = self.assertRuns(_e, _m, self.batch_client_sk.job_schedule.get, 'python_test_schedule') - self.assertTrue(_e, _m, isinstance(schedule, batch.models.CloudJobSchedule)) - if schedule: - self.assertEqual(_e, _m, schedule.id, 'python_test_schedule') - self.assertEqual(_e, _m, schedule.state, batch.models.JobScheduleState.active) - - _m = "Test Job Schedule Exists" - LOG.debug(_m) - exists = self.assertRuns(_e, _m, self.batch_client_sk.job_schedule.exists, 'python_test_schedule') - self.assertTrue(_e, _m, exists) - - _m = "Test List Jobs from Schedule" - LOG.debug(_m) - jobs = self.assertList(_e, _m, self.batch_client_sk.job.list_from_job_schedule, 'python_test_schedule') - self.assertTrue(_e, _m, len(jobs) > 0) - if jobs: - self.assertRuns(_e, _m, self.batch_client_sk.job.delete, jobs[0].id) - - _m = "Test Disable Job Schedule" - LOG.debug(_m) - response = self.assertRuns(_e, _m, self.batch_client_sk.job_schedule.disable, 'python_test_schedule') - self.assertIsNone(_e, _m, response) - - _m = "Test Enable Job Schedule" - LOG.debug(_m) - response = self.assertRuns(_e, _m, self.batch_client_sk.job_schedule.enable, 'python_test_schedule') - self.assertIsNone(_e, _m, response) - - _m = "Test Update Job Schedule" - LOG.debug(_m) - job_spec = batch.models.JobSpecification(pool_info=batch.models.PoolInformation(pool_id)) - schedule = batch.models.Schedule(recurrence_interval=datetime.timedelta(hours=10)) - params = batch.models.JobScheduleUpdateParameter(schedule, job_spec) - response = self.assertRuns(_e, _m, self.batch_client_sk.job_schedule.update, 'python_test_schedule', params) - self.assertIsNone(_e, _m, response) - - _m = "Test Patch Job Schedule" - LOG.debug(_m) - schedule = batch.models.Schedule(recurrence_interval=datetime.timedelta(hours=5)) - params = batch.models.JobSchedulePatchParameter(schedule) - response = self.assertRuns(_e, _m, self.batch_client_sk.job_schedule.patch, 'python_test_schedule', params) - self.assertIsNone(_e, _m, response) - - _m = "Test Terminate Job Schedule" - LOG.debug(_m) - response = self.assertRuns(_e, _m, self.batch_client_sk.job_schedule.terminate, 'python_test_schedule') - self.assertIsNone(_e, _m, response) - - _m = "Test Delete Job Schedule" - LOG.debug(_m) - response = self.assertRuns(_e, _m, self.batch_client_sk.job_schedule.delete, 'python_test_schedule') - self.assertIsNone(_e, _m, response) - self.assertSuccess(_e) - - -class BatchPool(object): - - def __init__(self, live, client, id, **kwargs): - self.live = live - self.client = client - self.id = id - self.kwargs = kwargs - self.nodes = kwargs.get('target_dedicated_nodes', 0) - self.timeout = datetime.datetime.now() + datetime.timedelta(minutes=20) - - def __enter__(self): - response = None - if self.live: - try: - try: - pool_config = self.kwargs.pop("virtual_machine_configuration") - pool = batch.models.PoolAddParameter(self.id, 'standard_a1', virtual_machine_configuration=pool_config, **self.kwargs) - except KeyError: - pool_config = batch.models.CloudServiceConfiguration('4') - pool = batch.models.PoolAddParameter(self.id, 'small', cloud_service_configuration=pool_config, **self.kwargs) - response = self.client.pool.add(pool) - if self.live: - LOG.debug(" waiting for pool to be ready...") - time.sleep(30) - - ready_nodes = [] - options = batch.models.ComputeNodeListOptions(select='id,state') - while len(ready_nodes) != self.nodes: - if datetime.datetime.now() > self.timeout: - raise AssertionError("Nodes failed to become idle in 20 minutes") - - LOG.debug(" waiting for {} nodes to be ready...".format(self.nodes)) - nodes = self.client.compute_node.list(self.id, options) - ready_nodes = [n for n in nodes if n.state == batch.models.ComputeNodeState.idle] - time.sleep(30) - - except Exception as err: - if err is batch.models.BatchErrorException and err.batch_error.code == 'PoolExists': - return self.id - try: - self.client.pool.delete(self.id) - except: - pass - raise AssertionError("Failed to create test pool: {}".format(err)) - - if response is None: - return self.id - else: - raise AssertionError('Failed to create test pool') - - def __exit__(self, type, value, traceback): - if self.live: - try: - self.client.pool.delete(self.id) - except: - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/azure-sdk-testutils/devtools_testutils/mgmt_settings_fake.py b/azure-sdk-testutils/devtools_testutils/mgmt_settings_fake.py index 5731494735c4..636ca99c2f14 100644 --- a/azure-sdk-testutils/devtools_testutils/mgmt_settings_fake.py +++ b/azure-sdk-testutils/devtools_testutils/mgmt_settings_fake.py @@ -22,7 +22,7 @@ # Read for details of this file: # https://github.com/Azure/azure-sdk-for-python/wiki/Contributing-to-the-tests -def get_credentials(): +def get_credentials(**kwargs): # Put your credentials here in the "real" file #return UserPassCredentials( # 'user@myaddomain.onmicrosoft.com', diff --git a/azure-sdk-testutils/devtools_testutils/storage_testcase.py b/azure-sdk-testutils/devtools_testutils/storage_testcase.py index 7e54275b4a2a..885875fec9e6 100644 --- a/azure-sdk-testutils/devtools_testutils/storage_testcase.py +++ b/azure-sdk-testutils/devtools_testutils/storage_testcase.py @@ -56,7 +56,9 @@ def create_resource(self, name, **kwargs): for v in self.client.storage_accounts.list_keys(group.name, name).keys } self.storage_key = storage_keys['key1'] - + else: + self.resource = FakeResource(name=name, id=name) + self.storage_key = "fake_storage_key" return { self.parameter_name: self.resource, '{}_key'.format(self.parameter_name): self.storage_key,