text: // This file has been autogenerated.
  
  exports.setEnvironment = function() {
    process.env['AZURE_BATCH_ACCOUNT'] = 'test4';
    process.env['AZURE_BATCH_ENDPOINT'] = 'https://test4.japaneast.batch.azure.com';
    process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
  };
  
  exports.scopes = [[function (nock) { 
  var result = 
  nock('https://test4.japaneast.batch.azure.com:443')
    .get('/pools/nodesdktestpool1/nodes?api-version=2020-03-01.11.0')
    .reply(200, "{\r\n  \"odata.metadata\":\"https://test4.japaneast.batch.azure.com/$metadata#nodes\",\"value\":[\r\n    {\r\n      \"id\":\"tvmps_074ac37d1908495912f74a60782a464006d7ab33f0f50ce622635deb61be766e_d\",\"url\":\"https://test4.japaneast.batch.azure.com/pools/nodesdktestpool1/nodes/tvmps_074ac37d1908495912f74a60782a464006d7ab33f0f50ce622635deb61be766e_d\",\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2020-03-21T04:41:29.992908Z\",\"lastBootTime\":\"2020-03-21T04:41:25.589812Z\",\"allocationTime\":\"2020-03-21T04:36:43.8724047Z\",\"ipAddress\":\"10.218.0.6\",\"affinityId\":\"TVM:tvmps_074ac37d1908495912f74a60782a464006d7ab33f0f50ce622635deb61be766e_d\",\"vmSize\":\"small\",\"totalTasksRun\":0,\"totalTasksSucceeded\":0,\"runningTasksCount\":0,\"startTask\":{\r\n        \"commandLine\":\"cmd /c echo hello > hello.txt\",\"userIdentity\":{\r\n          \"autoUser\":{\r\n            \"scope\":\"pool\",\"elevationLevel\":\"nonadmin\"\r\n          }\r\n        },\"maxTaskRetryCount\":0,\"waitForSuccess\":true\r\n      },\"startTaskInfo\":{\r\n        \"state\":\"completed\",\"startTime\":\"2020-03-21T04:41:29.608106Z\",\"endTime\":\"2020-03-21T04:41:29.780361Z\",\"exitCode\":0,\"result\":\"success\",\"retryCount\":0\r\n      },\"certificateReferences\":[\r\n        {\r\n          \"thumbprint\":\"cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"thumbprintAlgorithm\":\"sha1\",\"storeLocation\":\"CurrentUser\",\"storeName\":\"My\",\"visibility\":[\r\n            \"starttask\",\"task\",\"remoteuser\"\r\n          ]\r\n        }\r\n      ],\"isDedicated\":true,\"endpointConfiguration\":{\r\n        \"inboundEndpoints\":[\r\n          {\r\n            \"name\":\"Microsoft.WindowsAzure.Plugins.RemoteForwarder.RdpInput\",\"protocol\":\"tcp\",\"publicIPAddress\":\"138.91.14.157\",\"frontendPort\":3389,\"backendPort\":20000\r\n          }\r\n        ]\r\n      },\"nodeAgentInfo\":{\r\n        \"lastUpdateTime\":\"2020-03-21T04:41:25.589812Z\",\"version\":\"1.7.14\"\r\n      }\r\n    },{\r\n      \"id\":\"tvmps_7c0747af3eb986a14eba97a9c8e918cb855de20bcb42511913f1f83dac220cb6_d\",\"url\":\"https://test4.japaneast.batch.azure.com/pools/nodesdktestpool1/nodes/tvmps_7c0747af3eb986a14eba97a9c8e918cb855de20bcb42511913f1f83dac220cb6_d\",\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2020-03-21T04:40:48.316469Z\",\"lastBootTime\":\"2020-03-21T04:40:43.648584Z\",\"allocationTime\":\"2020-03-21T04:36:43.8724047Z\",\"ipAddress\":\"10.218.0.5\",\"affinityId\":\"TVM:tvmps_7c0747af3eb986a14eba97a9c8e918cb855de20bcb42511913f1f83dac220cb6_d\",\"vmSize\":\"small\",\"totalTasksRun\":0,\"totalTasksSucceeded\":0,\"runningTasksCount\":0,\"startTask\":{\r\n        \"commandLine\":\"cmd /c echo hello > hello.txt\",\"userIdentity\":{\r\n          \"autoUser\":{\r\n            \"scope\":\"pool\",\"elevationLevel\":\"nonadmin\"\r\n          }\r\n        },\"maxTaskRetryCount\":0,\"waitForSuccess\":true\r\n      },\"startTaskInfo\":{\r\n        \"state\":\"completed\",\"startTime\":\"2020-03-21T04:40:48.08204Z\",\"endTime\":\"2020-03-21T04:40:48.285525Z\",\"exitCode\":0,\"result\":\"success\",\"retryCount\":0\r\n      },\"certificateReferences\":[\r\n        {\r\n          \"thumbprint\":\"cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"thumbprintAlgorithm\":\"sha1\",\"storeLocation\":\"CurrentUser\",\"storeName\":\"My\",\"visibility\":[\r\n            \"starttask\",\"task\",\"remoteuser\"\r\n          ]\r\n        }\r\n      ],\"isDedicated\":true,\"endpointConfiguration\":{\r\n        \"inboundEndpoints\":[\r\n          {\r\n            \"name\":\"Microsoft.WindowsAzure.Plugins.RemoteForwarder.RdpInput\",\"protocol\":\"tcp\",\"publicIPAddress\":\"138.91.14.157\",\"frontendPort\":3389,\"backendPort\":20000\r\n          }\r\n        ]\r\n      },\"nodeAgentInfo\":{\r\n        \"lastUpdateTime\":\"2020-03-21T04:40:43.648584Z\",\"version\":\"1.7.14\"\r\n      }\r\n    },{\r\n      \"id\":\"tvmps_b4dfe133c1801748d727159c89c5e9050cea5f835b329da83049f10f6d415a0e_d\",\"url\":\"https://test4.japaneast.batch.azure.com/pools/nodesdktestpool1/nodes/tvmps_b4dfe133c1801748d727159c89c5e9050cea5f835b329da83049f10f6d415a0e_d\",\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2020-03-21T04:41:12.697465Z\",\"lastBootTime\":\"2020-03-21T04:41:08.05099Z\",\"allocationTime\":\"2020-03-21T04:36:43.8724047Z\",\"ipAddress\":\"10.218.0.4\",\"affinityId\":\"TVM:tvmps_b4dfe133c1801748d727159c89c5e9050cea5f835b329da83049f10f6d415a0e_d\",\"vmSize\":\"small\",\"totalTasksRun\":0,\"totalTasksSucceeded\":0,\"runningTasksCount\":0,\"startTask\":{\r\n        \"commandLine\":\"cmd /c echo hello > hello.txt\",\"userIdentity\":{\r\n          \"autoUser\":{\r\n            \"scope\":\"pool\",\"elevationLevel\":\"nonadmin\"\r\n          }\r\n        },\"maxTaskRetryCount\":0,\"waitForSuccess\":true\r\n      },\"startTaskInfo\":{\r\n        \"state\":\"completed\",\"startTime\":\"2020-03-21T04:41:12.243385Z\",\"endTime\":\"2020-03-21T04:41:12.66619Z\",\"exitCode\":0,\"result\":\"success\",\"retryCount\":0\r\n      },\"certificateReferences\":[\r\n        {\r\n          \"thumbprint\":\"cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"thumbprintAlgorithm\":\"sha1\",\"storeLocation\":\"CurrentUser\",\"storeName\":\"My\",\"visibility\":[\r\n            \"starttask\",\"task\",\"remoteuser\"\r\n          ]\r\n        }\r\n      ],\"isDedicated\":true,\"endpointConfiguration\":{\r\n        \"inboundEndpoints\":[\r\n          {\r\n            \"name\":\"Microsoft.WindowsAzure.Plugins.RemoteForwarder.RdpInput\",\"protocol\":\"tcp\",\"publicIPAddress\":\"138.91.14.157\",\"frontendPort\":3389,\"backendPort\":20000\r\n          }\r\n        ]\r\n      },\"nodeAgentInfo\":{\r\n        \"lastUpdateTime\":\"2020-03-21T04:41:08.05099Z\",\"version\":\"1.7.14\"\r\n      }\r\n    }\r\n  ]\r\n}", { 'transfer-encoding': 'chunked',
    'content-type': 'application/json;odata=minimalmetadata',
    server: 'Microsoft-HTTPAPI/2.0',
    'request-id': 'd629306e-ba94-400f-b1d4-70f83d48f379',
    'strict-transport-security': 'max-age=31536000; includeSubDomains',
    'x-content-type-options': 'nosniff',
    dataserviceversion: '3.0',
    date: 'Sat, 21 Mar 2020 04:57:29 GMT',
    connection: 'close' });
   return result; }]];