Update test cases to use 2018-12-01 api version

This commit is contained in:
xingwu1 2018-12-11 13:38:07 -08:00
Родитель c33cf377f4
Коммит 59b0457f78
101 изменённых файлов: 1614 добавлений и 1910 удалений

Просмотреть файл

@ -4,7 +4,7 @@
"contributors": [
"Wu, Xing <xingwu@microsoft.com>"
],
"version": "4.1.0",
"version": "5.0.0",
"description": "Microsoft Azure Batch Service Client Library for node",
"tags": [
"azure",

Просмотреть файл

@ -1,102 +1,102 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools?api-version=2018-08-01.7.0', '*')
.post('/pools?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:16:25 GMT',
etag: '0x8D607A2F88AD288',
location: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdkdatadiskpool',
'last-modified': 'Tue, 11 Dec 2018 18:35:46 GMT',
etag: '0x8D65F9777899C68',
location: 'https://test3.westcentralus.batch.azure.com/pools/nodesdkdatadiskpool',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '6f31d928-5f1c-42c4-8c80-5d4b3e375120',
'request-id': 'c2eca7f6-6004-4139-b490-d61cad4ab1c5',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdkdatadiskpool',
date: 'Tue, 21 Aug 2018 20:16:25 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdkdatadiskpool',
date: 'Tue, 11 Dec 2018 18:35:46 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools?api-version=2018-08-01.7.0', '*')
.post('/pools?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:16:25 GMT',
etag: '0x8D607A2F88AD288',
location: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdkdatadiskpool',
'last-modified': 'Tue, 11 Dec 2018 18:35:46 GMT',
etag: '0x8D65F9777899C68',
location: 'https://test3.westcentralus.batch.azure.com/pools/nodesdkdatadiskpool',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '6f31d928-5f1c-42c4-8c80-5d4b3e375120',
'request-id': 'c2eca7f6-6004-4139-b490-d61cad4ab1c5',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdkdatadiskpool',
date: 'Tue, 21 Aug 2018 20:16:25 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdkdatadiskpool',
date: 'Tue, 11 Dec 2018 18:35:46 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/pools/nodesdkdatadiskpool?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#pools/@Element\",\"id\":\"nodesdkdatadiskpool\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdkdatadiskpool\",\"eTag\":\"0x8D607A2F88AD288\",\"lastModified\":\"2018-08-21T20:16:25.5447688Z\",\"creationTime\":\"2018-08-21T20:16:25.5447688Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:16:25.5447688Z\",\"allocationState\":\"resizing\",\"allocationStateTransitionTime\":\"2018-08-21T20:16:25.5447688Z\",\"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}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/pools/nodesdkdatadiskpool?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#pools/@Element\",\"id\":\"nodesdkdatadiskpool\",\"url\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdkdatadiskpool\",\"eTag\":\"0x8D65F9777899C68\",\"lastModified\":\"2018-12-11T18:35:46.9711464Z\",\"creationTime\":\"2018-12-11T18:35:46.9711464Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:35:46.9711464Z\",\"allocationState\":\"resizing\",\"allocationStateTransitionTime\":\"2018-12-11T18:35:46.9711464Z\",\"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}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
'last-modified': 'Tue, 21 Aug 2018 20:16:25 GMT',
etag: '0x8D607A2F88AD288',
'last-modified': 'Tue, 11 Dec 2018 18:35:46 GMT',
etag: '0x8D65F9777899C68',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '0d063096-3873-4348-a001-2b3100b1ce89',
'request-id': '1c141802-5276-440e-9c1c-b0946f3425ef',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:16:25 GMT',
date: 'Tue, 11 Dec 2018 18:35:47 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/pools/nodesdkdatadiskpool?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#pools/@Element\",\"id\":\"nodesdkdatadiskpool\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdkdatadiskpool\",\"eTag\":\"0x8D607A2F88AD288\",\"lastModified\":\"2018-08-21T20:16:25.5447688Z\",\"creationTime\":\"2018-08-21T20:16:25.5447688Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:16:25.5447688Z\",\"allocationState\":\"resizing\",\"allocationStateTransitionTime\":\"2018-08-21T20:16:25.5447688Z\",\"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}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/pools/nodesdkdatadiskpool?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#pools/@Element\",\"id\":\"nodesdkdatadiskpool\",\"url\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdkdatadiskpool\",\"eTag\":\"0x8D65F9777899C68\",\"lastModified\":\"2018-12-11T18:35:46.9711464Z\",\"creationTime\":\"2018-12-11T18:35:46.9711464Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:35:46.9711464Z\",\"allocationState\":\"resizing\",\"allocationStateTransitionTime\":\"2018-12-11T18:35:46.9711464Z\",\"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}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
'last-modified': 'Tue, 21 Aug 2018 20:16:25 GMT',
etag: '0x8D607A2F88AD288',
'last-modified': 'Tue, 11 Dec 2018 18:35:46 GMT',
etag: '0x8D65F9777899C68',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '0d063096-3873-4348-a001-2b3100b1ce89',
'request-id': '1c141802-5276-440e-9c1c-b0946f3425ef',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:16:25 GMT',
date: 'Tue, 11 Dec 2018 18:35:47 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdkdatadiskpool?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdkdatadiskpool?api-version=2018-12-01.8.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'a7c4a31b-0870-4ce3-9af7-61970a395c1f',
'request-id': 'd401b919-e404-43a1-aebe-36954ab9d864',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:16:27 GMT',
date: 'Tue, 11 Dec 2018 18:35:46 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdkdatadiskpool?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdkdatadiskpool?api-version=2018-12-01.8.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'a7c4a31b-0870-4ce3-9af7-61970a395c1f',
'request-id': 'd401b919-e404-43a1-aebe-36954ab9d864',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:16:27 GMT',
date: 'Tue, 11 Dec 2018 18:35:46 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,38 +1,38 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools?api-version=2018-08-01.7.0', '*')
.reply(400, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.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:14df0f7d-179f-488c-942f-9ec1b6d12e5c\\nTime:2018-08-21T20:16:22.7758842Z\"\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 3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05\"\r\n }\r\n ]\r\n}", { 'content-length': '852',
.post('/pools?api-version=2018-12-01.8.0', '*')
.reply(400, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.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:55bccad4-65eb-464a-b9db-73ce5fe322ca\\nTime:2018-12-11T18:35:45.1020145Z\"\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 f30ef677-64a9-4768-934f-5fbbc0e1ad27\"\r\n }\r\n ]\r\n}", { 'content-length': '849',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '14df0f7d-179f-488c-942f-9ec1b6d12e5c',
'request-id': '55bccad4-65eb-464a-b9db-73ce5fe322ca',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:16:22 GMT',
date: 'Tue, 11 Dec 2018 18:35:45 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools?api-version=2018-08-01.7.0', '*')
.reply(400, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.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:14df0f7d-179f-488c-942f-9ec1b6d12e5c\\nTime:2018-08-21T20:16:22.7758842Z\"\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 3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05\"\r\n }\r\n ]\r\n}", { 'content-length': '852',
.post('/pools?api-version=2018-12-01.8.0', '*')
.reply(400, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.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:55bccad4-65eb-464a-b9db-73ce5fe322ca\\nTime:2018-12-11T18:35:45.1020145Z\"\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 f30ef677-64a9-4768-934f-5fbbc0e1ad27\"\r\n }\r\n ]\r\n}", { 'content-length': '849',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '14df0f7d-179f-488c-942f-9ec1b6d12e5c',
'request-id': '55bccad4-65eb-464a-b9db-73ce5fe322ca',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:16:22 GMT',
date: 'Tue, 11 Dec 2018 18:35:45 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,102 +0,0 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools?api-version=2018-08-01.7.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:16:22 GMT',
etag: '0x8D607A2F6FFB2A6',
location: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdkosdiskpool',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '624a35c0-1e38-4695-99d2-4fd6e4ce6233',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdkosdiskpool',
date: 'Tue, 21 Aug 2018 20:16:22 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools?api-version=2018-08-01.7.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:16:22 GMT',
etag: '0x8D607A2F6FFB2A6',
location: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdkosdiskpool',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '624a35c0-1e38-4695-99d2-4fd6e4ce6233',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdkosdiskpool',
date: 'Tue, 21 Aug 2018 20:16:22 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/pools/nodesdkosdiskpool?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#pools/@Element\",\"id\":\"nodesdkosdiskpool\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdkosdiskpool\",\"eTag\":\"0x8D607A2F6FFB2A6\",\"lastModified\":\"2018-08-21T20:16:22.9552806Z\",\"creationTime\":\"2018-08-21T20:16:22.9552806Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:16:22.9552806Z\",\"allocationState\":\"resizing\",\"allocationStateTransitionTime\":\"2018-08-21T20:16:22.9552806Z\",\"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}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
'last-modified': 'Tue, 21 Aug 2018 20:16:22 GMT',
etag: '0x8D607A2F6FFB2A6',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '7a76d427-dd68-44bd-be62-ec4b950e7825',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:16:23 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/pools/nodesdkosdiskpool?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#pools/@Element\",\"id\":\"nodesdkosdiskpool\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdkosdiskpool\",\"eTag\":\"0x8D607A2F6FFB2A6\",\"lastModified\":\"2018-08-21T20:16:22.9552806Z\",\"creationTime\":\"2018-08-21T20:16:22.9552806Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:16:22.9552806Z\",\"allocationState\":\"resizing\",\"allocationStateTransitionTime\":\"2018-08-21T20:16:22.9552806Z\",\"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}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
'last-modified': 'Tue, 21 Aug 2018 20:16:22 GMT',
etag: '0x8D607A2F6FFB2A6',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '7a76d427-dd68-44bd-be62-ec4b950e7825',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:16:23 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdkosdiskpool?api-version=2018-08-01.7.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '3bc45c53-0418-412c-920f-c8c29d907bb5',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:16:25 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdkosdiskpool?api-version=2018-08-01.7.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '3bc45c53-0418-412c-920f-c8c29d907bb5',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:16:25 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,44 +1,44 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools?api-version=2018-08-01.7.0', '*')
.post('/pools?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:16:28 GMT',
etag: '0x8D607A2FA29DA10',
location: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdkinboundendpointpool',
'last-modified': 'Tue, 11 Dec 2018 18:35:49 GMT',
etag: '0x8D65F9778F109AA',
location: 'https://test3.westcentralus.batch.azure.com/pools/nodesdkinboundendpointpool',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'fd4c1f89-0345-4ea1-859c-8fae1153e10d',
'request-id': 'ca8e14cf-187d-4642-829c-739a2d5c94ac',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdkinboundendpointpool',
date: 'Tue, 21 Aug 2018 20:16:28 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdkinboundendpointpool',
date: 'Tue, 11 Dec 2018 18:35:49 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools?api-version=2018-08-01.7.0', '*')
.post('/pools?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:16:28 GMT',
etag: '0x8D607A2FA29DA10',
location: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdkinboundendpointpool',
'last-modified': 'Tue, 11 Dec 2018 18:35:49 GMT',
etag: '0x8D65F9778F109AA',
location: 'https://test3.westcentralus.batch.azure.com/pools/nodesdkinboundendpointpool',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'fd4c1f89-0345-4ea1-859c-8fae1153e10d',
'request-id': 'ca8e14cf-187d-4642-829c-739a2d5c94ac',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdkinboundendpointpool',
date: 'Tue, 21 Aug 2018 20:16:28 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdkinboundendpointpool',
date: 'Tue, 11 Dec 2018 18:35:49 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,38 +1,38 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools?api-version=2018-08-01.7.0', '*')
.reply(403, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.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:6f9e6709-7ff8-490d-9572-add29e5fe3b0\\nTime:2018-08-21T20:16:22.3010945Z\"\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}", { 'content-length': '582',
.post('/pools?api-version=2018-12-01.8.0', '*')
.reply(403, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.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:6754efd4-151c-493a-bfa7-707392f575cf\\nTime:2018-12-11T18:35:44.2066794Z\"\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}", { 'content-length': '579',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '6f9e6709-7ff8-490d-9572-add29e5fe3b0',
'request-id': '6754efd4-151c-493a-bfa7-707392f575cf',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:16:21 GMT',
date: 'Tue, 11 Dec 2018 18:35:44 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools?api-version=2018-08-01.7.0', '*')
.reply(403, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.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:6f9e6709-7ff8-490d-9572-add29e5fe3b0\\nTime:2018-08-21T20:16:22.3010945Z\"\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}", { 'content-length': '582',
.post('/pools?api-version=2018-12-01.8.0', '*')
.reply(403, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.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:6754efd4-151c-493a-bfa7-707392f575cf\\nTime:2018-12-11T18:35:44.2066794Z\"\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}", { 'content-length': '579',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '6f9e6709-7ff8-490d-9572-add29e5fe3b0',
'request-id': '6754efd4-151c-493a-bfa7-707392f575cf',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:16:21 GMT',
date: 'Tue, 11 Dec 2018 18:35:44 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,76 +1,76 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-08-01.7.0', '*')
.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:31:00 GMT',
etag: '0x8D607A5021DEA9B',
location: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/ApplicationPacakgeReferenceTask',
'last-modified': 'Tue, 11 Dec 2018 18:48:34 GMT',
etag: '0x8D65F994130DD32',
location: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/ApplicationPacakgeReferenceTask',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '999e4662-f9cf-44ef-9944-da6f9560e349',
'request-id': '1fd4c185-74b7-4fa5-ac7a-17076272d11a',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/ApplicationPacakgeReferenceTask',
date: 'Tue, 21 Aug 2018 20:31:00 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/ApplicationPacakgeReferenceTask',
date: 'Tue, 11 Dec 2018 18:48:34 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-08-01.7.0', '*')
.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:31:00 GMT',
etag: '0x8D607A5021DEA9B',
location: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/ApplicationPacakgeReferenceTask',
'last-modified': 'Tue, 11 Dec 2018 18:48:34 GMT',
etag: '0x8D65F994130DD32',
location: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/ApplicationPacakgeReferenceTask',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '999e4662-f9cf-44ef-9944-da6f9560e349',
'request-id': '1fd4c185-74b7-4fa5-ac7a-17076272d11a',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/ApplicationPacakgeReferenceTask',
date: 'Tue, 21 Aug 2018 20:31:00 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/ApplicationPacakgeReferenceTask',
date: 'Tue, 11 Dec 2018 18:48:34 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks/ApplicationPacakgeReferenceTask?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#tasks/@Element\",\"id\":\"ApplicationPacakgeReferenceTask\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/ApplicationPacakgeReferenceTask\",\"eTag\":\"0x8D607A5021DEA9B\",\"creationTime\":\"2018-08-21T20:31:00.6017179Z\",\"lastModified\":\"2018-08-21T20:31:00.6017179Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:31:00.6017179Z\",\"commandLine\":\"cmd /c echo hello world\",\"applicationPackageReferences\":[\r\n {\r\n \"applicationId\":\"my_application_id\"\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\":3\r\n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\":0\r\n }\r\n}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks/ApplicationPacakgeReferenceTask?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#tasks/@Element\",\"id\":\"ApplicationPacakgeReferenceTask\",\"url\":\"https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/ApplicationPacakgeReferenceTask\",\"eTag\":\"0x8D65F994130DD32\",\"creationTime\":\"2018-12-11T18:48:34.7860274Z\",\"lastModified\":\"2018-12-11T18:48:34.7860274Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:48:34.7860274Z\",\"commandLine\":\"cmd /c echo hello world\",\"applicationPackageReferences\":[\r\n {\r\n \"applicationId\":\"my_application_id\"\r\n }\r\n ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P7D\",\"maxTaskRetryCount\":3\r\n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\":0\r\n }\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
'last-modified': 'Tue, 21 Aug 2018 20:31:00 GMT',
etag: '0x8D607A5021DEA9B',
'last-modified': 'Tue, 11 Dec 2018 18:48:34 GMT',
etag: '0x8D65F994130DD32',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '96578e5a-3034-4627-badf-60697ad65cad',
'request-id': '9dc264e5-d0dd-4bb2-b185-018c0b5e9a26',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:00 GMT',
date: 'Tue, 11 Dec 2018 18:48:34 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks/ApplicationPacakgeReferenceTask?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#tasks/@Element\",\"id\":\"ApplicationPacakgeReferenceTask\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/ApplicationPacakgeReferenceTask\",\"eTag\":\"0x8D607A5021DEA9B\",\"creationTime\":\"2018-08-21T20:31:00.6017179Z\",\"lastModified\":\"2018-08-21T20:31:00.6017179Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:31:00.6017179Z\",\"commandLine\":\"cmd /c echo hello world\",\"applicationPackageReferences\":[\r\n {\r\n \"applicationId\":\"my_application_id\"\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\":3\r\n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\":0\r\n }\r\n}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks/ApplicationPacakgeReferenceTask?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#tasks/@Element\",\"id\":\"ApplicationPacakgeReferenceTask\",\"url\":\"https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/ApplicationPacakgeReferenceTask\",\"eTag\":\"0x8D65F994130DD32\",\"creationTime\":\"2018-12-11T18:48:34.7860274Z\",\"lastModified\":\"2018-12-11T18:48:34.7860274Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:48:34.7860274Z\",\"commandLine\":\"cmd /c echo hello world\",\"applicationPackageReferences\":[\r\n {\r\n \"applicationId\":\"my_application_id\"\r\n }\r\n ],\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P7D\",\"maxTaskRetryCount\":3\r\n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\":0\r\n }\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
'last-modified': 'Tue, 21 Aug 2018 20:31:00 GMT',
etag: '0x8D607A5021DEA9B',
'last-modified': 'Tue, 11 Dec 2018 18:48:34 GMT',
etag: '0x8D65F994130DD32',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '96578e5a-3034-4627-badf-60697ad65cad',
'request-id': '9dc264e5-d0dd-4bb2-b185-018c0b5e9a26',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:00 GMT',
date: 'Tue, 11 Dec 2018 18:48:34 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,40 +1,40 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools/nodesdktestpool1/nodes/tvm-14141481_1-20180821t200555z/users?api-version=2018-08-01.7.0', '*')
.post('/pools/nodesdktestpool1/nodes/tvmps_13cf4cee9dd1594f9da06399ef98ede3e5a4010f3233627c3837a43dbeff5868_d/users?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
location: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_1-20180821t200555z/users/NodeSDKTestUser',
location: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvmps_13cf4cee9dd1594f9da06399ef98ede3e5a4010f3233627c3837a43dbeff5868_d/users/NodeSDKTestUser',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'fbcb8ab0-34ee-4caf-94e4-8be65b9e3a7d',
'request-id': 'd3104aac-2e4d-4735-99c4-48e9a8de2d79',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_1-20180821t200555z/users/NodeSDKTestUser',
date: 'Tue, 21 Aug 2018 20:23:10 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvmps_13cf4cee9dd1594f9da06399ef98ede3e5a4010f3233627c3837a43dbeff5868_d/users/NodeSDKTestUser',
date: 'Tue, 11 Dec 2018 18:42:31 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools/nodesdktestpool1/nodes/tvm-14141481_1-20180821t200555z/users?api-version=2018-08-01.7.0', '*')
.post('/pools/nodesdktestpool1/nodes/tvmps_13cf4cee9dd1594f9da06399ef98ede3e5a4010f3233627c3837a43dbeff5868_d/users?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
location: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_1-20180821t200555z/users/NodeSDKTestUser',
location: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvmps_13cf4cee9dd1594f9da06399ef98ede3e5a4010f3233627c3837a43dbeff5868_d/users/NodeSDKTestUser',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'fbcb8ab0-34ee-4caf-94e4-8be65b9e3a7d',
'request-id': 'd3104aac-2e4d-4735-99c4-48e9a8de2d79',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_1-20180821t200555z/users/NodeSDKTestUser',
date: 'Tue, 21 Aug 2018 20:23:10 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvmps_13cf4cee9dd1594f9da06399ef98ede3e5a4010f3233627c3837a43dbeff5868_d/users/NodeSDKTestUser',
date: 'Tue, 11 Dec 2018 18:42:31 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,40 +1,40 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/certificates?api-version=2018-08-01.7.0', '*')
.post('/certificates?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
location: 'https://lchency4.westcentralus.batch.azure.com/certificates(ThumbprintAlgorithm=sha1,Thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)',
location: 'https://test3.westcentralus.batch.azure.com/certificates(ThumbprintAlgorithm=sha1,Thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '0b81a406-bf7f-4fd0-b6d2-79b02e3bea15',
'request-id': 'c6385cff-c836-4d26-8f95-1cb3f71ca542',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/certificates(ThumbprintAlgorithm=sha1,Thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)',
date: 'Tue, 21 Aug 2018 20:05:03 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/certificates(ThumbprintAlgorithm=sha1,Thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)',
date: 'Tue, 11 Dec 2018 18:27:20 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/certificates?api-version=2018-08-01.7.0', '*')
.post('/certificates?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
location: 'https://lchency4.westcentralus.batch.azure.com/certificates(ThumbprintAlgorithm=sha1,Thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)',
location: 'https://test3.westcentralus.batch.azure.com/certificates(ThumbprintAlgorithm=sha1,Thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '0b81a406-bf7f-4fd0-b6d2-79b02e3bea15',
'request-id': 'c6385cff-c836-4d26-8f95-1cb3f71ca542',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/certificates(ThumbprintAlgorithm=sha1,Thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)',
date: 'Tue, 21 Aug 2018 20:05:03 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/certificates(ThumbprintAlgorithm=sha1,Thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)',
date: 'Tue, 11 Dec 2018 18:27:20 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,38 +1,38 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.head('/jobschedules/NodeSDKTestSchedule?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.head('/jobschedules/NodeSDKTestSchedule?api-version=2018-12-01.8.0')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:31:03 GMT',
etag: '0x8D607A503E9DDB3',
'last-modified': 'Tue, 11 Dec 2018 21:04:05 GMT',
etag: '0x8D65FAC2F4D7E17',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '04390025-2fe6-44de-a4f6-2de4912d0575',
'request-id': '94cca740-16fd-499f-bc6f-915a129c849e',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:04 GMT',
date: 'Tue, 11 Dec 2018 21:04:05 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.head('/jobschedules/NodeSDKTestSchedule?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.head('/jobschedules/NodeSDKTestSchedule?api-version=2018-12-01.8.0')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:31:03 GMT',
etag: '0x8D607A503E9DDB3',
'last-modified': 'Tue, 11 Dec 2018 21:04:05 GMT',
etag: '0x8D65FAC2F4D7E17',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '04390025-2fe6-44de-a4f6-2de4912d0575',
'request-id': '94cca740-16fd-499f-bc6f-915a129c849e',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:04 GMT',
date: 'Tue, 11 Dec 2018 21:04:05 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,38 +1,38 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.head('/pools/nodesdktestpool1?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.head('/pools/nodesdktestpool1?api-version=2018-12-01.8.0')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:21 GMT',
etag: '0x8D607A437BD2FE0',
'last-modified': 'Tue, 11 Dec 2018 18:44:44 GMT',
etag: '0x8D65F98B81717BC',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'f6fc5f3d-6d20-434a-9927-7045eb0c906d',
'request-id': 'c0330b36-20e2-4aa8-9c6f-0e31eee60126',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:25:22 GMT',
date: 'Tue, 11 Dec 2018 18:44:47 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.head('/pools/nodesdktestpool1?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.head('/pools/nodesdktestpool1?api-version=2018-12-01.8.0')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:21 GMT',
etag: '0x8D607A437BD2FE0',
'last-modified': 'Tue, 11 Dec 2018 18:44:44 GMT',
etag: '0x8D65F98B81717BC',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'f6fc5f3d-6d20-434a-9927-7045eb0c906d',
'request-id': 'c0330b36-20e2-4aa8-9c6f-0e31eee60126',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:25:22 GMT',
date: 'Tue, 11 Dec 2018 18:44:47 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,36 +1,36 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/taskcounts?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#taskcounts/@Element\",\"active\":0,\"running\":0,\"completed\":4,\"succeeded\":3,\"failed\":1\r\n}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/taskcounts?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#taskcounts/@Element\",\"active\":0,\"running\":0,\"completed\":4,\"succeeded\":3,\"failed\":1\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '0af66760-8534-4760-b64a-03a825aa9c5f',
'request-id': 'c937f965-551e-4bc1-a2fc-a6856061b465',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:27:23 GMT',
date: 'Tue, 11 Dec 2018 18:46:48 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/taskcounts?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#taskcounts/@Element\",\"active\":0,\"running\":0,\"completed\":4,\"succeeded\":3,\"failed\":1\r\n}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/taskcounts?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#taskcounts/@Element\",\"active\":0,\"running\":0,\"completed\":4,\"succeeded\":3,\"failed\":1\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '0af66760-8534-4760-b64a-03a825aa9c5f',
'request-id': 'c937f965-551e-4bc1-a2fc-a6856061b465',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:27:23 GMT',
date: 'Tue, 11 Dec 2018 18:46:48 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,44 +1,44 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/jobschedules?api-version=2018-08-01.7.0', '*')
.post('/jobschedules?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:31:03 GMT',
etag: '0x8D607A503E9DDB3',
location: 'https://lchency4.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule',
'last-modified': 'Tue, 11 Dec 2018 21:04:05 GMT',
etag: '0x8D65FAC2F4D7E17',
location: 'https://test3.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '50d586c2-ace8-438c-8a95-d0c4d27da08c',
'request-id': '5a1e209e-5a9d-4328-8f6c-395854d964b2',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule',
date: 'Tue, 21 Aug 2018 20:31:03 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule',
date: 'Tue, 11 Dec 2018 21:04:05 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/jobschedules?api-version=2018-08-01.7.0', '*')
.post('/jobschedules?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:31:03 GMT',
etag: '0x8D607A503E9DDB3',
location: 'https://lchency4.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule',
'last-modified': 'Tue, 11 Dec 2018 21:04:05 GMT',
etag: '0x8D65FAC2F4D7E17',
location: 'https://test3.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '50d586c2-ace8-438c-8a95-d0c4d27da08c',
'request-id': '5a1e209e-5a9d-4328-8f6c-395854d964b2',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule',
date: 'Tue, 21 Aug 2018 20:31:03 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule',
date: 'Tue, 11 Dec 2018 21:04:05 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,44 +1,44 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/jobs?api-version=2018-08-01.7.0', '*')
.post('/jobs?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:23 GMT',
etag: '0x8D607A43940B4CA',
location: 'https://lchency4.westcentralus.batch.azure.com/jobs/job-1',
'last-modified': 'Tue, 11 Dec 2018 18:44:48 GMT',
etag: '0x8D65F98BA6B5D6F',
location: 'https://test3.westcentralus.batch.azure.com/jobs/job-1',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '7ae4eb31-4043-4d75-9b70-0af18ce2f990',
'request-id': '0dbc31d9-4154-4552-a6e7-2a74832b078f',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/job-1',
date: 'Tue, 21 Aug 2018 20:25:23 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/job-1',
date: 'Tue, 11 Dec 2018 18:44:48 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/jobs?api-version=2018-08-01.7.0', '*')
.post('/jobs?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:23 GMT',
etag: '0x8D607A43940B4CA',
location: 'https://lchency4.westcentralus.batch.azure.com/jobs/job-1',
'last-modified': 'Tue, 11 Dec 2018 18:44:48 GMT',
etag: '0x8D65F98BA6B5D6F',
location: 'https://test3.westcentralus.batch.azure.com/jobs/job-1',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '7ae4eb31-4043-4d75-9b70-0af18ce2f990',
'request-id': '0dbc31d9-4154-4552-a6e7-2a74832b078f',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/job-1',
date: 'Tue, 21 Aug 2018 20:25:23 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/job-1',
date: 'Tue, 11 Dec 2018 18:44:48 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,44 +1,44 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools?api-version=2018-08-01.7.0', '*')
.post('/pools?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:05:04 GMT',
etag: '0x8D607A1628D0655',
location: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1',
'last-modified': 'Tue, 11 Dec 2018 18:27:21 GMT',
etag: '0x8D65F964A038F60',
location: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '32251087-3df7-4803-8a01-dcab5967bc2d',
'request-id': '0390abe2-2925-481a-b8ce-f0f3f1e3ee3b',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1',
date: 'Tue, 21 Aug 2018 20:05:03 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1',
date: 'Tue, 11 Dec 2018 18:27:21 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools?api-version=2018-08-01.7.0', '*')
.post('/pools?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:05:04 GMT',
etag: '0x8D607A1628D0655',
location: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1',
'last-modified': 'Tue, 11 Dec 2018 18:27:21 GMT',
etag: '0x8D65F964A038F60',
location: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '32251087-3df7-4803-8a01-dcab5967bc2d',
'request-id': '0390abe2-2925-481a-b8ce-f0f3f1e3ee3b',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1',
date: 'Tue, 21 Aug 2018 20:05:03 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1',
date: 'Tue, 11 Dec 2018 18:27:21 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,126 +1,70 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools?api-version=2018-08-01.7.0', '*')
.post('/pools?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:06:44 GMT',
etag: '0x8D607A19E6D47A0',
location: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool_licenses',
'last-modified': 'Tue, 11 Dec 2018 18:29:01 GMT',
etag: '0x8D65F968601F028',
location: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool_licenses',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '8087a61e-23db-4262-860d-e075c3348c35',
'request-id': '70802976-d774-4410-b514-ec24c928d132',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool_licenses',
date: 'Tue, 21 Aug 2018 20:06:44 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool_licenses',
date: 'Tue, 11 Dec 2018 18:29:01 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools?api-version=2018-08-01.7.0', '*')
.post('/pools?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:06:44 GMT',
etag: '0x8D607A19E6D47A0',
location: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool_licenses',
'last-modified': 'Tue, 11 Dec 2018 18:29:01 GMT',
etag: '0x8D65F968601F028',
location: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool_licenses',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '8087a61e-23db-4262-860d-e075c3348c35',
'request-id': '70802976-d774-4410-b514-ec24c928d132',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool_licenses',
date: 'Tue, 21 Aug 2018 20:06:44 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool_licenses',
date: 'Tue, 11 Dec 2018 18:29:01 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdktestpool_licenses?api-version=2018-08-01.7.0')
.reply(500, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"OperationTimedOut\",\"message\":{\r\n \"lang\":\"en-US\",\"value\":\"Operation could not be completed within the specified time.\\nRequestId:d3fd4578-4696-4ae8-9de2-8cb8d6eaf23c\\nTime:2018-08-21T20:07:11.6718362Z\"\r\n }\r\n}", { 'content-length': '366',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'd3fd4578-4696-4ae8-9de2-8cb8d6eaf23c',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:07:11 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdktestpool_licenses?api-version=2018-08-01.7.0')
.reply(500, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"OperationTimedOut\",\"message\":{\r\n \"lang\":\"en-US\",\"value\":\"Operation could not be completed within the specified time.\\nRequestId:d3fd4578-4696-4ae8-9de2-8cb8d6eaf23c\\nTime:2018-08-21T20:07:11.6718362Z\"\r\n }\r\n}", { 'content-length': '366',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'd3fd4578-4696-4ae8-9de2-8cb8d6eaf23c',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:07:11 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdktestpool_licenses?api-version=2018-08-01.7.0')
.reply(500, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"OperationTimedOut\",\"message\":{\r\n \"lang\":\"en-US\",\"value\":\"Operation could not be completed within the specified time.\\nRequestId:130afc43-b7cf-4039-8985-b9f697033107\\nTime:2018-08-21T20:08:10.3146589Z\"\r\n }\r\n}", { 'content-length': '366',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '130afc43-b7cf-4039-8985-b9f697033107',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:08:10 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdktestpool_licenses?api-version=2018-08-01.7.0')
.reply(500, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"OperationTimedOut\",\"message\":{\r\n \"lang\":\"en-US\",\"value\":\"Operation could not be completed within the specified time.\\nRequestId:130afc43-b7cf-4039-8985-b9f697033107\\nTime:2018-08-21T20:08:10.3146589Z\"\r\n }\r\n}", { 'content-length': '366',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '130afc43-b7cf-4039-8985-b9f697033107',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:08:10 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdktestpool_licenses?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdktestpool_licenses?api-version=2018-12-01.8.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'efb1b63e-0afe-4fc5-b453-2b914d4b21d6',
'request-id': '074a1b53-3a3c-4009-b149-499e944e90b1',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:09:40 GMT',
date: 'Tue, 11 Dec 2018 18:29:02 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdktestpool_licenses?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdktestpool_licenses?api-version=2018-12-01.8.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'efb1b63e-0afe-4fc5-b453-2b914d4b21d6',
'request-id': '074a1b53-3a3c-4009-b149-499e944e90b1',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:09:40 GMT',
date: 'Tue, 11 Dec 2018 18:29:02 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,44 +1,44 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools?api-version=2018-08-01.7.0', '*')
.post('/pools?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:21 GMT',
etag: '0x8D607A437D63893',
location: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool2',
'last-modified': 'Tue, 11 Dec 2018 18:44:45 GMT',
etag: '0x8D65F98B8A68220',
location: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool2',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '8886d2df-71fe-4c78-a5b8-2200ef938896',
'request-id': 'f7bc543d-2356-4c75-93a2-3e041d602eed',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool2',
date: 'Tue, 21 Aug 2018 20:25:21 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool2',
date: 'Tue, 11 Dec 2018 18:44:45 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools?api-version=2018-08-01.7.0', '*')
.post('/pools?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:21 GMT',
etag: '0x8D607A437D63893',
location: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool2',
'last-modified': 'Tue, 11 Dec 2018 18:44:45 GMT',
etag: '0x8D65F98B8A68220',
location: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool2',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '8886d2df-71fe-4c78-a5b8-2200ef938896',
'request-id': 'f7bc543d-2356-4c75-93a2-3e041d602eed',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool2',
date: 'Tue, 21 Aug 2018 20:25:21 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool2',
date: 'Tue, 11 Dec 2018 18:44:45 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,44 +1,44 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-08-01.7.0', '*')
.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:25 GMT',
etag: '0x8D607A43A9B7793',
location: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2',
'last-modified': 'Tue, 11 Dec 2018 18:44:51 GMT',
etag: '0x8D65F98BC1940CF',
location: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '902900e1-9808-427b-9e7c-d14c7cd254c4',
'request-id': '5ca1cf23-f047-49c6-86a0-b1ed539bd7bd',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2',
date: 'Tue, 21 Aug 2018 20:25:25 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2',
date: 'Tue, 11 Dec 2018 18:44:51 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-08-01.7.0', '*')
.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:25 GMT',
etag: '0x8D607A43A9B7793',
location: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2',
'last-modified': 'Tue, 11 Dec 2018 18:44:51 GMT',
etag: '0x8D65F98BC1940CF',
location: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '902900e1-9808-427b-9e7c-d14c7cd254c4',
'request-id': '5ca1cf23-f047-49c6-86a0-b1ed539bd7bd',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2',
date: 'Tue, 21 Aug 2018 20:25:25 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2',
date: 'Tue, 11 Dec 2018 18:44:51 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,44 +1,44 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-08-01.7.0', '*')
.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:24 GMT',
etag: '0x8D607A43984F282',
location: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask',
'last-modified': 'Tue, 11 Dec 2018 18:44:49 GMT',
etag: '0x8D65F98BABE5E84',
location: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'b1ba862b-3984-481b-bc32-773401937f59',
'request-id': '988a17f3-a9fc-4274-bdf9-d1494520af0b',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask',
date: 'Tue, 21 Aug 2018 20:25:24 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask',
date: 'Tue, 11 Dec 2018 18:44:49 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-08-01.7.0', '*')
.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:24 GMT',
etag: '0x8D607A43984F282',
location: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask',
'last-modified': 'Tue, 11 Dec 2018 18:44:49 GMT',
etag: '0x8D65F98BABE5E84',
location: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'b1ba862b-3984-481b-bc32-773401937f59',
'request-id': '988a17f3-a9fc-4274-bdf9-d1494520af0b',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask',
date: 'Tue, 21 Aug 2018 20:25:24 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask',
date: 'Tue, 11 Dec 2018 18:44:49 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,76 +1,76 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-08-01.7.0', '*')
.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:27:07 GMT',
etag: '0x8D607A477151458',
location: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithUserIdentity',
'last-modified': 'Tue, 11 Dec 2018 18:46:33 GMT',
etag: '0x8D65F98F8B53EB6',
location: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithUserIdentity',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'd58be13c-7af6-4948-acc7-4003b0349307',
'request-id': '790d6772-ec58-4f71-af3c-b0ff7bb1d1f2',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithUserIdentity',
date: 'Tue, 21 Aug 2018 20:27:07 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithUserIdentity',
date: 'Tue, 11 Dec 2018 18:46:33 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-08-01.7.0', '*')
.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:27:07 GMT',
etag: '0x8D607A477151458',
location: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithUserIdentity',
'last-modified': 'Tue, 11 Dec 2018 18:46:33 GMT',
etag: '0x8D65F98F8B53EB6',
location: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithUserIdentity',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'd58be13c-7af6-4948-acc7-4003b0349307',
'request-id': '790d6772-ec58-4f71-af3c-b0ff7bb1d1f2',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithUserIdentity',
date: 'Tue, 21 Aug 2018 20:27:07 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithUserIdentity',
date: 'Tue, 11 Dec 2018 18:46:33 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithUserIdentity?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#tasks/@Element\",\"id\":\"TaskWithUserIdentity\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithUserIdentity\",\"eTag\":\"0x8D607A477151458\",\"creationTime\":\"2018-08-21T20:27:07.3405016Z\",\"lastModified\":\"2018-08-21T20:27:07.3405016Z\",\"state\":\"completed\",\"stateTransitionTime\":\"2018-08-21T20:27:18.5296295Z\",\"previousState\":\"running\",\"previousStateTransitionTime\":\"2018-08-21T20:27:18.4686303Z\",\"commandLine\":\"cmd /c net session >nul 2>&1\",\"userIdentity\":{\r\n \"username\":\"nonAdminUser\"\r\n },\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":3\r\n },\"executionInfo\":{\r\n \"startTime\":\"2018-08-21T20:27:18.4686303Z\",\"endTime\":\"2018-08-21T20:27:18.5296295Z\",\"exitCode\":2,\"failureInfo\":{\r\n \"category\":\"UserError\",\"code\":\"FailureExitCode\",\"message\":\"The task exited with an exit code representing a failure\",\"details\":[\r\n {\r\n \"name\":\"Message\",\"value\":\"The task exited with an exit code representing a failure\"\r\n }\r\n ]\r\n },\"result\":\"Failure\",\"retryCount\":3,\"lastRetryTime\":\"2018-08-21T20:27:16.7229929Z\",\"requeueCount\":0\r\n },\"nodeInfo\":{\r\n \"affinityId\":\"TVM:tvm-14141481_3-20180821t200555z\",\"nodeUrl\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_3-20180821t200555z\",\"poolId\":\"nodesdktestpool1\",\"nodeId\":\"tvm-14141481_3-20180821t200555z\",\"taskRootDirectory\":\"workitems\\\\helloworldjobnodesdktest\\\\job-1\\\\taskwithuseridentity\",\"taskRootDirectoryUrl\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_3-20180821t200555z/files/workitems/helloworldjobnodesdktest/job-1/taskwithuseridentity\"\r\n }\r\n}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithUserIdentity?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#tasks/@Element\",\"id\":\"TaskWithUserIdentity\",\"url\":\"https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithUserIdentity\",\"eTag\":\"0x8D65F98F8B53EB6\",\"creationTime\":\"2018-12-11T18:46:33.1799222Z\",\"lastModified\":\"2018-12-11T18:46:33.1799222Z\",\"state\":\"completed\",\"stateTransitionTime\":\"2018-12-11T18:46:38.769842Z\",\"previousState\":\"running\",\"previousStateTransitionTime\":\"2018-12-11T18:46:37.733419Z\",\"commandLine\":\"cmd /c net session >nul 2>&1\",\"userIdentity\":{\r\n \"username\":\"nonAdminUser\"\r\n },\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P7D\",\"maxTaskRetryCount\":3\r\n },\"executionInfo\":{\r\n \"startTime\":\"2018-12-11T18:46:38.534064Z\",\"endTime\":\"2018-12-11T18:46:38.769842Z\",\"exitCode\":2,\"failureInfo\":{\r\n \"category\":\"UserError\",\"code\":\"FailureExitCode\",\"message\":\"The task exited with an exit code representing a failure\",\"details\":[\r\n {\r\n \"name\":\"Message\",\"value\":\"The task exited with an exit code representing a failure\"\r\n }\r\n ]\r\n },\"result\":\"failure\",\"retryCount\":3,\"lastRetryTime\":\"2018-12-11T18:46:38.534064Z\",\"requeueCount\":0\r\n },\"nodeInfo\":{\r\n \"affinityId\":\"TVM:tvmps_bc8f91eb73db7fd10d852ff323ee06ef51abb84fc93e7dae4e18fa0b0b95b030_d\",\"nodeUrl\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvmps_bc8f91eb73db7fd10d852ff323ee06ef51abb84fc93e7dae4e18fa0b0b95b030_d\",\"poolId\":\"nodesdktestpool1\",\"nodeId\":\"tvmps_bc8f91eb73db7fd10d852ff323ee06ef51abb84fc93e7dae4e18fa0b0b95b030_d\",\"taskRootDirectory\":\"workitems\\\\HelloWorldJobNodeSDKTest\\\\job-1\\\\TaskWithUserIdentity\",\"taskRootDirectoryUrl\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvmps_bc8f91eb73db7fd10d852ff323ee06ef51abb84fc93e7dae4e18fa0b0b95b030_d/files/workitems/HelloWorldJobNodeSDKTest/job-1/TaskWithUserIdentity\"\r\n }\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
'last-modified': 'Tue, 21 Aug 2018 20:27:07 GMT',
etag: '0x8D607A477151458',
'last-modified': 'Tue, 11 Dec 2018 18:46:33 GMT',
etag: '0x8D65F98F8B53EB6',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '6b3ca097-cb5d-4045-bff7-12a3ef657f30',
'request-id': '181cc80d-68df-471c-91ff-904f7a4a6e64',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:27:21 GMT',
date: 'Tue, 11 Dec 2018 18:46:48 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithUserIdentity?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#tasks/@Element\",\"id\":\"TaskWithUserIdentity\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithUserIdentity\",\"eTag\":\"0x8D607A477151458\",\"creationTime\":\"2018-08-21T20:27:07.3405016Z\",\"lastModified\":\"2018-08-21T20:27:07.3405016Z\",\"state\":\"completed\",\"stateTransitionTime\":\"2018-08-21T20:27:18.5296295Z\",\"previousState\":\"running\",\"previousStateTransitionTime\":\"2018-08-21T20:27:18.4686303Z\",\"commandLine\":\"cmd /c net session >nul 2>&1\",\"userIdentity\":{\r\n \"username\":\"nonAdminUser\"\r\n },\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":3\r\n },\"executionInfo\":{\r\n \"startTime\":\"2018-08-21T20:27:18.4686303Z\",\"endTime\":\"2018-08-21T20:27:18.5296295Z\",\"exitCode\":2,\"failureInfo\":{\r\n \"category\":\"UserError\",\"code\":\"FailureExitCode\",\"message\":\"The task exited with an exit code representing a failure\",\"details\":[\r\n {\r\n \"name\":\"Message\",\"value\":\"The task exited with an exit code representing a failure\"\r\n }\r\n ]\r\n },\"result\":\"Failure\",\"retryCount\":3,\"lastRetryTime\":\"2018-08-21T20:27:16.7229929Z\",\"requeueCount\":0\r\n },\"nodeInfo\":{\r\n \"affinityId\":\"TVM:tvm-14141481_3-20180821t200555z\",\"nodeUrl\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_3-20180821t200555z\",\"poolId\":\"nodesdktestpool1\",\"nodeId\":\"tvm-14141481_3-20180821t200555z\",\"taskRootDirectory\":\"workitems\\\\helloworldjobnodesdktest\\\\job-1\\\\taskwithuseridentity\",\"taskRootDirectoryUrl\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_3-20180821t200555z/files/workitems/helloworldjobnodesdktest/job-1/taskwithuseridentity\"\r\n }\r\n}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithUserIdentity?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#tasks/@Element\",\"id\":\"TaskWithUserIdentity\",\"url\":\"https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithUserIdentity\",\"eTag\":\"0x8D65F98F8B53EB6\",\"creationTime\":\"2018-12-11T18:46:33.1799222Z\",\"lastModified\":\"2018-12-11T18:46:33.1799222Z\",\"state\":\"completed\",\"stateTransitionTime\":\"2018-12-11T18:46:38.769842Z\",\"previousState\":\"running\",\"previousStateTransitionTime\":\"2018-12-11T18:46:37.733419Z\",\"commandLine\":\"cmd /c net session >nul 2>&1\",\"userIdentity\":{\r\n \"username\":\"nonAdminUser\"\r\n },\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P7D\",\"maxTaskRetryCount\":3\r\n },\"executionInfo\":{\r\n \"startTime\":\"2018-12-11T18:46:38.534064Z\",\"endTime\":\"2018-12-11T18:46:38.769842Z\",\"exitCode\":2,\"failureInfo\":{\r\n \"category\":\"UserError\",\"code\":\"FailureExitCode\",\"message\":\"The task exited with an exit code representing a failure\",\"details\":[\r\n {\r\n \"name\":\"Message\",\"value\":\"The task exited with an exit code representing a failure\"\r\n }\r\n ]\r\n },\"result\":\"failure\",\"retryCount\":3,\"lastRetryTime\":\"2018-12-11T18:46:38.534064Z\",\"requeueCount\":0\r\n },\"nodeInfo\":{\r\n \"affinityId\":\"TVM:tvmps_bc8f91eb73db7fd10d852ff323ee06ef51abb84fc93e7dae4e18fa0b0b95b030_d\",\"nodeUrl\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvmps_bc8f91eb73db7fd10d852ff323ee06ef51abb84fc93e7dae4e18fa0b0b95b030_d\",\"poolId\":\"nodesdktestpool1\",\"nodeId\":\"tvmps_bc8f91eb73db7fd10d852ff323ee06ef51abb84fc93e7dae4e18fa0b0b95b030_d\",\"taskRootDirectory\":\"workitems\\\\HelloWorldJobNodeSDKTest\\\\job-1\\\\TaskWithUserIdentity\",\"taskRootDirectoryUrl\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvmps_bc8f91eb73db7fd10d852ff323ee06ef51abb84fc93e7dae4e18fa0b0b95b030_d/files/workitems/HelloWorldJobNodeSDKTest/job-1/TaskWithUserIdentity\"\r\n }\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
'last-modified': 'Tue, 21 Aug 2018 20:27:07 GMT',
etag: '0x8D607A477151458',
'last-modified': 'Tue, 11 Dec 2018 18:46:33 GMT',
etag: '0x8D65F98F8B53EB6',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '6b3ca097-cb5d-4045-bff7-12a3ef657f30',
'request-id': '181cc80d-68df-471c-91ff-904f7a4a6e64',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:27:21 GMT',
date: 'Tue, 11 Dec 2018 18:46:48 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,76 +1,76 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-08-01.7.0', '*')
.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:27:06 GMT',
etag: '0x8D607A476DDB5B0',
location: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithAuthTokenSettings',
'last-modified': 'Tue, 11 Dec 2018 18:46:32 GMT',
etag: '0x8D65F98F8749CB1',
location: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithAuthTokenSettings',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'c1bb3115-1da7-48e7-99c0-23d10e9f51ac',
'request-id': '6be8cecd-0b5f-4367-8330-f3d85a26a651',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithAuthTokenSettings',
date: 'Tue, 21 Aug 2018 20:27:07 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithAuthTokenSettings',
date: 'Tue, 11 Dec 2018 18:46:32 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-08-01.7.0', '*')
.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:27:06 GMT',
etag: '0x8D607A476DDB5B0',
location: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithAuthTokenSettings',
'last-modified': 'Tue, 11 Dec 2018 18:46:32 GMT',
etag: '0x8D65F98F8749CB1',
location: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithAuthTokenSettings',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'c1bb3115-1da7-48e7-99c0-23d10e9f51ac',
'request-id': '6be8cecd-0b5f-4367-8330-f3d85a26a651',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithAuthTokenSettings',
date: 'Tue, 21 Aug 2018 20:27:07 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithAuthTokenSettings',
date: 'Tue, 11 Dec 2018 18:46:32 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithAuthTokenSettings?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#tasks/@Element\",\"id\":\"TaskWithAuthTokenSettings\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithAuthTokenSettings\",\"eTag\":\"0x8D607A476DDB5B0\",\"creationTime\":\"2018-08-21T20:27:06.9776304Z\",\"lastModified\":\"2018-08-21T20:27:06.9776304Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:27:06.9776304Z\",\"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\":3\r\n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\":0\r\n }\r\n}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithAuthTokenSettings?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#tasks/@Element\",\"id\":\"TaskWithAuthTokenSettings\",\"url\":\"https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithAuthTokenSettings\",\"eTag\":\"0x8D65F98F8749CB1\",\"creationTime\":\"2018-12-11T18:46:32.7563441Z\",\"lastModified\":\"2018-12-11T18:46:32.7563441Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:46:32.7563441Z\",\"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\":\"P7D\",\"maxTaskRetryCount\":3\r\n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\":0\r\n }\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
'last-modified': 'Tue, 21 Aug 2018 20:27:06 GMT',
etag: '0x8D607A476DDB5B0',
'last-modified': 'Tue, 11 Dec 2018 18:46:32 GMT',
etag: '0x8D65F98F8749CB1',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'f15e1fea-ce4e-432b-b85c-55cf1ca2d5e8',
'request-id': 'b059884b-ecc0-4ab4-8c99-0d89590f8029',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:27:07 GMT',
date: 'Tue, 11 Dec 2018 18:46:32 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithAuthTokenSettings?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#tasks/@Element\",\"id\":\"TaskWithAuthTokenSettings\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithAuthTokenSettings\",\"eTag\":\"0x8D607A476DDB5B0\",\"creationTime\":\"2018-08-21T20:27:06.9776304Z\",\"lastModified\":\"2018-08-21T20:27:06.9776304Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:27:06.9776304Z\",\"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\":3\r\n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\":0\r\n }\r\n}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithAuthTokenSettings?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#tasks/@Element\",\"id\":\"TaskWithAuthTokenSettings\",\"url\":\"https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithAuthTokenSettings\",\"eTag\":\"0x8D65F98F8749CB1\",\"creationTime\":\"2018-12-11T18:46:32.7563441Z\",\"lastModified\":\"2018-12-11T18:46:32.7563441Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:46:32.7563441Z\",\"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\":\"P7D\",\"maxTaskRetryCount\":3\r\n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\":0\r\n }\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
'last-modified': 'Tue, 21 Aug 2018 20:27:06 GMT',
etag: '0x8D607A476DDB5B0',
'last-modified': 'Tue, 11 Dec 2018 18:46:32 GMT',
etag: '0x8D65F98F8749CB1',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'f15e1fea-ce4e-432b-b85c-55cf1ca2d5e8',
'request-id': 'b059884b-ecc0-4ab4-8c99-0d89590f8029',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:27:07 GMT',
date: 'Tue, 11 Dec 2018 18:46:32 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,106 +1,106 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/jobs?api-version=2018-08-01.7.0', '*')
.post('/jobs?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:24 GMT',
etag: '0x8D607A439A76693',
location: 'https://lchency4.westcentralus.batch.azure.com/jobs/job-1',
'last-modified': 'Tue, 11 Dec 2018 18:44:49 GMT',
etag: '0x8D65F98BAE83F5F',
location: 'https://test3.westcentralus.batch.azure.com/jobs/job-1',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '8c1629a1-6b0a-41a8-b07a-908a6cb46b51',
'request-id': 'de3f7dbd-8e11-4df0-b2b6-5062763a2e39',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/job-1',
date: 'Tue, 21 Aug 2018 20:25:23 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/job-1',
date: 'Tue, 11 Dec 2018 18:44:49 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/jobs?api-version=2018-08-01.7.0', '*')
.post('/jobs?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:24 GMT',
etag: '0x8D607A439A76693',
location: 'https://lchency4.westcentralus.batch.azure.com/jobs/job-1',
'last-modified': 'Tue, 11 Dec 2018 18:44:49 GMT',
etag: '0x8D65F98BAE83F5F',
location: 'https://test3.westcentralus.batch.azure.com/jobs/job-1',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '8c1629a1-6b0a-41a8-b07a-908a6cb46b51',
'request-id': 'de3f7dbd-8e11-4df0-b2b6-5062763a2e39',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/job-1',
date: 'Tue, 21 Aug 2018 20:25:23 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/job-1',
date: 'Tue, 11 Dec 2018 18:44:49 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/jobs/ContainerJobNodeSDKTest/tasks?api-version=2018-08-01.7.0', '*')
.post('/jobs/ContainerJobNodeSDKTest/tasks?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:24 GMT',
etag: '0x8D607A439BE4963',
location: 'https://lchency4.westcentralus.batch.azure.com/jobs/ContainerJobNodeSDKTest/tasks/ContainerNodeSDKTestTask',
'last-modified': 'Tue, 11 Dec 2018 18:44:49 GMT',
etag: '0x8D65F98BAFC9ECB',
location: 'https://test3.westcentralus.batch.azure.com/jobs/ContainerJobNodeSDKTest/tasks/ContainerNodeSDKTestTask',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '8ed01ce5-ca1b-4a8d-91bf-a5eb7d28e89e',
'request-id': 'fb0811c1-02f1-4461-b184-1ada4d3833b5',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/ContainerJobNodeSDKTest/tasks/ContainerNodeSDKTestTask',
date: 'Tue, 21 Aug 2018 20:25:24 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/ContainerJobNodeSDKTest/tasks/ContainerNodeSDKTestTask',
date: 'Tue, 11 Dec 2018 18:44:49 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/jobs/ContainerJobNodeSDKTest/tasks?api-version=2018-08-01.7.0', '*')
.post('/jobs/ContainerJobNodeSDKTest/tasks?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:24 GMT',
etag: '0x8D607A439BE4963',
location: 'https://lchency4.westcentralus.batch.azure.com/jobs/ContainerJobNodeSDKTest/tasks/ContainerNodeSDKTestTask',
'last-modified': 'Tue, 11 Dec 2018 18:44:49 GMT',
etag: '0x8D65F98BAFC9ECB',
location: 'https://test3.westcentralus.batch.azure.com/jobs/ContainerJobNodeSDKTest/tasks/ContainerNodeSDKTestTask',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '8ed01ce5-ca1b-4a8d-91bf-a5eb7d28e89e',
'request-id': 'fb0811c1-02f1-4461-b184-1ada4d3833b5',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/ContainerJobNodeSDKTest/tasks/ContainerNodeSDKTestTask',
date: 'Tue, 21 Aug 2018 20:25:24 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/ContainerJobNodeSDKTest/tasks/ContainerNodeSDKTestTask',
date: 'Tue, 11 Dec 2018 18:44:49 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.delete('/jobs/ContainerJobNodeSDKTest?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.delete('/jobs/ContainerJobNodeSDKTest?api-version=2018-12-01.8.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '615df23b-468d-404f-938f-089d90517196',
'request-id': '4195276c-dba1-4b81-961f-4b9be278423e',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:25:24 GMT',
date: 'Tue, 11 Dec 2018 18:44:49 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.delete('/jobs/ContainerJobNodeSDKTest?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.delete('/jobs/ContainerJobNodeSDKTest?api-version=2018-12-01.8.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '615df23b-468d-404f-938f-089d90517196',
'request-id': '4195276c-dba1-4b81-961f-4b9be278423e',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:25:24 GMT',
date: 'Tue, 11 Dec 2018 18:44:49 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,138 +1,138 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/jobs?api-version=2018-08-01.7.0', '*')
.post('/jobs?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:24 GMT',
etag: '0x8D607A439F0E665',
location: 'https://lchency4.westcentralus.batch.azure.com/jobs/job-1',
'last-modified': 'Tue, 11 Dec 2018 18:44:49 GMT',
etag: '0x8D65F98BB3206E7',
location: 'https://test3.westcentralus.batch.azure.com/jobs/job-1',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '061f2b6e-4927-4d9f-a0c2-f30801bb9ded',
'request-id': 'cd6c84d3-205b-4ec2-a27b-ea4de22dea34',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/job-1',
date: 'Tue, 21 Aug 2018 20:25:24 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/job-1',
date: 'Tue, 11 Dec 2018 18:44:49 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/jobs?api-version=2018-08-01.7.0', '*')
.post('/jobs?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:24 GMT',
etag: '0x8D607A439F0E665',
location: 'https://lchency4.westcentralus.batch.azure.com/jobs/job-1',
'last-modified': 'Tue, 11 Dec 2018 18:44:49 GMT',
etag: '0x8D65F98BB3206E7',
location: 'https://test3.westcentralus.batch.azure.com/jobs/job-1',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '061f2b6e-4927-4d9f-a0c2-f30801bb9ded',
'request-id': 'cd6c84d3-205b-4ec2-a27b-ea4de22dea34',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/job-1',
date: 'Tue, 21 Aug 2018 20:25:24 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/job-1',
date: 'Tue, 11 Dec 2018 18:44:49 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/jobs/JobWithAutoComplete/tasks?api-version=2018-08-01.7.0', '*')
.post('/jobs/JobWithAutoComplete/tasks?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:24 GMT',
etag: '0x8D607A43A086071',
location: 'https://lchency4.westcentralus.batch.azure.com/jobs/JobWithAutoComplete/tasks/TaskWithAutoComplete',
'last-modified': 'Tue, 11 Dec 2018 18:44:50 GMT',
etag: '0x8D65F98BB48BB75',
location: 'https://test3.westcentralus.batch.azure.com/jobs/JobWithAutoComplete/tasks/TaskWithAutoComplete',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'c10b9b66-0700-4a75-ba16-41575acee491',
'request-id': 'f1819e58-d8bf-40f4-a491-3cc9cb419027',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/JobWithAutoComplete/tasks/TaskWithAutoComplete',
date: 'Tue, 21 Aug 2018 20:25:24 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/JobWithAutoComplete/tasks/TaskWithAutoComplete',
date: 'Tue, 11 Dec 2018 18:44:49 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/jobs/JobWithAutoComplete/tasks?api-version=2018-08-01.7.0', '*')
.post('/jobs/JobWithAutoComplete/tasks?api-version=2018-12-01.8.0', '*')
.reply(201, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:24 GMT',
etag: '0x8D607A43A086071',
location: 'https://lchency4.westcentralus.batch.azure.com/jobs/JobWithAutoComplete/tasks/TaskWithAutoComplete',
'last-modified': 'Tue, 11 Dec 2018 18:44:50 GMT',
etag: '0x8D65F98BB48BB75',
location: 'https://test3.westcentralus.batch.azure.com/jobs/JobWithAutoComplete/tasks/TaskWithAutoComplete',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'c10b9b66-0700-4a75-ba16-41575acee491',
'request-id': 'f1819e58-d8bf-40f4-a491-3cc9cb419027',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/JobWithAutoComplete/tasks/TaskWithAutoComplete',
date: 'Tue, 21 Aug 2018 20:25:24 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/JobWithAutoComplete/tasks/TaskWithAutoComplete',
date: 'Tue, 11 Dec 2018 18:44:49 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/jobs/JobWithAutoComplete/tasks/TaskWithAutoComplete?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#tasks/@Element\",\"id\":\"TaskWithAutoComplete\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/JobWithAutoComplete/tasks/TaskWithAutoComplete\",\"eTag\":\"0x8D607A43A086071\",\"creationTime\":\"2018-08-21T20:25:24.9162353Z\",\"lastModified\":\"2018-08-21T20:25:24.9162353Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:25:24.9162353Z\",\"commandLine\":\"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\":\"none\",\"dependencyAction\":\"block\"\r\n }\r\n }\r\n ],\"default\":{\r\n \"jobAction\":\"terminate\",\"dependencyAction\":\"satisfy\"\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}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/jobs/JobWithAutoComplete/tasks/TaskWithAutoComplete?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#tasks/@Element\",\"id\":\"TaskWithAutoComplete\",\"url\":\"https://test3.westcentralus.batch.azure.com/jobs/JobWithAutoComplete/tasks/TaskWithAutoComplete\",\"eTag\":\"0x8D65F98BB48BB75\",\"creationTime\":\"2018-12-11T18:44:50.1277557Z\",\"lastModified\":\"2018-12-11T18:44:50.1277557Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:44:50.1277557Z\",\"commandLine\":\"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\":\"none\",\"dependencyAction\":\"block\"\r\n }\r\n }\r\n ],\"default\":{\r\n \"jobAction\":\"terminate\",\"dependencyAction\":\"satisfy\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P7D\",\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\":0\r\n }\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
'last-modified': 'Tue, 21 Aug 2018 20:25:24 GMT',
etag: '0x8D607A43A086071',
'last-modified': 'Tue, 11 Dec 2018 18:44:50 GMT',
etag: '0x8D65F98BB48BB75',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '513f53d1-530c-4c25-b7d3-118871a27902',
'request-id': '24aa50b3-a5b8-4488-a392-ffadf3bba014',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:25:25 GMT',
date: 'Tue, 11 Dec 2018 18:44:50 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/jobs/JobWithAutoComplete/tasks/TaskWithAutoComplete?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#tasks/@Element\",\"id\":\"TaskWithAutoComplete\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/JobWithAutoComplete/tasks/TaskWithAutoComplete\",\"eTag\":\"0x8D607A43A086071\",\"creationTime\":\"2018-08-21T20:25:24.9162353Z\",\"lastModified\":\"2018-08-21T20:25:24.9162353Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:25:24.9162353Z\",\"commandLine\":\"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\":\"none\",\"dependencyAction\":\"block\"\r\n }\r\n }\r\n ],\"default\":{\r\n \"jobAction\":\"terminate\",\"dependencyAction\":\"satisfy\"\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}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/jobs/JobWithAutoComplete/tasks/TaskWithAutoComplete?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#tasks/@Element\",\"id\":\"TaskWithAutoComplete\",\"url\":\"https://test3.westcentralus.batch.azure.com/jobs/JobWithAutoComplete/tasks/TaskWithAutoComplete\",\"eTag\":\"0x8D65F98BB48BB75\",\"creationTime\":\"2018-12-11T18:44:50.1277557Z\",\"lastModified\":\"2018-12-11T18:44:50.1277557Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:44:50.1277557Z\",\"commandLine\":\"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\":\"none\",\"dependencyAction\":\"block\"\r\n }\r\n }\r\n ],\"default\":{\r\n \"jobAction\":\"terminate\",\"dependencyAction\":\"satisfy\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P7D\",\"maxTaskRetryCount\":0\r\n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\":0\r\n }\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
'last-modified': 'Tue, 21 Aug 2018 20:25:24 GMT',
etag: '0x8D607A43A086071',
'last-modified': 'Tue, 11 Dec 2018 18:44:50 GMT',
etag: '0x8D65F98BB48BB75',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '513f53d1-530c-4c25-b7d3-118871a27902',
'request-id': '24aa50b3-a5b8-4488-a392-ffadf3bba014',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:25:25 GMT',
date: 'Tue, 11 Dec 2018 18:44:50 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.delete('/jobs/JobWithAutoComplete?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.delete('/jobs/JobWithAutoComplete?api-version=2018-12-01.8.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '615d3e8e-b7d7-45e2-a729-7385e8555aec',
'request-id': 'e1af0f40-708b-4b85-bf5c-ea07a35a747f',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:25:25 GMT',
date: 'Tue, 11 Dec 2018 18:44:49 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.delete('/jobs/JobWithAutoComplete?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.delete('/jobs/JobWithAutoComplete?api-version=2018-12-01.8.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '615d3e8e-b7d7-45e2-a729-7385e8555aec',
'request-id': 'e1af0f40-708b-4b85-bf5c-ea07a35a747f',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:25:25 GMT',
date: 'Tue, 11 Dec 2018 18:44:49 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,34 +1,34 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.delete('/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.delete('/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)?api-version=2018-12-01.8.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '5c0ecf4f-b035-4e3a-99ff-a594a41282a9',
'request-id': '72c4deb8-6133-426b-942a-a7623b100e5c',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:07 GMT',
date: 'Tue, 11 Dec 2018 18:48:41 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.delete('/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.delete('/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)?api-version=2018-12-01.8.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '5c0ecf4f-b035-4e3a-99ff-a594a41282a9',
'request-id': '72c4deb8-6133-426b-942a-a7623b100e5c',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:07 GMT',
date: 'Tue, 11 Dec 2018 18:48:41 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,34 +1,34 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdktestpool1/nodes/tvm-14141481_1-20180821t200555z/users/NodeSDKTestUser?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdktestpool1/nodes/tvmps_13cf4cee9dd1594f9da06399ef98ede3e5a4010f3233627c3837a43dbeff5868_d/users/NodeSDKTestUser?api-version=2018-12-01.8.0')
.reply(200, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '6cbfc50b-3a4e-4489-aee1-bcd88041a203',
'request-id': '8e5c02f1-1c6d-4e89-a016-f2519fa00342',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:23:10 GMT',
date: 'Tue, 11 Dec 2018 18:42:32 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdktestpool1/nodes/tvm-14141481_1-20180821t200555z/users/NodeSDKTestUser?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdktestpool1/nodes/tvmps_13cf4cee9dd1594f9da06399ef98ede3e5a4010f3233627c3837a43dbeff5868_d/users/NodeSDKTestUser?api-version=2018-12-01.8.0')
.reply(200, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '6cbfc50b-3a4e-4489-aee1-bcd88041a203',
'request-id': '8e5c02f1-1c6d-4e89-a016-f2519fa00342',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:23:10 GMT',
date: 'Tue, 11 Dec 2018 18:42:32 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,34 +1,34 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.delete('/jobschedules/NodeSDKTestSchedule?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.delete('/jobschedules/NodeSDKTestSchedule?api-version=2018-12-01.8.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '5a06a9d9-e0d5-4d09-a5a6-75545ebf34f9',
'request-id': 'bac8b4a5-e762-43e6-9869-5040bd3dbb9a',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:06 GMT',
date: 'Tue, 11 Dec 2018 21:04:06 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.delete('/jobschedules/NodeSDKTestSchedule?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.delete('/jobschedules/NodeSDKTestSchedule?api-version=2018-12-01.8.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '5a06a9d9-e0d5-4d09-a5a6-75545ebf34f9',
'request-id': 'bac8b4a5-e762-43e6-9869-5040bd3dbb9a',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:06 GMT',
date: 'Tue, 11 Dec 2018 21:04:06 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,34 +1,34 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.delete('/jobs/HelloWorldJobNodeSDKTest?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.delete('/jobs/HelloWorldJobNodeSDKTest?api-version=2018-12-01.8.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '003f73cb-58f9-4ed5-a740-5e4da580f463',
'request-id': '8b7e949e-b167-4d65-b73b-3e06888ff0ea',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:03 GMT',
date: 'Tue, 11 Dec 2018 18:48:36 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.delete('/jobs/HelloWorldJobNodeSDKTest?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.delete('/jobs/HelloWorldJobNodeSDKTest?api-version=2018-12-01.8.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '003f73cb-58f9-4ed5-a740-5e4da580f463',
'request-id': '8b7e949e-b167-4d65-b73b-3e06888ff0ea',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:03 GMT',
date: 'Tue, 11 Dec 2018 18:48:36 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,34 +1,34 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdktestpool1?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdktestpool1?api-version=2018-12-01.8.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'd8d278b8-e296-4200-891a-a8f74f5a9329',
'request-id': 'b9e46059-ef78-4f14-8f64-4c4cea33e9b9',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:06 GMT',
date: 'Tue, 11 Dec 2018 18:48:40 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdktestpool1?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdktestpool1?api-version=2018-12-01.8.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'd8d278b8-e296-4200-891a-a8f74f5a9329',
'request-id': 'b9e46059-ef78-4f14-8f64-4c4cea33e9b9',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:06 GMT',
date: 'Tue, 11 Dec 2018 18:48:40 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,34 +1,34 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdktestpool2?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdktestpool2?api-version=2018-12-01.8.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '6863b390-6c25-4109-ac9f-9ec25e56f8fe',
'request-id': '375ab53e-c622-49be-a893-ac11cf51442b',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:07 GMT',
date: 'Tue, 11 Dec 2018 18:48:41 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdktestpool2?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdktestpool2?api-version=2018-12-01.8.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '6863b390-6c25-4109-ac9f-9ec25e56f8fe',
'request-id': '375ab53e-c622-49be-a893-ac11cf51442b',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:07 GMT',
date: 'Tue, 11 Dec 2018 18:48:41 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,34 +1,34 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.delete('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.delete('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2?api-version=2018-12-01.8.0')
.reply(200, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'b563b69a-d063-48bb-b2db-88f0a40c9c2b',
'request-id': '891badfb-c16c-491d-ada3-23cf096a1bdb',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:00 GMT',
date: 'Tue, 11 Dec 2018 18:48:35 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.delete('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.delete('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2?api-version=2018-12-01.8.0')
.reply(200, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'b563b69a-d063-48bb-b2db-88f0a40c9c2b',
'request-id': '891badfb-c16c-491d-ada3-23cf096a1bdb',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:00 GMT',
date: 'Tue, 11 Dec 2018 18:48:35 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,34 +1,34 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.delete('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.delete('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask?api-version=2018-12-01.8.0')
.reply(200, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'b1d70dcb-848a-46b0-8e63-f8e47969b697',
'request-id': '83d42e80-48f3-416f-b406-c8d40187819a',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:00 GMT',
date: 'Tue, 11 Dec 2018 18:48:34 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.delete('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.delete('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask?api-version=2018-12-01.8.0')
.reply(200, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'b1d70dcb-848a-46b0-8e63-f8e47969b697',
'request-id': '83d42e80-48f3-416f-b406-c8d40187819a',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:00 GMT',
date: 'Tue, 11 Dec 2018 18:48:34 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,34 +1,34 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/files/startup%2Fwd%2Fhello.txt?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdktestpool1/nodes/tvmps_15c61fea08a34e0fe431ba70cdf2156682bec1e01fdda442f2dccde21908ed91_d/files/startup%2Fwd%2Fhello.txt?api-version=2018-12-01.8.0')
.reply(200, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '65fbd261-481c-42a7-9c5d-3dfd5656c70f',
'request-id': '1be337dc-3314-48df-917b-18970dc377a4',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:30:58 GMT',
date: 'Tue, 11 Dec 2018 18:48:32 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/files/startup%2Fwd%2Fhello.txt?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdktestpool1/nodes/tvmps_15c61fea08a34e0fe431ba70cdf2156682bec1e01fdda442f2dccde21908ed91_d/files/startup%2Fwd%2Fhello.txt?api-version=2018-12-01.8.0')
.reply(200, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '65fbd261-481c-42a7-9c5d-3dfd5656c70f',
'request-id': '1be337dc-3314-48df-917b-18970dc377a4',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:30:58 GMT',
date: 'Tue, 11 Dec 2018 18:48:32 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,34 +1,34 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.delete('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/stderr.txt?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.delete('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/stderr.txt?api-version=2018-12-01.8.0')
.reply(200, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '36ed6a02-3d5b-4a8d-a4ca-ebbc474ccb0f',
'request-id': '9f032891-2c6b-4dbf-b917-1882ad92f135',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:27:24 GMT',
date: 'Tue, 11 Dec 2018 18:46:49 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.delete('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/stderr.txt?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.delete('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/stderr.txt?api-version=2018-12-01.8.0')
.reply(200, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '36ed6a02-3d5b-4a8d-a4ca-ebbc474ccb0f',
'request-id': '9f032891-2c6b-4dbf-b917-1882ad92f135',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:27:24 GMT',
date: 'Tue, 11 Dec 2018 18:46:49 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,40 +1,40 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.post('/jobschedules/NodeSDKTestSchedule/disable?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.post('/jobschedules/NodeSDKTestSchedule/disable?api-version=2018-12-01.8.0')
.reply(204, "", { 'content-length': '0',
'last-modified': 'Tue, 21 Aug 2018 20:31:04 GMT',
etag: '0x8D607A5048EEBD1',
'last-modified': 'Tue, 11 Dec 2018 21:04:06 GMT',
etag: '0x8D65FAC30113642',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'b290831d-fe21-4b17-bb5e-86cbbaa1d795',
'request-id': '55ecf4ec-ff76-476b-a6eb-8363421f9c21',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule/disable',
date: 'Tue, 21 Aug 2018 20:31:04 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule/disable',
date: 'Tue, 11 Dec 2018 21:04:06 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.post('/jobschedules/NodeSDKTestSchedule/disable?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.post('/jobschedules/NodeSDKTestSchedule/disable?api-version=2018-12-01.8.0')
.reply(204, "", { 'content-length': '0',
'last-modified': 'Tue, 21 Aug 2018 20:31:04 GMT',
etag: '0x8D607A5048EEBD1',
'last-modified': 'Tue, 11 Dec 2018 21:04:06 GMT',
etag: '0x8D65FAC30113642',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'b290831d-fe21-4b17-bb5e-86cbbaa1d795',
'request-id': '55ecf4ec-ff76-476b-a6eb-8363421f9c21',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule/disable',
date: 'Tue, 21 Aug 2018 20:31:04 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule/disable',
date: 'Tue, 11 Dec 2018 21:04:06 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,42 +1,42 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/jobs/HelloWorldJobNodeSDKTest/disable?api-version=2018-08-01.7.0', '*')
.post('/jobs/HelloWorldJobNodeSDKTest/disable?api-version=2018-12-01.8.0', '*')
.reply(202, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:31:01 GMT',
etag: '0x8D607A502BF5C97',
'last-modified': 'Tue, 11 Dec 2018 18:48:36 GMT',
etag: '0x8D65F9941FAA6F4',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '4b884dbd-a80c-4820-bc5a-9428e386579a',
'request-id': '63398dd8-137f-4be3-b19e-4fce63053d10',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/disable',
date: 'Tue, 21 Aug 2018 20:31:01 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/disable',
date: 'Tue, 11 Dec 2018 18:48:35 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/jobs/HelloWorldJobNodeSDKTest/disable?api-version=2018-08-01.7.0', '*')
.post('/jobs/HelloWorldJobNodeSDKTest/disable?api-version=2018-12-01.8.0', '*')
.reply(202, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:31:01 GMT',
etag: '0x8D607A502BF5C97',
'last-modified': 'Tue, 11 Dec 2018 18:48:36 GMT',
etag: '0x8D65F9941FAA6F4',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '4b884dbd-a80c-4820-bc5a-9428e386579a',
'request-id': '63398dd8-137f-4be3-b19e-4fce63053d10',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/disable',
date: 'Tue, 21 Aug 2018 20:31:01 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/disable',
date: 'Tue, 11 Dec 2018 18:48:35 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,40 +1,40 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.post('/pools/nodesdktestpool1/disableautoscale?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.post('/pools/nodesdktestpool1/disableautoscale?api-version=2018-12-01.8.0')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:21 GMT',
etag: '0x8D607A437BD2FE0',
'last-modified': 'Tue, 11 Dec 2018 18:44:44 GMT',
etag: '0x8D65F98B81717BC',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '1b43fef9-22e1-442c-9c36-87f83b210a02',
'request-id': '4a5016f0-1b97-4c33-9a6a-10167b8de721',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/disableautoscale',
date: 'Tue, 21 Aug 2018 20:25:20 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/disableautoscale',
date: 'Tue, 11 Dec 2018 18:44:45 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.post('/pools/nodesdktestpool1/disableautoscale?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.post('/pools/nodesdktestpool1/disableautoscale?api-version=2018-12-01.8.0')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:21 GMT',
etag: '0x8D607A437BD2FE0',
'last-modified': 'Tue, 11 Dec 2018 18:44:44 GMT',
etag: '0x8D65F98B81717BC',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '1b43fef9-22e1-442c-9c36-87f83b210a02',
'request-id': '4a5016f0-1b97-4c33-9a6a-10167b8de721',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/disableautoscale',
date: 'Tue, 21 Aug 2018 20:25:20 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/disableautoscale',
date: 'Tue, 11 Dec 2018 18:44:45 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,36 +1,36 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.post('/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/disablescheduling?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.post('/pools/nodesdktestpool1/nodes/tvmps_15c61fea08a34e0fe431ba70cdf2156682bec1e01fdda442f2dccde21908ed91_d/disablescheduling?api-version=2018-12-01.8.0')
.reply(200, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '30419b15-4a2e-4dac-9930-8bd28f4c102c',
'request-id': '5759ea29-ca2a-4729-8a51-cd83e7c543ef',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/disablescheduling',
date: 'Tue, 21 Aug 2018 20:23:11 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvmps_15c61fea08a34e0fe431ba70cdf2156682bec1e01fdda442f2dccde21908ed91_d/disablescheduling',
date: 'Tue, 11 Dec 2018 18:42:33 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.post('/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/disablescheduling?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.post('/pools/nodesdktestpool1/nodes/tvmps_15c61fea08a34e0fe431ba70cdf2156682bec1e01fdda442f2dccde21908ed91_d/disablescheduling?api-version=2018-12-01.8.0')
.reply(200, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '30419b15-4a2e-4dac-9930-8bd28f4c102c',
'request-id': '5759ea29-ca2a-4729-8a51-cd83e7c543ef',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/disablescheduling',
date: 'Tue, 21 Aug 2018 20:23:11 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvmps_15c61fea08a34e0fe431ba70cdf2156682bec1e01fdda442f2dccde21908ed91_d/disablescheduling',
date: 'Tue, 11 Dec 2018 18:42:33 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,40 +1,40 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.post('/jobschedules/NodeSDKTestSchedule/enable?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.post('/jobschedules/NodeSDKTestSchedule/enable?api-version=2018-12-01.8.0')
.reply(204, "", { 'content-length': '0',
'last-modified': 'Tue, 21 Aug 2018 20:31:04 GMT',
etag: '0x8D607A504A591BE',
'last-modified': 'Tue, 11 Dec 2018 21:04:06 GMT',
etag: '0x8D65FAC302C5BA6',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'b6ac06dc-fe6c-4acb-a072-23a7bc4ce1c3',
'request-id': 'bd219aec-7dd9-4551-979f-6805a2a1c40d',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule/enable',
date: 'Tue, 21 Aug 2018 20:31:04 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule/enable',
date: 'Tue, 11 Dec 2018 21:04:06 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.post('/jobschedules/NodeSDKTestSchedule/enable?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.post('/jobschedules/NodeSDKTestSchedule/enable?api-version=2018-12-01.8.0')
.reply(204, "", { 'content-length': '0',
'last-modified': 'Tue, 21 Aug 2018 20:31:04 GMT',
etag: '0x8D607A504A591BE',
'last-modified': 'Tue, 11 Dec 2018 21:04:06 GMT',
etag: '0x8D65FAC302C5BA6',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'b6ac06dc-fe6c-4acb-a072-23a7bc4ce1c3',
'request-id': 'bd219aec-7dd9-4551-979f-6805a2a1c40d',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule/enable',
date: 'Tue, 21 Aug 2018 20:31:04 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule/enable',
date: 'Tue, 11 Dec 2018 21:04:06 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,40 +1,40 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.post('/jobs/HelloWorldJobNodeSDKTest/enable?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.post('/jobs/HelloWorldJobNodeSDKTest/enable?api-version=2018-12-01.8.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:31:01 GMT',
etag: '0x8D607A502D514A5',
'last-modified': 'Tue, 11 Dec 2018 18:48:36 GMT',
etag: '0x8D65F99420F8F8A',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '2dc16cc0-fef2-4a87-afdf-a044b317fe8b',
'request-id': 'd87c5101-196e-48c0-a8da-66485e890579',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/enable',
date: 'Tue, 21 Aug 2018 20:31:01 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/enable',
date: 'Tue, 11 Dec 2018 18:48:35 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.post('/jobs/HelloWorldJobNodeSDKTest/enable?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.post('/jobs/HelloWorldJobNodeSDKTest/enable?api-version=2018-12-01.8.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:31:01 GMT',
etag: '0x8D607A502D514A5',
'last-modified': 'Tue, 11 Dec 2018 18:48:36 GMT',
etag: '0x8D65F99420F8F8A',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '2dc16cc0-fef2-4a87-afdf-a044b317fe8b',
'request-id': 'd87c5101-196e-48c0-a8da-66485e890579',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/enable',
date: 'Tue, 21 Aug 2018 20:31:01 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/enable',
date: 'Tue, 11 Dec 2018 18:48:35 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,42 +1,42 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools/nodesdktestpool1/enableautoscale?api-version=2018-08-01.7.0', '*')
.post('/pools/nodesdktestpool1/enableautoscale?api-version=2018-12-01.8.0', '*')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:20 GMT',
etag: '0x8D607A4376A073D',
'last-modified': 'Tue, 11 Dec 2018 18:44:44 GMT',
etag: '0x8D65F98B81717BC',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'bb882132-96ac-4530-a7bb-a91d2f5c25c5',
'request-id': '110fc616-674c-4469-adfa-f8230a1fafd4',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/enableautoscale',
date: 'Tue, 21 Aug 2018 20:25:20 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/enableautoscale',
date: 'Tue, 11 Dec 2018 18:44:44 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools/nodesdktestpool1/enableautoscale?api-version=2018-08-01.7.0', '*')
.post('/pools/nodesdktestpool1/enableautoscale?api-version=2018-12-01.8.0', '*')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:20 GMT',
etag: '0x8D607A4376A073D',
'last-modified': 'Tue, 11 Dec 2018 18:44:44 GMT',
etag: '0x8D65F98B81717BC',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'bb882132-96ac-4530-a7bb-a91d2f5c25c5',
'request-id': '110fc616-674c-4469-adfa-f8230a1fafd4',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/enableautoscale',
date: 'Tue, 21 Aug 2018 20:25:20 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/enableautoscale',
date: 'Tue, 11 Dec 2018 18:44:44 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,36 +1,36 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.post('/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/enablescheduling?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.post('/pools/nodesdktestpool1/nodes/tvmps_15c61fea08a34e0fe431ba70cdf2156682bec1e01fdda442f2dccde21908ed91_d/enablescheduling?api-version=2018-12-01.8.0')
.reply(200, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '42717acb-2c95-4ecc-a9c6-22c6bc4b4b6d',
'request-id': '7f029f37-71f1-4ef0-92f5-fbcf75285ac3',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/enablescheduling',
date: 'Tue, 21 Aug 2018 20:23:10 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvmps_15c61fea08a34e0fe431ba70cdf2156682bec1e01fdda442f2dccde21908ed91_d/enablescheduling',
date: 'Tue, 11 Dec 2018 18:42:34 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.post('/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/enablescheduling?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.post('/pools/nodesdktestpool1/nodes/tvmps_15c61fea08a34e0fe431ba70cdf2156682bec1e01fdda442f2dccde21908ed91_d/enablescheduling?api-version=2018-12-01.8.0')
.reply(200, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '42717acb-2c95-4ecc-a9c6-22c6bc4b4b6d',
'request-id': '7f029f37-71f1-4ef0-92f5-fbcf75285ac3',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/enablescheduling',
date: 'Tue, 21 Aug 2018 20:23:10 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvmps_15c61fea08a34e0fe431ba70cdf2156682bec1e01fdda442f2dccde21908ed91_d/enablescheduling',
date: 'Tue, 11 Dec 2018 18:42:34 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,40 +1,40 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools/nodesdktestpool1/evaluateautoscale?api-version=2018-08-01.7.0', '*')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.AutoScaleRun\",\"timestamp\":\"2018-08-21T20:25:20.7341237Z\",\"results\":\"$TargetDedicatedNodes=3;$TargetLowPriorityNodes=0;$NodeDeallocationOption=requeue\"\r\n}", { 'transfer-encoding': 'chunked',
.post('/pools/nodesdktestpool1/evaluateautoscale?api-version=2018-12-01.8.0', '*')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.AutoScaleRun\",\"timestamp\":\"2018-12-11T18:44:45.069648Z\",\"results\":\"$TargetDedicatedNodes=3;$TargetLowPriorityNodes=0;$NodeDeallocationOption=requeue\"\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '1c7147f6-079d-465c-abba-39c5065cc622',
'request-id': '744f0e99-e824-43c4-860d-a903c69bd9a5',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/evaluateautoscale',
date: 'Tue, 21 Aug 2018 20:25:20 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/evaluateautoscale',
date: 'Tue, 11 Dec 2018 18:44:44 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools/nodesdktestpool1/evaluateautoscale?api-version=2018-08-01.7.0', '*')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.AutoScaleRun\",\"timestamp\":\"2018-08-21T20:25:20.7341237Z\",\"results\":\"$TargetDedicatedNodes=3;$TargetLowPriorityNodes=0;$NodeDeallocationOption=requeue\"\r\n}", { 'transfer-encoding': 'chunked',
.post('/pools/nodesdktestpool1/evaluateautoscale?api-version=2018-12-01.8.0', '*')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.AutoScaleRun\",\"timestamp\":\"2018-12-11T18:44:45.069648Z\",\"results\":\"$TargetDedicatedNodes=3;$TargetLowPriorityNodes=0;$NodeDeallocationOption=requeue\"\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '1c7147f6-079d-465c-abba-39c5065cc622',
'request-id': '744f0e99-e824-43c4-860d-a903c69bd9a5',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/evaluateautoscale',
date: 'Tue, 21 Aug 2018 20:25:20 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/evaluateautoscale',
date: 'Tue, 11 Dec 2018 18:44:44 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,36 +1,36 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.post('/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)/canceldelete?api-version=2018-08-01.7.0')
.reply(409, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"CertificateBeingDeleted\",\"message\":{\r\n \"lang\":\"en-US\",\"value\":\"The specified certificate has been marked for deletion and is being deleted.\\nRequestId:76d451c9-e77a-4f9f-8862-33cf52f7b89c\\nTime:2018-08-21T20:31:07.5117080Z\"\r\n }\r\n}", { 'content-length': '389',
nock('http://test3.westcentralus.batch.azure.com:443')
.post('/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)/canceldelete?api-version=2018-12-01.8.0')
.reply(409, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"CertificateBeingDeleted\",\"message\":{\r\n \"lang\":\"en-US\",\"value\":\"The specified certificate has been marked for deletion and is being deleted.\\nRequestId:8246f5bc-d5bc-4cda-a329-e5198fc619e3\\nTime:2018-12-11T18:48:41.6929178Z\"\r\n }\r\n}", { 'content-length': '386',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '76d451c9-e77a-4f9f-8862-33cf52f7b89c',
'request-id': '8246f5bc-d5bc-4cda-a329-e5198fc619e3',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:07 GMT',
date: 'Tue, 11 Dec 2018 18:48:41 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.post('/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)/canceldelete?api-version=2018-08-01.7.0')
.reply(409, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"CertificateBeingDeleted\",\"message\":{\r\n \"lang\":\"en-US\",\"value\":\"The specified certificate has been marked for deletion and is being deleted.\\nRequestId:76d451c9-e77a-4f9f-8862-33cf52f7b89c\\nTime:2018-08-21T20:31:07.5117080Z\"\r\n }\r\n}", { 'content-length': '389',
nock('https://test3.westcentralus.batch.azure.com:443')
.post('/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)/canceldelete?api-version=2018-12-01.8.0')
.reply(409, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"CertificateBeingDeleted\",\"message\":{\r\n \"lang\":\"en-US\",\"value\":\"The specified certificate has been marked for deletion and is being deleted.\\nRequestId:8246f5bc-d5bc-4cda-a329-e5198fc619e3\\nTime:2018-12-11T18:48:41.6929178Z\"\r\n }\r\n}", { 'content-length': '386',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '76d451c9-e77a-4f9f-8862-33cf52f7b89c',
'request-id': '8246f5bc-d5bc-4cda-a329-e5198fc619e3',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:07 GMT',
date: 'Tue, 11 Dec 2018 18:48:41 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,36 +1,36 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdktestpool1?api-version=2018-08-01.7.0')
.reply(409, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"PoolBeingDeleted\",\"message\":{\r\n \"lang\":\"en-US\",\"value\":\"The specified pool has been marked for deletion and is being reclaimed.\\nRequestId:0061979e-1130-4d93-a3ae-ccd26e802420\\nTime:2018-08-21T20:31:07.1465526Z\"\r\n }\r\n}", { 'content-length': '377',
nock('http://test3.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdktestpool1?api-version=2018-12-01.8.0')
.reply(409, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"PoolBeingDeleted\",\"message\":{\r\n \"lang\":\"en-US\",\"value\":\"The specified pool has been marked for deletion and is being reclaimed.\\nRequestId:40e1b546-ca6e-463e-902b-45abb39179c0\\nTime:2018-12-11T18:48:41.2592323Z\"\r\n }\r\n}", { 'content-length': '374',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '0061979e-1130-4d93-a3ae-ccd26e802420',
'request-id': '40e1b546-ca6e-463e-902b-45abb39179c0',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:07 GMT',
date: 'Tue, 11 Dec 2018 18:48:40 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdktestpool1?api-version=2018-08-01.7.0')
.reply(409, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"PoolBeingDeleted\",\"message\":{\r\n \"lang\":\"en-US\",\"value\":\"The specified pool has been marked for deletion and is being reclaimed.\\nRequestId:0061979e-1130-4d93-a3ae-ccd26e802420\\nTime:2018-08-21T20:31:07.1465526Z\"\r\n }\r\n}", { 'content-length': '377',
nock('https://test3.westcentralus.batch.azure.com:443')
.delete('/pools/nodesdktestpool1?api-version=2018-12-01.8.0')
.reply(409, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"PoolBeingDeleted\",\"message\":{\r\n \"lang\":\"en-US\",\"value\":\"The specified pool has been marked for deletion and is being reclaimed.\\nRequestId:40e1b546-ca6e-463e-902b-45abb39179c0\\nTime:2018-12-11T18:48:41.2592323Z\"\r\n }\r\n}", { 'content-length': '374',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '0061979e-1130-4d93-a3ae-ccd26e802420',
'request-id': '40e1b546-ca6e-463e-902b-45abb39179c0',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:07 GMT',
date: 'Tue, 11 Dec 2018 18:48:40 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,40 +1,40 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools/nodesdktestpool1/evaluateautoscale?api-version=2018-08-01.7.0', '*')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.AutoScaleRun\",\"timestamp\":\"2018-08-21T20:25:20.8851144Z\",\"results\":\"$TargetDedicatedNodes=2;$TargetLowPriorityNodes=0;$NodeDeallocationOption=requeue\",\"error\":{\r\n \"code\":\"AutoScalingFormulaEvaluationError\",\"message\":\"The specified auto-scaling formula has evaluation error\",\"values\":[\r\n {\r\n \"name\":\"Message\",\"value\":\"Line 1, Col 1: Undefined symbol: something_useless\"\r\n }\r\n ]\r\n }\r\n}", { 'transfer-encoding': 'chunked',
.post('/pools/nodesdktestpool1/evaluateautoscale?api-version=2018-12-01.8.0', '*')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.AutoScaleRun\",\"timestamp\":\"2018-12-11T18:44:45.3073458Z\",\"results\":\"$TargetDedicatedNodes=2;$TargetLowPriorityNodes=0;$NodeDeallocationOption=requeue\",\"error\":{\r\n \"code\":\"AutoScalingFormulaEvaluationError\",\"message\":\"The specified auto-scaling formula has evaluation error\",\"values\":[\r\n {\r\n \"name\":\"Message\",\"value\":\"Line 1, Col 1: Undefined symbol: something_useless\"\r\n }\r\n ]\r\n }\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '7c59b462-0e1b-461f-9f50-d5e306427691',
'request-id': '6dba54ba-7761-4ef7-a6c3-0ff226d83cb8',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/evaluateautoscale',
date: 'Tue, 21 Aug 2018 20:25:20 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/evaluateautoscale',
date: 'Tue, 11 Dec 2018 18:44:45 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools/nodesdktestpool1/evaluateautoscale?api-version=2018-08-01.7.0', '*')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.AutoScaleRun\",\"timestamp\":\"2018-08-21T20:25:20.8851144Z\",\"results\":\"$TargetDedicatedNodes=2;$TargetLowPriorityNodes=0;$NodeDeallocationOption=requeue\",\"error\":{\r\n \"code\":\"AutoScalingFormulaEvaluationError\",\"message\":\"The specified auto-scaling formula has evaluation error\",\"values\":[\r\n {\r\n \"name\":\"Message\",\"value\":\"Line 1, Col 1: Undefined symbol: something_useless\"\r\n }\r\n ]\r\n }\r\n}", { 'transfer-encoding': 'chunked',
.post('/pools/nodesdktestpool1/evaluateautoscale?api-version=2018-12-01.8.0', '*')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.AutoScaleRun\",\"timestamp\":\"2018-12-11T18:44:45.3073458Z\",\"results\":\"$TargetDedicatedNodes=2;$TargetLowPriorityNodes=0;$NodeDeallocationOption=requeue\",\"error\":{\r\n \"code\":\"AutoScalingFormulaEvaluationError\",\"message\":\"The specified auto-scaling formula has evaluation error\",\"values\":[\r\n {\r\n \"name\":\"Message\",\"value\":\"Line 1, Col 1: Undefined symbol: something_useless\"\r\n }\r\n ]\r\n }\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '7c59b462-0e1b-461f-9f50-d5e306427691',
'request-id': '6dba54ba-7761-4ef7-a6c3-0ff226d83cb8',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/evaluateautoscale',
date: 'Tue, 21 Aug 2018 20:25:20 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/evaluateautoscale',
date: 'Tue, 11 Dec 2018 18:44:45 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,36 +1,36 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/jobpreparationandreleasetaskstatus?api-version=2018-08-01.7.0')
.reply(409, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"JobPreparationTaskOrReleaseTaskNotSpecified\",\"message\":{\r\n \"lang\":\"en-US\",\"value\":\"The specified job does not have either job preparation task or job release task.\\nRequestId:c64b5386-cf38-44c7-ba9c-d6a280b6eb02\\nTime:2018-08-21T20:31:01.4981668Z\"\r\n }\r\n}", { 'content-length': '413',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/jobpreparationandreleasetaskstatus?api-version=2018-12-01.8.0')
.reply(409, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"JobPreparationTaskOrReleaseTaskNotSpecified\",\"message\":{\r\n \"lang\":\"en-US\",\"value\":\"The specified job does not have either job preparation task or job release task.\\nRequestId:d4dd885f-3013-4875-bf69-51e77c83c72b\\nTime:2018-12-11T18:48:35.9505776Z\"\r\n }\r\n}", { 'content-length': '410',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'c64b5386-cf38-44c7-ba9c-d6a280b6eb02',
'request-id': 'd4dd885f-3013-4875-bf69-51e77c83c72b',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:01 GMT',
date: 'Tue, 11 Dec 2018 18:48:35 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/jobpreparationandreleasetaskstatus?api-version=2018-08-01.7.0')
.reply(409, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"JobPreparationTaskOrReleaseTaskNotSpecified\",\"message\":{\r\n \"lang\":\"en-US\",\"value\":\"The specified job does not have either job preparation task or job release task.\\nRequestId:c64b5386-cf38-44c7-ba9c-d6a280b6eb02\\nTime:2018-08-21T20:31:01.4981668Z\"\r\n }\r\n}", { 'content-length': '413',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/jobpreparationandreleasetaskstatus?api-version=2018-12-01.8.0')
.reply(409, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"JobPreparationTaskOrReleaseTaskNotSpecified\",\"message\":{\r\n \"lang\":\"en-US\",\"value\":\"The specified job does not have either job preparation task or job release task.\\nRequestId:d4dd885f-3013-4875-bf69-51e77c83c72b\\nTime:2018-12-11T18:48:35.9505776Z\"\r\n }\r\n}", { 'content-length': '410',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'c64b5386-cf38-44c7-ba9c-d6a280b6eb02',
'request-id': 'd4dd885f-3013-4875-bf69-51e77c83c72b',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:01 GMT',
date: 'Tue, 11 Dec 2018 18:48:35 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,36 +1,36 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/pools?api-version=2018-08-01.7.0&maxresults=-5')
.reply(400, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"InvalidQueryParameterValue\",\"message\":{\r\n \"lang\":\"en-US\",\"value\":\"Value for one of the query parameters specified in the request URI is invalid.\\nRequestId:9c8bd763-12ba-4354-9cd2-f2ce11352b50\\nTime:2018-08-21T20:25:22.0719531Z\"\r\n },\"values\":[\r\n {\r\n \"key\":\"QueryParameterName\",\"value\":\"maxresults\"\r\n },{\r\n \"key\":\"QueryParameterValue\",\"value\":\"-5\"\r\n },{\r\n \"key\":\"Reason\",\"value\":\"MaxResults cannot be less than 1\"\r\n }\r\n ]\r\n}", { 'content-length': '610',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/pools?api-version=2018-12-01.8.0&maxresults=-5')
.reply(400, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"InvalidQueryParameterValue\",\"message\":{\r\n \"lang\":\"en-US\",\"value\":\"Value for one of the query parameters specified in the request URI is invalid.\\nRequestId:dbb3ca33-2810-49c3-9928-49ef30a95355\\nTime:2018-12-11T18:44:46.7402817Z\"\r\n },\"values\":[\r\n {\r\n \"key\":\"QueryParameterName\",\"value\":\"maxresults\"\r\n },{\r\n \"key\":\"QueryParameterValue\",\"value\":\"-5\"\r\n },{\r\n \"key\":\"Reason\",\"value\":\"MaxResults cannot be less than 1\"\r\n }\r\n ]\r\n}", { 'content-length': '607',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '9c8bd763-12ba-4354-9cd2-f2ce11352b50',
'request-id': 'dbb3ca33-2810-49c3-9928-49ef30a95355',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:25:21 GMT',
date: 'Tue, 11 Dec 2018 18:44:46 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/pools?api-version=2018-08-01.7.0&maxresults=-5')
.reply(400, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"InvalidQueryParameterValue\",\"message\":{\r\n \"lang\":\"en-US\",\"value\":\"Value for one of the query parameters specified in the request URI is invalid.\\nRequestId:9c8bd763-12ba-4354-9cd2-f2ce11352b50\\nTime:2018-08-21T20:25:22.0719531Z\"\r\n },\"values\":[\r\n {\r\n \"key\":\"QueryParameterName\",\"value\":\"maxresults\"\r\n },{\r\n \"key\":\"QueryParameterValue\",\"value\":\"-5\"\r\n },{\r\n \"key\":\"Reason\",\"value\":\"MaxResults cannot be less than 1\"\r\n }\r\n ]\r\n}", { 'content-length': '610',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/pools?api-version=2018-12-01.8.0&maxresults=-5')
.reply(400, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"InvalidQueryParameterValue\",\"message\":{\r\n \"lang\":\"en-US\",\"value\":\"Value for one of the query parameters specified in the request URI is invalid.\\nRequestId:dbb3ca33-2810-49c3-9928-49ef30a95355\\nTime:2018-12-11T18:44:46.7402817Z\"\r\n },\"values\":[\r\n {\r\n \"key\":\"QueryParameterName\",\"value\":\"maxresults\"\r\n },{\r\n \"key\":\"QueryParameterValue\",\"value\":\"-5\"\r\n },{\r\n \"key\":\"Reason\",\"value\":\"MaxResults cannot be less than 1\"\r\n }\r\n ]\r\n}", { 'content-length': '607',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '9c8bd763-12ba-4354-9cd2-f2ce11352b50',
'request-id': 'dbb3ca33-2810-49c3-9928-49ef30a95355',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:25:21 GMT',
date: 'Tue, 11 Dec 2018 18:44:46 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,38 +1,38 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/uploadbatchservicelogs?api-version=2018-08-01.7.0', '*')
.reply(403, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"TVMCurrentOperationUnsupported\",\"message\":{\r\n \"lang\":\"en-US\",\"value\":\"The specified compute node does not support the current operation.\\nRequestId:62a7e811-f7c3-45fd-86e2-93bfc52af41c\\nTime:2018-08-21T20:23:12.4967814Z\"\r\n }\r\n}", { 'content-length': '386',
.post('/pools/nodesdktestpool1/nodes/tvmps_15c61fea08a34e0fe431ba70cdf2156682bec1e01fdda442f2dccde21908ed91_d/uploadbatchservicelogs?api-version=2018-12-01.8.0', '*')
.reply(403, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"TVMCurrentOperationUnsupported\",\"message\":{\r\n \"lang\":\"en-US\",\"value\":\"The specified compute node does not support the current operation.\\nRequestId:991757a2-23ff-42b7-bb4e-e3e8e7c42382\\nTime:2018-12-11T18:42:35.4037350Z\"\r\n }\r\n}", { 'content-length': '386',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '62a7e811-f7c3-45fd-86e2-93bfc52af41c',
'request-id': '991757a2-23ff-42b7-bb4e-e3e8e7c42382',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:23:12 GMT',
date: 'Tue, 11 Dec 2018 18:42:35 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/uploadbatchservicelogs?api-version=2018-08-01.7.0', '*')
.reply(403, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"TVMCurrentOperationUnsupported\",\"message\":{\r\n \"lang\":\"en-US\",\"value\":\"The specified compute node does not support the current operation.\\nRequestId:62a7e811-f7c3-45fd-86e2-93bfc52af41c\\nTime:2018-08-21T20:23:12.4967814Z\"\r\n }\r\n}", { 'content-length': '386',
.post('/pools/nodesdktestpool1/nodes/tvmps_15c61fea08a34e0fe431ba70cdf2156682bec1e01fdda442f2dccde21908ed91_d/uploadbatchservicelogs?api-version=2018-12-01.8.0', '*')
.reply(403, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.Container.errors/@Element\",\"code\":\"TVMCurrentOperationUnsupported\",\"message\":{\r\n \"lang\":\"en-US\",\"value\":\"The specified compute node does not support the current operation.\\nRequestId:991757a2-23ff-42b7-bb4e-e3e8e7c42382\\nTime:2018-12-11T18:42:35.4037350Z\"\r\n }\r\n}", { 'content-length': '386',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '62a7e811-f7c3-45fd-86e2-93bfc52af41c',
'request-id': '991757a2-23ff-42b7-bb4e-e3e8e7c42382',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:23:12 GMT',
date: 'Tue, 11 Dec 2018 18:42:35 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,36 +1,36 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/pools/nodesdktestpool1/nodes/tvm-14141481_1-20180821t200555z?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#nodes/@Element\",\"id\":\"tvm-14141481_1-20180821t200555z\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_1-20180821t200555z\",\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2018-08-21T20:11:08.719254Z\",\"lastBootTime\":\"2018-08-21T20:11:06.8907256Z\",\"allocationTime\":\"2018-08-21T20:05:55.1606562Z\",\"ipAddress\":\"10.0.0.4\",\"affinityId\":\"TVM:tvm-14141481_1-20180821t200555z\",\"vmSize\":\"small\",\"totalTasksRun\":0,\"totalTasksSucceeded\":0,\"runningTasksCount\":0,\"startTask\":{\r\n \"commandLine\":\"cmd /c echo hello > hello.txt\",\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"maxTaskRetryCount\":0,\"waitForSuccess\":false\r\n },\"startTaskInfo\":{\r\n \"state\":\"completed\",\"startTime\":\"2018-08-21T20:11:08.719254Z\",\"endTime\":\"2018-08-21T20:11:08.863251Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0\r\n },\"isDedicated\":true\r\n}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/pools/nodesdktestpool1/nodes/tvmps_13cf4cee9dd1594f9da06399ef98ede3e5a4010f3233627c3837a43dbeff5868_d?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#nodes/@Element\",\"id\":\"tvmps_13cf4cee9dd1594f9da06399ef98ede3e5a4010f3233627c3837a43dbeff5868_d\",\"url\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvmps_13cf4cee9dd1594f9da06399ef98ede3e5a4010f3233627c3837a43dbeff5868_d\",\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2018-12-11T18:31:53.241665Z\",\"lastBootTime\":\"2018-12-11T18:31:51.8606Z\",\"allocationTime\":\"2018-12-11T18:28:36.9291366Z\",\"ipAddress\":\"10.0.0.4\",\"affinityId\":\"TVM:tvmps_13cf4cee9dd1594f9da06399ef98ede3e5a4010f3233627c3837a43dbeff5868_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 \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"maxTaskRetryCount\":0,\"waitForSuccess\":false\r\n },\"startTaskInfo\":{\r\n \"state\":\"completed\",\"startTime\":\"2018-12-11T18:31:53.224154Z\",\"endTime\":\"2018-12-11T18:31:53.920595Z\",\"exitCode\":0,\"result\":\"success\",\"retryCount\":0\r\n },\"certificateReferences\":[\r\n \r\n ],\"isDedicated\":true,\"endpointConfiguration\":{\r\n \"inboundEndpoints\":[\r\n {\r\n \"name\":\"Microsoft.WindowsAzure.Plugins.RemoteForwarder.RdpInput\",\"protocol\":\"tcp\",\"publicIPAddress\":\"13.77.205.84\",\"frontendPort\":3389,\"backendPort\":20000\r\n }\r\n ]\r\n },\"nodeAgentInfo\":{\r\n \"lastUpdateTime\":\"2018-12-11T18:31:51.8606Z\",\"version\":\"1.4.7\"\r\n }\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '18f30c3b-238a-42e2-a7a4-4982aab6b0bb',
'request-id': '78403841-058d-4b1e-8327-b1c4d0c15d4f',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:23:09 GMT',
date: 'Tue, 11 Dec 2018 18:42:30 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/pools/nodesdktestpool1/nodes/tvm-14141481_1-20180821t200555z?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#nodes/@Element\",\"id\":\"tvm-14141481_1-20180821t200555z\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_1-20180821t200555z\",\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2018-08-21T20:11:08.719254Z\",\"lastBootTime\":\"2018-08-21T20:11:06.8907256Z\",\"allocationTime\":\"2018-08-21T20:05:55.1606562Z\",\"ipAddress\":\"10.0.0.4\",\"affinityId\":\"TVM:tvm-14141481_1-20180821t200555z\",\"vmSize\":\"small\",\"totalTasksRun\":0,\"totalTasksSucceeded\":0,\"runningTasksCount\":0,\"startTask\":{\r\n \"commandLine\":\"cmd /c echo hello > hello.txt\",\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"maxTaskRetryCount\":0,\"waitForSuccess\":false\r\n },\"startTaskInfo\":{\r\n \"state\":\"completed\",\"startTime\":\"2018-08-21T20:11:08.719254Z\",\"endTime\":\"2018-08-21T20:11:08.863251Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0\r\n },\"isDedicated\":true\r\n}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/pools/nodesdktestpool1/nodes/tvmps_13cf4cee9dd1594f9da06399ef98ede3e5a4010f3233627c3837a43dbeff5868_d?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#nodes/@Element\",\"id\":\"tvmps_13cf4cee9dd1594f9da06399ef98ede3e5a4010f3233627c3837a43dbeff5868_d\",\"url\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvmps_13cf4cee9dd1594f9da06399ef98ede3e5a4010f3233627c3837a43dbeff5868_d\",\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2018-12-11T18:31:53.241665Z\",\"lastBootTime\":\"2018-12-11T18:31:51.8606Z\",\"allocationTime\":\"2018-12-11T18:28:36.9291366Z\",\"ipAddress\":\"10.0.0.4\",\"affinityId\":\"TVM:tvmps_13cf4cee9dd1594f9da06399ef98ede3e5a4010f3233627c3837a43dbeff5868_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 \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"maxTaskRetryCount\":0,\"waitForSuccess\":false\r\n },\"startTaskInfo\":{\r\n \"state\":\"completed\",\"startTime\":\"2018-12-11T18:31:53.224154Z\",\"endTime\":\"2018-12-11T18:31:53.920595Z\",\"exitCode\":0,\"result\":\"success\",\"retryCount\":0\r\n },\"certificateReferences\":[\r\n \r\n ],\"isDedicated\":true,\"endpointConfiguration\":{\r\n \"inboundEndpoints\":[\r\n {\r\n \"name\":\"Microsoft.WindowsAzure.Plugins.RemoteForwarder.RdpInput\",\"protocol\":\"tcp\",\"publicIPAddress\":\"13.77.205.84\",\"frontendPort\":3389,\"backendPort\":20000\r\n }\r\n ]\r\n },\"nodeAgentInfo\":{\r\n \"lastUpdateTime\":\"2018-12-11T18:31:51.8606Z\",\"version\":\"1.4.7\"\r\n }\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '18f30c3b-238a-42e2-a7a4-4982aab6b0bb',
'request-id': '78403841-058d-4b1e-8327-b1c4d0c15d4f',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:23:09 GMT',
date: 'Tue, 11 Dec 2018 18:42:30 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,40 +1,40 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#jobs/@Element\",\"id\":\"HelloWorldJobNodeSDKTest\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest\",\"eTag\":\"0x8D607A4396C0D8C\",\"lastModified\":\"2018-08-21T20:25:23.8917516Z\",\"creationTime\":\"2018-08-21T20:25:23.5846713Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:25:23.6076746Z\",\"priority\":500,\"usesTaskDependencies\":false,\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":3\r\n },\"poolInfo\":{\r\n \"poolId\":\"nodesdktestpool1\"\r\n },\"executionInfo\":{\r\n \"startTime\":\"2018-08-21T20:25:23.6076746Z\",\"poolId\":\"nodesdktestpool1\"\r\n },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"noaction\"\r\n}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#jobs/@Element\",\"id\":\"HelloWorldJobNodeSDKTest\",\"url\":\"https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest\",\"eTag\":\"0x8D65F98BAA7B3B8\",\"lastModified\":\"2018-12-11T18:44:49.072428Z\",\"creationTime\":\"2018-12-11T18:44:48.660002Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:44:48.6770031Z\",\"priority\":500,\"usesTaskDependencies\":false,\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":3\r\n },\"poolInfo\":{\r\n \"poolId\":\"nodesdktestpool1\"\r\n },\"executionInfo\":{\r\n \"startTime\":\"2018-12-11T18:44:48.6770031Z\",\"poolId\":\"nodesdktestpool1\"\r\n },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"noaction\"\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
'last-modified': 'Tue, 21 Aug 2018 20:25:23 GMT',
etag: '0x8D607A4396C0D8C',
'last-modified': 'Tue, 11 Dec 2018 18:44:49 GMT',
etag: '0x8D65F98BAA7B3B8',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '48237bb7-af49-462c-8793-11c154c658b9',
'request-id': 'df0ba959-923e-419b-9921-a5301163ace1',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:01 GMT',
date: 'Tue, 11 Dec 2018 18:48:35 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#jobs/@Element\",\"id\":\"HelloWorldJobNodeSDKTest\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest\",\"eTag\":\"0x8D607A4396C0D8C\",\"lastModified\":\"2018-08-21T20:25:23.8917516Z\",\"creationTime\":\"2018-08-21T20:25:23.5846713Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:25:23.6076746Z\",\"priority\":500,\"usesTaskDependencies\":false,\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":3\r\n },\"poolInfo\":{\r\n \"poolId\":\"nodesdktestpool1\"\r\n },\"executionInfo\":{\r\n \"startTime\":\"2018-08-21T20:25:23.6076746Z\",\"poolId\":\"nodesdktestpool1\"\r\n },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"noaction\"\r\n}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#jobs/@Element\",\"id\":\"HelloWorldJobNodeSDKTest\",\"url\":\"https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest\",\"eTag\":\"0x8D65F98BAA7B3B8\",\"lastModified\":\"2018-12-11T18:44:49.072428Z\",\"creationTime\":\"2018-12-11T18:44:48.660002Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:44:48.6770031Z\",\"priority\":500,\"usesTaskDependencies\":false,\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":3\r\n },\"poolInfo\":{\r\n \"poolId\":\"nodesdktestpool1\"\r\n },\"executionInfo\":{\r\n \"startTime\":\"2018-12-11T18:44:48.6770031Z\",\"poolId\":\"nodesdktestpool1\"\r\n },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"noaction\"\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
'last-modified': 'Tue, 21 Aug 2018 20:25:23 GMT',
etag: '0x8D607A4396C0D8C',
'last-modified': 'Tue, 11 Dec 2018 18:44:49 GMT',
etag: '0x8D65F98BAA7B3B8',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '48237bb7-af49-462c-8793-11c154c658b9',
'request-id': 'df0ba959-923e-419b-9921-a5301163ace1',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:01 GMT',
date: 'Tue, 11 Dec 2018 18:48:35 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,40 +1,40 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/jobschedules/NodeSDKTestSchedule?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#jobschedules/@Element\",\"id\":\"NodeSDKTestSchedule\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule\",\"eTag\":\"0x8D607A503E9DDB3\",\"lastModified\":\"2018-08-21T20:31:03.6160435Z\",\"creationTime\":\"2018-08-21T20:31:03.6160435Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:31:03.6160435Z\",\"schedule\":{\r\n \"doNotRunUntil\":\"2018-08-25T07:00:00Z\",\"startWindow\":\"PT6M\"\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\":\"nodesdktestpool1\"\r\n }\r\n },\"executionInfo\":{\r\n \"nextRunTime\":\"2018-08-25T07:00:00Z\"\r\n }\r\n}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/jobschedules/NodeSDKTestSchedule?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#jobschedules/@Element\",\"id\":\"NodeSDKTestSchedule\",\"url\":\"https://test3.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule\",\"eTag\":\"0x8D65FAC2F4D7E17\",\"lastModified\":\"2018-12-11T21:04:05.2125207Z\",\"creationTime\":\"2018-12-11T21:04:05.2125207Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T21:04:05.2125207Z\",\"schedule\":{\r\n \"doNotRunUntil\":\"2018-12-25T08:00:00Z\",\"startWindow\":\"PT6M\"\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\":\"nodesdktestpool1\"\r\n }\r\n },\"executionInfo\":{\r\n \"nextRunTime\":\"2018-12-25T08:00:00Z\"\r\n }\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
'last-modified': 'Tue, 21 Aug 2018 20:31:03 GMT',
etag: '0x8D607A503E9DDB3',
'last-modified': 'Tue, 11 Dec 2018 21:04:05 GMT',
etag: '0x8D65FAC2F4D7E17',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'eb116f71-2e08-43c7-bc1e-2a83e7985922',
'request-id': '35dc5414-970d-4178-945b-57507a31f4d9',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:03 GMT',
date: 'Tue, 11 Dec 2018 21:04:05 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/jobschedules/NodeSDKTestSchedule?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#jobschedules/@Element\",\"id\":\"NodeSDKTestSchedule\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule\",\"eTag\":\"0x8D607A503E9DDB3\",\"lastModified\":\"2018-08-21T20:31:03.6160435Z\",\"creationTime\":\"2018-08-21T20:31:03.6160435Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:31:03.6160435Z\",\"schedule\":{\r\n \"doNotRunUntil\":\"2018-08-25T07:00:00Z\",\"startWindow\":\"PT6M\"\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\":\"nodesdktestpool1\"\r\n }\r\n },\"executionInfo\":{\r\n \"nextRunTime\":\"2018-08-25T07:00:00Z\"\r\n }\r\n}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/jobschedules/NodeSDKTestSchedule?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#jobschedules/@Element\",\"id\":\"NodeSDKTestSchedule\",\"url\":\"https://test3.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule\",\"eTag\":\"0x8D65FAC2F4D7E17\",\"lastModified\":\"2018-12-11T21:04:05.2125207Z\",\"creationTime\":\"2018-12-11T21:04:05.2125207Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T21:04:05.2125207Z\",\"schedule\":{\r\n \"doNotRunUntil\":\"2018-12-25T08:00:00Z\",\"startWindow\":\"PT6M\"\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\":\"nodesdktestpool1\"\r\n }\r\n },\"executionInfo\":{\r\n \"nextRunTime\":\"2018-12-25T08:00:00Z\"\r\n }\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
'last-modified': 'Tue, 21 Aug 2018 20:31:03 GMT',
etag: '0x8D607A503E9DDB3',
'last-modified': 'Tue, 11 Dec 2018 21:04:05 GMT',
etag: '0x8D65FAC2F4D7E17',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'eb116f71-2e08-43c7-bc1e-2a83e7985922',
'request-id': '35dc5414-970d-4178-945b-57507a31f4d9',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:03 GMT',
date: 'Tue, 11 Dec 2018 21:04:05 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,40 +1,40 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/pools/nodesdktestpool1?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#pools/@Element\",\"id\":\"nodesdktestpool1\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1\",\"eTag\":\"0x8D607A20760C002\",\"lastModified\":\"2018-08-21T20:09:40.9381378Z\",\"creationTime\":\"2018-08-21T20:05:04.4042325Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:05:04.4042325Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-08-21T20:05:58.6896528Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":3,\"targetDedicatedNodes\":3,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"startTask\":{\r\n \"commandLine\":\"cmd /c echo hello > hello.txt\",\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"maxTaskRetryCount\":0,\"waitForSuccess\":false\r\n },\"userAccounts\":[\r\n {\r\n \"name\":\"nonAdminUser\",\"elevationLevel\":\"nonadmin\"\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}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/pools/nodesdktestpool1?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#pools/@Element\",\"id\":\"nodesdktestpool1\",\"url\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1\",\"eTag\":\"0x8D65F9686C8060D\",\"lastModified\":\"2018-12-11T18:29:03.0492685Z\",\"creationTime\":\"2018-12-11T18:27:21.0984288Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:27:21.0984288Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-12-11T18:28:37.5483444Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":3,\"targetDedicatedNodes\":3,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"startTask\":{\r\n \"commandLine\":\"cmd /c echo hello > hello.txt\",\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"maxTaskRetryCount\":0,\"waitForSuccess\":false\r\n },\"userAccounts\":[\r\n {\r\n \"name\":\"nonAdminUser\",\"elevationLevel\":\"nonadmin\",\"windowsUserConfiguration\":{\r\n \"loginMode\":\"interactive\"\r\n }\r\n }\r\n ],\"certificateReferences\":[\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\",\"osVersion\":\"*\"\r\n }\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
'last-modified': 'Tue, 21 Aug 2018 20:09:40 GMT',
etag: '0x8D607A20760C002',
'last-modified': 'Tue, 11 Dec 2018 18:29:03 GMT',
etag: '0x8D65F9686C8060D',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '6cb51182-165a-43a7-bc2e-6bfc7350748f',
'request-id': '27cf0b23-b600-430b-a8d4-05662dcc8615',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:16:21 GMT',
date: 'Tue, 11 Dec 2018 18:35:43 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/pools/nodesdktestpool1?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#pools/@Element\",\"id\":\"nodesdktestpool1\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1\",\"eTag\":\"0x8D607A20760C002\",\"lastModified\":\"2018-08-21T20:09:40.9381378Z\",\"creationTime\":\"2018-08-21T20:05:04.4042325Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:05:04.4042325Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-08-21T20:05:58.6896528Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":3,\"targetDedicatedNodes\":3,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"startTask\":{\r\n \"commandLine\":\"cmd /c echo hello > hello.txt\",\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"maxTaskRetryCount\":0,\"waitForSuccess\":false\r\n },\"userAccounts\":[\r\n {\r\n \"name\":\"nonAdminUser\",\"elevationLevel\":\"nonadmin\"\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}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/pools/nodesdktestpool1?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#pools/@Element\",\"id\":\"nodesdktestpool1\",\"url\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1\",\"eTag\":\"0x8D65F9686C8060D\",\"lastModified\":\"2018-12-11T18:29:03.0492685Z\",\"creationTime\":\"2018-12-11T18:27:21.0984288Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:27:21.0984288Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-12-11T18:28:37.5483444Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":3,\"targetDedicatedNodes\":3,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"startTask\":{\r\n \"commandLine\":\"cmd /c echo hello > hello.txt\",\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"maxTaskRetryCount\":0,\"waitForSuccess\":false\r\n },\"userAccounts\":[\r\n {\r\n \"name\":\"nonAdminUser\",\"elevationLevel\":\"nonadmin\",\"windowsUserConfiguration\":{\r\n \"loginMode\":\"interactive\"\r\n }\r\n }\r\n ],\"certificateReferences\":[\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\",\"osVersion\":\"*\"\r\n }\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
'last-modified': 'Tue, 21 Aug 2018 20:09:40 GMT',
etag: '0x8D607A20760C002',
'last-modified': 'Tue, 11 Dec 2018 18:29:03 GMT',
etag: '0x8D65F9686C8060D',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '6cb51182-165a-43a7-bc2e-6bfc7350748f',
'request-id': '27cf0b23-b600-430b-a8d4-05662dcc8615',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:16:21 GMT',
date: 'Tue, 11 Dec 2018 18:35:43 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,40 +1,40 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/pools/nodesdktestpool1?api-version=2018-08-01.7.0&$select=id%2Cstate&$expand=stats')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#pools/@Element\",\"id\":\"nodesdktestpool1\",\"state\":\"active\"\r\n}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/pools/nodesdktestpool1?api-version=2018-12-01.8.0&$select=id%2Cstate&$expand=stats')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#pools/@Element\",\"id\":\"nodesdktestpool1\",\"state\":\"active\"\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
'last-modified': 'Tue, 21 Aug 2018 20:09:40 GMT',
etag: '0x8D607A20760C002',
'last-modified': 'Tue, 11 Dec 2018 18:29:03 GMT',
etag: '0x8D65F9686C8060D',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '7f270ebd-6b11-432f-8334-f28d091456f1',
'request-id': 'fa62e98d-9045-4cb5-9c04-a118cc9f36f0',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:16:21 GMT',
date: 'Tue, 11 Dec 2018 18:35:43 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/pools/nodesdktestpool1?api-version=2018-08-01.7.0&$select=id%2Cstate&$expand=stats')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#pools/@Element\",\"id\":\"nodesdktestpool1\",\"state\":\"active\"\r\n}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/pools/nodesdktestpool1?api-version=2018-12-01.8.0&$select=id%2Cstate&$expand=stats')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#pools/@Element\",\"id\":\"nodesdktestpool1\",\"state\":\"active\"\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
'last-modified': 'Tue, 21 Aug 2018 20:09:40 GMT',
etag: '0x8D607A20760C002',
'last-modified': 'Tue, 11 Dec 2018 18:29:03 GMT',
etag: '0x8D65F9686C8060D',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '7f270ebd-6b11-432f-8334-f28d091456f1',
'request-id': 'fa62e98d-9045-4cb5-9c04-a118cc9f36f0',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:16:21 GMT',
date: 'Tue, 11 Dec 2018 18:35:43 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,36 +1,36 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/pools/nodesdktestpool1/nodes/tvm-14141481_1-20180821t200555z/rdp?api-version=2018-08-01.7.0')
.reply(200, "full address:s:13.78.131.204\r\nLoadBalanceInfo:s:Cookie: mstshash=TVM#TVM_IN_0", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/pools/nodesdktestpool1/nodes/tvmps_13cf4cee9dd1594f9da06399ef98ede3e5a4010f3233627c3837a43dbeff5868_d/rdp?api-version=2018-12-01.8.0')
.reply(200, "full address:s:13.77.205.84\r\nLoadBalanceInfo:s:Cookie: mstshash=TVM#TVM_IN_0", { 'transfer-encoding': 'chunked',
'content-type': 'application/octet-stream',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '8151ec16-4fb1-47a3-b0ed-901d2939016c',
'request-id': '8498df38-0513-47ba-b3e6-fcf75e60092b',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:23:10 GMT',
date: 'Tue, 11 Dec 2018 18:42:31 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/pools/nodesdktestpool1/nodes/tvm-14141481_1-20180821t200555z/rdp?api-version=2018-08-01.7.0')
.reply(200, "full address:s:13.78.131.204\r\nLoadBalanceInfo:s:Cookie: mstshash=TVM#TVM_IN_0", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/pools/nodesdktestpool1/nodes/tvmps_13cf4cee9dd1594f9da06399ef98ede3e5a4010f3233627c3837a43dbeff5868_d/rdp?api-version=2018-12-01.8.0')
.reply(200, "full address:s:13.77.205.84\r\nLoadBalanceInfo:s:Cookie: mstshash=TVM#TVM_IN_0", { 'transfer-encoding': 'chunked',
'content-type': 'application/octet-stream',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '8151ec16-4fb1-47a3-b0ed-901d2939016c',
'request-id': '8498df38-0513-47ba-b3e6-fcf75e60092b',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:23:10 GMT',
date: 'Tue, 11 Dec 2018 18:42:31 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,36 +1,36 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/lifetimejobstats?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#jobstats/@Element\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/lifetimejobstats\",\"startTime\":\"2017-10-23T18:57:56.5958966Z\",\"lastUpdateTime\":\"2018-08-21T19:30:00Z\",\"userCPUTime\":\"PT6M17.075S\",\"kernelCPUTime\":\"PT0.563S\",\"wallClockTime\":\"PT6M17.075S\",\"readIOps\":\"130\",\"writeIOps\":\"260\",\"readIOGiB\":6.650388240814209E-05,\"writeIOGiB\":1.6363337635993958E-05,\"numTaskRetries\":\"14\",\"numSucceededTasks\":\"12\",\"numFailedTasks\":\"10\",\"waitTime\":\"PT2H59.09S\"\r\n}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/lifetimejobstats?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#jobstats/@Element\",\"url\":\"https://test3.westcentralus.batch.azure.com/lifetimejobstats\",\"startTime\":\"2018-12-11T17:38:45.439192Z\",\"lastUpdateTime\":\"2018-12-11T17:38:45.439192Z\",\"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}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '9e5d6186-c118-4673-b335-cf53e3e8deb4',
'request-id': '025eca35-9e99-4971-93ff-7100ca85bf49',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:03 GMT',
date: 'Tue, 11 Dec 2018 18:48:37 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/lifetimejobstats?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#jobstats/@Element\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/lifetimejobstats\",\"startTime\":\"2017-10-23T18:57:56.5958966Z\",\"lastUpdateTime\":\"2018-08-21T19:30:00Z\",\"userCPUTime\":\"PT6M17.075S\",\"kernelCPUTime\":\"PT0.563S\",\"wallClockTime\":\"PT6M17.075S\",\"readIOps\":\"130\",\"writeIOps\":\"260\",\"readIOGiB\":6.650388240814209E-05,\"writeIOGiB\":1.6363337635993958E-05,\"numTaskRetries\":\"14\",\"numSucceededTasks\":\"12\",\"numFailedTasks\":\"10\",\"waitTime\":\"PT2H59.09S\"\r\n}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/lifetimejobstats?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#jobstats/@Element\",\"url\":\"https://test3.westcentralus.batch.azure.com/lifetimejobstats\",\"startTime\":\"2018-12-11T17:38:45.439192Z\",\"lastUpdateTime\":\"2018-12-11T17:38:45.439192Z\",\"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}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '9e5d6186-c118-4673-b335-cf53e3e8deb4',
'request-id': '025eca35-9e99-4971-93ff-7100ca85bf49',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:03 GMT',
date: 'Tue, 11 Dec 2018 18:48:37 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,36 +1,36 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/applications/my_application_id?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#getapplicationsummaryresponse/@Element\",\"id\":\"my_application_id\",\"versions\":[\r\n \"v1.0\"\r\n ],\"displayName\":\"my_updated_name\"\r\n}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/applications/my_application_id?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#getapplicationsummaryresponse/@Element\",\"id\":\"my_application_id\",\"versions\":[\r\n \"1.0\"\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'f5d26ac0-5953-4ac0-97bc-a9893a43ec35',
'request-id': '752ac876-9fcf-4147-a7ab-6edffffa8381',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:00 GMT',
date: 'Tue, 11 Dec 2018 18:48:34 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/applications/my_application_id?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#getapplicationsummaryresponse/@Element\",\"id\":\"my_application_id\",\"versions\":[\r\n \"v1.0\"\r\n ],\"displayName\":\"my_updated_name\"\r\n}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/applications/my_application_id?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#getapplicationsummaryresponse/@Element\",\"id\":\"my_application_id\",\"versions\":[\r\n \"1.0\"\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'f5d26ac0-5953-4ac0-97bc-a9893a43ec35',
'request-id': '752ac876-9fcf-4147-a7ab-6edffffa8381',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:00 GMT',
date: 'Tue, 11 Dec 2018 18:48:34 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,36 +1,36 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#certificates/@Element\",\"thumbprint\":\"cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"thumbprintAlgorithm\":\"sha1\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:05:03.6975129Z\",\"publicData\":\"MIIBrzCCAV2gAwIBAgIQHZGt2k0LCLFKYYCFxlJnkTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE2MDEwMTA3MDAwMFoXDTE4MDEwMTA3MDAwMFowEjEQMA4GA1UEAxMHbm9kZXNkazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuX4XMWyR8cQRCA81TjHOerNOFOpOBj2O8jEdZvqwRlUYgMleEY2OlPd+nalxwlQ9+qbNkNGfjnhIMgiJ5CMlXgdRMF3E6DnMnktmHFG9L0VmQ6Lgt7bhXR8IitRHeYlvy5LJlw6Lcle5Kas2j4ThYjLQbjBMDSXD4HvZNe4UYEUCAwEAAaNLMEkwRwYDVR0BBEAwPoAQEuQJLQYdHU8AjWEh3BZkY6EYMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5ghAGN2wAqgBkihHPuNSqXDX0MAkGBSsOAwIdBQADQQB5djPe0G6c3Z8DuR6EQbIhBMTnC0zYPhigq+x1LG83761Ir8PiSy+6oxwCHOaYZyvheW0PByntC/WFwUipfn78\"\r\n}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#certificates/@Element\",\"thumbprint\":\"cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"thumbprintAlgorithm\":\"sha1\",\"url\":\"https://test3.westcentralus.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:27:20.1209305Z\",\"publicData\":\"MIIBrzCCAV2gAwIBAgIQHZGt2k0LCLFKYYCFxlJnkTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE2MDEwMTA3MDAwMFoXDTE4MDEwMTA3MDAwMFowEjEQMA4GA1UEAxMHbm9kZXNkazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuX4XMWyR8cQRCA81TjHOerNOFOpOBj2O8jEdZvqwRlUYgMleEY2OlPd+nalxwlQ9+qbNkNGfjnhIMgiJ5CMlXgdRMF3E6DnMnktmHFG9L0VmQ6Lgt7bhXR8IitRHeYlvy5LJlw6Lcle5Kas2j4ThYjLQbjBMDSXD4HvZNe4UYEUCAwEAAaNLMEkwRwYDVR0BBEAwPoAQEuQJLQYdHU8AjWEh3BZkY6EYMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5ghAGN2wAqgBkihHPuNSqXDX0MAkGBSsOAwIdBQADQQB5djPe0G6c3Z8DuR6EQbIhBMTnC0zYPhigq+x1LG83761Ir8PiSy+6oxwCHOaYZyvheW0PByntC/WFwUipfn78\"\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '9fb112e5-cb9a-445c-b5da-2d2dbee0c77c',
'request-id': 'ceaf8ee0-156c-4655-920b-baf3ee14e661',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:05:04 GMT',
date: 'Tue, 11 Dec 2018 18:27:20 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#certificates/@Element\",\"thumbprint\":\"cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"thumbprintAlgorithm\":\"sha1\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:05:03.6975129Z\",\"publicData\":\"MIIBrzCCAV2gAwIBAgIQHZGt2k0LCLFKYYCFxlJnkTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE2MDEwMTA3MDAwMFoXDTE4MDEwMTA3MDAwMFowEjEQMA4GA1UEAxMHbm9kZXNkazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuX4XMWyR8cQRCA81TjHOerNOFOpOBj2O8jEdZvqwRlUYgMleEY2OlPd+nalxwlQ9+qbNkNGfjnhIMgiJ5CMlXgdRMF3E6DnMnktmHFG9L0VmQ6Lgt7bhXR8IitRHeYlvy5LJlw6Lcle5Kas2j4ThYjLQbjBMDSXD4HvZNe4UYEUCAwEAAaNLMEkwRwYDVR0BBEAwPoAQEuQJLQYdHU8AjWEh3BZkY6EYMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5ghAGN2wAqgBkihHPuNSqXDX0MAkGBSsOAwIdBQADQQB5djPe0G6c3Z8DuR6EQbIhBMTnC0zYPhigq+x1LG83761Ir8PiSy+6oxwCHOaYZyvheW0PByntC/WFwUipfn78\"\r\n}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#certificates/@Element\",\"thumbprint\":\"cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"thumbprintAlgorithm\":\"sha1\",\"url\":\"https://test3.westcentralus.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:27:20.1209305Z\",\"publicData\":\"MIIBrzCCAV2gAwIBAgIQHZGt2k0LCLFKYYCFxlJnkTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE2MDEwMTA3MDAwMFoXDTE4MDEwMTA3MDAwMFowEjEQMA4GA1UEAxMHbm9kZXNkazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuX4XMWyR8cQRCA81TjHOerNOFOpOBj2O8jEdZvqwRlUYgMleEY2OlPd+nalxwlQ9+qbNkNGfjnhIMgiJ5CMlXgdRMF3E6DnMnktmHFG9L0VmQ6Lgt7bhXR8IitRHeYlvy5LJlw6Lcle5Kas2j4ThYjLQbjBMDSXD4HvZNe4UYEUCAwEAAaNLMEkwRwYDVR0BBEAwPoAQEuQJLQYdHU8AjWEh3BZkY6EYMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5ghAGN2wAqgBkihHPuNSqXDX0MAkGBSsOAwIdBQADQQB5djPe0G6c3Z8DuR6EQbIhBMTnC0zYPhigq+x1LG83761Ir8PiSy+6oxwCHOaYZyvheW0PByntC/WFwUipfn78\"\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '9fb112e5-cb9a-445c-b5da-2d2dbee0c77c',
'request-id': 'ceaf8ee0-156c-4655-920b-baf3ee14e661',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:05:04 GMT',
date: 'Tue, 11 Dec 2018 18:27:20 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,44 +1,44 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/files/startup%2Fwd%2Fhello.txt?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/pools/nodesdktestpool1/nodes/tvmps_15c61fea08a34e0fe431ba70cdf2156682bec1e01fdda442f2dccde21908ed91_d/files/startup%2Fwd%2Fhello.txt?api-version=2018-12-01.8.0')
.reply(200, "hello \r\n", { 'transfer-encoding': 'chunked',
'content-type': 'application/octet-stream',
'last-modified': 'Tue, 21 Aug 2018 20:30:11 GMT',
'content-type': 'text/plain',
'last-modified': 'Tue, 11 Dec 2018 18:47:36 GMT',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'e09cb7e8-8ca2-4d38-9c32-c80c18543751',
'request-id': '929b13f1-0701-4006-b997-d12b5c17b502',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
'ocp-creation-time': 'Tue, 21 Aug 2018 20:30:11 GMT',
'ocp-creation-time': 'Tue, 11 Dec 2018 18:47:36 GMT',
'ocp-batch-file-isdirectory': 'False',
'ocp-batch-file-url': 'https%3A%2F%2Flchency4.westcentralus.batch.azure.com%2Fpools%2Fnodesdktestpool1%2Fnodes%2Ftvm-14141481_2-20180821t200555z%2Ffiles%2Fstartup%2Fwd%2Fhello.txt',
date: 'Tue, 21 Aug 2018 20:30:58 GMT',
'ocp-batch-file-url': 'https%3A%2F%2Ftest3.westcentralus.batch.azure.com%2Fpools%2Fnodesdktestpool1%2Fnodes%2Ftvmps_15c61fea08a34e0fe431ba70cdf2156682bec1e01fdda442f2dccde21908ed91_d%2Ffiles%2Fstartup%2Fwd%2Fhello.txt',
date: 'Tue, 11 Dec 2018 18:48:31 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/files/startup%2Fwd%2Fhello.txt?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/pools/nodesdktestpool1/nodes/tvmps_15c61fea08a34e0fe431ba70cdf2156682bec1e01fdda442f2dccde21908ed91_d/files/startup%2Fwd%2Fhello.txt?api-version=2018-12-01.8.0')
.reply(200, "hello \r\n", { 'transfer-encoding': 'chunked',
'content-type': 'application/octet-stream',
'last-modified': 'Tue, 21 Aug 2018 20:30:11 GMT',
'content-type': 'text/plain',
'last-modified': 'Tue, 11 Dec 2018 18:47:36 GMT',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'e09cb7e8-8ca2-4d38-9c32-c80c18543751',
'request-id': '929b13f1-0701-4006-b997-d12b5c17b502',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
'ocp-creation-time': 'Tue, 21 Aug 2018 20:30:11 GMT',
'ocp-creation-time': 'Tue, 11 Dec 2018 18:47:36 GMT',
'ocp-batch-file-isdirectory': 'False',
'ocp-batch-file-url': 'https%3A%2F%2Flchency4.westcentralus.batch.azure.com%2Fpools%2Fnodesdktestpool1%2Fnodes%2Ftvm-14141481_2-20180821t200555z%2Ffiles%2Fstartup%2Fwd%2Fhello.txt',
date: 'Tue, 21 Aug 2018 20:30:58 GMT',
'ocp-batch-file-url': 'https%3A%2F%2Ftest3.westcentralus.batch.azure.com%2Fpools%2Fnodesdktestpool1%2Fnodes%2Ftvmps_15c61fea08a34e0fe431ba70cdf2156682bec1e01fdda442f2dccde21908ed91_d%2Ffiles%2Fstartup%2Fwd%2Fhello.txt',
date: 'Tue, 11 Dec 2018 18:48:31 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,44 +1,44 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/stdout.txt?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/stdout.txt?api-version=2018-12-01.8.0')
.reply(200, "hello world\r\n", { 'transfer-encoding': 'chunked',
'content-type': 'application/octet-stream',
'last-modified': 'Tue, 21 Aug 2018 20:25:27 GMT',
'content-type': 'text/plain',
'last-modified': 'Tue, 11 Dec 2018 18:44:54 GMT',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '93444d00-6dc1-44b9-bcf8-79b2f432315c',
'request-id': 'e064a74e-2386-42b7-beb3-aad16d9fd556',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
'ocp-creation-time': 'Tue, 21 Aug 2018 20:25:27 GMT',
'ocp-creation-time': 'Tue, 11 Dec 2018 18:44:53 GMT',
'ocp-batch-file-isdirectory': 'False',
'ocp-batch-file-url': 'https%3A%2F%2Flchency4.westcentralus.batch.azure.com%2Fjobs%2FHelloWorldJobNodeSDKTest%2Ftasks%2FHelloWorldNodeSDKTestTask2%2Ffiles%2Fstdout.txt',
date: 'Tue, 21 Aug 2018 20:27:24 GMT',
'ocp-batch-file-url': 'https%3A%2F%2Ftest3.westcentralus.batch.azure.com%2Fjobs%2FHelloWorldJobNodeSDKTest%2Ftasks%2FHelloWorldNodeSDKTestTask2%2Ffiles%2Fstdout.txt',
date: 'Tue, 11 Dec 2018 18:46:49 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/stdout.txt?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/stdout.txt?api-version=2018-12-01.8.0')
.reply(200, "hello world\r\n", { 'transfer-encoding': 'chunked',
'content-type': 'application/octet-stream',
'last-modified': 'Tue, 21 Aug 2018 20:25:27 GMT',
'content-type': 'text/plain',
'last-modified': 'Tue, 11 Dec 2018 18:44:54 GMT',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '93444d00-6dc1-44b9-bcf8-79b2f432315c',
'request-id': 'e064a74e-2386-42b7-beb3-aad16d9fd556',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
'ocp-creation-time': 'Tue, 21 Aug 2018 20:25:27 GMT',
'ocp-creation-time': 'Tue, 11 Dec 2018 18:44:53 GMT',
'ocp-batch-file-isdirectory': 'False',
'ocp-batch-file-url': 'https%3A%2F%2Flchency4.westcentralus.batch.azure.com%2Fjobs%2FHelloWorldJobNodeSDKTest%2Ftasks%2FHelloWorldNodeSDKTestTask2%2Ffiles%2Fstdout.txt',
date: 'Tue, 21 Aug 2018 20:27:24 GMT',
'ocp-batch-file-url': 'https%3A%2F%2Ftest3.westcentralus.batch.azure.com%2Fjobs%2FHelloWorldJobNodeSDKTest%2Ftasks%2FHelloWorldNodeSDKTestTask2%2Ffiles%2Fstdout.txt',
date: 'Tue, 11 Dec 2018 18:46:49 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,96 +1,44 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.head('/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/files/startup%2Fwd%2Fhello.txt?api-version=2018-08-01.7.0')
.reply(503, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'eea76181-49b0-4ba2-9214-76b37a428550',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:29:05 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.head('/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/files/startup%2Fwd%2Fhello.txt?api-version=2018-08-01.7.0')
.reply(503, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'eea76181-49b0-4ba2-9214-76b37a428550',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:29:05 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.head('/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/files/startup%2Fwd%2Fhello.txt?api-version=2018-08-01.7.0')
.reply(503, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '8f018830-bbfe-4e1c-aa66-e0da10fd020b',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:29:33 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.head('/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/files/startup%2Fwd%2Fhello.txt?api-version=2018-08-01.7.0')
.reply(503, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '8f018830-bbfe-4e1c-aa66-e0da10fd020b',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:29:33 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.head('/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/files/startup%2Fwd%2Fhello.txt?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.head('/pools/nodesdktestpool1/nodes/tvmps_15c61fea08a34e0fe431ba70cdf2156682bec1e01fdda442f2dccde21908ed91_d/files/startup%2Fwd%2Fhello.txt?api-version=2018-12-01.8.0')
.reply(200, "", { 'content-length': '8',
'content-type': 'application/octet-stream',
'last-modified': 'Tue, 21 Aug 2018 20:30:11 GMT',
'content-type': 'text/plain',
'last-modified': 'Tue, 11 Dec 2018 18:47:36 GMT',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'b490723d-3d62-4e80-b0a1-22109f1adcf0',
'request-id': '8e069f25-67e1-4417-976e-6a8b895456a0',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
'ocp-creation-time': 'Tue, 21 Aug 2018 20:30:11 GMT',
'ocp-creation-time': 'Tue, 11 Dec 2018 18:47:36 GMT',
'ocp-batch-file-isdirectory': 'False',
'ocp-batch-file-url': 'https%3A%2F%2Flchency4.westcentralus.batch.azure.com%2Fpools%2Fnodesdktestpool1%2Fnodes%2Ftvm-14141481_2-20180821t200555z%2Ffiles%2Fstartup%2Fwd%2Fhello.txt',
date: 'Tue, 21 Aug 2018 20:30:57 GMT',
'ocp-batch-file-url': 'https%3A%2F%2Ftest3.westcentralus.batch.azure.com%2Fpools%2Fnodesdktestpool1%2Fnodes%2Ftvmps_15c61fea08a34e0fe431ba70cdf2156682bec1e01fdda442f2dccde21908ed91_d%2Ffiles%2Fstartup%2Fwd%2Fhello.txt',
date: 'Tue, 11 Dec 2018 18:48:31 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.head('/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/files/startup%2Fwd%2Fhello.txt?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.head('/pools/nodesdktestpool1/nodes/tvmps_15c61fea08a34e0fe431ba70cdf2156682bec1e01fdda442f2dccde21908ed91_d/files/startup%2Fwd%2Fhello.txt?api-version=2018-12-01.8.0')
.reply(200, "", { 'content-length': '8',
'content-type': 'application/octet-stream',
'last-modified': 'Tue, 21 Aug 2018 20:30:11 GMT',
'content-type': 'text/plain',
'last-modified': 'Tue, 11 Dec 2018 18:47:36 GMT',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'b490723d-3d62-4e80-b0a1-22109f1adcf0',
'request-id': '8e069f25-67e1-4417-976e-6a8b895456a0',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
'ocp-creation-time': 'Tue, 21 Aug 2018 20:30:11 GMT',
'ocp-creation-time': 'Tue, 11 Dec 2018 18:47:36 GMT',
'ocp-batch-file-isdirectory': 'False',
'ocp-batch-file-url': 'https%3A%2F%2Flchency4.westcentralus.batch.azure.com%2Fpools%2Fnodesdktestpool1%2Fnodes%2Ftvm-14141481_2-20180821t200555z%2Ffiles%2Fstartup%2Fwd%2Fhello.txt',
date: 'Tue, 21 Aug 2018 20:30:57 GMT',
'ocp-batch-file-url': 'https%3A%2F%2Ftest3.westcentralus.batch.azure.com%2Fpools%2Fnodesdktestpool1%2Fnodes%2Ftvmps_15c61fea08a34e0fe431ba70cdf2156682bec1e01fdda442f2dccde21908ed91_d%2Ffiles%2Fstartup%2Fwd%2Fhello.txt',
date: 'Tue, 11 Dec 2018 18:48:31 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,44 +1,44 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.head('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/stderr.txt?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.head('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/stderr.txt?api-version=2018-12-01.8.0')
.reply(200, "", { 'content-length': '0',
'content-type': 'application/octet-stream',
'last-modified': 'Tue, 21 Aug 2018 20:25:27 GMT',
'content-type': 'text/plain',
'last-modified': 'Tue, 11 Dec 2018 18:44:53 GMT',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'a1e31a8b-b4d6-42f8-88aa-a1c807a22af4',
'request-id': '99d4682c-ae97-4e07-a634-9562e565faa0',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
'ocp-creation-time': 'Tue, 21 Aug 2018 20:25:27 GMT',
'ocp-creation-time': 'Tue, 11 Dec 2018 18:44:53 GMT',
'ocp-batch-file-isdirectory': 'False',
'ocp-batch-file-url': 'https%3A%2F%2Flchency4.westcentralus.batch.azure.com%2Fjobs%2FHelloWorldJobNodeSDKTest%2Ftasks%2FHelloWorldNodeSDKTestTask2%2Ffiles%2Fstderr.txt',
date: 'Tue, 21 Aug 2018 20:27:23 GMT',
'ocp-batch-file-url': 'https%3A%2F%2Ftest3.westcentralus.batch.azure.com%2Fjobs%2FHelloWorldJobNodeSDKTest%2Ftasks%2FHelloWorldNodeSDKTestTask2%2Ffiles%2Fstderr.txt',
date: 'Tue, 11 Dec 2018 18:46:49 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.head('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/stderr.txt?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.head('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/stderr.txt?api-version=2018-12-01.8.0')
.reply(200, "", { 'content-length': '0',
'content-type': 'application/octet-stream',
'last-modified': 'Tue, 21 Aug 2018 20:25:27 GMT',
'content-type': 'text/plain',
'last-modified': 'Tue, 11 Dec 2018 18:44:53 GMT',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'a1e31a8b-b4d6-42f8-88aa-a1c807a22af4',
'request-id': '99d4682c-ae97-4e07-a634-9562e565faa0',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
'ocp-creation-time': 'Tue, 21 Aug 2018 20:25:27 GMT',
'ocp-creation-time': 'Tue, 11 Dec 2018 18:44:53 GMT',
'ocp-batch-file-isdirectory': 'False',
'ocp-batch-file-url': 'https%3A%2F%2Flchency4.westcentralus.batch.azure.com%2Fjobs%2FHelloWorldJobNodeSDKTest%2Ftasks%2FHelloWorldNodeSDKTestTask2%2Ffiles%2Fstderr.txt',
date: 'Tue, 21 Aug 2018 20:27:23 GMT',
'ocp-batch-file-url': 'https%3A%2F%2Ftest3.westcentralus.batch.azure.com%2Fjobs%2FHelloWorldJobNodeSDKTest%2Ftasks%2FHelloWorldNodeSDKTestTask2%2Ffiles%2Fstderr.txt',
date: 'Tue, 11 Dec 2018 18:46:49 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,36 +1,36 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/lifetimepoolstats?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#poolstats/@Element\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/lifetimepoolstats\",\"usageStats\":{\r\n \"startTime\":\"2017-10-23T18:57:56.5958966Z\",\"lastUpdateTime\":\"2018-08-21T19:30:00Z\",\"dedicatedCoreTime\":\"P842DT15H44M4.782S\"\r\n },\"resourceStats\":{\r\n \"startTime\":\"2017-10-23T18:57:56.5958966Z\",\"diskReadIOps\":\"4333098\",\"diskWriteIOps\":\"217500288\",\"lastUpdateTime\":\"2018-08-21T19:30:00Z\",\"avgCPUPercentage\":0.11879342572208607,\"avgMemoryGiB\":0.76116733185640628,\"peakMemoryGiB\":3.8065605163574219,\"avgDiskGiB\":2.4733423606074521,\"peakDiskGiB\":16.662128448486328,\"diskReadGiB\":159.07264709472656,\"diskWriteGiB\":2209.7888917922974,\"networkReadGiB\":323.3932627197355,\"networkWriteGiB\":219.14907851628959\r\n }\r\n}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/lifetimepoolstats?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#poolstats/@Element\",\"url\":\"https://test3.westcentralus.batch.azure.com/lifetimepoolstats\",\"usageStats\":{\r\n \"startTime\":\"2018-12-11T17:38:45.439192Z\",\"lastUpdateTime\":\"2018-12-11T17:38:45.439192Z\",\"dedicatedCoreTime\":\"PT0S\"\r\n },\"resourceStats\":{\r\n \"startTime\":\"2018-12-11T17:38:45.439192Z\",\"diskReadIOps\":\"0\",\"diskWriteIOps\":\"0\",\"lastUpdateTime\":\"2018-12-11T17:38:45.439192Z\",\"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}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'cebbd73e-dba3-4693-9362-1dd4bcddc0da',
'request-id': '6c5a0b8e-d08b-4e2e-9554-822f4031f712',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:25:23 GMT',
date: 'Tue, 11 Dec 2018 18:44:48 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/lifetimepoolstats?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#poolstats/@Element\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/lifetimepoolstats\",\"usageStats\":{\r\n \"startTime\":\"2017-10-23T18:57:56.5958966Z\",\"lastUpdateTime\":\"2018-08-21T19:30:00Z\",\"dedicatedCoreTime\":\"P842DT15H44M4.782S\"\r\n },\"resourceStats\":{\r\n \"startTime\":\"2017-10-23T18:57:56.5958966Z\",\"diskReadIOps\":\"4333098\",\"diskWriteIOps\":\"217500288\",\"lastUpdateTime\":\"2018-08-21T19:30:00Z\",\"avgCPUPercentage\":0.11879342572208607,\"avgMemoryGiB\":0.76116733185640628,\"peakMemoryGiB\":3.8065605163574219,\"avgDiskGiB\":2.4733423606074521,\"peakDiskGiB\":16.662128448486328,\"diskReadGiB\":159.07264709472656,\"diskWriteGiB\":2209.7888917922974,\"networkReadGiB\":323.3932627197355,\"networkWriteGiB\":219.14907851628959\r\n }\r\n}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/lifetimepoolstats?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#poolstats/@Element\",\"url\":\"https://test3.westcentralus.batch.azure.com/lifetimepoolstats\",\"usageStats\":{\r\n \"startTime\":\"2018-12-11T17:38:45.439192Z\",\"lastUpdateTime\":\"2018-12-11T17:38:45.439192Z\",\"dedicatedCoreTime\":\"PT0S\"\r\n },\"resourceStats\":{\r\n \"startTime\":\"2018-12-11T17:38:45.439192Z\",\"diskReadIOps\":\"0\",\"diskWriteIOps\":\"0\",\"lastUpdateTime\":\"2018-12-11T17:38:45.439192Z\",\"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}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'cebbd73e-dba3-4693-9362-1dd4bcddc0da',
'request-id': '6c5a0b8e-d08b-4e2e-9554-822f4031f712',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:25:23 GMT',
date: 'Tue, 11 Dec 2018 18:44:48 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,36 +1,36 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/nodecounts?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#poolnodecounts\",\"value\":[\r\n {\r\n \"poolId\":\"nodesdkinboundendpointpool\",\"dedicated\":{\r\n \"creating\":0,\"idle\":1,\"leavingPool\":0,\"offline\":0,\"preempted\":0,\"rebooting\":0,\"reimaging\":0,\"running\":0,\"starting\":0,\"startTaskFailed\":0,\"unusable\":0,\"unknown\":0,\"waitingForStartTask\":0,\"total\":1\r\n },\"lowPriority\":{\r\n \"creating\":0,\"idle\":0,\"leavingPool\":0,\"offline\":0,\"preempted\":0,\"rebooting\":0,\"reimaging\":0,\"running\":0,\"starting\":0,\"startTaskFailed\":0,\"unusable\":0,\"unknown\":0,\"waitingForStartTask\":0,\"total\":0\r\n }\r\n },{\r\n \"poolId\":\"nodesdktestpool1\",\"dedicated\":{\r\n \"creating\":0,\"idle\":3,\"leavingPool\":0,\"offline\":0,\"preempted\":0,\"rebooting\":0,\"reimaging\":0,\"running\":0,\"starting\":0,\"startTaskFailed\":0,\"unusable\":0,\"unknown\":0,\"waitingForStartTask\":0,\"total\":3\r\n },\"lowPriority\":{\r\n \"creating\":0,\"idle\":0,\"leavingPool\":0,\"offline\":0,\"preempted\":0,\"rebooting\":0,\"reimaging\":0,\"running\":0,\"starting\":0,\"startTaskFailed\":0,\"unusable\":0,\"unknown\":0,\"waitingForStartTask\":0,\"total\":0\r\n }\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/nodecounts?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#poolnodecounts\",\"value\":[\r\n {\r\n \"poolId\":\"nodesdkinboundendpointpool\",\"dedicated\":{\r\n \"creating\":0,\"idle\":1,\"leavingPool\":0,\"offline\":0,\"preempted\":0,\"rebooting\":0,\"reimaging\":0,\"running\":0,\"starting\":0,\"startTaskFailed\":0,\"unusable\":0,\"unknown\":0,\"waitingForStartTask\":0,\"total\":1\r\n },\"lowPriority\":{\r\n \"creating\":0,\"idle\":0,\"leavingPool\":0,\"offline\":0,\"preempted\":0,\"rebooting\":0,\"reimaging\":0,\"running\":0,\"starting\":0,\"startTaskFailed\":0,\"unusable\":0,\"unknown\":0,\"waitingForStartTask\":0,\"total\":0\r\n }\r\n },{\r\n \"poolId\":\"nodesdkosdiskpool\",\"dedicated\":{\r\n \"creating\":0,\"idle\":0,\"leavingPool\":0,\"offline\":0,\"preempted\":0,\"rebooting\":0,\"reimaging\":0,\"running\":0,\"starting\":0,\"startTaskFailed\":0,\"unusable\":0,\"unknown\":0,\"waitingForStartTask\":0,\"total\":0\r\n },\"lowPriority\":{\r\n \"creating\":0,\"idle\":0,\"leavingPool\":0,\"offline\":0,\"preempted\":0,\"rebooting\":0,\"reimaging\":0,\"running\":0,\"starting\":0,\"startTaskFailed\":0,\"unusable\":0,\"unknown\":0,\"waitingForStartTask\":0,\"total\":0\r\n }\r\n },{\r\n \"poolId\":\"nodesdktestpool1\",\"dedicated\":{\r\n \"creating\":0,\"idle\":3,\"leavingPool\":0,\"offline\":0,\"preempted\":0,\"rebooting\":0,\"reimaging\":0,\"running\":0,\"starting\":0,\"startTaskFailed\":0,\"unusable\":0,\"unknown\":0,\"waitingForStartTask\":0,\"total\":3\r\n },\"lowPriority\":{\r\n \"creating\":0,\"idle\":0,\"leavingPool\":0,\"offline\":0,\"preempted\":0,\"rebooting\":0,\"reimaging\":0,\"running\":0,\"starting\":0,\"startTaskFailed\":0,\"unusable\":0,\"unknown\":0,\"waitingForStartTask\":0,\"total\":0\r\n }\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '2993c141-50cd-466a-a20e-fb7b2ee542dd',
'request-id': '7c10e64e-0406-4d1f-bf03-8b1acb48326f',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:23:08 GMT',
date: 'Tue, 11 Dec 2018 18:42:29 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/nodecounts?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#poolnodecounts\",\"value\":[\r\n {\r\n \"poolId\":\"nodesdkinboundendpointpool\",\"dedicated\":{\r\n \"creating\":0,\"idle\":1,\"leavingPool\":0,\"offline\":0,\"preempted\":0,\"rebooting\":0,\"reimaging\":0,\"running\":0,\"starting\":0,\"startTaskFailed\":0,\"unusable\":0,\"unknown\":0,\"waitingForStartTask\":0,\"total\":1\r\n },\"lowPriority\":{\r\n \"creating\":0,\"idle\":0,\"leavingPool\":0,\"offline\":0,\"preempted\":0,\"rebooting\":0,\"reimaging\":0,\"running\":0,\"starting\":0,\"startTaskFailed\":0,\"unusable\":0,\"unknown\":0,\"waitingForStartTask\":0,\"total\":0\r\n }\r\n },{\r\n \"poolId\":\"nodesdktestpool1\",\"dedicated\":{\r\n \"creating\":0,\"idle\":3,\"leavingPool\":0,\"offline\":0,\"preempted\":0,\"rebooting\":0,\"reimaging\":0,\"running\":0,\"starting\":0,\"startTaskFailed\":0,\"unusable\":0,\"unknown\":0,\"waitingForStartTask\":0,\"total\":3\r\n },\"lowPriority\":{\r\n \"creating\":0,\"idle\":0,\"leavingPool\":0,\"offline\":0,\"preempted\":0,\"rebooting\":0,\"reimaging\":0,\"running\":0,\"starting\":0,\"startTaskFailed\":0,\"unusable\":0,\"unknown\":0,\"waitingForStartTask\":0,\"total\":0\r\n }\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/nodecounts?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#poolnodecounts\",\"value\":[\r\n {\r\n \"poolId\":\"nodesdkinboundendpointpool\",\"dedicated\":{\r\n \"creating\":0,\"idle\":1,\"leavingPool\":0,\"offline\":0,\"preempted\":0,\"rebooting\":0,\"reimaging\":0,\"running\":0,\"starting\":0,\"startTaskFailed\":0,\"unusable\":0,\"unknown\":0,\"waitingForStartTask\":0,\"total\":1\r\n },\"lowPriority\":{\r\n \"creating\":0,\"idle\":0,\"leavingPool\":0,\"offline\":0,\"preempted\":0,\"rebooting\":0,\"reimaging\":0,\"running\":0,\"starting\":0,\"startTaskFailed\":0,\"unusable\":0,\"unknown\":0,\"waitingForStartTask\":0,\"total\":0\r\n }\r\n },{\r\n \"poolId\":\"nodesdkosdiskpool\",\"dedicated\":{\r\n \"creating\":0,\"idle\":0,\"leavingPool\":0,\"offline\":0,\"preempted\":0,\"rebooting\":0,\"reimaging\":0,\"running\":0,\"starting\":0,\"startTaskFailed\":0,\"unusable\":0,\"unknown\":0,\"waitingForStartTask\":0,\"total\":0\r\n },\"lowPriority\":{\r\n \"creating\":0,\"idle\":0,\"leavingPool\":0,\"offline\":0,\"preempted\":0,\"rebooting\":0,\"reimaging\":0,\"running\":0,\"starting\":0,\"startTaskFailed\":0,\"unusable\":0,\"unknown\":0,\"waitingForStartTask\":0,\"total\":0\r\n }\r\n },{\r\n \"poolId\":\"nodesdktestpool1\",\"dedicated\":{\r\n \"creating\":0,\"idle\":3,\"leavingPool\":0,\"offline\":0,\"preempted\":0,\"rebooting\":0,\"reimaging\":0,\"running\":0,\"starting\":0,\"startTaskFailed\":0,\"unusable\":0,\"unknown\":0,\"waitingForStartTask\":0,\"total\":3\r\n },\"lowPriority\":{\r\n \"creating\":0,\"idle\":0,\"leavingPool\":0,\"offline\":0,\"preempted\":0,\"rebooting\":0,\"reimaging\":0,\"running\":0,\"starting\":0,\"startTaskFailed\":0,\"unusable\":0,\"unknown\":0,\"waitingForStartTask\":0,\"total\":0\r\n }\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '2993c141-50cd-466a-a20e-fb7b2ee542dd',
'request-id': '7c10e64e-0406-4d1f-bf03-8b1acb48326f',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:23:08 GMT',
date: 'Tue, 11 Dec 2018 18:42:29 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,40 +1,40 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#tasks/@Element\",\"id\":\"HelloWorldNodeSDKTestTask\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask\",\"eTag\":\"0x8D607A43AB500D1\",\"creationTime\":\"2018-08-21T20:25:24.0548994Z\",\"lastModified\":\"2018-08-21T20:25:26.0475601Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:25:26.0475601Z\",\"previousState\":\"completed\",\"previousStateTransitionTime\":\"2018-08-21T20:25:25.7617271Z\",\"commandLine\":\"ping 127.0.0.1 -n 20\",\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":3\r\n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\":0\r\n }\r\n}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#tasks/@Element\",\"id\":\"HelloWorldNodeSDKTestTask\",\"url\":\"https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask\",\"eTag\":\"0x8D65F98BC3C1AEF\",\"creationTime\":\"2018-12-11T18:44:49.2209796Z\",\"lastModified\":\"2018-12-11T18:44:51.7227247Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:44:51.7227247Z\",\"previousState\":\"completed\",\"previousStateTransitionTime\":\"2018-12-11T18:44:50.992308Z\",\"commandLine\":\"ping 127.0.0.1 -n 20\",\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P7D\",\"maxTaskRetryCount\":3\r\n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\":0\r\n }\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
'last-modified': 'Tue, 21 Aug 2018 20:25:26 GMT',
etag: '0x8D607A43AB500D1',
'last-modified': 'Tue, 11 Dec 2018 18:44:51 GMT',
etag: '0x8D65F98BC3C1AEF',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'e986c5f3-0389-4276-b6d0-487d6f5e0486',
'request-id': 'b851a346-6175-4728-a369-59b8819a6d2a',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:25:25 GMT',
date: 'Tue, 11 Dec 2018 18:44:51 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#tasks/@Element\",\"id\":\"HelloWorldNodeSDKTestTask\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask\",\"eTag\":\"0x8D607A43AB500D1\",\"creationTime\":\"2018-08-21T20:25:24.0548994Z\",\"lastModified\":\"2018-08-21T20:25:26.0475601Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:25:26.0475601Z\",\"previousState\":\"completed\",\"previousStateTransitionTime\":\"2018-08-21T20:25:25.7617271Z\",\"commandLine\":\"ping 127.0.0.1 -n 20\",\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":3\r\n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\":0\r\n }\r\n}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#tasks/@Element\",\"id\":\"HelloWorldNodeSDKTestTask\",\"url\":\"https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask\",\"eTag\":\"0x8D65F98BC3C1AEF\",\"creationTime\":\"2018-12-11T18:44:49.2209796Z\",\"lastModified\":\"2018-12-11T18:44:51.7227247Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:44:51.7227247Z\",\"previousState\":\"completed\",\"previousStateTransitionTime\":\"2018-12-11T18:44:50.992308Z\",\"commandLine\":\"ping 127.0.0.1 -n 20\",\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P7D\",\"maxTaskRetryCount\":3\r\n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\":0\r\n }\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
'last-modified': 'Tue, 21 Aug 2018 20:25:26 GMT',
etag: '0x8D607A43AB500D1',
'last-modified': 'Tue, 11 Dec 2018 18:44:51 GMT',
etag: '0x8D65F98BC3C1AEF',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'e986c5f3-0389-4276-b6d0-487d6f5e0486',
'request-id': 'b851a346-6175-4728-a369-59b8819a6d2a',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:25:25 GMT',
date: 'Tue, 11 Dec 2018 18:44:51 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,36 +1,36 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/pools/nodesdkinboundendpointpool/nodes?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#nodes\",\"value\":[\r\n {\r\n \"id\":\"tvm-3687402588_1-20180821t201808z\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdkinboundendpointpool/nodes/tvm-3687402588_1-20180821t201808z\",\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2018-08-21T20:20:05.186449Z\",\"lastBootTime\":\"2018-08-21T20:20:05.045751Z\",\"allocationTime\":\"2018-08-21T20:18:08.3355857Z\",\"ipAddress\":\"10.0.0.4\",\"affinityId\":\"TVM:tvm-3687402588_1-20180821t201808z\",\"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\":\"13.78.128.240\",\"publicFQDN\":\"dns5b4ff48a-d902-4150-8825-baf7617ed29c-azurebatch-cloudservice.westcentralus.cloudapp.azure.com\",\"frontendPort\":60000,\"backendPort\":64444\r\n },{\r\n \"name\":\"SSHRule.0\",\"protocol\":\"tcp\",\"publicIPAddress\":\"13.78.128.240\",\"publicFQDN\":\"dns5b4ff48a-d902-4150-8825-baf7617ed29c-azurebatch-cloudservice.westcentralus.cloudapp.azure.com\",\"frontendPort\":50000,\"backendPort\":22\r\n }\r\n ]\r\n },\"nodeAgentInfo\":{\r\n \"lastUpdateTime\":\"2018-08-21T20:20:05.045751Z\",\"version\":\"1.3.0.8\"\r\n }\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/pools/nodesdkinboundendpointpool/nodes?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#nodes\",\"value\":[\r\n {\r\n \"id\":\"tvmps_fb7c40f0fc6b0bc4514118971d4fd729a5f168d282947e9935f70cb9475a4665_d\",\"url\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdkinboundendpointpool/nodes/tvmps_fb7c40f0fc6b0bc4514118971d4fd729a5f168d282947e9935f70cb9475a4665_d\",\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2018-12-11T18:38:39.161531Z\",\"lastBootTime\":\"2018-12-11T18:38:38.843981Z\",\"allocationTime\":\"2018-12-11T18:37:15.0570813Z\",\"ipAddress\":\"10.0.0.4\",\"affinityId\":\"TVM:tvmps_fb7c40f0fc6b0bc4514118971d4fd729a5f168d282947e9935f70cb9475a4665_d\",\"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\":\"13.78.145.35\",\"publicFQDN\":\"dns50c5a4a8-abfb-4b94-b687-0389fef3fe8a-azurebatch-cloudservice.westcentralus.cloudapp.azure.com\",\"frontendPort\":60000,\"backendPort\":64444\r\n },{\r\n \"name\":\"SSHRule.0\",\"protocol\":\"tcp\",\"publicIPAddress\":\"13.78.145.35\",\"publicFQDN\":\"dns50c5a4a8-abfb-4b94-b687-0389fef3fe8a-azurebatch-cloudservice.westcentralus.cloudapp.azure.com\",\"frontendPort\":50000,\"backendPort\":22\r\n }\r\n ]\r\n },\"nodeAgentInfo\":{\r\n \"lastUpdateTime\":\"2018-12-11T18:38:38.843981Z\",\"version\":\"1.4.7\"\r\n }\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '65c94270-05eb-4d2d-9dba-c233920c9ac8',
'request-id': '032dd45a-dcf9-4a81-96ef-165e709308c2',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:23:08 GMT',
date: 'Tue, 11 Dec 2018 18:42:29 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/pools/nodesdkinboundendpointpool/nodes?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#nodes\",\"value\":[\r\n {\r\n \"id\":\"tvm-3687402588_1-20180821t201808z\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdkinboundendpointpool/nodes/tvm-3687402588_1-20180821t201808z\",\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2018-08-21T20:20:05.186449Z\",\"lastBootTime\":\"2018-08-21T20:20:05.045751Z\",\"allocationTime\":\"2018-08-21T20:18:08.3355857Z\",\"ipAddress\":\"10.0.0.4\",\"affinityId\":\"TVM:tvm-3687402588_1-20180821t201808z\",\"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\":\"13.78.128.240\",\"publicFQDN\":\"dns5b4ff48a-d902-4150-8825-baf7617ed29c-azurebatch-cloudservice.westcentralus.cloudapp.azure.com\",\"frontendPort\":60000,\"backendPort\":64444\r\n },{\r\n \"name\":\"SSHRule.0\",\"protocol\":\"tcp\",\"publicIPAddress\":\"13.78.128.240\",\"publicFQDN\":\"dns5b4ff48a-d902-4150-8825-baf7617ed29c-azurebatch-cloudservice.westcentralus.cloudapp.azure.com\",\"frontendPort\":50000,\"backendPort\":22\r\n }\r\n ]\r\n },\"nodeAgentInfo\":{\r\n \"lastUpdateTime\":\"2018-08-21T20:20:05.045751Z\",\"version\":\"1.3.0.8\"\r\n }\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/pools/nodesdkinboundendpointpool/nodes?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#nodes\",\"value\":[\r\n {\r\n \"id\":\"tvmps_fb7c40f0fc6b0bc4514118971d4fd729a5f168d282947e9935f70cb9475a4665_d\",\"url\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdkinboundendpointpool/nodes/tvmps_fb7c40f0fc6b0bc4514118971d4fd729a5f168d282947e9935f70cb9475a4665_d\",\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2018-12-11T18:38:39.161531Z\",\"lastBootTime\":\"2018-12-11T18:38:38.843981Z\",\"allocationTime\":\"2018-12-11T18:37:15.0570813Z\",\"ipAddress\":\"10.0.0.4\",\"affinityId\":\"TVM:tvmps_fb7c40f0fc6b0bc4514118971d4fd729a5f168d282947e9935f70cb9475a4665_d\",\"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\":\"13.78.145.35\",\"publicFQDN\":\"dns50c5a4a8-abfb-4b94-b687-0389fef3fe8a-azurebatch-cloudservice.westcentralus.cloudapp.azure.com\",\"frontendPort\":60000,\"backendPort\":64444\r\n },{\r\n \"name\":\"SSHRule.0\",\"protocol\":\"tcp\",\"publicIPAddress\":\"13.78.145.35\",\"publicFQDN\":\"dns50c5a4a8-abfb-4b94-b687-0389fef3fe8a-azurebatch-cloudservice.westcentralus.cloudapp.azure.com\",\"frontendPort\":50000,\"backendPort\":22\r\n }\r\n ]\r\n },\"nodeAgentInfo\":{\r\n \"lastUpdateTime\":\"2018-12-11T18:38:38.843981Z\",\"version\":\"1.4.7\"\r\n }\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '65c94270-05eb-4d2d-9dba-c233920c9ac8',
'request-id': '032dd45a-dcf9-4a81-96ef-165e709308c2',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:23:08 GMT',
date: 'Tue, 11 Dec 2018 18:42:29 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,64 +1,64 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/pools?api-version=2018-08-01.7.0&maxresults=1')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#pools\",\"value\":[\r\n {\r\n \"id\":\"nodesdkinboundendpointpool\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdkinboundendpointpool\",\"eTag\":\"0x8D607A2FA29DA10\",\"lastModified\":\"2018-08-21T20:16:28.2647056Z\",\"creationTime\":\"2018-08-21T20:16:28.2647056Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:16:28.2647056Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-08-21T20:18:10.9689835Z\",\"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\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ],\"odata.nextLink\":\"https://lchency4.westcentralus.batch.azure.com/pools?api-version=2018-08-01.7.0&maxresults=1&$skiptoken=WATV2:eCinib1p8ymm8mMqiNz3Wrsmzu1MV0tNnD7vb1K8ix63zzBYpQt8rSEaNFjUaVcwLUPB8mh/KHfFNqe1sl%5EwbUnwefQHvR666nStghj%5E4RyeIYMXrCVszuXexL2M2xE46VMRye8no6mCp1A2nF3%5E61KI2APbciMWa99n5lSxStX7EWaSO0EDGQz42t1Vl32lIqXRwioWaGdu59ncYpW3vCpoHu9dLyURLacM8HURFz01i5Kam63t9bD0uO5iEgDm97YGoad%5EqxpTlH14iCj%5EyQ==:1$1\"\r\n}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/pools?api-version=2018-12-01.8.0&maxresults=1')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#pools\",\"value\":[\r\n {\r\n \"id\":\"nodesdkinboundendpointpool\",\"url\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdkinboundendpointpool\",\"eTag\":\"0x8D65F9778F109AA\",\"lastModified\":\"2018-12-11T18:35:49.3266858Z\",\"creationTime\":\"2018-12-11T18:35:49.3266858Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:35:49.3266858Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-12-11T18:37:15.7227081Z\",\"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\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ],\"odata.nextLink\":\"https://test3.westcentralus.batch.azure.com/pools?api-version=2018-12-01.8.0&maxresults=1&$skiptoken=WATV2:xXTnx8aYHbmAN4GZ35TF7f3jZee9yHbM9quAZHeSpZL7ZKnwc27X5/icmfiPuypc4pHLn9Vh80uomeDu1c98gVtTwVPXMW8jsyO44HoYTQj5vKsNOV8wdG6ZRRCv9lNQh55Ka1k2C9Ujf5B3PZahiW65D8eGqtKQ5CMPVpLJSDmKDcLZoILMFOADcj42z8OTY4X81oJ38rTL1a8bKdZ0tvutule4sVdN8kc7HBdO6R43/e/kQQIhe0SJVY6u2qdRuNkyt5kLcvggG0ifEfLJXQ==:1$1\"\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '69c37e01-027c-45bf-a26b-448165c3d374',
'request-id': 'd95435d2-5100-4cca-8999-23a89f4a4144',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:25:21 GMT',
date: 'Tue, 11 Dec 2018 18:44:46 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/pools?api-version=2018-08-01.7.0&maxresults=1')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#pools\",\"value\":[\r\n {\r\n \"id\":\"nodesdkinboundendpointpool\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdkinboundendpointpool\",\"eTag\":\"0x8D607A2FA29DA10\",\"lastModified\":\"2018-08-21T20:16:28.2647056Z\",\"creationTime\":\"2018-08-21T20:16:28.2647056Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:16:28.2647056Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-08-21T20:18:10.9689835Z\",\"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\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ],\"odata.nextLink\":\"https://lchency4.westcentralus.batch.azure.com/pools?api-version=2018-08-01.7.0&maxresults=1&$skiptoken=WATV2:eCinib1p8ymm8mMqiNz3Wrsmzu1MV0tNnD7vb1K8ix63zzBYpQt8rSEaNFjUaVcwLUPB8mh/KHfFNqe1sl%5EwbUnwefQHvR666nStghj%5E4RyeIYMXrCVszuXexL2M2xE46VMRye8no6mCp1A2nF3%5E61KI2APbciMWa99n5lSxStX7EWaSO0EDGQz42t1Vl32lIqXRwioWaGdu59ncYpW3vCpoHu9dLyURLacM8HURFz01i5Kam63t9bD0uO5iEgDm97YGoad%5EqxpTlH14iCj%5EyQ==:1$1\"\r\n}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/pools?api-version=2018-12-01.8.0&maxresults=1')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#pools\",\"value\":[\r\n {\r\n \"id\":\"nodesdkinboundendpointpool\",\"url\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdkinboundendpointpool\",\"eTag\":\"0x8D65F9778F109AA\",\"lastModified\":\"2018-12-11T18:35:49.3266858Z\",\"creationTime\":\"2018-12-11T18:35:49.3266858Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:35:49.3266858Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-12-11T18:37:15.7227081Z\",\"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\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ],\"odata.nextLink\":\"https://test3.westcentralus.batch.azure.com/pools?api-version=2018-12-01.8.0&maxresults=1&$skiptoken=WATV2:xXTnx8aYHbmAN4GZ35TF7f3jZee9yHbM9quAZHeSpZL7ZKnwc27X5/icmfiPuypc4pHLn9Vh80uomeDu1c98gVtTwVPXMW8jsyO44HoYTQj5vKsNOV8wdG6ZRRCv9lNQh55Ka1k2C9Ujf5B3PZahiW65D8eGqtKQ5CMPVpLJSDmKDcLZoILMFOADcj42z8OTY4X81oJ38rTL1a8bKdZ0tvutule4sVdN8kc7HBdO6R43/e/kQQIhe0SJVY6u2qdRuNkyt5kLcvggG0ifEfLJXQ==:1$1\"\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '69c37e01-027c-45bf-a26b-448165c3d374',
'request-id': 'd95435d2-5100-4cca-8999-23a89f4a4144',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:25:21 GMT',
date: 'Tue, 11 Dec 2018 18:44:46 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/pools?api-version=2018-08-01.7.0&maxresults=1&$skiptoken=WATV2:eCinib1p8ymm8mMqiNz3Wrsmzu1MV0tNnD7vb1K8ix63zzBYpQt8rSEaNFjUaVcwLUPB8mh/KHfFNqe1sl%5EwbUnwefQHvR666nStghj%5E4RyeIYMXrCVszuXexL2M2xE46VMRye8no6mCp1A2nF3%5E61KI2APbciMWa99n5lSxStX7EWaSO0EDGQz42t1Vl32lIqXRwioWaGdu59ncYpW3vCpoHu9dLyURLacM8HURFz01i5Kam63t9bD0uO5iEgDm97YGoad%5EqxpTlH14iCj%5EyQ==:1$1')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#pools\",\"value\":[\r\n {\r\n \"id\":\"nodesdktestpool1\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1\",\"eTag\":\"0x8D607A437BD2FE0\",\"lastModified\":\"2018-08-21T20:25:21.0680288Z\",\"creationTime\":\"2018-08-21T20:05:04.4042325Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:05:04.4042325Z\",\"allocationState\":\"stopping\",\"allocationStateTransitionTime\":\"2018-08-21T20:25:21.0680288Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":3,\"targetDedicatedNodes\":2,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"startTask\":{\r\n \"commandLine\":\"cmd /c echo hello > hello.txt\",\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"maxTaskRetryCount\":0,\"waitForSuccess\":false\r\n },\"userAccounts\":[\r\n {\r\n \"name\":\"nonAdminUser\",\"elevationLevel\":\"nonadmin\"\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://lchency4.westcentralus.batch.azure.com/pools?api-version=2018-08-01.7.0&maxresults=1&$skiptoken=WATV2:PQFgS3ENlQlwds40%5E7uYOKDzwaZBB9m2eCCzqo4yyCYqYUUcaHHWRRGF2QxPFPbRIs9ieKcy8pXJRvrFrE/LfERgbwn0qDIpGeQUtRuCCzUkxLdjVR4JI%5EqOEu%5E4qWKjEMz/UFNZh6IJZssFaB25H4meeYwalq%5EOhgubOwHGNP8FgquCDtUYiU8rqDP9Mm8sl6xVWqwjvsXh5uNDV2oqCYTIJYecHeDQbQfMB0sZ2sqkHPLlbvCD3oAmH3Tr62gByV/Q28zuPJHrzzqn1SSrzg==:1$1\"\r\n}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/pools?api-version=2018-12-01.8.0&maxresults=1&$skiptoken=WATV2:xXTnx8aYHbmAN4GZ35TF7f3jZee9yHbM9quAZHeSpZL7ZKnwc27X5/icmfiPuypc4pHLn9Vh80uomeDu1c98gVtTwVPXMW8jsyO44HoYTQj5vKsNOV8wdG6ZRRCv9lNQh55Ka1k2C9Ujf5B3PZahiW65D8eGqtKQ5CMPVpLJSDmKDcLZoILMFOADcj42z8OTY4X81oJ38rTL1a8bKdZ0tvutule4sVdN8kc7HBdO6R43/e/kQQIhe0SJVY6u2qdRuNkyt5kLcvggG0ifEfLJXQ==:1$1')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#pools\",\"value\":[\r\n {\r\n \"id\":\"nodesdkosdiskpool\",\"url\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdkosdiskpool\",\"eTag\":\"0x8D65F97770B2ED1\",\"lastModified\":\"2018-12-11T18:35:46.1425873Z\",\"creationTime\":\"2018-12-11T18:35:46.1425873Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:35:46.1425873Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-12-11T18:35:46.5651472Z\",\"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\"\r\n }\r\n }\r\n ],\"odata.nextLink\":\"https://test3.westcentralus.batch.azure.com/pools?api-version=2018-12-01.8.0&maxresults=1&$skiptoken=WATV2:A6ur9/pk0mRSAwHGWDWq47cLv5wW9C4n5Dw3Nf2nEOie8%5ED13Z6GCrPf4oCldYZ0n1Ri1LE6oEU408r83oetGznQuFNm1z/p1zMixyiOWKnaZCmyNoOszGLjGKXP%5EsJ2u%5EruLKD8XyOuopXpk8/t1mOwAUVMCBy6gJ7HvYHq49TbYSCRw6vNfdVFhLgyQUS4U2DXT5bghCWUkaeUS6NgHT8im712eY7Hjx1UoYPJ1fnIivVDXFzuswbr5MyW7bHnKqVw/lqMvf5hSzfwj3dSxg==:1$1\"\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '9cb6fb66-9157-47f5-9b8c-1896d1441162',
'request-id': 'e1bc24c0-e5b7-4132-ab31-f70d15a4d848',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:25:21 GMT',
date: 'Tue, 11 Dec 2018 18:44:46 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/pools?api-version=2018-08-01.7.0&maxresults=1&$skiptoken=WATV2:eCinib1p8ymm8mMqiNz3Wrsmzu1MV0tNnD7vb1K8ix63zzBYpQt8rSEaNFjUaVcwLUPB8mh/KHfFNqe1sl%5EwbUnwefQHvR666nStghj%5E4RyeIYMXrCVszuXexL2M2xE46VMRye8no6mCp1A2nF3%5E61KI2APbciMWa99n5lSxStX7EWaSO0EDGQz42t1Vl32lIqXRwioWaGdu59ncYpW3vCpoHu9dLyURLacM8HURFz01i5Kam63t9bD0uO5iEgDm97YGoad%5EqxpTlH14iCj%5EyQ==:1$1')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#pools\",\"value\":[\r\n {\r\n \"id\":\"nodesdktestpool1\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1\",\"eTag\":\"0x8D607A437BD2FE0\",\"lastModified\":\"2018-08-21T20:25:21.0680288Z\",\"creationTime\":\"2018-08-21T20:05:04.4042325Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:05:04.4042325Z\",\"allocationState\":\"stopping\",\"allocationStateTransitionTime\":\"2018-08-21T20:25:21.0680288Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":3,\"targetDedicatedNodes\":2,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"startTask\":{\r\n \"commandLine\":\"cmd /c echo hello > hello.txt\",\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"maxTaskRetryCount\":0,\"waitForSuccess\":false\r\n },\"userAccounts\":[\r\n {\r\n \"name\":\"nonAdminUser\",\"elevationLevel\":\"nonadmin\"\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://lchency4.westcentralus.batch.azure.com/pools?api-version=2018-08-01.7.0&maxresults=1&$skiptoken=WATV2:PQFgS3ENlQlwds40%5E7uYOKDzwaZBB9m2eCCzqo4yyCYqYUUcaHHWRRGF2QxPFPbRIs9ieKcy8pXJRvrFrE/LfERgbwn0qDIpGeQUtRuCCzUkxLdjVR4JI%5EqOEu%5E4qWKjEMz/UFNZh6IJZssFaB25H4meeYwalq%5EOhgubOwHGNP8FgquCDtUYiU8rqDP9Mm8sl6xVWqwjvsXh5uNDV2oqCYTIJYecHeDQbQfMB0sZ2sqkHPLlbvCD3oAmH3Tr62gByV/Q28zuPJHrzzqn1SSrzg==:1$1\"\r\n}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/pools?api-version=2018-12-01.8.0&maxresults=1&$skiptoken=WATV2:xXTnx8aYHbmAN4GZ35TF7f3jZee9yHbM9quAZHeSpZL7ZKnwc27X5/icmfiPuypc4pHLn9Vh80uomeDu1c98gVtTwVPXMW8jsyO44HoYTQj5vKsNOV8wdG6ZRRCv9lNQh55Ka1k2C9Ujf5B3PZahiW65D8eGqtKQ5CMPVpLJSDmKDcLZoILMFOADcj42z8OTY4X81oJ38rTL1a8bKdZ0tvutule4sVdN8kc7HBdO6R43/e/kQQIhe0SJVY6u2qdRuNkyt5kLcvggG0ifEfLJXQ==:1$1')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#pools\",\"value\":[\r\n {\r\n \"id\":\"nodesdkosdiskpool\",\"url\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdkosdiskpool\",\"eTag\":\"0x8D65F97770B2ED1\",\"lastModified\":\"2018-12-11T18:35:46.1425873Z\",\"creationTime\":\"2018-12-11T18:35:46.1425873Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:35:46.1425873Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-12-11T18:35:46.5651472Z\",\"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\"\r\n }\r\n }\r\n ],\"odata.nextLink\":\"https://test3.westcentralus.batch.azure.com/pools?api-version=2018-12-01.8.0&maxresults=1&$skiptoken=WATV2:A6ur9/pk0mRSAwHGWDWq47cLv5wW9C4n5Dw3Nf2nEOie8%5ED13Z6GCrPf4oCldYZ0n1Ri1LE6oEU408r83oetGznQuFNm1z/p1zMixyiOWKnaZCmyNoOszGLjGKXP%5EsJ2u%5EruLKD8XyOuopXpk8/t1mOwAUVMCBy6gJ7HvYHq49TbYSCRw6vNfdVFhLgyQUS4U2DXT5bghCWUkaeUS6NgHT8im712eY7Hjx1UoYPJ1fnIivVDXFzuswbr5MyW7bHnKqVw/lqMvf5hSzfwj3dSxg==:1$1\"\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '9cb6fb66-9157-47f5-9b8c-1896d1441162',
'request-id': 'e1bc24c0-e5b7-4132-ab31-f70d15a4d848',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:25:21 GMT',
date: 'Tue, 11 Dec 2018 18:44:46 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,36 +1,36 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#tasks\",\"value\":[\r\n {\r\n \"id\":\"HelloWorldNodeSDKTestTask\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask\",\"eTag\":\"0x8D607A43AB500D1\",\"creationTime\":\"2018-08-21T20:25:24.0548994Z\",\"lastModified\":\"2018-08-21T20:25:26.0475601Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:25:26.0475601Z\",\"previousState\":\"completed\",\"previousStateTransitionTime\":\"2018-08-21T20:25:25.7617271Z\",\"commandLine\":\"ping 127.0.0.1 -n 20\",\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":3\r\n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\":0\r\n }\r\n },{\r\n \"id\":\"HelloWorldNodeSDKTestTask2\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2\",\"eTag\":\"0x8D607A43AD67EAE\",\"creationTime\":\"2018-08-21T20:25:25.8802067Z\",\"lastModified\":\"2018-08-21T20:25:26.267051Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:25:25.8802067Z\",\"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\":3\r\n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\":0\r\n }\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#tasks\",\"value\":[\r\n {\r\n \"id\":\"HelloWorldNodeSDKTestTask\",\"url\":\"https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask\",\"eTag\":\"0x8D65F98BC3C1AEF\",\"creationTime\":\"2018-12-11T18:44:49.2209796Z\",\"lastModified\":\"2018-12-11T18:44:51.7227247Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:44:51.7227247Z\",\"previousState\":\"completed\",\"previousStateTransitionTime\":\"2018-12-11T18:44:50.992308Z\",\"commandLine\":\"ping 127.0.0.1 -n 20\",\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P7D\",\"maxTaskRetryCount\":3\r\n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\":0\r\n }\r\n },{\r\n \"id\":\"HelloWorldNodeSDKTestTask2\",\"url\":\"https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2\",\"eTag\":\"0x8D65F98BC678828\",\"creationTime\":\"2018-12-11T18:44:51.4943183Z\",\"lastModified\":\"2018-12-11T18:44:52.0073256Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:44:51.4943183Z\",\"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\":\"P7D\",\"maxTaskRetryCount\":3\r\n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\":0\r\n }\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'b58729e6-7df8-4ab6-a8f1-f0b16916183a',
'request-id': 'cdd1c784-ea2c-4c9e-bedd-c50bcf12fa0e',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:25:25 GMT',
date: 'Tue, 11 Dec 2018 18:44:52 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#tasks\",\"value\":[\r\n {\r\n \"id\":\"HelloWorldNodeSDKTestTask\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask\",\"eTag\":\"0x8D607A43AB500D1\",\"creationTime\":\"2018-08-21T20:25:24.0548994Z\",\"lastModified\":\"2018-08-21T20:25:26.0475601Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:25:26.0475601Z\",\"previousState\":\"completed\",\"previousStateTransitionTime\":\"2018-08-21T20:25:25.7617271Z\",\"commandLine\":\"ping 127.0.0.1 -n 20\",\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":3\r\n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\":0\r\n }\r\n },{\r\n \"id\":\"HelloWorldNodeSDKTestTask2\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2\",\"eTag\":\"0x8D607A43AD67EAE\",\"creationTime\":\"2018-08-21T20:25:25.8802067Z\",\"lastModified\":\"2018-08-21T20:25:26.267051Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:25:25.8802067Z\",\"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\":3\r\n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\":0\r\n }\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#tasks\",\"value\":[\r\n {\r\n \"id\":\"HelloWorldNodeSDKTestTask\",\"url\":\"https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask\",\"eTag\":\"0x8D65F98BC3C1AEF\",\"creationTime\":\"2018-12-11T18:44:49.2209796Z\",\"lastModified\":\"2018-12-11T18:44:51.7227247Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:44:51.7227247Z\",\"previousState\":\"completed\",\"previousStateTransitionTime\":\"2018-12-11T18:44:50.992308Z\",\"commandLine\":\"ping 127.0.0.1 -n 20\",\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"retentionTime\":\"P7D\",\"maxTaskRetryCount\":3\r\n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\":0\r\n }\r\n },{\r\n \"id\":\"HelloWorldNodeSDKTestTask2\",\"url\":\"https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2\",\"eTag\":\"0x8D65F98BC678828\",\"creationTime\":\"2018-12-11T18:44:51.4943183Z\",\"lastModified\":\"2018-12-11T18:44:52.0073256Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:44:51.4943183Z\",\"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\":\"P7D\",\"maxTaskRetryCount\":3\r\n },\"executionInfo\":{\r\n \"retryCount\":0,\"requeueCount\":0\r\n }\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'b58729e6-7df8-4ab6-a8f1-f0b16916183a',
'request-id': 'cdd1c784-ea2c-4c9e-bedd-c50bcf12fa0e',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:25:25 GMT',
date: 'Tue, 11 Dec 2018 18:44:52 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,36 +1,36 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/applications?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.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}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/applications?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#listapplicationsummariesresponses\",\"value\":[\r\n {\r\n \"id\":\"my_application_id\",\"versions\":[\r\n \"1.0\"\r\n ]\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '9ece1c35-c5d2-404e-940b-570b30f9117f',
'request-id': 'a8baccc6-fc95-4525-bd2b-dcee276de021',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:30:58 GMT',
date: 'Tue, 11 Dec 2018 18:48:32 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/applications?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.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}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/applications?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#listapplicationsummariesresponses\",\"value\":[\r\n {\r\n \"id\":\"my_application_id\",\"versions\":[\r\n \"1.0\"\r\n ]\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '9ece1c35-c5d2-404e-940b-570b30f9117f',
'request-id': 'a8baccc6-fc95-4525-bd2b-dcee276de021',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:30:58 GMT',
date: 'Tue, 11 Dec 2018 18:48:32 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,36 +1,36 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/certificates?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#certificates\",\"value\":[\r\n {\r\n \"thumbprint\":\"cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"thumbprintAlgorithm\":\"sha1\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:05:03.6975129Z\",\"publicData\":\"MIIBrzCCAV2gAwIBAgIQHZGt2k0LCLFKYYCFxlJnkTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE2MDEwMTA3MDAwMFoXDTE4MDEwMTA3MDAwMFowEjEQMA4GA1UEAxMHbm9kZXNkazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuX4XMWyR8cQRCA81TjHOerNOFOpOBj2O8jEdZvqwRlUYgMleEY2OlPd+nalxwlQ9+qbNkNGfjnhIMgiJ5CMlXgdRMF3E6DnMnktmHFG9L0VmQ6Lgt7bhXR8IitRHeYlvy5LJlw6Lcle5Kas2j4ThYjLQbjBMDSXD4HvZNe4UYEUCAwEAAaNLMEkwRwYDVR0BBEAwPoAQEuQJLQYdHU8AjWEh3BZkY6EYMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5ghAGN2wAqgBkihHPuNSqXDX0MAkGBSsOAwIdBQADQQB5djPe0G6c3Z8DuR6EQbIhBMTnC0zYPhigq+x1LG83761Ir8PiSy+6oxwCHOaYZyvheW0PByntC/WFwUipfn78\"\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/certificates?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#certificates\",\"value\":[\r\n {\r\n \"thumbprint\":\"cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"thumbprintAlgorithm\":\"sha1\",\"url\":\"https://test3.westcentralus.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:27:20.1209305Z\",\"publicData\":\"MIIBrzCCAV2gAwIBAgIQHZGt2k0LCLFKYYCFxlJnkTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE2MDEwMTA3MDAwMFoXDTE4MDEwMTA3MDAwMFowEjEQMA4GA1UEAxMHbm9kZXNkazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuX4XMWyR8cQRCA81TjHOerNOFOpOBj2O8jEdZvqwRlUYgMleEY2OlPd+nalxwlQ9+qbNkNGfjnhIMgiJ5CMlXgdRMF3E6DnMnktmHFG9L0VmQ6Lgt7bhXR8IitRHeYlvy5LJlw6Lcle5Kas2j4ThYjLQbjBMDSXD4HvZNe4UYEUCAwEAAaNLMEkwRwYDVR0BBEAwPoAQEuQJLQYdHU8AjWEh3BZkY6EYMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5ghAGN2wAqgBkihHPuNSqXDX0MAkGBSsOAwIdBQADQQB5djPe0G6c3Z8DuR6EQbIhBMTnC0zYPhigq+x1LG83761Ir8PiSy+6oxwCHOaYZyvheW0PByntC/WFwUipfn78\"\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '816e866e-48c4-423b-8691-1b96db584d1e',
'request-id': '6eda449c-272d-48f6-b414-bbde9bf34f18',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:05:03 GMT',
date: 'Tue, 11 Dec 2018 18:27:19 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/certificates?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#certificates\",\"value\":[\r\n {\r\n \"thumbprint\":\"cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"thumbprintAlgorithm\":\"sha1\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:05:03.6975129Z\",\"publicData\":\"MIIBrzCCAV2gAwIBAgIQHZGt2k0LCLFKYYCFxlJnkTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE2MDEwMTA3MDAwMFoXDTE4MDEwMTA3MDAwMFowEjEQMA4GA1UEAxMHbm9kZXNkazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuX4XMWyR8cQRCA81TjHOerNOFOpOBj2O8jEdZvqwRlUYgMleEY2OlPd+nalxwlQ9+qbNkNGfjnhIMgiJ5CMlXgdRMF3E6DnMnktmHFG9L0VmQ6Lgt7bhXR8IitRHeYlvy5LJlw6Lcle5Kas2j4ThYjLQbjBMDSXD4HvZNe4UYEUCAwEAAaNLMEkwRwYDVR0BBEAwPoAQEuQJLQYdHU8AjWEh3BZkY6EYMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5ghAGN2wAqgBkihHPuNSqXDX0MAkGBSsOAwIdBQADQQB5djPe0G6c3Z8DuR6EQbIhBMTnC0zYPhigq+x1LG83761Ir8PiSy+6oxwCHOaYZyvheW0PByntC/WFwUipfn78\"\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/certificates?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#certificates\",\"value\":[\r\n {\r\n \"thumbprint\":\"cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"thumbprintAlgorithm\":\"sha1\",\"url\":\"https://test3.westcentralus.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:27:20.1209305Z\",\"publicData\":\"MIIBrzCCAV2gAwIBAgIQHZGt2k0LCLFKYYCFxlJnkTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE2MDEwMTA3MDAwMFoXDTE4MDEwMTA3MDAwMFowEjEQMA4GA1UEAxMHbm9kZXNkazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuX4XMWyR8cQRCA81TjHOerNOFOpOBj2O8jEdZvqwRlUYgMleEY2OlPd+nalxwlQ9+qbNkNGfjnhIMgiJ5CMlXgdRMF3E6DnMnktmHFG9L0VmQ6Lgt7bhXR8IitRHeYlvy5LJlw6Lcle5Kas2j4ThYjLQbjBMDSXD4HvZNe4UYEUCAwEAAaNLMEkwRwYDVR0BBEAwPoAQEuQJLQYdHU8AjWEh3BZkY6EYMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5ghAGN2wAqgBkihHPuNSqXDX0MAkGBSsOAwIdBQADQQB5djPe0G6c3Z8DuR6EQbIhBMTnC0zYPhigq+x1LG83761Ir8PiSy+6oxwCHOaYZyvheW0PByntC/WFwUipfn78\"\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '816e866e-48c4-423b-8691-1b96db584d1e',
'request-id': '6eda449c-272d-48f6-b414-bbde9bf34f18',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:05:03 GMT',
date: 'Tue, 11 Dec 2018 18:27:19 GMT',
connection: 'close' });
return result; }]];

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -1,36 +1,36 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/pools/nodesdktestpool1/nodes/tvm-14141481_3-20180821t200555z/files?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#files\",\"value\":[\r\n {\r\n \"name\":\"applications\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_3-20180821t200555z/files/applications\",\"isDirectory\":true\r\n },{\r\n \"name\":\"shared\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_3-20180821t200555z/files/shared\",\"isDirectory\":true\r\n },{\r\n \"name\":\"startup\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_3-20180821t200555z/files/startup\",\"isDirectory\":true\r\n },{\r\n \"name\":\"workitems\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_3-20180821t200555z/files/workitems\",\"isDirectory\":true\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/pools/nodesdktestpool1/nodes/tvmps_bc8f91eb73db7fd10d852ff323ee06ef51abb84fc93e7dae4e18fa0b0b95b030_d/files?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#files\",\"value\":[\r\n {\r\n \"name\":\"applications\",\"url\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvmps_bc8f91eb73db7fd10d852ff323ee06ef51abb84fc93e7dae4e18fa0b0b95b030_d/files/applications\",\"isDirectory\":true\r\n },{\r\n \"name\":\"shared\",\"url\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvmps_bc8f91eb73db7fd10d852ff323ee06ef51abb84fc93e7dae4e18fa0b0b95b030_d/files/shared\",\"isDirectory\":true\r\n },{\r\n \"name\":\"startup\",\"url\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvmps_bc8f91eb73db7fd10d852ff323ee06ef51abb84fc93e7dae4e18fa0b0b95b030_d/files/startup\",\"isDirectory\":true\r\n },{\r\n \"name\":\"volatile\",\"url\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvmps_bc8f91eb73db7fd10d852ff323ee06ef51abb84fc93e7dae4e18fa0b0b95b030_d/files/volatile\",\"isDirectory\":true\r\n },{\r\n \"name\":\"workitems\",\"url\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvmps_bc8f91eb73db7fd10d852ff323ee06ef51abb84fc93e7dae4e18fa0b0b95b030_d/files/workitems\",\"isDirectory\":true\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '69646b9b-fb7f-4c17-b5c8-f3f812d2e9c7',
'request-id': '90b2ba1c-4031-4746-b54f-fd3ed5982e54',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:29:05 GMT',
date: 'Tue, 11 Dec 2018 18:48:30 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/pools/nodesdktestpool1/nodes/tvm-14141481_3-20180821t200555z/files?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#files\",\"value\":[\r\n {\r\n \"name\":\"applications\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_3-20180821t200555z/files/applications\",\"isDirectory\":true\r\n },{\r\n \"name\":\"shared\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_3-20180821t200555z/files/shared\",\"isDirectory\":true\r\n },{\r\n \"name\":\"startup\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_3-20180821t200555z/files/startup\",\"isDirectory\":true\r\n },{\r\n \"name\":\"workitems\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_3-20180821t200555z/files/workitems\",\"isDirectory\":true\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/pools/nodesdktestpool1/nodes/tvmps_bc8f91eb73db7fd10d852ff323ee06ef51abb84fc93e7dae4e18fa0b0b95b030_d/files?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#files\",\"value\":[\r\n {\r\n \"name\":\"applications\",\"url\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvmps_bc8f91eb73db7fd10d852ff323ee06ef51abb84fc93e7dae4e18fa0b0b95b030_d/files/applications\",\"isDirectory\":true\r\n },{\r\n \"name\":\"shared\",\"url\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvmps_bc8f91eb73db7fd10d852ff323ee06ef51abb84fc93e7dae4e18fa0b0b95b030_d/files/shared\",\"isDirectory\":true\r\n },{\r\n \"name\":\"startup\",\"url\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvmps_bc8f91eb73db7fd10d852ff323ee06ef51abb84fc93e7dae4e18fa0b0b95b030_d/files/startup\",\"isDirectory\":true\r\n },{\r\n \"name\":\"volatile\",\"url\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvmps_bc8f91eb73db7fd10d852ff323ee06ef51abb84fc93e7dae4e18fa0b0b95b030_d/files/volatile\",\"isDirectory\":true\r\n },{\r\n \"name\":\"workitems\",\"url\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvmps_bc8f91eb73db7fd10d852ff323ee06ef51abb84fc93e7dae4e18fa0b0b95b030_d/files/workitems\",\"isDirectory\":true\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '69646b9b-fb7f-4c17-b5c8-f3f812d2e9c7',
'request-id': '90b2ba1c-4031-4746-b54f-fd3ed5982e54',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:29:05 GMT',
date: 'Tue, 11 Dec 2018 18:48:30 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,36 +1,36 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#files\",\"value\":[\r\n {\r\n \"name\":\"ProcessEnv.cmd\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/ProcessEnv.cmd\",\"isDirectory\":false,\"properties\":{\r\n \"creationTime\":\"2018-08-21T20:25:27.7083523Z\",\"lastModified\":\"2018-08-21T20:25:27.7083523Z\",\"contentLength\":\"2680\",\"contentType\":\"application/octet-stream\"\r\n }\r\n },{\r\n \"name\":\"stderr.txt\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/stderr.txt\",\"isDirectory\":false,\"properties\":{\r\n \"creationTime\":\"2018-08-21T20:25:27.6369719Z\",\"lastModified\":\"2018-08-21T20:25:27.6369719Z\",\"contentLength\":\"0\",\"contentType\":\"application/octet-stream\"\r\n }\r\n },{\r\n \"name\":\"stdout.txt\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/stdout.txt\",\"isDirectory\":false,\"properties\":{\r\n \"creationTime\":\"2018-08-21T20:25:27.635964Z\",\"lastModified\":\"2018-08-21T20:25:27.7183537Z\",\"contentLength\":\"13\",\"contentType\":\"application/octet-stream\"\r\n }\r\n },{\r\n \"name\":\"wd\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/wd\",\"isDirectory\":true\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#files\",\"value\":[\r\n {\r\n \"name\":\"stderr.txt\",\"url\":\"https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/stderr.txt\",\"isDirectory\":false,\"properties\":{\r\n \"creationTime\":\"2018-12-11T18:44:53.841353Z\",\"lastModified\":\"2018-12-11T18:44:53.841353Z\",\"contentLength\":\"0\",\"contentType\":\"text/plain\"\r\n }\r\n },{\r\n \"name\":\"stdout.txt\",\"url\":\"https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/stdout.txt\",\"isDirectory\":false,\"properties\":{\r\n \"creationTime\":\"2018-12-11T18:44:53.841353Z\",\"lastModified\":\"2018-12-11T18:44:54.191572Z\",\"contentLength\":\"13\",\"contentType\":\"text/plain\"\r\n }\r\n },{\r\n \"name\":\"wd\",\"url\":\"https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/wd\",\"isDirectory\":true\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '42a49005-97a8-4e6c-a872-4ee8cf6d0b7c',
'request-id': 'ac0fb613-653b-43d2-891b-a959ec2f1ec3',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:27:23 GMT',
date: 'Tue, 11 Dec 2018 18:46:49 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#files\",\"value\":[\r\n {\r\n \"name\":\"ProcessEnv.cmd\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/ProcessEnv.cmd\",\"isDirectory\":false,\"properties\":{\r\n \"creationTime\":\"2018-08-21T20:25:27.7083523Z\",\"lastModified\":\"2018-08-21T20:25:27.7083523Z\",\"contentLength\":\"2680\",\"contentType\":\"application/octet-stream\"\r\n }\r\n },{\r\n \"name\":\"stderr.txt\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/stderr.txt\",\"isDirectory\":false,\"properties\":{\r\n \"creationTime\":\"2018-08-21T20:25:27.6369719Z\",\"lastModified\":\"2018-08-21T20:25:27.6369719Z\",\"contentLength\":\"0\",\"contentType\":\"application/octet-stream\"\r\n }\r\n },{\r\n \"name\":\"stdout.txt\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/stdout.txt\",\"isDirectory\":false,\"properties\":{\r\n \"creationTime\":\"2018-08-21T20:25:27.635964Z\",\"lastModified\":\"2018-08-21T20:25:27.7183537Z\",\"contentLength\":\"13\",\"contentType\":\"application/octet-stream\"\r\n }\r\n },{\r\n \"name\":\"wd\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/wd\",\"isDirectory\":true\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#files\",\"value\":[\r\n {\r\n \"name\":\"stderr.txt\",\"url\":\"https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/stderr.txt\",\"isDirectory\":false,\"properties\":{\r\n \"creationTime\":\"2018-12-11T18:44:53.841353Z\",\"lastModified\":\"2018-12-11T18:44:53.841353Z\",\"contentLength\":\"0\",\"contentType\":\"text/plain\"\r\n }\r\n },{\r\n \"name\":\"stdout.txt\",\"url\":\"https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/stdout.txt\",\"isDirectory\":false,\"properties\":{\r\n \"creationTime\":\"2018-12-11T18:44:53.841353Z\",\"lastModified\":\"2018-12-11T18:44:54.191572Z\",\"contentLength\":\"13\",\"contentType\":\"text/plain\"\r\n }\r\n },{\r\n \"name\":\"wd\",\"url\":\"https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/wd\",\"isDirectory\":true\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '42a49005-97a8-4e6c-a872-4ee8cf6d0b7c',
'request-id': 'ac0fb613-653b-43d2-891b-a959ec2f1ec3',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:27:23 GMT',
date: 'Tue, 11 Dec 2018 18:46:49 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,36 +1,36 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/jobschedules?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#jobschedules\",\"value\":[\r\n {\r\n \"id\":\"NodeSDKTestSchedule\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule\",\"eTag\":\"0x8D607A503E9DDB3\",\"lastModified\":\"2018-08-21T20:31:03.6160435Z\",\"creationTime\":\"2018-08-21T20:31:03.6160435Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:31:03.6160435Z\",\"schedule\":{\r\n \"doNotRunUntil\":\"2018-08-25T07:00:00Z\",\"startWindow\":\"PT6M\"\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\":\"nodesdktestpool1\"\r\n }\r\n },\"executionInfo\":{\r\n \"nextRunTime\":\"2018-08-25T07:00:00Z\"\r\n }\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/jobschedules?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#jobschedules\",\"value\":[\r\n {\r\n \"id\":\"NodeSDKTestSchedule\",\"url\":\"https://test3.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule\",\"eTag\":\"0x8D65FAC2F4D7E17\",\"lastModified\":\"2018-12-11T21:04:05.2125207Z\",\"creationTime\":\"2018-12-11T21:04:05.2125207Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T21:04:05.2125207Z\",\"schedule\":{\r\n \"doNotRunUntil\":\"2018-12-25T08:00:00Z\",\"startWindow\":\"PT6M\"\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\":\"nodesdktestpool1\"\r\n }\r\n },\"executionInfo\":{\r\n \"nextRunTime\":\"2018-12-25T08:00:00Z\"\r\n }\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'ac4ef5c1-9da8-4b41-a8d0-3041d4834c50',
'request-id': 'daf2f920-6a5f-4cdc-8755-5e81dea9797f',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:03 GMT',
date: 'Tue, 11 Dec 2018 21:04:05 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/jobschedules?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#jobschedules\",\"value\":[\r\n {\r\n \"id\":\"NodeSDKTestSchedule\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule\",\"eTag\":\"0x8D607A503E9DDB3\",\"lastModified\":\"2018-08-21T20:31:03.6160435Z\",\"creationTime\":\"2018-08-21T20:31:03.6160435Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:31:03.6160435Z\",\"schedule\":{\r\n \"doNotRunUntil\":\"2018-08-25T07:00:00Z\",\"startWindow\":\"PT6M\"\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\":\"nodesdktestpool1\"\r\n }\r\n },\"executionInfo\":{\r\n \"nextRunTime\":\"2018-08-25T07:00:00Z\"\r\n }\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/jobschedules?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#jobschedules\",\"value\":[\r\n {\r\n \"id\":\"NodeSDKTestSchedule\",\"url\":\"https://test3.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule\",\"eTag\":\"0x8D65FAC2F4D7E17\",\"lastModified\":\"2018-12-11T21:04:05.2125207Z\",\"creationTime\":\"2018-12-11T21:04:05.2125207Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T21:04:05.2125207Z\",\"schedule\":{\r\n \"doNotRunUntil\":\"2018-12-25T08:00:00Z\",\"startWindow\":\"PT6M\"\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\":\"nodesdktestpool1\"\r\n }\r\n },\"executionInfo\":{\r\n \"nextRunTime\":\"2018-12-25T08:00:00Z\"\r\n }\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'ac4ef5c1-9da8-4b41-a8d0-3041d4834c50',
'request-id': 'daf2f920-6a5f-4cdc-8755-5e81dea9797f',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:03 GMT',
date: 'Tue, 11 Dec 2018 21:04:05 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,36 +1,36 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/jobschedules/NodeSDKTestSchedule/jobs?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#jobs\",\"value\":[\r\n \r\n ]\r\n}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/jobschedules/NodeSDKTestSchedule/jobs?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#jobs\",\"value\":[\r\n \r\n ]\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'a7ed87e9-6378-45e6-b57c-7ae5c287a590',
'request-id': '39fee38a-45a0-419f-b02a-84259197c7aa',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:03 GMT',
date: 'Tue, 11 Dec 2018 21:04:05 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/jobschedules/NodeSDKTestSchedule/jobs?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#jobs\",\"value\":[\r\n \r\n ]\r\n}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/jobschedules/NodeSDKTestSchedule/jobs?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#jobs\",\"value\":[\r\n \r\n ]\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'a7ed87e9-6378-45e6-b57c-7ae5c287a590',
'request-id': '39fee38a-45a0-419f-b02a-84259197c7aa',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:03 GMT',
date: 'Tue, 11 Dec 2018 21:04:05 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,36 +1,36 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/jobs?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#jobs\",\"value\":[\r\n {\r\n \"id\":\"HelloWorldJobNodeSDKTest\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest\",\"eTag\":\"0x8D607A4396C0D8C\",\"lastModified\":\"2018-08-21T20:25:23.8917516Z\",\"creationTime\":\"2018-08-21T20:25:23.5846713Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:25:23.6076746Z\",\"priority\":500,\"usesTaskDependencies\":false,\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":3\r\n },\"poolInfo\":{\r\n \"poolId\":\"nodesdktestpool1\"\r\n },\"executionInfo\":{\r\n \"startTime\":\"2018-08-21T20:25:23.6076746Z\",\"poolId\":\"nodesdktestpool1\"\r\n },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"noaction\"\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/jobs?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#jobs\",\"value\":[\r\n {\r\n \"id\":\"HelloWorldJobNodeSDKTest\",\"url\":\"https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest\",\"eTag\":\"0x8D65F98BAA7B3B8\",\"lastModified\":\"2018-12-11T18:44:49.072428Z\",\"creationTime\":\"2018-12-11T18:44:48.660002Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:44:48.6770031Z\",\"priority\":500,\"usesTaskDependencies\":false,\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":3\r\n },\"poolInfo\":{\r\n \"poolId\":\"nodesdktestpool1\"\r\n },\"executionInfo\":{\r\n \"startTime\":\"2018-12-11T18:44:48.6770031Z\",\"poolId\":\"nodesdktestpool1\"\r\n },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"noaction\"\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '7dd3d03b-fda2-4e8d-bb8f-e05bfee639c4',
'request-id': '374e5776-2036-4824-b880-5a38d453fd25',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:01 GMT',
date: 'Tue, 11 Dec 2018 18:48:35 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/jobs?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#jobs\",\"value\":[\r\n {\r\n \"id\":\"HelloWorldJobNodeSDKTest\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest\",\"eTag\":\"0x8D607A4396C0D8C\",\"lastModified\":\"2018-08-21T20:25:23.8917516Z\",\"creationTime\":\"2018-08-21T20:25:23.5846713Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:25:23.6076746Z\",\"priority\":500,\"usesTaskDependencies\":false,\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":3\r\n },\"poolInfo\":{\r\n \"poolId\":\"nodesdktestpool1\"\r\n },\"executionInfo\":{\r\n \"startTime\":\"2018-08-21T20:25:23.6076746Z\",\"poolId\":\"nodesdktestpool1\"\r\n },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"noaction\"\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/jobs?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#jobs\",\"value\":[\r\n {\r\n \"id\":\"HelloWorldJobNodeSDKTest\",\"url\":\"https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest\",\"eTag\":\"0x8D65F98BAA7B3B8\",\"lastModified\":\"2018-12-11T18:44:49.072428Z\",\"creationTime\":\"2018-12-11T18:44:48.660002Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:44:48.6770031Z\",\"priority\":500,\"usesTaskDependencies\":false,\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":3\r\n },\"poolInfo\":{\r\n \"poolId\":\"nodesdktestpool1\"\r\n },\"executionInfo\":{\r\n \"startTime\":\"2018-12-11T18:44:48.6770031Z\",\"poolId\":\"nodesdktestpool1\"\r\n },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"noaction\"\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '7dd3d03b-fda2-4e8d-bb8f-e05bfee639c4',
'request-id': '374e5776-2036-4824-b880-5a38d453fd25',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:31:01 GMT',
date: 'Tue, 11 Dec 2018 18:48:35 GMT',
connection: 'close' });
return result; }]];

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -1,36 +1,36 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/pools?api-version=2018-08-01.7.0&$filter=startswith(id%2C%27nodesdktestpool1%27)&$select=id%2Cstate&$expand=stats')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#pools\",\"value\":[\r\n {\r\n \"id\":\"nodesdktestpool1\",\"state\":\"active\"\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/pools?api-version=2018-12-01.8.0&$filter=startswith(id%2C%27nodesdktestpool1%27)&$select=id%2Cstate&$expand=stats')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#pools\",\"value\":[\r\n {\r\n \"id\":\"nodesdktestpool1\",\"state\":\"active\"\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '7c3f99a8-ba01-4ed0-bf2a-cba025c00215',
'request-id': '1da5ae9c-2c7e-4ffe-ac35-73a9dc7ef1aa',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:25:21 GMT',
date: 'Tue, 11 Dec 2018 18:44:46 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/pools?api-version=2018-08-01.7.0&$filter=startswith(id%2C%27nodesdktestpool1%27)&$select=id%2Cstate&$expand=stats')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#pools\",\"value\":[\r\n {\r\n \"id\":\"nodesdktestpool1\",\"state\":\"active\"\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/pools?api-version=2018-12-01.8.0&$filter=startswith(id%2C%27nodesdktestpool1%27)&$select=id%2Cstate&$expand=stats')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#pools\",\"value\":[\r\n {\r\n \"id\":\"nodesdktestpool1\",\"state\":\"active\"\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '7c3f99a8-ba01-4ed0-bf2a-cba025c00215',
'request-id': '1da5ae9c-2c7e-4ffe-ac35-73a9dc7ef1aa',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:25:21 GMT',
date: 'Tue, 11 Dec 2018 18:44:46 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,36 +1,36 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/poolusagemetrics?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#poolusagemetrics\",\"value\":[\r\n {\r\n \"poolId\":\"nodesdkinboundendpointpool\",\"startTime\":\"2018-08-21T17:30:00Z\",\"endTime\":\"2018-08-21T18:00:00Z\",\"vmSize\":\"standard_a1\",\"totalCoreHours\":0.49999999997222216,\"dataIngressGiB\":0.0,\"dataEgressGiB\":0.0\r\n },{\r\n \"poolId\":\"nodesdktestpool1\",\"startTime\":\"2018-08-21T17:30:00Z\",\"endTime\":\"2018-08-21T18:00:00Z\",\"vmSize\":\"small\",\"totalCoreHours\":1.4999999999166673,\"dataIngressGiB\":0.0,\"dataEgressGiB\":0.0\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/poolusagemetrics?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#poolusagemetrics\",\"value\":[\r\n {\r\n \"poolId\":\"nodesdkinboundendpointpool\",\"startTime\":\"2018-08-21T17:30:00Z\",\"endTime\":\"2018-08-21T18:00:00Z\",\"vmSize\":\"standard_a1\",\"totalCoreHours\":0.49999999997222216\r\n },{\r\n \"poolId\":\"nodesdktestpool1\",\"startTime\":\"2018-08-21T17:30:00Z\",\"endTime\":\"2018-08-21T18:00:00Z\",\"vmSize\":\"small\",\"totalCoreHours\":1.4999999999166673\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'd24622e1-96c9-4b99-8f89-cb92bb63bb0b',
'request-id': '7b11544b-0111-47c8-85c0-752e6def8eeb',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:25:23 GMT',
date: 'Tue, 11 Dec 2018 18:44:48 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/poolusagemetrics?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#poolusagemetrics\",\"value\":[\r\n {\r\n \"poolId\":\"nodesdkinboundendpointpool\",\"startTime\":\"2018-08-21T17:30:00Z\",\"endTime\":\"2018-08-21T18:00:00Z\",\"vmSize\":\"standard_a1\",\"totalCoreHours\":0.49999999997222216,\"dataIngressGiB\":0.0,\"dataEgressGiB\":0.0\r\n },{\r\n \"poolId\":\"nodesdktestpool1\",\"startTime\":\"2018-08-21T17:30:00Z\",\"endTime\":\"2018-08-21T18:00:00Z\",\"vmSize\":\"small\",\"totalCoreHours\":1.4999999999166673,\"dataIngressGiB\":0.0,\"dataEgressGiB\":0.0\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/poolusagemetrics?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#poolusagemetrics\",\"value\":[\r\n {\r\n \"poolId\":\"nodesdkinboundendpointpool\",\"startTime\":\"2018-08-21T17:30:00Z\",\"endTime\":\"2018-08-21T18:00:00Z\",\"vmSize\":\"standard_a1\",\"totalCoreHours\":0.49999999997222216\r\n },{\r\n \"poolId\":\"nodesdktestpool1\",\"startTime\":\"2018-08-21T17:30:00Z\",\"endTime\":\"2018-08-21T18:00:00Z\",\"vmSize\":\"small\",\"totalCoreHours\":1.4999999999166673\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'd24622e1-96c9-4b99-8f89-cb92bb63bb0b',
'request-id': '7b11544b-0111-47c8-85c0-752e6def8eeb',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:25:23 GMT',
date: 'Tue, 11 Dec 2018 18:44:48 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,36 +1,36 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/pools?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#pools\",\"value\":[\r\n {\r\n \"id\":\"nodesdkinboundendpointpool\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdkinboundendpointpool\",\"eTag\":\"0x8D607A2FA29DA10\",\"lastModified\":\"2018-08-21T20:16:28.2647056Z\",\"creationTime\":\"2018-08-21T20:16:28.2647056Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:16:28.2647056Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-08-21T20:18:10.9689835Z\",\"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\r\n }\r\n ]\r\n }\r\n }\r\n },{\r\n \"id\":\"nodesdktestpool1\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1\",\"eTag\":\"0x8D607A437BD2FE0\",\"lastModified\":\"2018-08-21T20:25:21.0680288Z\",\"creationTime\":\"2018-08-21T20:05:04.4042325Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:05:04.4042325Z\",\"allocationState\":\"stopping\",\"allocationStateTransitionTime\":\"2018-08-21T20:25:21.0680288Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":3,\"targetDedicatedNodes\":2,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"startTask\":{\r\n \"commandLine\":\"cmd /c echo hello > hello.txt\",\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"maxTaskRetryCount\":0,\"waitForSuccess\":false\r\n },\"userAccounts\":[\r\n {\r\n \"name\":\"nonAdminUser\",\"elevationLevel\":\"nonadmin\"\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\":\"nodesdktestpool2\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool2\",\"eTag\":\"0x8D607A437F1E152\",\"lastModified\":\"2018-08-21T20:25:21.4133586Z\",\"creationTime\":\"2018-08-21T20:25:21.2320915Z\",\"state\":\"upgrading\",\"stateTransitionTime\":\"2018-08-21T20:25:21.4133586Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-08-21T20:25:21.3450583Z\",\"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\":\"WA-GUEST-OS-4.32_201605-01\",\"currentOSVersion\":\"*\"\r\n }\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/pools?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#pools\",\"value\":[\r\n {\r\n \"id\":\"nodesdkinboundendpointpool\",\"url\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdkinboundendpointpool\",\"eTag\":\"0x8D65F9778F109AA\",\"lastModified\":\"2018-12-11T18:35:49.3266858Z\",\"creationTime\":\"2018-12-11T18:35:49.3266858Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:35:49.3266858Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-12-11T18:37:15.7227081Z\",\"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\r\n }\r\n ]\r\n }\r\n }\r\n },{\r\n \"id\":\"nodesdkosdiskpool\",\"url\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdkosdiskpool\",\"eTag\":\"0x8D65F97770B2ED1\",\"lastModified\":\"2018-12-11T18:35:46.1425873Z\",\"creationTime\":\"2018-12-11T18:35:46.1425873Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:35:46.1425873Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-12-11T18:35:46.5651472Z\",\"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\"\r\n }\r\n },{\r\n \"id\":\"nodesdktestpool1\",\"url\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1\",\"eTag\":\"0x8D65F98B81717BC\",\"lastModified\":\"2018-12-11T18:44:44.7692732Z\",\"creationTime\":\"2018-12-11T18:27:21.0984288Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:27:21.0984288Z\",\"allocationState\":\"stopping\",\"allocationStateTransitionTime\":\"2018-12-11T18:44:45.5105772Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":3,\"targetDedicatedNodes\":2,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"startTask\":{\r\n \"commandLine\":\"cmd /c echo hello > hello.txt\",\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"maxTaskRetryCount\":0,\"waitForSuccess\":false\r\n },\"userAccounts\":[\r\n {\r\n \"name\":\"nonAdminUser\",\"elevationLevel\":\"nonadmin\",\"windowsUserConfiguration\":{\r\n \"loginMode\":\"interactive\"\r\n }\r\n }\r\n ],\"certificateReferences\":[\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\",\"osVersion\":\"*\"\r\n }\r\n },{\r\n \"id\":\"nodesdktestpool2\",\"url\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool2\",\"eTag\":\"0x8D65F98B8A68220\",\"lastModified\":\"2018-12-11T18:44:45.7091616Z\",\"creationTime\":\"2018-12-11T18:44:45.7091616Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:44:45.7091616Z\",\"allocationState\":\"resizing\",\"allocationStateTransitionTime\":\"2018-12-11T18:44:45.7091616Z\",\"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\",\"osVersion\":\"*\"\r\n }\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '95739a3c-e0a1-4c4b-89ce-e57cc8d8682e',
'request-id': 'ee0891fd-b4cd-4c26-931f-dbbead3f6d5f',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:25:21 GMT',
date: 'Tue, 11 Dec 2018 18:44:46 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/pools?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#pools\",\"value\":[\r\n {\r\n \"id\":\"nodesdkinboundendpointpool\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdkinboundendpointpool\",\"eTag\":\"0x8D607A2FA29DA10\",\"lastModified\":\"2018-08-21T20:16:28.2647056Z\",\"creationTime\":\"2018-08-21T20:16:28.2647056Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:16:28.2647056Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-08-21T20:18:10.9689835Z\",\"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\r\n }\r\n ]\r\n }\r\n }\r\n },{\r\n \"id\":\"nodesdktestpool1\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1\",\"eTag\":\"0x8D607A437BD2FE0\",\"lastModified\":\"2018-08-21T20:25:21.0680288Z\",\"creationTime\":\"2018-08-21T20:05:04.4042325Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-08-21T20:05:04.4042325Z\",\"allocationState\":\"stopping\",\"allocationStateTransitionTime\":\"2018-08-21T20:25:21.0680288Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":3,\"targetDedicatedNodes\":2,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"startTask\":{\r\n \"commandLine\":\"cmd /c echo hello > hello.txt\",\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"maxTaskRetryCount\":0,\"waitForSuccess\":false\r\n },\"userAccounts\":[\r\n {\r\n \"name\":\"nonAdminUser\",\"elevationLevel\":\"nonadmin\"\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\":\"nodesdktestpool2\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool2\",\"eTag\":\"0x8D607A437F1E152\",\"lastModified\":\"2018-08-21T20:25:21.4133586Z\",\"creationTime\":\"2018-08-21T20:25:21.2320915Z\",\"state\":\"upgrading\",\"stateTransitionTime\":\"2018-08-21T20:25:21.4133586Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-08-21T20:25:21.3450583Z\",\"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\":\"WA-GUEST-OS-4.32_201605-01\",\"currentOSVersion\":\"*\"\r\n }\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/pools?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#pools\",\"value\":[\r\n {\r\n \"id\":\"nodesdkinboundendpointpool\",\"url\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdkinboundendpointpool\",\"eTag\":\"0x8D65F9778F109AA\",\"lastModified\":\"2018-12-11T18:35:49.3266858Z\",\"creationTime\":\"2018-12-11T18:35:49.3266858Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:35:49.3266858Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-12-11T18:37:15.7227081Z\",\"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\r\n }\r\n ]\r\n }\r\n }\r\n },{\r\n \"id\":\"nodesdkosdiskpool\",\"url\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdkosdiskpool\",\"eTag\":\"0x8D65F97770B2ED1\",\"lastModified\":\"2018-12-11T18:35:46.1425873Z\",\"creationTime\":\"2018-12-11T18:35:46.1425873Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:35:46.1425873Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-12-11T18:35:46.5651472Z\",\"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\"\r\n }\r\n },{\r\n \"id\":\"nodesdktestpool1\",\"url\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1\",\"eTag\":\"0x8D65F98B81717BC\",\"lastModified\":\"2018-12-11T18:44:44.7692732Z\",\"creationTime\":\"2018-12-11T18:27:21.0984288Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:27:21.0984288Z\",\"allocationState\":\"stopping\",\"allocationStateTransitionTime\":\"2018-12-11T18:44:45.5105772Z\",\"vmSize\":\"small\",\"resizeTimeout\":\"PT15M\",\"currentDedicatedNodes\":3,\"targetDedicatedNodes\":2,\"currentLowPriorityNodes\":0,\"targetLowPriorityNodes\":0,\"enableAutoScale\":false,\"enableInterNodeCommunication\":false,\"startTask\":{\r\n \"commandLine\":\"cmd /c echo hello > hello.txt\",\"userIdentity\":{\r\n \"autoUser\":{\r\n \"elevationLevel\":\"nonadmin\"\r\n }\r\n },\"maxTaskRetryCount\":0,\"waitForSuccess\":false\r\n },\"userAccounts\":[\r\n {\r\n \"name\":\"nonAdminUser\",\"elevationLevel\":\"nonadmin\",\"windowsUserConfiguration\":{\r\n \"loginMode\":\"interactive\"\r\n }\r\n }\r\n ],\"certificateReferences\":[\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\",\"osVersion\":\"*\"\r\n }\r\n },{\r\n \"id\":\"nodesdktestpool2\",\"url\":\"https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool2\",\"eTag\":\"0x8D65F98B8A68220\",\"lastModified\":\"2018-12-11T18:44:45.7091616Z\",\"creationTime\":\"2018-12-11T18:44:45.7091616Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-12-11T18:44:45.7091616Z\",\"allocationState\":\"resizing\",\"allocationStateTransitionTime\":\"2018-12-11T18:44:45.7091616Z\",\"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\",\"osVersion\":\"*\"\r\n }\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '95739a3c-e0a1-4c4b-89ce-e57cc8d8682e',
'request-id': 'ee0891fd-b4cd-4c26-931f-dbbead3f6d5f',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:25:21 GMT',
date: 'Tue, 11 Dec 2018 18:44:46 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,36 +1,36 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask/subtasksinfo?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#subtaskinfo\",\"value\":[\r\n \r\n ]\r\n}", { 'transfer-encoding': 'chunked',
nock('http://test3.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask/subtasksinfo?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#subtaskinfo\",\"value\":[\r\n \r\n ]\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '683c90ad-5dc0-4c8e-985e-4e4324fa4669',
'request-id': '8c80ec4f-eaf6-4a31-864f-b7f6235a3af6',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:27:06 GMT',
date: 'Tue, 11 Dec 2018 18:46:32 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask/subtasksinfo?api-version=2018-08-01.7.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#subtaskinfo\",\"value\":[\r\n \r\n ]\r\n}", { 'transfer-encoding': 'chunked',
nock('https://test3.westcentralus.batch.azure.com:443')
.get('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask/subtasksinfo?api-version=2018-12-01.8.0')
.reply(200, "{\r\n \"odata.metadata\":\"https://test3.westcentralus.batch.azure.com/$metadata#subtaskinfo\",\"value\":[\r\n \r\n ]\r\n}", { 'transfer-encoding': 'chunked',
'content-type': 'application/json;odata=minimalmetadata',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '683c90ad-5dc0-4c8e-985e-4e4324fa4669',
'request-id': '8c80ec4f-eaf6-4a31-864f-b7f6235a3af6',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:27:06 GMT',
date: 'Tue, 11 Dec 2018 18:46:32 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,42 +1,42 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.patch('/jobschedules/NodeSDKTestSchedule?api-version=2018-08-01.7.0', '*')
.patch('/jobschedules/NodeSDKTestSchedule?api-version=2018-12-01.8.0', '*')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:31:04 GMT',
etag: '0x8D607A5047874D7',
'last-modified': 'Tue, 11 Dec 2018 21:04:06 GMT',
etag: '0x8D65FAC2FF98FA6',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'd4ef5c86-6370-429a-b416-6df9ab0f466e',
'request-id': 'c155f487-2c11-4113-a358-0ef8df1583bf',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule',
date: 'Tue, 21 Aug 2018 20:31:04 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule',
date: 'Tue, 11 Dec 2018 21:04:06 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.patch('/jobschedules/NodeSDKTestSchedule?api-version=2018-08-01.7.0', '*')
.patch('/jobschedules/NodeSDKTestSchedule?api-version=2018-12-01.8.0', '*')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:31:04 GMT',
etag: '0x8D607A5047874D7',
'last-modified': 'Tue, 11 Dec 2018 21:04:06 GMT',
etag: '0x8D65FAC2FF98FA6',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'd4ef5c86-6370-429a-b416-6df9ab0f466e',
'request-id': 'c155f487-2c11-4113-a358-0ef8df1583bf',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule',
date: 'Tue, 21 Aug 2018 20:31:04 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule',
date: 'Tue, 11 Dec 2018 21:04:06 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,42 +1,42 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.put('/jobs/HelloWorldJobNodeSDKTest?api-version=2018-08-01.7.0', '*')
.put('/jobs/HelloWorldJobNodeSDKTest?api-version=2018-12-01.8.0', '*')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:23 GMT',
etag: '0x8D607A4396C0D8C',
'last-modified': 'Tue, 11 Dec 2018 18:44:49 GMT',
etag: '0x8D65F98BAA7B3B8',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'a8773a06-15e9-4f40-ab7e-28f0246705bd',
'request-id': 'f9cc23ad-d664-445a-8ae7-13a200a1ecc6',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest',
date: 'Tue, 21 Aug 2018 20:25:23 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest',
date: 'Tue, 11 Dec 2018 18:44:48 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.put('/jobs/HelloWorldJobNodeSDKTest?api-version=2018-08-01.7.0', '*')
.put('/jobs/HelloWorldJobNodeSDKTest?api-version=2018-12-01.8.0', '*')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:23 GMT',
etag: '0x8D607A4396C0D8C',
'last-modified': 'Tue, 11 Dec 2018 18:44:49 GMT',
etag: '0x8D65F98BAA7B3B8',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'a8773a06-15e9-4f40-ab7e-28f0246705bd',
'request-id': 'f9cc23ad-d664-445a-8ae7-13a200a1ecc6',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest',
date: 'Tue, 21 Aug 2018 20:25:23 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest',
date: 'Tue, 11 Dec 2018 18:44:48 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,42 +1,42 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.patch('/pools/nodesdktestpool1?api-version=2018-08-01.7.0', '*')
.patch('/pools/nodesdktestpool1?api-version=2018-12-01.8.0', '*')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:09:40 GMT',
etag: '0x8D607A20760C002',
'last-modified': 'Tue, 11 Dec 2018 18:29:03 GMT',
etag: '0x8D65F9686C8060D',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'a3b592cd-74a7-4348-bcee-12efd8d4f562',
'request-id': 'fe1a22a6-9557-4ab1-93be-f439c5a14ab8',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1',
date: 'Tue, 21 Aug 2018 20:09:40 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1',
date: 'Tue, 11 Dec 2018 18:29:03 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.patch('/pools/nodesdktestpool1?api-version=2018-08-01.7.0', '*')
.patch('/pools/nodesdktestpool1?api-version=2018-12-01.8.0', '*')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:09:40 GMT',
etag: '0x8D607A20760C002',
'last-modified': 'Tue, 11 Dec 2018 18:29:03 GMT',
etag: '0x8D65F9686C8060D',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'a3b592cd-74a7-4348-bcee-12efd8d4f562',
'request-id': 'fe1a22a6-9557-4ab1-93be-f439c5a14ab8',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1',
date: 'Tue, 21 Aug 2018 20:09:40 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1',
date: 'Tue, 11 Dec 2018 18:29:03 GMT',
connection: 'close' });
return result; }]];

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -1,38 +1,38 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.post('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask/reactivate?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.post('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask/reactivate?api-version=2018-12-01.8.0')
.reply(204, "", { 'content-length': '0',
'last-modified': 'Tue, 21 Aug 2018 20:25:26 GMT',
etag: '0x8D607A43AB500D1',
'last-modified': 'Tue, 11 Dec 2018 18:44:51 GMT',
etag: '0x8D65F98BC3C1AEF',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '94b3ebde-7b04-4ef5-8d7e-207831ebc2a4',
'request-id': 'fe863012-84d1-43aa-84da-53d462d844f2',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:25:26 GMT',
date: 'Tue, 11 Dec 2018 18:44:51 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.post('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask/reactivate?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.post('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask/reactivate?api-version=2018-12-01.8.0')
.reply(204, "", { 'content-length': '0',
'last-modified': 'Tue, 21 Aug 2018 20:25:26 GMT',
etag: '0x8D607A43AB500D1',
'last-modified': 'Tue, 11 Dec 2018 18:44:51 GMT',
etag: '0x8D65F98BC3C1AEF',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '94b3ebde-7b04-4ef5-8d7e-207831ebc2a4',
'request-id': 'fe863012-84d1-43aa-84da-53d462d844f2',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
date: 'Tue, 21 Aug 2018 20:25:26 GMT',
date: 'Tue, 11 Dec 2018 18:44:51 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,36 +1,36 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.post('/pools/nodesdktestpool1/nodes/tvm-14141481_1-20180821t200555z/reboot?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.post('/pools/nodesdktestpool1/nodes/tvmps_13cf4cee9dd1594f9da06399ef98ede3e5a4010f3233627c3837a43dbeff5868_d/reboot?api-version=2018-12-01.8.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '6151433e-d0df-4043-9c5d-24c489df5986',
'request-id': '006dfd59-3c3a-4a3b-8c31-b7e66652b7ce',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_1-20180821t200555z/reboot',
date: 'Tue, 21 Aug 2018 20:23:11 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvmps_13cf4cee9dd1594f9da06399ef98ede3e5a4010f3233627c3837a43dbeff5868_d/reboot',
date: 'Tue, 11 Dec 2018 18:42:34 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.post('/pools/nodesdktestpool1/nodes/tvm-14141481_1-20180821t200555z/reboot?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.post('/pools/nodesdktestpool1/nodes/tvmps_13cf4cee9dd1594f9da06399ef98ede3e5a4010f3233627c3837a43dbeff5868_d/reboot?api-version=2018-12-01.8.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '6151433e-d0df-4043-9c5d-24c489df5986',
'request-id': '006dfd59-3c3a-4a3b-8c31-b7e66652b7ce',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_1-20180821t200555z/reboot',
date: 'Tue, 21 Aug 2018 20:23:11 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvmps_13cf4cee9dd1594f9da06399ef98ede3e5a4010f3233627c3837a43dbeff5868_d/reboot',
date: 'Tue, 11 Dec 2018 18:42:34 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,36 +1,36 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.post('/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/reimage?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.post('/pools/nodesdktestpool1/nodes/tvmps_15c61fea08a34e0fe431ba70cdf2156682bec1e01fdda442f2dccde21908ed91_d/reimage?api-version=2018-12-01.8.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '47dbf3c4-a3ed-4455-ab36-a2323620a271',
'request-id': '850d8c98-413e-4aef-b7af-f74db73eba0f',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/reimage',
date: 'Tue, 21 Aug 2018 20:23:12 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvmps_15c61fea08a34e0fe431ba70cdf2156682bec1e01fdda442f2dccde21908ed91_d/reimage',
date: 'Tue, 11 Dec 2018 18:42:34 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.post('/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/reimage?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.post('/pools/nodesdktestpool1/nodes/tvmps_15c61fea08a34e0fe431ba70cdf2156682bec1e01fdda442f2dccde21908ed91_d/reimage?api-version=2018-12-01.8.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '47dbf3c4-a3ed-4455-ab36-a2323620a271',
'request-id': '850d8c98-413e-4aef-b7af-f74db73eba0f',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/reimage',
date: 'Tue, 21 Aug 2018 20:23:12 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvmps_15c61fea08a34e0fe431ba70cdf2156682bec1e01fdda442f2dccde21908ed91_d/reimage',
date: 'Tue, 11 Dec 2018 18:42:34 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,42 +1,42 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools/nodesdktestpool1/removenodes?api-version=2018-08-01.7.0', '*')
.post('/pools/nodesdktestpool1/removenodes?api-version=2018-12-01.8.0', '*')
.reply(202, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:31:06 GMT',
etag: '0x8D607A505B3BFE8',
'last-modified': 'Tue, 11 Dec 2018 18:48:40 GMT',
etag: '0x8D65F9944AE7C2B',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '31581979-81c1-472f-a0eb-602a84c68aec',
'request-id': '4841eb42-b41c-48cb-9f9e-00a1168af58e',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/removenodes',
date: 'Tue, 21 Aug 2018 20:31:06 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/removenodes',
date: 'Tue, 11 Dec 2018 18:48:40 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools/nodesdktestpool1/removenodes?api-version=2018-08-01.7.0', '*')
.post('/pools/nodesdktestpool1/removenodes?api-version=2018-12-01.8.0', '*')
.reply(202, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:31:06 GMT',
etag: '0x8D607A505B3BFE8',
'last-modified': 'Tue, 11 Dec 2018 18:48:40 GMT',
etag: '0x8D65F9944AE7C2B',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '31581979-81c1-472f-a0eb-602a84c68aec',
'request-id': '4841eb42-b41c-48cb-9f9e-00a1168af58e',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/removenodes',
date: 'Tue, 21 Aug 2018 20:31:06 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/removenodes',
date: 'Tue, 11 Dec 2018 18:48:40 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,42 +1,42 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools/nodesdktestpool2/resize?api-version=2018-08-01.7.0', '*')
.post('/pools/nodesdktestpool2/resize?api-version=2018-12-01.8.0', '*')
.reply(202, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:22 GMT',
etag: '0x8D607A4389CE6FD',
'last-modified': 'Tue, 11 Dec 2018 18:44:47 GMT',
etag: '0x8D65F98B9A168BC',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'f2ceedbf-aa0e-4233-8917-ddffaea2e83f',
'request-id': '312ff6d3-2703-4d24-b820-57a8be3ad8fc',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool2/resize',
date: 'Tue, 21 Aug 2018 20:25:22 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool2/resize',
date: 'Tue, 11 Dec 2018 18:44:47 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools/nodesdktestpool2/resize?api-version=2018-08-01.7.0', '*')
.post('/pools/nodesdktestpool2/resize?api-version=2018-12-01.8.0', '*')
.reply(202, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:22 GMT',
etag: '0x8D607A4389CE6FD',
'last-modified': 'Tue, 11 Dec 2018 18:44:47 GMT',
etag: '0x8D65F98B9A168BC',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'f2ceedbf-aa0e-4233-8917-ddffaea2e83f',
'request-id': '312ff6d3-2703-4d24-b820-57a8be3ad8fc',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool2/resize',
date: 'Tue, 21 Aug 2018 20:25:22 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool2/resize',
date: 'Tue, 11 Dec 2018 18:44:47 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,40 +1,40 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.post('/pools/nodesdktestpool2/stopresize?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.post('/pools/nodesdktestpool2/stopresize?api-version=2018-12-01.8.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:22 GMT',
etag: '0x8D607A438B8854D',
'last-modified': 'Tue, 11 Dec 2018 18:44:47 GMT',
etag: '0x8D65F98B9A168BC',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '8fcf26c8-b739-4a0a-91c9-062ebe5f00c1',
'request-id': '98e2c7e5-c98c-48bc-9b4f-44fc5374b46a',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool2/stopresize',
date: 'Tue, 21 Aug 2018 20:25:22 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool2/stopresize',
date: 'Tue, 11 Dec 2018 18:44:47 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.post('/pools/nodesdktestpool2/stopresize?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.post('/pools/nodesdktestpool2/stopresize?api-version=2018-12-01.8.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:22 GMT',
etag: '0x8D607A438B8854D',
'last-modified': 'Tue, 11 Dec 2018 18:44:47 GMT',
etag: '0x8D65F98B9A168BC',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '8fcf26c8-b739-4a0a-91c9-062ebe5f00c1',
'request-id': '98e2c7e5-c98c-48bc-9b4f-44fc5374b46a',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool2/stopresize',
date: 'Tue, 21 Aug 2018 20:25:22 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool2/stopresize',
date: 'Tue, 11 Dec 2018 18:44:47 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,40 +1,40 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.post('/jobschedules/NodeSDKTestSchedule/terminate?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.post('/jobschedules/NodeSDKTestSchedule/terminate?api-version=2018-12-01.8.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:31:05 GMT',
etag: '0x8D607A504BD1C2C',
'last-modified': 'Tue, 11 Dec 2018 21:04:06 GMT',
etag: '0x8D65FAC30442EEE',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '5e2afde0-868f-4dad-b2f2-fe480fc9b331',
'request-id': '501b999b-868e-4d78-b7c5-764838cf48cb',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule/terminate',
date: 'Tue, 21 Aug 2018 20:31:05 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule/terminate',
date: 'Tue, 11 Dec 2018 21:04:06 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.post('/jobschedules/NodeSDKTestSchedule/terminate?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.post('/jobschedules/NodeSDKTestSchedule/terminate?api-version=2018-12-01.8.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:31:05 GMT',
etag: '0x8D607A504BD1C2C',
'last-modified': 'Tue, 11 Dec 2018 21:04:06 GMT',
etag: '0x8D65FAC30442EEE',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '5e2afde0-868f-4dad-b2f2-fe480fc9b331',
'request-id': '501b999b-868e-4d78-b7c5-764838cf48cb',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule/terminate',
date: 'Tue, 21 Aug 2018 20:31:05 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule/terminate',
date: 'Tue, 11 Dec 2018 21:04:06 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,40 +1,40 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.post('/jobs/HelloWorldJobNodeSDKTest/terminate?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.post('/jobs/HelloWorldJobNodeSDKTest/terminate?api-version=2018-12-01.8.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:31:01 GMT',
etag: '0x8D607A502EB8DE1',
'last-modified': 'Tue, 11 Dec 2018 18:48:36 GMT',
etag: '0x8D65F994225511C',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '1bd0af83-bafb-4191-a208-eae2d0037a25',
'request-id': '56ab1807-3ad1-4548-9eed-2ece734ff2da',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/terminate',
date: 'Tue, 21 Aug 2018 20:31:01 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/terminate',
date: 'Tue, 11 Dec 2018 18:48:36 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.post('/jobs/HelloWorldJobNodeSDKTest/terminate?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.post('/jobs/HelloWorldJobNodeSDKTest/terminate?api-version=2018-12-01.8.0')
.reply(202, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:31:01 GMT',
etag: '0x8D607A502EB8DE1',
'last-modified': 'Tue, 11 Dec 2018 18:48:36 GMT',
etag: '0x8D65F994225511C',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '1bd0af83-bafb-4191-a208-eae2d0037a25',
'request-id': '56ab1807-3ad1-4548-9eed-2ece734ff2da',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/terminate',
date: 'Tue, 21 Aug 2018 20:31:01 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/terminate',
date: 'Tue, 11 Dec 2018 18:48:36 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,40 +1,40 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.post('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask/terminate?api-version=2018-08-01.7.0')
nock('http://test3.westcentralus.batch.azure.com:443')
.post('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask/terminate?api-version=2018-12-01.8.0')
.reply(204, "", { 'content-length': '0',
'last-modified': 'Tue, 21 Aug 2018 20:25:25 GMT',
etag: '0x8D607A43A83710D',
'last-modified': 'Tue, 11 Dec 2018 18:44:50 GMT',
etag: '0x8D65F98BBC7B072',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '4584a256-f4e5-4a80-b2ca-007e2a5e467f',
'request-id': '9c674b27-2f95-40e4-9e41-f5d8bde368fc',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask/terminate',
date: 'Tue, 21 Aug 2018 20:25:25 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask/terminate',
date: 'Tue, 11 Dec 2018 18:44:51 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.post('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask/terminate?api-version=2018-08-01.7.0')
nock('https://test3.westcentralus.batch.azure.com:443')
.post('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask/terminate?api-version=2018-12-01.8.0')
.reply(204, "", { 'content-length': '0',
'last-modified': 'Tue, 21 Aug 2018 20:25:25 GMT',
etag: '0x8D607A43A83710D',
'last-modified': 'Tue, 11 Dec 2018 18:44:50 GMT',
etag: '0x8D65F98BBC7B072',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '4584a256-f4e5-4a80-b2ca-007e2a5e467f',
'request-id': '9c674b27-2f95-40e4-9e41-f5d8bde368fc',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask/terminate',
date: 'Tue, 21 Aug 2018 20:25:25 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask/terminate',
date: 'Tue, 11 Dec 2018 18:44:51 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,42 +1,42 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.put('/jobschedules/NodeSDKTestSchedule?api-version=2018-08-01.7.0', '*')
.put('/jobschedules/NodeSDKTestSchedule?api-version=2018-12-01.8.0', '*')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:31:04 GMT',
etag: '0x8D607A504633F37',
'last-modified': 'Tue, 11 Dec 2018 21:04:06 GMT',
etag: '0x8D65FAC2FDE32A1',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'b46b1796-20e7-4c7a-80fb-9ba2d0ba233c',
'request-id': '55b87f1e-724a-457d-85d9-a521959f404c',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule',
date: 'Tue, 21 Aug 2018 20:31:04 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule',
date: 'Tue, 11 Dec 2018 21:04:06 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.put('/jobschedules/NodeSDKTestSchedule?api-version=2018-08-01.7.0', '*')
.put('/jobschedules/NodeSDKTestSchedule?api-version=2018-12-01.8.0', '*')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:31:04 GMT',
etag: '0x8D607A504633F37',
'last-modified': 'Tue, 11 Dec 2018 21:04:06 GMT',
etag: '0x8D65FAC2FDE32A1',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'b46b1796-20e7-4c7a-80fb-9ba2d0ba233c',
'request-id': '55b87f1e-724a-457d-85d9-a521959f404c',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule',
date: 'Tue, 21 Aug 2018 20:31:04 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule',
date: 'Tue, 11 Dec 2018 21:04:06 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,42 +1,42 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.put('/jobs/HelloWorldJobNodeSDKTest?api-version=2018-08-01.7.0', '*')
.put('/jobs/HelloWorldJobNodeSDKTest?api-version=2018-12-01.8.0', '*')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:23 GMT',
etag: '0x8D607A439556CD8',
'last-modified': 'Tue, 11 Dec 2018 18:44:48 GMT',
etag: '0x8D65F98BA87DA55',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'bce42a29-ad74-4a13-8c63-e2fd6e632f70',
'request-id': '779424ed-d3a6-49c3-b9a5-d8ac2b5f30e6',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest',
date: 'Tue, 21 Aug 2018 20:25:23 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest',
date: 'Tue, 11 Dec 2018 18:44:48 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.put('/jobs/HelloWorldJobNodeSDKTest?api-version=2018-08-01.7.0', '*')
.put('/jobs/HelloWorldJobNodeSDKTest?api-version=2018-12-01.8.0', '*')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:23 GMT',
etag: '0x8D607A439556CD8',
'last-modified': 'Tue, 11 Dec 2018 18:44:48 GMT',
etag: '0x8D65F98BA87DA55',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'bce42a29-ad74-4a13-8c63-e2fd6e632f70',
'request-id': '779424ed-d3a6-49c3-b9a5-d8ac2b5f30e6',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest',
date: 'Tue, 21 Aug 2018 20:25:23 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest',
date: 'Tue, 11 Dec 2018 18:44:48 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,42 +1,42 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.put('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2?api-version=2018-08-01.7.0', '*')
.put('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2?api-version=2018-12-01.8.0', '*')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:26 GMT',
etag: '0x8D607A43AD67EAE',
'last-modified': 'Tue, 11 Dec 2018 18:44:52 GMT',
etag: '0x8D65F98BC678828',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'a8732646-11ae-4395-b3a1-7f7bd54de8ef',
'request-id': 'd380e5ed-4438-4111-b911-202f0ac6839c',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2',
date: 'Tue, 21 Aug 2018 20:25:26 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2',
date: 'Tue, 11 Dec 2018 18:44:51 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.put('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2?api-version=2018-08-01.7.0', '*')
.put('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2?api-version=2018-12-01.8.0', '*')
.reply(200, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:26 GMT',
etag: '0x8D607A43AD67EAE',
'last-modified': 'Tue, 11 Dec 2018 18:44:52 GMT',
etag: '0x8D65F98BC678828',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': 'a8732646-11ae-4395-b3a1-7f7bd54de8ef',
'request-id': 'd380e5ed-4438-4111-b911-202f0ac6839c',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2',
date: 'Tue, 21 Aug 2018 20:25:26 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2',
date: 'Tue, 11 Dec 2018 18:44:51 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,42 +1,42 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
nock('http://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools/nodesdktestpool1/updateproperties?api-version=2018-08-01.7.0', '*')
.post('/pools/nodesdktestpool1/updateproperties?api-version=2018-12-01.8.0', '*')
.reply(204, "", { 'content-length': '0',
'last-modified': 'Tue, 21 Aug 2018 20:09:40 GMT',
etag: '0x8D607A207416399',
'last-modified': 'Tue, 11 Dec 2018 18:29:02 GMT',
etag: '0x8D65F968672F1C2',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '4374adc2-2e74-4e9c-bfdb-af083f8742fd',
'request-id': '09bdb137-a587-4c52-8c73-5372d3643400',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/updateproperties',
date: 'Tue, 21 Aug 2018 20:09:40 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/updateproperties',
date: 'Tue, 11 Dec 2018 18:29:02 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
nock('https://test3.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools/nodesdktestpool1/updateproperties?api-version=2018-08-01.7.0', '*')
.post('/pools/nodesdktestpool1/updateproperties?api-version=2018-12-01.8.0', '*')
.reply(204, "", { 'content-length': '0',
'last-modified': 'Tue, 21 Aug 2018 20:09:40 GMT',
etag: '0x8D607A207416399',
'last-modified': 'Tue, 11 Dec 2018 18:29:02 GMT',
etag: '0x8D65F968672F1C2',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '4374adc2-2e74-4e9c-bfdb-af083f8742fd',
'request-id': '09bdb137-a587-4c52-8c73-5372d3643400',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/updateproperties',
date: 'Tue, 21 Aug 2018 20:09:40 GMT',
dataserviceid: 'https://test3.westcentralus.batch.azure.com/pools/nodesdktestpool1/updateproperties',
date: 'Tue, 11 Dec 2018 18:29:02 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,42 +0,0 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
};
exports.scopes = [[function (nock) {
var result =
nock('http://lchency4.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools/nodesdktestpool2/upgradeos?api-version=2018-08-01.7.0', '*')
.reply(202, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:21 GMT',
etag: '0x8D607A437F1E152',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '5c74628c-5de0-4c56-8811-d0135b292044',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool2/upgradeos',
date: 'Tue, 21 Aug 2018 20:25:21 GMT',
connection: 'close' });
return result; },
function (nock) {
var result =
nock('https://lchency4.westcentralus.batch.azure.com:443')
.filteringRequestBody(function (path) { return '*';})
.post('/pools/nodesdktestpool2/upgradeos?api-version=2018-08-01.7.0', '*')
.reply(202, "", { 'transfer-encoding': 'chunked',
'last-modified': 'Tue, 21 Aug 2018 20:25:21 GMT',
etag: '0x8D607A437F1E152',
server: 'Microsoft-HTTPAPI/2.0',
'request-id': '5c74628c-5de0-4c56-8811-d0135b292044',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
'x-content-type-options': 'nosniff',
dataserviceversion: '3.0',
dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool2/upgradeos',
date: 'Tue, 21 Aug 2018 20:25:21 GMT',
connection: 'close' });
return result; }]];

Просмотреть файл

@ -1,9 +1,9 @@
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_BATCH_ACCOUNT'] = 'lchency4';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://lchency4.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = '3ee7eaf5-6a2f-49fd-953f-d760b5ac2e05';
process.env['AZURE_BATCH_ACCOUNT'] = 'test3';
process.env['AZURE_BATCH_ENDPOINT'] = 'https://test3.westcentralus.batch.azure.com';
process.env['AZURE_SUBSCRIPTION_ID'] = 'f30ef677-64a9-4768-934f-5fbbc0e1ad27';
};
exports.scopes = [];

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше