diff --git a/lib/services/batch/LICENSE.txt b/lib/services/batch/LICENSE.txt index a70e8cf66..5431ba98b 100644 --- a/lib/services/batch/LICENSE.txt +++ b/lib/services/batch/LICENSE.txt @@ -1,21 +1,21 @@ -The MIT License (MIT) - -Copyright (c) 2018 Microsoft - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +The MIT License (MIT) + +Copyright (c) 2018 Microsoft + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/lib/services/batch/lib/batchServiceClient.d.ts b/lib/services/batch/lib/batchServiceClient.d.ts index 4cf1bc02b..b3bbdcafc 100644 --- a/lib/services/batch/lib/batchServiceClient.d.ts +++ b/lib/services/batch/lib/batchServiceClient.d.ts @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -32,11 +28,11 @@ export default class BatchServiceClient extends AzureServiceClient { * * @param {boolean} [options.noRetryPolicy] - If set to true, turn off default retry policy * - * @param {string} [options.acceptLanguage] - Gets or sets the preferred language for the response. + * @param {string} [options.acceptLanguage] - The preferred language for the response. * - * @param {number} [options.longRunningOperationRetryTimeout] - Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30. + * @param {number} [options.longRunningOperationRetryTimeout] - The retry timeout in seconds for Long Running Operations. Default value is 30. * - * @param {boolean} [options.generateClientRequestId] - When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. + * @param {boolean} [options.generateClientRequestId] - Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. * */ constructor(credentials: ServiceClientCredentials, baseUri?: string, options?: AzureServiceClientOptions); diff --git a/lib/services/batch/lib/batchServiceClient.js b/lib/services/batch/lib/batchServiceClient.js index 7b9c48074..f92f55014 100644 --- a/lib/services/batch/lib/batchServiceClient.js +++ b/lib/services/batch/lib/batchServiceClient.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -33,9 +29,9 @@ class BatchServiceClient extends ServiceClient { * @param {object} [options.requestOptions] - Options for the underlying request object * {@link https://github.com/request/request#requestoptions-callback Options doc} * @param {boolean} [options.noRetryPolicy] - If set to true, turn off default retry policy - * @param {string} [options.acceptLanguage] - Gets or sets the preferred language for the response. - * @param {number} [options.longRunningOperationRetryTimeout] - Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30. - * @param {boolean} [options.generateClientRequestId] - When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. + * @param {string} [options.acceptLanguage] - The preferred language for the response. + * @param {number} [options.longRunningOperationRetryTimeout] - The retry timeout in seconds for Long Running Operations. Default value is 30. + * @param {boolean} [options.generateClientRequestId] - Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. */ constructor(credentials, baseUri, options) { if (credentials === null || credentials === undefined) { @@ -46,7 +42,7 @@ class BatchServiceClient extends ServiceClient { super(credentials, options); - this.apiVersion = '2018-03-01.6.1'; + this.apiVersion = '2018-08-01.7.0'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.generateClientRequestId = true; diff --git a/lib/services/batch/lib/batchSharedKeyCredentials.js b/lib/services/batch/lib/batchSharedKeyCredentials.js index c15ad1d6d..a0d6eb68a 100644 --- a/lib/services/batch/lib/batchSharedKeyCredentials.js +++ b/lib/services/batch/lib/batchSharedKeyCredentials.js @@ -160,8 +160,7 @@ BatchSharedKeyCredentials.prototype._getCanonicalizedResource = function (webRes var path = '/'; var urlstring = url.parse(webResource.url, true); if (urlstring.pathname) { - // Due to server issue, client has to replace "%5C" and "%2F" in path to "/" before calculation - path = urlstring.pathname.replace(/\%5C/g, '/').replace(/\%2F/g, '/'); + path = urlstring.pathname; } var canonicalizedResource = '/' + this.accountName + path; diff --git a/lib/services/batch/lib/models/accountListNodeAgentSkusNextOptions.js b/lib/services/batch/lib/models/accountListNodeAgentSkusNextOptions.js index 51fa533a4..99793d8d8 100644 --- a/lib/services/batch/lib/models/accountListNodeAgentSkusNextOptions.js +++ b/lib/services/batch/lib/models/accountListNodeAgentSkusNextOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/accountListNodeAgentSkusOptions.js b/lib/services/batch/lib/models/accountListNodeAgentSkusOptions.js index b44ada4f8..faa0da262 100644 --- a/lib/services/batch/lib/models/accountListNodeAgentSkusOptions.js +++ b/lib/services/batch/lib/models/accountListNodeAgentSkusOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/accountListNodeAgentSkusResult.js b/lib/services/batch/lib/models/accountListNodeAgentSkusResult.js index 4ceb5e27c..f9ad3d3b9 100644 --- a/lib/services/batch/lib/models/accountListNodeAgentSkusResult.js +++ b/lib/services/batch/lib/models/accountListNodeAgentSkusResult.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/accountListPoolNodeCountsNextOptions.js b/lib/services/batch/lib/models/accountListPoolNodeCountsNextOptions.js index eb1235963..633f3d66b 100644 --- a/lib/services/batch/lib/models/accountListPoolNodeCountsNextOptions.js +++ b/lib/services/batch/lib/models/accountListPoolNodeCountsNextOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/accountListPoolNodeCountsOptions.js b/lib/services/batch/lib/models/accountListPoolNodeCountsOptions.js index 3d102fec1..4ac8f4ef0 100644 --- a/lib/services/batch/lib/models/accountListPoolNodeCountsOptions.js +++ b/lib/services/batch/lib/models/accountListPoolNodeCountsOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -17,7 +13,9 @@ class AccountListPoolNodeCountsOptions { /** * Create a AccountListPoolNodeCountsOptions. - * @member {string} [filter] An OData $filter clause. + * @member {string} [filter] An OData $filter clause. For more information on + * constructing this filter, see + * https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch. * @member {number} [maxResults] The maximum number of items to return in the * response. Default value: 10 . * @member {number} [timeout] The maximum time that the server can spend diff --git a/lib/services/batch/lib/models/affinityInformation.js b/lib/services/batch/lib/models/affinityInformation.js index a8e35b999..477dff2fe 100644 --- a/lib/services/batch/lib/models/affinityInformation.js +++ b/lib/services/batch/lib/models/affinityInformation.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/applicationGetOptions.js b/lib/services/batch/lib/models/applicationGetOptions.js index 547320700..d6adabe27 100644 --- a/lib/services/batch/lib/models/applicationGetOptions.js +++ b/lib/services/batch/lib/models/applicationGetOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/applicationListNextOptions.js b/lib/services/batch/lib/models/applicationListNextOptions.js index 8586e4d4a..85c392592 100644 --- a/lib/services/batch/lib/models/applicationListNextOptions.js +++ b/lib/services/batch/lib/models/applicationListNextOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/applicationListOptions.js b/lib/services/batch/lib/models/applicationListOptions.js index aa8b410ba..8baa63866 100644 --- a/lib/services/batch/lib/models/applicationListOptions.js +++ b/lib/services/batch/lib/models/applicationListOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/applicationListResult.js b/lib/services/batch/lib/models/applicationListResult.js index c37062d54..906a85093 100644 --- a/lib/services/batch/lib/models/applicationListResult.js +++ b/lib/services/batch/lib/models/applicationListResult.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/applicationPackageReference.js b/lib/services/batch/lib/models/applicationPackageReference.js index 18c11c821..ad9ba22d1 100644 --- a/lib/services/batch/lib/models/applicationPackageReference.js +++ b/lib/services/batch/lib/models/applicationPackageReference.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/applicationSummary.js b/lib/services/batch/lib/models/applicationSummary.js index c6f5010c9..cdb5f5f76 100644 --- a/lib/services/batch/lib/models/applicationSummary.js +++ b/lib/services/batch/lib/models/applicationSummary.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/authenticationTokenSettings.js b/lib/services/batch/lib/models/authenticationTokenSettings.js index 6e1c88b4f..2a65e78a6 100644 --- a/lib/services/batch/lib/models/authenticationTokenSettings.js +++ b/lib/services/batch/lib/models/authenticationTokenSettings.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/autoPoolSpecification.js b/lib/services/batch/lib/models/autoPoolSpecification.js index 85f475bcb..f5c35f856 100644 --- a/lib/services/batch/lib/models/autoPoolSpecification.js +++ b/lib/services/batch/lib/models/autoPoolSpecification.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -39,18 +35,9 @@ class AutoPoolSpecification { * @member {string} [pool.displayName] The display name need not be unique * and can contain any Unicode characters up to a maximum length of 1024. * @member {string} [pool.vmSize] For information about available sizes of - * virtual machines for Cloud Services pools (pools created with - * cloudServiceConfiguration), see Sizes for Cloud Services - * (http://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and - * A2V2. For information about available VM sizes for pools using images from - * the Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with - * premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * virtual machines in pools, see Choose a VM size for compute nodes in an + * Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * @member {object} [pool.cloudServiceConfiguration] This property must be * specified if the pool needs to be created with Azure PaaS VMs. This * property and virtualMachineConfiguration are mutually exclusive and one of @@ -100,7 +87,7 @@ class AutoPoolSpecification { * https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration. * @member {object} [pool.virtualMachineConfiguration.osDisk] * @member {string} [pool.virtualMachineConfiguration.osDisk.caching] The - * default value for caching is none. For information about the caching + * default value for caching is readwrite. For information about the caching * options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' @@ -229,7 +216,10 @@ class AutoPoolSpecification { * such as environment variable expansion. If you want to take advantage of * such features, you should invoke the shell in the command line, for * example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in - * Linux. + * Linux. If the command line refers to file paths, it should use a relative + * path (relative to the task working directory), or use the Batch provided + * environment variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * @member {object} [pool.startTask.containerSettings] When this is * specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR * (the root of Azure Batch directories on the node) are mapped into the @@ -294,6 +284,9 @@ class AutoPoolSpecification { * @member {array} [pool.applicationLicenses] The list of application * licenses must be a subset of available Batch service application licenses. * If a license is requested which is not supported, pool creation will fail. + * The permitted licenses available on the pool are 'maya', 'vray', '3dsmax', + * 'arnold'. An additional charge applies for each application license added + * to the pool. * @member {array} [pool.userAccounts] * @member {array} [pool.metadata] The Batch service does not assign any * meaning to metadata; it is solely for the use of user code. diff --git a/lib/services/batch/lib/models/autoScaleRun.js b/lib/services/batch/lib/models/autoScaleRun.js index f633d5ec8..196bf228f 100644 --- a/lib/services/batch/lib/models/autoScaleRun.js +++ b/lib/services/batch/lib/models/autoScaleRun.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/autoScaleRunError.js b/lib/services/batch/lib/models/autoScaleRunError.js index 1e05bc61e..547c4a6ce 100644 --- a/lib/services/batch/lib/models/autoScaleRunError.js +++ b/lib/services/batch/lib/models/autoScaleRunError.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/autoUserSpecification.js b/lib/services/batch/lib/models/autoUserSpecification.js index 72ffd4cf9..6b81300df 100644 --- a/lib/services/batch/lib/models/autoUserSpecification.js +++ b/lib/services/batch/lib/models/autoUserSpecification.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/batchError.js b/lib/services/batch/lib/models/batchError.js index d6cf927bd..97f8e7ca9 100644 --- a/lib/services/batch/lib/models/batchError.js +++ b/lib/services/batch/lib/models/batchError.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/batchErrorDetail.js b/lib/services/batch/lib/models/batchErrorDetail.js index 5049e0b4d..962a37bd9 100644 --- a/lib/services/batch/lib/models/batchErrorDetail.js +++ b/lib/services/batch/lib/models/batchErrorDetail.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/certificate.js b/lib/services/batch/lib/models/certificate.js index 360317435..21ddefe0f 100644 --- a/lib/services/batch/lib/models/certificate.js +++ b/lib/services/batch/lib/models/certificate.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/certificateAddOptions.js b/lib/services/batch/lib/models/certificateAddOptions.js index 32f473428..61a10e7a1 100644 --- a/lib/services/batch/lib/models/certificateAddOptions.js +++ b/lib/services/batch/lib/models/certificateAddOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/certificateAddParameter.js b/lib/services/batch/lib/models/certificateAddParameter.js index 5cba8cc33..05c94a067 100644 --- a/lib/services/batch/lib/models/certificateAddParameter.js +++ b/lib/services/batch/lib/models/certificateAddParameter.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/certificateCancelDeletionOptions.js b/lib/services/batch/lib/models/certificateCancelDeletionOptions.js index a49180d9f..0239d3e27 100644 --- a/lib/services/batch/lib/models/certificateCancelDeletionOptions.js +++ b/lib/services/batch/lib/models/certificateCancelDeletionOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/certificateDeleteMethodOptions.js b/lib/services/batch/lib/models/certificateDeleteMethodOptions.js index c02d276b2..d0e9ba4bc 100644 --- a/lib/services/batch/lib/models/certificateDeleteMethodOptions.js +++ b/lib/services/batch/lib/models/certificateDeleteMethodOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/certificateGetOptions.js b/lib/services/batch/lib/models/certificateGetOptions.js index 258d13d73..1210366ee 100644 --- a/lib/services/batch/lib/models/certificateGetOptions.js +++ b/lib/services/batch/lib/models/certificateGetOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/certificateListNextOptions.js b/lib/services/batch/lib/models/certificateListNextOptions.js index f9e6b6062..25478bdce 100644 --- a/lib/services/batch/lib/models/certificateListNextOptions.js +++ b/lib/services/batch/lib/models/certificateListNextOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/certificateListOptions.js b/lib/services/batch/lib/models/certificateListOptions.js index b344dd1ac..c1ec4403c 100644 --- a/lib/services/batch/lib/models/certificateListOptions.js +++ b/lib/services/batch/lib/models/certificateListOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/certificateListResult.js b/lib/services/batch/lib/models/certificateListResult.js index 4eb9a31d4..89238abea 100644 --- a/lib/services/batch/lib/models/certificateListResult.js +++ b/lib/services/batch/lib/models/certificateListResult.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/certificateReference.js b/lib/services/batch/lib/models/certificateReference.js index 832367c7c..119d8bd02 100644 --- a/lib/services/batch/lib/models/certificateReference.js +++ b/lib/services/batch/lib/models/certificateReference.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/cloudJob.js b/lib/services/batch/lib/models/cloudJob.js index c11f7d87d..8b1f7f904 100644 --- a/lib/services/batch/lib/models/cloudJob.js +++ b/lib/services/batch/lib/models/cloudJob.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -103,7 +99,12 @@ class CloudJob { * @member {string} [jobManagerTask.containerSettings.registry.userName] * @member {string} [jobManagerTask.containerSettings.registry.password] * @member {array} [jobManagerTask.resourceFiles] Files listed under this - * element are located in the task's working directory. + * element are located in the task's working directory. There is a maximum + * size for the list of resource files. When the max size is exceeded, the + * request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles + * must be reduced in size. This can be achieved using .zip files, + * Application Packages, or Docker Containers. * @member {array} [jobManagerTask.outputFiles] For multi-instance tasks, the * files will only be uploaded from the compute node on which the primary * task is executed. @@ -219,7 +220,12 @@ class CloudJob { * @member {string} [jobPreparationTask.containerSettings.registry.userName] * @member {string} [jobPreparationTask.containerSettings.registry.password] * @member {array} [jobPreparationTask.resourceFiles] Files listed under this - * element are located in the task's working directory. + * element are located in the task's working directory. There is a maximum + * size for the list of resource files. When the max size is exceeded, the + * request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles + * must be reduced in size. This can be achieved using .zip files, + * Application Packages, or Docker Containers. * @member {array} [jobPreparationTask.environmentSettings] * @member {object} [jobPreparationTask.constraints] * @member {moment.duration} @@ -366,19 +372,9 @@ class CloudJob { * display name need not be unique and can contain any Unicode characters up * to a maximum length of 1024. * @member {string} [poolInfo.autoPoolSpecification.pool.vmSize] For - * information about available sizes of virtual machines for Cloud Services - * pools (pools created with cloudServiceConfiguration), see Sizes for Cloud - * Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and - * A2V2. For information about available VM sizes for pools using images from - * the Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with - * premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * information about available sizes of virtual machines in pools, see Choose + * a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * @member {object} * [poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] This * property must be specified if the pool needs to be created with Azure PaaS @@ -439,8 +435,8 @@ class CloudJob { * [poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk] * @member {string} * [poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] - * The default value for caching is none. For information about the caching - * options see: + * The default value for caching is readwrite. For information about the + * caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @member {string} @@ -674,7 +670,9 @@ class CloudJob { * @member {array} [poolInfo.autoPoolSpecification.pool.applicationLicenses] * The list of application licenses must be a subset of available Batch * service application licenses. If a license is requested which is not - * supported, pool creation will fail. + * supported, pool creation will fail. The permitted licenses available on + * the pool are 'maya', 'vray', '3dsmax', 'arnold'. An additional charge + * applies for each application license added to the pool. * @member {array} [poolInfo.autoPoolSpecification.pool.userAccounts] * @member {array} [poolInfo.autoPoolSpecification.pool.metadata] The Batch * service does not assign any meaning to metadata; it is solely for the use diff --git a/lib/services/batch/lib/models/cloudJobListPreparationAndReleaseTaskStatusResult.js b/lib/services/batch/lib/models/cloudJobListPreparationAndReleaseTaskStatusResult.js index c7622b60c..7a9886590 100644 --- a/lib/services/batch/lib/models/cloudJobListPreparationAndReleaseTaskStatusResult.js +++ b/lib/services/batch/lib/models/cloudJobListPreparationAndReleaseTaskStatusResult.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/cloudJobListResult.js b/lib/services/batch/lib/models/cloudJobListResult.js index 62f3cf2e7..d4b7118b5 100644 --- a/lib/services/batch/lib/models/cloudJobListResult.js +++ b/lib/services/batch/lib/models/cloudJobListResult.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/cloudJobSchedule.js b/lib/services/batch/lib/models/cloudJobSchedule.js index 465e04b92..a9b36ba05 100644 --- a/lib/services/batch/lib/models/cloudJobSchedule.js +++ b/lib/services/batch/lib/models/cloudJobSchedule.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -163,6 +159,11 @@ class CloudJobSchedule { * [jobSpecification.jobManagerTask.containerSettings.registry.password] * @member {array} [jobSpecification.jobManagerTask.resourceFiles] Files * listed under this element are located in the task's working directory. + * There is a maximum size for the list of resource files. When the max size + * is exceeded, the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles + * must be reduced in size. This can be achieved using .zip files, + * Application Packages, or Docker Containers. * @member {array} [jobSpecification.jobManagerTask.outputFiles] For * multi-instance tasks, the files will only be uploaded from the compute * node on which the primary task is executed. @@ -292,6 +293,11 @@ class CloudJobSchedule { * [jobSpecification.jobPreparationTask.containerSettings.registry.password] * @member {array} [jobSpecification.jobPreparationTask.resourceFiles] Files * listed under this element are located in the task's working directory. + * There is a maximum size for the list of resource files. When the max size + * is exceeded, the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles + * must be reduced in size. This can be achieved using .zip files, + * Application Packages, or Docker Containers. * @member {array} [jobSpecification.jobPreparationTask.environmentSettings] * @member {object} [jobSpecification.jobPreparationTask.constraints] * @member {moment.duration} @@ -464,19 +470,9 @@ class CloudJobSchedule { * to a maximum length of 1024. * @member {string} * [jobSpecification.poolInfo.autoPoolSpecification.pool.vmSize] For - * information about available sizes of virtual machines for Cloud Services - * pools (pools created with cloudServiceConfiguration), see Sizes for Cloud - * Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and - * A2V2. For information about available VM sizes for pools using images from - * the Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with - * premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * information about available sizes of virtual machines in pools, see Choose + * a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * @member {object} * [jobSpecification.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] * This property must be specified if the pool needs to be created with Azure @@ -537,8 +533,8 @@ class CloudJobSchedule { * [jobSpecification.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk] * @member {string} * [jobSpecification.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] - * The default value for caching is none. For information about the caching - * options see: + * The default value for caching is readwrite. For information about the + * caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @member {string} @@ -778,7 +774,9 @@ class CloudJobSchedule { * [jobSpecification.poolInfo.autoPoolSpecification.pool.applicationLicenses] * The list of application licenses must be a subset of available Batch * service application licenses. If a license is requested which is not - * supported, pool creation will fail. + * supported, pool creation will fail. The permitted licenses available on + * the pool are 'maya', 'vray', '3dsmax', 'arnold'. An additional charge + * applies for each application license added to the pool. * @member {array} * [jobSpecification.poolInfo.autoPoolSpecification.pool.userAccounts] * @member {array} diff --git a/lib/services/batch/lib/models/cloudJobScheduleListResult.js b/lib/services/batch/lib/models/cloudJobScheduleListResult.js index a8e471498..cbde295a5 100644 --- a/lib/services/batch/lib/models/cloudJobScheduleListResult.js +++ b/lib/services/batch/lib/models/cloudJobScheduleListResult.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/cloudPool.js b/lib/services/batch/lib/models/cloudPool.js index f8a184e8f..fc23f74d6 100644 --- a/lib/services/batch/lib/models/cloudPool.js +++ b/lib/services/batch/lib/models/cloudPool.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -48,18 +44,9 @@ class CloudPool { * entered its current allocation state. * @member {string} [vmSize] The size of virtual machines in the pool. All * virtual machines in a pool are the same size. For information about - * available sizes of virtual machines for Cloud Services pools (pools - * created with cloudServiceConfiguration), see Sizes for Cloud Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and - * A2V2. For information about available VM sizes for pools using images from - * the Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with - * premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * available sizes of virtual machines in pools, see Choose a VM size for + * compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * @member {object} [cloudServiceConfiguration] The cloud service * configuration for the pool. This property and virtualMachineConfiguration * are mutually exclusive and one of the properties must be specified. This @@ -102,7 +89,8 @@ class CloudPool { * https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration. * @member {object} [virtualMachineConfiguration.osDisk] * @member {string} [virtualMachineConfiguration.osDisk.caching] The default - * value for caching is none. For information about the caching options see: + * value for caching is readwrite. For information about the caching options + * see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @member {string} [virtualMachineConfiguration.nodeAgentSKUId] The Batch diff --git a/lib/services/batch/lib/models/cloudPoolListResult.js b/lib/services/batch/lib/models/cloudPoolListResult.js index 9e9413c97..1458fc88a 100644 --- a/lib/services/batch/lib/models/cloudPoolListResult.js +++ b/lib/services/batch/lib/models/cloudPoolListResult.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/cloudServiceConfiguration.js b/lib/services/batch/lib/models/cloudServiceConfiguration.js index 15b814789..1960f84ef 100644 --- a/lib/services/batch/lib/models/cloudServiceConfiguration.js +++ b/lib/services/batch/lib/models/cloudServiceConfiguration.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/cloudTask.js b/lib/services/batch/lib/models/cloudTask.js index b8b77ac04..072e0230d 100644 --- a/lib/services/batch/lib/models/cloudTask.js +++ b/lib/services/batch/lib/models/cloudTask.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -147,7 +143,12 @@ class CloudTask { * @member {array} [resourceFiles] A list of files that the Batch service * will download to the compute node before running the command line. For * multi-instance tasks, the resource files will only be downloaded to the - * compute node on which the primary task is executed. + * compute node on which the primary task is executed. There is a maximum + * size for the list of resource files. When the max size is exceeded, the + * request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles + * must be reduced in size. This can be achieved using .zip files, + * Application Packages, or Docker Containers. * @member {array} [outputFiles] A list of files that the Batch service will * upload from the compute node after running the command line. For * multi-instance tasks, the files will only be uploaded from the compute @@ -265,7 +266,11 @@ class CloudTask { * whereas task resource files are downloaded only for the primary. Also note * that these resource files are not downloaded to the task working * directory, but instead are downloaded to the task root directory (one - * directory above the working directory). + * directory above the working directory). There is a maximum size for the + * list of resource files. When the max size is exceeded, the request will + * fail and the response error code will be RequestEntityTooLarge. If this + * occurs, the collection of ResourceFiles must be reduced in size. This can + * be achieved using .zip files, Application Packages, or Docker Containers. * @member {object} [stats] Resource usage statistics for the task. * @member {string} [stats.url] * @member {date} [stats.startTime] diff --git a/lib/services/batch/lib/models/cloudTaskListResult.js b/lib/services/batch/lib/models/cloudTaskListResult.js index ce9c00556..9c686db8d 100644 --- a/lib/services/batch/lib/models/cloudTaskListResult.js +++ b/lib/services/batch/lib/models/cloudTaskListResult.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/cloudTaskListSubtasksResult.js b/lib/services/batch/lib/models/cloudTaskListSubtasksResult.js index eff138230..9b5ade5e1 100644 --- a/lib/services/batch/lib/models/cloudTaskListSubtasksResult.js +++ b/lib/services/batch/lib/models/cloudTaskListSubtasksResult.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/computeNode.js b/lib/services/batch/lib/models/computeNode.js index 5443a8115..d9a9e0e32 100644 --- a/lib/services/batch/lib/models/computeNode.js +++ b/lib/services/batch/lib/models/computeNode.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -49,19 +45,9 @@ class ComputeNode { * unavailable at the time the task is scheduled, then the task will be * scheduled elsewhere. * @member {string} [vmSize] The size of the virtual machine hosting the - * compute node. For information about available sizes of virtual machines - * for Cloud Services pools (pools created with cloudServiceConfiguration), - * see Sizes for Cloud Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and - * A2V2. For information about available VM sizes for pools using images from - * the Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with - * premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * compute node. For information about available sizes of virtual machines in + * pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * @member {number} [totalTasksRun] The total number of job tasks completed * on the compute node. This includes Job Manager tasks and normal tasks, but * not Job Preparation, Job Release or Start tasks. @@ -201,6 +187,13 @@ class ComputeNode { * @member {object} [endpointConfiguration] The endpoint configuration for * the compute node. * @member {array} [endpointConfiguration.inboundEndpoints] + * @member {object} [nodeAgentInfo] Information about the node agent version + * and the time the node upgraded to a new version. + * @member {string} [nodeAgentInfo.version] This version number can be + * checked against the node agent release notes located at + * https://github.com/Azure/Batch/blob/master/changelogs/nodeagent/CHANGELOG.md. + * @member {date} [nodeAgentInfo.lastUpdateTime] This is the most recent time + * that the node agent was updated to a new version. */ constructor() { } @@ -387,6 +380,14 @@ class ComputeNode { name: 'Composite', className: 'ComputeNodeEndpointConfiguration' } + }, + nodeAgentInfo: { + required: false, + serializedName: 'nodeAgentInfo', + type: { + name: 'Composite', + className: 'NodeAgentInformation' + } } } } diff --git a/lib/services/batch/lib/models/computeNodeAddUserOptions.js b/lib/services/batch/lib/models/computeNodeAddUserOptions.js index 50f65be70..dd7bb37ae 100644 --- a/lib/services/batch/lib/models/computeNodeAddUserOptions.js +++ b/lib/services/batch/lib/models/computeNodeAddUserOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/computeNodeDeleteUserOptions.js b/lib/services/batch/lib/models/computeNodeDeleteUserOptions.js index 1fd52818c..47553ed49 100644 --- a/lib/services/batch/lib/models/computeNodeDeleteUserOptions.js +++ b/lib/services/batch/lib/models/computeNodeDeleteUserOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/computeNodeDisableSchedulingOptions.js b/lib/services/batch/lib/models/computeNodeDisableSchedulingOptions.js index dd7c2b514..0e5f8620f 100644 --- a/lib/services/batch/lib/models/computeNodeDisableSchedulingOptions.js +++ b/lib/services/batch/lib/models/computeNodeDisableSchedulingOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/computeNodeEnableSchedulingOptions.js b/lib/services/batch/lib/models/computeNodeEnableSchedulingOptions.js index 7e0e1786e..1bbba26d7 100644 --- a/lib/services/batch/lib/models/computeNodeEnableSchedulingOptions.js +++ b/lib/services/batch/lib/models/computeNodeEnableSchedulingOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/computeNodeEndpointConfiguration.js b/lib/services/batch/lib/models/computeNodeEndpointConfiguration.js index 9b52c9c43..ec546dfc4 100644 --- a/lib/services/batch/lib/models/computeNodeEndpointConfiguration.js +++ b/lib/services/batch/lib/models/computeNodeEndpointConfiguration.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/computeNodeError.js b/lib/services/batch/lib/models/computeNodeError.js index edc12b02a..a92dcf0cd 100644 --- a/lib/services/batch/lib/models/computeNodeError.js +++ b/lib/services/batch/lib/models/computeNodeError.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/computeNodeGetOptions.js b/lib/services/batch/lib/models/computeNodeGetOptions.js index 754c25cb3..a8d048830 100644 --- a/lib/services/batch/lib/models/computeNodeGetOptions.js +++ b/lib/services/batch/lib/models/computeNodeGetOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/computeNodeGetRemoteDesktopOptions.js b/lib/services/batch/lib/models/computeNodeGetRemoteDesktopOptions.js index 65cfb2f3f..1b4551a69 100644 --- a/lib/services/batch/lib/models/computeNodeGetRemoteDesktopOptions.js +++ b/lib/services/batch/lib/models/computeNodeGetRemoteDesktopOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/computeNodeGetRemoteLoginSettingsOptions.js b/lib/services/batch/lib/models/computeNodeGetRemoteLoginSettingsOptions.js index cd6515f5e..6bd9a2507 100644 --- a/lib/services/batch/lib/models/computeNodeGetRemoteLoginSettingsOptions.js +++ b/lib/services/batch/lib/models/computeNodeGetRemoteLoginSettingsOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/computeNodeGetRemoteLoginSettingsResult.js b/lib/services/batch/lib/models/computeNodeGetRemoteLoginSettingsResult.js index 9aabced13..213ba7236 100644 --- a/lib/services/batch/lib/models/computeNodeGetRemoteLoginSettingsResult.js +++ b/lib/services/batch/lib/models/computeNodeGetRemoteLoginSettingsResult.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/computeNodeInformation.js b/lib/services/batch/lib/models/computeNodeInformation.js index 1e656577e..f3db90a5b 100644 --- a/lib/services/batch/lib/models/computeNodeInformation.js +++ b/lib/services/batch/lib/models/computeNodeInformation.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/computeNodeListNextOptions.js b/lib/services/batch/lib/models/computeNodeListNextOptions.js index 728b6d2fa..6cb1cf042 100644 --- a/lib/services/batch/lib/models/computeNodeListNextOptions.js +++ b/lib/services/batch/lib/models/computeNodeListNextOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/computeNodeListOptions.js b/lib/services/batch/lib/models/computeNodeListOptions.js index 886f9bc23..7603f00d7 100644 --- a/lib/services/batch/lib/models/computeNodeListOptions.js +++ b/lib/services/batch/lib/models/computeNodeListOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/computeNodeListResult.js b/lib/services/batch/lib/models/computeNodeListResult.js index 194f7068b..021df8d17 100644 --- a/lib/services/batch/lib/models/computeNodeListResult.js +++ b/lib/services/batch/lib/models/computeNodeListResult.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/computeNodeRebootOptions.js b/lib/services/batch/lib/models/computeNodeRebootOptions.js index 1ab5ddb76..a11b0b21d 100644 --- a/lib/services/batch/lib/models/computeNodeRebootOptions.js +++ b/lib/services/batch/lib/models/computeNodeRebootOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/computeNodeReimageOptions.js b/lib/services/batch/lib/models/computeNodeReimageOptions.js index cf2498028..90a53c8f9 100644 --- a/lib/services/batch/lib/models/computeNodeReimageOptions.js +++ b/lib/services/batch/lib/models/computeNodeReimageOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/computeNodeUpdateUserOptions.js b/lib/services/batch/lib/models/computeNodeUpdateUserOptions.js index 5be43b9db..9ad8f6b34 100644 --- a/lib/services/batch/lib/models/computeNodeUpdateUserOptions.js +++ b/lib/services/batch/lib/models/computeNodeUpdateUserOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/computeNodeUploadBatchServiceLogsOptions.js b/lib/services/batch/lib/models/computeNodeUploadBatchServiceLogsOptions.js index b84666aa5..2616f5a2f 100644 --- a/lib/services/batch/lib/models/computeNodeUploadBatchServiceLogsOptions.js +++ b/lib/services/batch/lib/models/computeNodeUploadBatchServiceLogsOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/computeNodeUser.js b/lib/services/batch/lib/models/computeNodeUser.js index f7dc170d5..06a9c420b 100644 --- a/lib/services/batch/lib/models/computeNodeUser.js +++ b/lib/services/batch/lib/models/computeNodeUser.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/containerConfiguration.js b/lib/services/batch/lib/models/containerConfiguration.js index 22df0c273..604fe0689 100644 --- a/lib/services/batch/lib/models/containerConfiguration.js +++ b/lib/services/batch/lib/models/containerConfiguration.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -49,7 +45,7 @@ class ContainerConfiguration { required: true, isConstant: true, serializedName: 'type', - defaultValue: 'docker', + defaultValue: 'dockerCompatible', type: { name: 'String' } diff --git a/lib/services/batch/lib/models/containerRegistry.js b/lib/services/batch/lib/models/containerRegistry.js index 77cdf09c7..56ea676a6 100644 --- a/lib/services/batch/lib/models/containerRegistry.js +++ b/lib/services/batch/lib/models/containerRegistry.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/dataDisk.js b/lib/services/batch/lib/models/dataDisk.js index 094aec003..6f2b04033 100644 --- a/lib/services/batch/lib/models/dataDisk.js +++ b/lib/services/batch/lib/models/dataDisk.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -22,8 +18,8 @@ class DataDisk { * identify each data disk. If attaching multiple disks, each should have a * distinct lun. * @member {string} [caching] The type of caching to be enabled for the data - * disks. The default value for caching is none. For information about the - * caching options see: + * disks. The default value for caching is readwrite. For information about + * the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @member {number} diskSizeGB The initial disk size in gigabytes. diff --git a/lib/services/batch/lib/models/deleteCertificateError.js b/lib/services/batch/lib/models/deleteCertificateError.js index ab3fc90fb..aba9e53e9 100644 --- a/lib/services/batch/lib/models/deleteCertificateError.js +++ b/lib/services/batch/lib/models/deleteCertificateError.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/environmentSetting.js b/lib/services/batch/lib/models/environmentSetting.js index ec9e7842c..a3f80c920 100644 --- a/lib/services/batch/lib/models/environmentSetting.js +++ b/lib/services/batch/lib/models/environmentSetting.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/errorMessage.js b/lib/services/batch/lib/models/errorMessage.js index 982b23457..2cb6fa746 100644 --- a/lib/services/batch/lib/models/errorMessage.js +++ b/lib/services/batch/lib/models/errorMessage.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/exitCodeMapping.js b/lib/services/batch/lib/models/exitCodeMapping.js index a09d9b025..66b1564ef 100644 --- a/lib/services/batch/lib/models/exitCodeMapping.js +++ b/lib/services/batch/lib/models/exitCodeMapping.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/exitCodeRangeMapping.js b/lib/services/batch/lib/models/exitCodeRangeMapping.js index 1b6520f16..69d81c29b 100644 --- a/lib/services/batch/lib/models/exitCodeRangeMapping.js +++ b/lib/services/batch/lib/models/exitCodeRangeMapping.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/exitConditions.js b/lib/services/batch/lib/models/exitConditions.js index edb2ef918..e2c75d7cc 100644 --- a/lib/services/batch/lib/models/exitConditions.js +++ b/lib/services/batch/lib/models/exitConditions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/exitOptions.js b/lib/services/batch/lib/models/exitOptions.js index 9b3bb458e..eb25de22c 100644 --- a/lib/services/batch/lib/models/exitOptions.js +++ b/lib/services/batch/lib/models/exitOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/fileDeleteFromComputeNodeOptions.js b/lib/services/batch/lib/models/fileDeleteFromComputeNodeOptions.js index faa534545..9da184c03 100644 --- a/lib/services/batch/lib/models/fileDeleteFromComputeNodeOptions.js +++ b/lib/services/batch/lib/models/fileDeleteFromComputeNodeOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/fileDeleteFromTaskOptions.js b/lib/services/batch/lib/models/fileDeleteFromTaskOptions.js index 2ce0af06f..fff17b896 100644 --- a/lib/services/batch/lib/models/fileDeleteFromTaskOptions.js +++ b/lib/services/batch/lib/models/fileDeleteFromTaskOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/fileGetFromComputeNodeOptions.js b/lib/services/batch/lib/models/fileGetFromComputeNodeOptions.js index ea2c54020..1bd9f9c46 100644 --- a/lib/services/batch/lib/models/fileGetFromComputeNodeOptions.js +++ b/lib/services/batch/lib/models/fileGetFromComputeNodeOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/fileGetFromTaskOptions.js b/lib/services/batch/lib/models/fileGetFromTaskOptions.js index 190dbfe02..50a35b5af 100644 --- a/lib/services/batch/lib/models/fileGetFromTaskOptions.js +++ b/lib/services/batch/lib/models/fileGetFromTaskOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/fileGetPropertiesFromComputeNodeOptions.js b/lib/services/batch/lib/models/fileGetPropertiesFromComputeNodeOptions.js index 199eb0df6..6f2e77fdd 100644 --- a/lib/services/batch/lib/models/fileGetPropertiesFromComputeNodeOptions.js +++ b/lib/services/batch/lib/models/fileGetPropertiesFromComputeNodeOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/fileGetPropertiesFromTaskOptions.js b/lib/services/batch/lib/models/fileGetPropertiesFromTaskOptions.js index 8bfb841ab..35f26fc9d 100644 --- a/lib/services/batch/lib/models/fileGetPropertiesFromTaskOptions.js +++ b/lib/services/batch/lib/models/fileGetPropertiesFromTaskOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/fileListFromComputeNodeNextOptions.js b/lib/services/batch/lib/models/fileListFromComputeNodeNextOptions.js index 5d38496aa..32ea4a754 100644 --- a/lib/services/batch/lib/models/fileListFromComputeNodeNextOptions.js +++ b/lib/services/batch/lib/models/fileListFromComputeNodeNextOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/fileListFromComputeNodeOptions.js b/lib/services/batch/lib/models/fileListFromComputeNodeOptions.js index 46da36e36..67c525228 100644 --- a/lib/services/batch/lib/models/fileListFromComputeNodeOptions.js +++ b/lib/services/batch/lib/models/fileListFromComputeNodeOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/fileListFromTaskNextOptions.js b/lib/services/batch/lib/models/fileListFromTaskNextOptions.js index 30a2d2d95..9137c1acb 100644 --- a/lib/services/batch/lib/models/fileListFromTaskNextOptions.js +++ b/lib/services/batch/lib/models/fileListFromTaskNextOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/fileListFromTaskOptions.js b/lib/services/batch/lib/models/fileListFromTaskOptions.js index 6f8d5e23c..06899d399 100644 --- a/lib/services/batch/lib/models/fileListFromTaskOptions.js +++ b/lib/services/batch/lib/models/fileListFromTaskOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/fileProperties.js b/lib/services/batch/lib/models/fileProperties.js index 588043307..ffa1a1180 100644 --- a/lib/services/batch/lib/models/fileProperties.js +++ b/lib/services/batch/lib/models/fileProperties.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/imageReference.js b/lib/services/batch/lib/models/imageReference.js index 0f98dcd77..95eadc5aa 100644 --- a/lib/services/batch/lib/models/imageReference.js +++ b/lib/services/batch/lib/models/imageReference.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/inboundEndpoint.js b/lib/services/batch/lib/models/inboundEndpoint.js index f5bf0aff1..ca6167252 100644 --- a/lib/services/batch/lib/models/inboundEndpoint.js +++ b/lib/services/batch/lib/models/inboundEndpoint.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/inboundNATPool.js b/lib/services/batch/lib/models/inboundNATPool.js index 16d84ea11..f5683d2e4 100644 --- a/lib/services/batch/lib/models/inboundNATPool.js +++ b/lib/services/batch/lib/models/inboundNATPool.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/index.d.ts b/lib/services/batch/lib/models/index.d.ts index 4ab416992..4c1b8e641 100644 --- a/lib/services/batch/lib/models/index.d.ts +++ b/lib/services/batch/lib/models/index.d.ts @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -31,16 +27,7 @@ export { CloudError } from 'ms-rest-azure'; * @member {string} vmSize The size of virtual machines in the pool. All VMs in * a pool are the same size. For information about available sizes of virtual * machines in pools, see Choose a VM size for compute nodes in an Azure Batch - * pool (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). Batch - * supports all Cloud Services VM sizes except ExtraSmall, STANDARD_A1_V2 and - * STANDARD_A2_V2. For information about available VM sizes for pools using - * images from the Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * pool (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * @member {number} totalCoreHours The total core hours used in the pool during * this aggregation interval. * @member {number} dataIngressGiB The cross data center network ingress to the @@ -1157,7 +1144,12 @@ export interface OutputFile { * @member {string} [containerSettings.registry.password] * @member {array} [resourceFiles] A list of files that the Batch service will * download to the compute node before running the command line. Files listed - * under this element are located in the task's working directory. + * under this element are located in the task's working directory. There is a + * maximum size for the list of resource files. When the max size is exceeded, + * the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must + * be reduced in size. This can be achieved using .zip files, Application + * Packages, or Docker Containers. * @member {array} [outputFiles] A list of files that the Batch service will * upload from the compute node after running the command line. For * multi-instance tasks, the files will only be uploaded from the compute node @@ -1325,7 +1317,12 @@ export interface JobManagerTask { * @member {string} [containerSettings.registry.password] * @member {array} [resourceFiles] A list of files that the Batch service will * download to the compute node before running the command line. Files listed - * under this element are located in the task's working directory. + * under this element are located in the task's working directory. There is a + * maximum size for the list of resource files. When the max size is exceeded, + * the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must + * be reduced in size. This can be achieved using .zip files, Application + * Packages, or Docker Containers. * @member {array} [environmentSettings] A list of environment variable * settings for the Job Preparation task. * @member {object} [constraints] Constraints that apply to the Job Preparation @@ -1451,8 +1448,13 @@ export interface JobPreparationTask { * @member {string} [containerSettings.registry.userName] * @member {string} [containerSettings.registry.password] * @member {array} [resourceFiles] A list of files that the Batch service will - * download to the compute node before running the command line. Files listed - * under this element are located in the task's working directory. + * download to the compute node before running the command line. There is a + * maximum size for the list of resource files. When the max size is exceeded, + * the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must + * be reduced in size. This can be achieved using .zip files, Application + * Packages, or Docker Containers. Files listed under this element are located + * in the task's working directory. * @member {array} [environmentSettings] A list of environment variable * settings for the Job Release task. * @member {moment.duration} [maxWallClockTime] The maximum elapsed time that @@ -1549,8 +1551,13 @@ export interface TaskSchedulingPolicy { * @member {string} [containerSettings.registry.userName] * @member {string} [containerSettings.registry.password] * @member {array} [resourceFiles] A list of files that the Batch service will - * download to the compute node before running the command line. Files listed - * under this element are located in the task's working directory. + * download to the compute node before running the command line. There is a + * maximum size for the list of resource files. When the max size is exceeded, + * the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must + * be reduced in size. This can be achieved using .zip files, Application + * Packages, or Docker Containers. Files listed under this element are located + * in the task's working directory. * @member {array} [environmentSettings] A list of environment variable * settings for the start task. * @member {object} [userIdentity] The user identity under which the start task @@ -1689,8 +1696,8 @@ export interface CloudServiceConfiguration { * @summary Settings for the operating system disk of the virtual machine. * * @member {string} [caching] The type of caching to enable for the OS disk. - * The default value for caching is none. For information about the caching - * options see: + * The default value for caching is readwrite. For information about the + * caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' */ @@ -1722,7 +1729,7 @@ export interface WindowsConfiguration { * identify each data disk. If attaching multiple disks, each should have a * distinct lun. * @member {string} [caching] The type of caching to be enabled for the data - * disks. The default value for caching is none. For information about the + * disks. The default value for caching is readwrite. For information about the * caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' @@ -1784,8 +1791,8 @@ export interface ContainerConfiguration { * https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration. * @member {object} [osDisk] Settings for the operating system disk of the * Virtual Machine. - * @member {string} [osDisk.caching] The default value for caching is none. For - * information about the caching options see: + * @member {string} [osDisk.caching] The default value for caching is + * readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @member {string} nodeAgentSKUId The SKU of the Batch node agent to be @@ -1991,18 +1998,9 @@ export interface NetworkConfiguration { * maximum length of 1024. * @member {string} vmSize The size of the virtual machines in the pool. All * virtual machines in a pool are the same size. For information about - * available sizes of virtual machines for Cloud Services pools (pools created - * with cloudServiceConfiguration), see Sizes for Cloud Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * available sizes of virtual machines in pools, see Choose a VM size for + * compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * @member {object} [cloudServiceConfiguration] The cloud service configuration * for the pool. This property must be specified if the pool needs to be * created with Azure PaaS VMs. This property and virtualMachineConfiguration @@ -2051,7 +2049,8 @@ export interface NetworkConfiguration { * https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration. * @member {object} [virtualMachineConfiguration.osDisk] * @member {string} [virtualMachineConfiguration.osDisk.caching] The default - * value for caching is none. For information about the caching options see: + * value for caching is readwrite. For information about the caching options + * see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @member {string} [virtualMachineConfiguration.nodeAgentSKUId] The Batch node @@ -2251,7 +2250,9 @@ export interface NetworkConfiguration { * Batch service will make available on each compute node in the pool. The list * of application licenses must be a subset of available Batch service * application licenses. If a license is requested which is not supported, pool - * creation will fail. + * creation will fail. The permitted licenses available on the pool are 'maya', + * 'vray', '3dsmax', 'arnold'. An additional charge applies for each + * application license added to the pool. * @member {array} [userAccounts] The list of user accounts to be created on * each node in the pool. * @member {array} [metadata] A list of name-value pairs associated with the @@ -2306,18 +2307,9 @@ export interface PoolSpecification { * @member {string} [pool.displayName] The display name need not be unique and * can contain any Unicode characters up to a maximum length of 1024. * @member {string} [pool.vmSize] For information about available sizes of - * virtual machines for Cloud Services pools (pools created with - * cloudServiceConfiguration), see Sizes for Cloud Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * virtual machines in pools, see Choose a VM size for compute nodes in an + * Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * @member {object} [pool.cloudServiceConfiguration] This property must be * specified if the pool needs to be created with Azure PaaS VMs. This property * and virtualMachineConfiguration are mutually exclusive and one of the @@ -2365,8 +2357,8 @@ export interface PoolSpecification { * https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration. * @member {object} [pool.virtualMachineConfiguration.osDisk] * @member {string} [pool.virtualMachineConfiguration.osDisk.caching] The - * default value for caching is none. For information about the caching options - * see: + * default value for caching is readwrite. For information about the caching + * options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @member {string} [pool.virtualMachineConfiguration.nodeAgentSKUId] The Batch @@ -2558,7 +2550,10 @@ export interface PoolSpecification { * @member {array} [pool.applicationPackageReferences] * @member {array} [pool.applicationLicenses] The list of application licenses * must be a subset of available Batch service application licenses. If a - * license is requested which is not supported, pool creation will fail. + * license is requested which is not supported, pool creation will fail. The + * permitted licenses available on the pool are 'maya', 'vray', '3dsmax', + * 'arnold'. An additional charge applies for each application license added to + * the pool. * @member {array} [pool.userAccounts] * @member {array} [pool.metadata] The Batch service does not assign any * meaning to metadata; it is solely for the use of user code. @@ -2610,18 +2605,9 @@ export interface AutoPoolSpecification { * need not be unique and can contain any Unicode characters up to a maximum * length of 1024. * @member {string} [autoPoolSpecification.pool.vmSize] For information about - * available sizes of virtual machines for Cloud Services pools (pools created - * with cloudServiceConfiguration), see Sizes for Cloud Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * available sizes of virtual machines in pools, see Choose a VM size for + * compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * @member {object} [autoPoolSpecification.pool.cloudServiceConfiguration] This * property must be specified if the pool needs to be created with Azure PaaS * VMs. This property and virtualMachineConfiguration are mutually exclusive @@ -2679,8 +2665,8 @@ export interface AutoPoolSpecification { * [autoPoolSpecification.pool.virtualMachineConfiguration.osDisk] * @member {string} * [autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] The - * default value for caching is none. For information about the caching options - * see: + * default value for caching is readwrite. For information about the caching + * options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @member {string} @@ -2893,7 +2879,9 @@ export interface AutoPoolSpecification { * @member {array} [autoPoolSpecification.pool.applicationLicenses] The list of * application licenses must be a subset of available Batch service application * licenses. If a license is requested which is not supported, pool creation - * will fail. + * will fail. The permitted licenses available on the pool are 'maya', 'vray', + * '3dsmax', 'arnold'. An additional charge applies for each application + * license added to the pool. * @member {array} [autoPoolSpecification.pool.userAccounts] * @member {array} [autoPoolSpecification.pool.metadata] The Batch service does * not assign any meaning to metadata; it is solely for the use of user code. @@ -2991,7 +2979,11 @@ export interface PoolInformation { * @member {string} [jobManagerTask.containerSettings.registry.userName] * @member {string} [jobManagerTask.containerSettings.registry.password] * @member {array} [jobManagerTask.resourceFiles] Files listed under this - * element are located in the task's working directory. + * element are located in the task's working directory. There is a maximum size + * for the list of resource files. When the max size is exceeded, the request + * will fail and the response error code will be RequestEntityTooLarge. If this + * occurs, the collection of ResourceFiles must be reduced in size. This can be + * achieved using .zip files, Application Packages, or Docker Containers. * @member {array} [jobManagerTask.outputFiles] For multi-instance tasks, the * files will only be uploaded from the compute node on which the primary task * is executed. @@ -3105,7 +3097,12 @@ export interface PoolInformation { * @member {string} [jobPreparationTask.containerSettings.registry.userName] * @member {string} [jobPreparationTask.containerSettings.registry.password] * @member {array} [jobPreparationTask.resourceFiles] Files listed under this - * element are located in the task's working directory. + * element are located in the task's working directory. There is a maximum + * size for the list of resource files. When the max size is exceeded, the + * request will fail and the response error code will be RequestEntityTooLarge. + * If this occurs, the collection of ResourceFiles must be reduced in size. + * This can be achieved using .zip files, Application Packages, or Docker + * Containers. * @member {array} [jobPreparationTask.environmentSettings] * @member {object} [jobPreparationTask.constraints] * @member {moment.duration} [jobPreparationTask.constraints.maxWallClockTime] @@ -3254,19 +3251,9 @@ export interface PoolInformation { * display name need not be unique and can contain any Unicode characters up to * a maximum length of 1024. * @member {string} [poolInfo.autoPoolSpecification.pool.vmSize] For - * information about available sizes of virtual machines for Cloud Services - * pools (pools created with cloudServiceConfiguration), see Sizes for Cloud - * Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * information about available sizes of virtual machines in pools, see Choose a + * VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * @member {object} * [poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] This * property must be specified if the pool needs to be created with Azure PaaS @@ -3327,8 +3314,8 @@ export interface PoolInformation { * [poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk] * @member {string} * [poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] - * The default value for caching is none. For information about the caching - * options see: + * The default value for caching is readwrite. For information about the + * caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @member {string} @@ -3552,7 +3539,9 @@ export interface PoolInformation { * @member {array} [poolInfo.autoPoolSpecification.pool.applicationLicenses] * The list of application licenses must be a subset of available Batch service * application licenses. If a license is requested which is not supported, pool - * creation will fail. + * creation will fail. The permitted licenses available on the pool are 'maya', + * 'vray', '3dsmax', 'arnold'. An additional charge applies for each + * application license added to the pool. * @member {array} [poolInfo.autoPoolSpecification.pool.userAccounts] * @member {array} [poolInfo.autoPoolSpecification.pool.metadata] The Batch * service does not assign any meaning to metadata; it is solely for the use of @@ -3825,7 +3814,12 @@ export interface JobScheduleStatistics { * @member {string} * [jobSpecification.jobManagerTask.containerSettings.registry.password] * @member {array} [jobSpecification.jobManagerTask.resourceFiles] Files listed - * under this element are located in the task's working directory. + * under this element are located in the task's working directory. There is a + * maximum size for the list of resource files. When the max size is exceeded, + * the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must + * be reduced in size. This can be achieved using .zip files, Application + * Packages, or Docker Containers. * @member {array} [jobSpecification.jobManagerTask.outputFiles] For * multi-instance tasks, the files will only be uploaded from the compute node * on which the primary task is executed. @@ -3952,6 +3946,11 @@ export interface JobScheduleStatistics { * [jobSpecification.jobPreparationTask.containerSettings.registry.password] * @member {array} [jobSpecification.jobPreparationTask.resourceFiles] Files * listed under this element are located in the task's working directory. + * There is a maximum size for the list of resource files. When the max size + * is exceeded, the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must + * be reduced in size. This can be achieved using .zip files, Application + * Packages, or Docker Containers. * @member {array} [jobSpecification.jobPreparationTask.environmentSettings] * @member {object} [jobSpecification.jobPreparationTask.constraints] * @member {moment.duration} @@ -4116,19 +4115,9 @@ export interface JobScheduleStatistics { * a maximum length of 1024. * @member {string} * [jobSpecification.poolInfo.autoPoolSpecification.pool.vmSize] For - * information about available sizes of virtual machines for Cloud Services - * pools (pools created with cloudServiceConfiguration), see Sizes for Cloud - * Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * information about available sizes of virtual machines in pools, see Choose a + * VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * @member {object} * [jobSpecification.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] * This property must be specified if the pool needs to be created with Azure @@ -4189,8 +4178,8 @@ export interface JobScheduleStatistics { * [jobSpecification.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk] * @member {string} * [jobSpecification.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] - * The default value for caching is none. For information about the caching - * options see: + * The default value for caching is readwrite. For information about the + * caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @member {string} @@ -4424,7 +4413,9 @@ export interface JobScheduleStatistics { * [jobSpecification.poolInfo.autoPoolSpecification.pool.applicationLicenses] * The list of application licenses must be a subset of available Batch service * application licenses. If a license is requested which is not supported, pool - * creation will fail. + * creation will fail. The permitted licenses available on the pool are 'maya', + * 'vray', '3dsmax', 'arnold'. An additional charge applies for each + * application license added to the pool. * @member {array} * [jobSpecification.poolInfo.autoPoolSpecification.pool.userAccounts] * @member {array} @@ -4617,7 +4608,12 @@ export interface CloudJobSchedule { * @member {string} * [jobSpecification.jobManagerTask.containerSettings.registry.password] * @member {array} [jobSpecification.jobManagerTask.resourceFiles] Files listed - * under this element are located in the task's working directory. + * under this element are located in the task's working directory. There is a + * maximum size for the list of resource files. When the max size is exceeded, + * the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must + * be reduced in size. This can be achieved using .zip files, Application + * Packages, or Docker Containers. * @member {array} [jobSpecification.jobManagerTask.outputFiles] For * multi-instance tasks, the files will only be uploaded from the compute node * on which the primary task is executed. @@ -4744,6 +4740,11 @@ export interface CloudJobSchedule { * [jobSpecification.jobPreparationTask.containerSettings.registry.password] * @member {array} [jobSpecification.jobPreparationTask.resourceFiles] Files * listed under this element are located in the task's working directory. + * There is a maximum size for the list of resource files. When the max size + * is exceeded, the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must + * be reduced in size. This can be achieved using .zip files, Application + * Packages, or Docker Containers. * @member {array} [jobSpecification.jobPreparationTask.environmentSettings] * @member {object} [jobSpecification.jobPreparationTask.constraints] * @member {moment.duration} @@ -4908,19 +4909,9 @@ export interface CloudJobSchedule { * a maximum length of 1024. * @member {string} * [jobSpecification.poolInfo.autoPoolSpecification.pool.vmSize] For - * information about available sizes of virtual machines for Cloud Services - * pools (pools created with cloudServiceConfiguration), see Sizes for Cloud - * Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * information about available sizes of virtual machines in pools, see Choose a + * VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * @member {object} * [jobSpecification.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] * This property must be specified if the pool needs to be created with Azure @@ -4981,8 +4972,8 @@ export interface CloudJobSchedule { * [jobSpecification.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk] * @member {string} * [jobSpecification.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] - * The default value for caching is none. For information about the caching - * options see: + * The default value for caching is readwrite. For information about the + * caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @member {string} @@ -5216,7 +5207,9 @@ export interface CloudJobSchedule { * [jobSpecification.poolInfo.autoPoolSpecification.pool.applicationLicenses] * The list of application licenses must be a subset of available Batch service * application licenses. If a license is requested which is not supported, pool - * creation will fail. + * creation will fail. The permitted licenses available on the pool are 'maya', + * 'vray', '3dsmax', 'arnold'. An additional charge applies for each + * application license added to the pool. * @member {array} * [jobSpecification.poolInfo.autoPoolSpecification.pool.userAccounts] * @member {array} @@ -5394,7 +5387,11 @@ export interface JobExecutionInformation { * @member {string} [jobManagerTask.containerSettings.registry.userName] * @member {string} [jobManagerTask.containerSettings.registry.password] * @member {array} [jobManagerTask.resourceFiles] Files listed under this - * element are located in the task's working directory. + * element are located in the task's working directory. There is a maximum size + * for the list of resource files. When the max size is exceeded, the request + * will fail and the response error code will be RequestEntityTooLarge. If this + * occurs, the collection of ResourceFiles must be reduced in size. This can be + * achieved using .zip files, Application Packages, or Docker Containers. * @member {array} [jobManagerTask.outputFiles] For multi-instance tasks, the * files will only be uploaded from the compute node on which the primary task * is executed. @@ -5507,7 +5504,12 @@ export interface JobExecutionInformation { * @member {string} [jobPreparationTask.containerSettings.registry.userName] * @member {string} [jobPreparationTask.containerSettings.registry.password] * @member {array} [jobPreparationTask.resourceFiles] Files listed under this - * element are located in the task's working directory. + * element are located in the task's working directory. There is a maximum + * size for the list of resource files. When the max size is exceeded, the + * request will fail and the response error code will be RequestEntityTooLarge. + * If this occurs, the collection of ResourceFiles must be reduced in size. + * This can be achieved using .zip files, Application Packages, or Docker + * Containers. * @member {array} [jobPreparationTask.environmentSettings] * @member {object} [jobPreparationTask.constraints] * @member {moment.duration} [jobPreparationTask.constraints.maxWallClockTime] @@ -5650,19 +5652,9 @@ export interface JobExecutionInformation { * display name need not be unique and can contain any Unicode characters up to * a maximum length of 1024. * @member {string} [poolInfo.autoPoolSpecification.pool.vmSize] For - * information about available sizes of virtual machines for Cloud Services - * pools (pools created with cloudServiceConfiguration), see Sizes for Cloud - * Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * information about available sizes of virtual machines in pools, see Choose a + * VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * @member {object} * [poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] This * property must be specified if the pool needs to be created with Azure PaaS @@ -5723,8 +5715,8 @@ export interface JobExecutionInformation { * [poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk] * @member {string} * [poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] - * The default value for caching is none. For information about the caching - * options see: + * The default value for caching is readwrite. For information about the + * caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @member {string} @@ -5948,7 +5940,9 @@ export interface JobExecutionInformation { * @member {array} [poolInfo.autoPoolSpecification.pool.applicationLicenses] * The list of application licenses must be a subset of available Batch service * application licenses. If a license is requested which is not supported, pool - * creation will fail. + * creation will fail. The permitted licenses available on the pool are 'maya', + * 'vray', '3dsmax', 'arnold'. An additional charge applies for each + * application license added to the pool. * @member {array} [poolInfo.autoPoolSpecification.pool.userAccounts] * @member {array} [poolInfo.autoPoolSpecification.pool.metadata] The Batch * service does not assign any meaning to metadata; it is solely for the use of @@ -6129,7 +6123,11 @@ export interface CloudJob { * @member {string} [jobManagerTask.containerSettings.registry.userName] * @member {string} [jobManagerTask.containerSettings.registry.password] * @member {array} [jobManagerTask.resourceFiles] Files listed under this - * element are located in the task's working directory. + * element are located in the task's working directory. There is a maximum size + * for the list of resource files. When the max size is exceeded, the request + * will fail and the response error code will be RequestEntityTooLarge. If this + * occurs, the collection of ResourceFiles must be reduced in size. This can be + * achieved using .zip files, Application Packages, or Docker Containers. * @member {array} [jobManagerTask.outputFiles] For multi-instance tasks, the * files will only be uploaded from the compute node on which the primary task * is executed. @@ -6243,7 +6241,12 @@ export interface CloudJob { * @member {string} [jobPreparationTask.containerSettings.registry.userName] * @member {string} [jobPreparationTask.containerSettings.registry.password] * @member {array} [jobPreparationTask.resourceFiles] Files listed under this - * element are located in the task's working directory. + * element are located in the task's working directory. There is a maximum + * size for the list of resource files. When the max size is exceeded, the + * request will fail and the response error code will be RequestEntityTooLarge. + * If this occurs, the collection of ResourceFiles must be reduced in size. + * This can be achieved using .zip files, Application Packages, or Docker + * Containers. * @member {array} [jobPreparationTask.environmentSettings] * @member {object} [jobPreparationTask.constraints] * @member {moment.duration} [jobPreparationTask.constraints.maxWallClockTime] @@ -6391,19 +6394,9 @@ export interface CloudJob { * display name need not be unique and can contain any Unicode characters up to * a maximum length of 1024. * @member {string} [poolInfo.autoPoolSpecification.pool.vmSize] For - * information about available sizes of virtual machines for Cloud Services - * pools (pools created with cloudServiceConfiguration), see Sizes for Cloud - * Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * information about available sizes of virtual machines in pools, see Choose a + * VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * @member {object} * [poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] This * property must be specified if the pool needs to be created with Azure PaaS @@ -6464,8 +6457,8 @@ export interface CloudJob { * [poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk] * @member {string} * [poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] - * The default value for caching is none. For information about the caching - * options see: + * The default value for caching is readwrite. For information about the + * caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @member {string} @@ -6689,7 +6682,9 @@ export interface CloudJob { * @member {array} [poolInfo.autoPoolSpecification.pool.applicationLicenses] * The list of application licenses must be a subset of available Batch service * application licenses. If a license is requested which is not supported, pool - * creation will fail. + * creation will fail. The permitted licenses available on the pool are 'maya', + * 'vray', '3dsmax', 'arnold'. An additional charge applies for each + * application license added to the pool. * @member {array} [poolInfo.autoPoolSpecification.pool.userAccounts] * @member {array} [poolInfo.autoPoolSpecification.pool.metadata] The Batch * service does not assign any meaning to metadata; it is solely for the use of @@ -7033,8 +7028,6 @@ export interface JobPreparationAndReleaseTaskExecutionInformation { * succeeds if its result (found in the executionInfo property) is 'success'. * @member {number} failed The number of tasks which failed. A task fails if * its result (found in the executionInfo property) is 'failure'. - * @member {string} validationStatus Whether the task counts have been - * validated. Possible values include: 'validated', 'unvalidated' */ export interface TaskCounts { active: number; @@ -7042,7 +7035,6 @@ export interface TaskCounts { completed: number; succeeded: number; failed: number; - validationStatus: string; } /** @@ -7143,18 +7135,9 @@ export interface ResizeError { * entered its current allocation state. * @member {string} [vmSize] The size of virtual machines in the pool. All * virtual machines in a pool are the same size. For information about - * available sizes of virtual machines for Cloud Services pools (pools created - * with cloudServiceConfiguration), see Sizes for Cloud Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * available sizes of virtual machines in pools, see Choose a VM size for + * compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * @member {object} [cloudServiceConfiguration] The cloud service configuration * for the pool. This property and virtualMachineConfiguration are mutually * exclusive and one of the properties must be specified. This property cannot @@ -7196,7 +7179,8 @@ export interface ResizeError { * https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration. * @member {object} [virtualMachineConfiguration.osDisk] * @member {string} [virtualMachineConfiguration.osDisk.caching] The default - * value for caching is none. For information about the caching options see: + * value for caching is readwrite. For information about the caching options + * see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @member {string} [virtualMachineConfiguration.nodeAgentSKUId] The Batch node @@ -7536,7 +7520,8 @@ export interface CloudPool { * https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration. * @member {object} [virtualMachineConfiguration.osDisk] * @member {string} [virtualMachineConfiguration.osDisk.caching] The default - * value for caching is none. For information about the caching options see: + * value for caching is readwrite. For information about the caching options + * see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @member {string} [virtualMachineConfiguration.nodeAgentSKUId] The Batch node @@ -7891,6 +7876,28 @@ export interface ComputeNodeInformation { taskRootDirectoryUrl?: string; } +/** + * @class + * Initializes a new instance of the NodeAgentInformation class. + * @constructor + * @summary Information about the node agent. + * + * The Batch node agent is a program that runs on each node in the pool and + * provides Batch capability on the compute node. + * + * @member {string} version The version of the Batch node agent running on the + * compute node. This version number can be checked against the node agent + * release notes located at + * https://github.com/Azure/Batch/blob/master/changelogs/nodeagent/CHANGELOG.md. + * @member {date} lastUpdateTime The time when the node agent was updated on + * the compute node. This is the most recent time that the node agent was + * updated to a new version. + */ +export interface NodeAgentInformation { + version: string; + lastUpdateTime: Date; +} + /** * @class * Initializes a new instance of the MultiInstanceSettings class. @@ -7913,7 +7920,11 @@ export interface ComputeNodeInformation { * whereas task resource files are downloaded only for the primary. Also note * that these resource files are not downloaded to the task working directory, * but instead are downloaded to the task root directory (one directory above - * the working directory). + * the working directory). There is a maximum size for the list of resource + * files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. */ export interface MultiInstanceSettings { numberOfInstances?: number; @@ -8142,7 +8153,11 @@ export interface TaskDependencies { * @member {array} [resourceFiles] A list of files that the Batch service will * download to the compute node before running the command line. For * multi-instance tasks, the resource files will only be downloaded to the - * compute node on which the primary task is executed. + * compute node on which the primary task is executed. There is a maximum size + * for the list of resource files. When the max size is exceeded, the request + * will fail and the response error code will be RequestEntityTooLarge. If this + * occurs, the collection of ResourceFiles must be reduced in size. This can be + * achieved using .zip files, Application Packages, or Docker Containers. * @member {array} [outputFiles] A list of files that the Batch service will * upload from the compute node after running the command line. For * multi-instance tasks, the files will only be uploaded from the compute node @@ -8259,7 +8274,11 @@ export interface TaskDependencies { * whereas task resource files are downloaded only for the primary. Also note * that these resource files are not downloaded to the task working directory, * but instead are downloaded to the task root directory (one directory above - * the working directory). + * the working directory). There is a maximum size for the list of resource + * files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * @member {object} [stats] Resource usage statistics for the task. * @member {string} [stats.url] * @member {date} [stats.startTime] @@ -8453,7 +8472,11 @@ export interface CloudTask { * @member {array} [resourceFiles] A list of files that the Batch service will * download to the compute node before running the command line. For * multi-instance tasks, the resource files will only be downloaded to the - * compute node on which the primary task is executed. + * compute node on which the primary task is executed. There is a maximum size + * for the list of resource files. When the max size is exceeded, the request + * will fail and the response error code will be RequestEntityTooLarge. If this + * occurs, the collection of ResourceFiles must be reduced in size. This can be + * achieved using .zip files, Application Packages, or Docker Containers. * @member {array} [outputFiles] A list of files that the Batch service will * upload from the compute node after running the command line. For * multi-instance tasks, the files will only be uploaded from the compute node @@ -8509,7 +8532,11 @@ export interface CloudTask { * whereas task resource files are downloaded only for the primary. Also note * that these resource files are not downloaded to the task working directory, * but instead are downloaded to the task root directory (one directory above - * the working directory). + * the working directory). There is a maximum size for the list of resource + * files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * @member {object} [dependsOn] The tasks that this task depends on. This task * will not be scheduled until all tasks that it depends on have completed * successfully. If any of those tasks fail and exhaust their retry counts, @@ -8568,11 +8595,11 @@ export interface TaskAddParameter { * @constructor * @summary A collection of Azure Batch tasks to add. * - * @member {array} value The collection of tasks to add. The total serialized - * size of this collection must be less than 4MB. If it is greater than 4MB - * (for example if each task has 100's of resource files or environment - * variables), the request will fail with code 'RequestBodyTooLarge' and should - * be retried again with fewer tasks. + * @member {array} value The collection of tasks to add. The maximum count of + * tasks is 100. The total serialized size of this collection must be less than + * 1MB. If it is greater than 1MB (for example if each task has 100's of + * resource files or environment variables), the request will fail with code + * 'RequestBodyTooLarge' and should be retried again with fewer tasks. */ export interface TaskAddCollectionParameter { value: TaskAddParameter[]; @@ -9003,19 +9030,9 @@ export interface ComputeNodeEndpointConfiguration { * just a soft affinity. If the target node is busy or unavailable at the time * the task is scheduled, then the task will be scheduled elsewhere. * @member {string} [vmSize] The size of the virtual machine hosting the - * compute node. For information about available sizes of virtual machines for - * Cloud Services pools (pools created with cloudServiceConfiguration), see - * Sizes for Cloud Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * compute node. For information about available sizes of virtual machines in + * pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * @member {number} [totalTasksRun] The total number of job tasks completed on * the compute node. This includes Job Manager tasks and normal tasks, but not * Job Preparation, Job Release or Start tasks. @@ -9151,6 +9168,13 @@ export interface ComputeNodeEndpointConfiguration { * @member {object} [endpointConfiguration] The endpoint configuration for the * compute node. * @member {array} [endpointConfiguration.inboundEndpoints] + * @member {object} [nodeAgentInfo] Information about the node agent version + * and the time the node upgraded to a new version. + * @member {string} [nodeAgentInfo.version] This version number can be checked + * against the node agent release notes located at + * https://github.com/Azure/Batch/blob/master/changelogs/nodeagent/CHANGELOG.md. + * @member {date} [nodeAgentInfo.lastUpdateTime] This is the most recent time + * that the node agent was updated to a new version. */ export interface ComputeNode { id?: string; @@ -9173,6 +9197,7 @@ export interface ComputeNode { errors?: ComputeNodeError[]; isDedicated?: boolean; endpointConfiguration?: ComputeNodeEndpointConfiguration; + nodeAgentInfo?: NodeAgentInformation; } /** @@ -9344,7 +9369,12 @@ export interface ComputeNodeGetRemoteLoginSettingsResult { * @member {string} * [jobSpecification.jobManagerTask.containerSettings.registry.password] * @member {array} [jobSpecification.jobManagerTask.resourceFiles] Files listed - * under this element are located in the task's working directory. + * under this element are located in the task's working directory. There is a + * maximum size for the list of resource files. When the max size is exceeded, + * the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must + * be reduced in size. This can be achieved using .zip files, Application + * Packages, or Docker Containers. * @member {array} [jobSpecification.jobManagerTask.outputFiles] For * multi-instance tasks, the files will only be uploaded from the compute node * on which the primary task is executed. @@ -9471,6 +9501,11 @@ export interface ComputeNodeGetRemoteLoginSettingsResult { * [jobSpecification.jobPreparationTask.containerSettings.registry.password] * @member {array} [jobSpecification.jobPreparationTask.resourceFiles] Files * listed under this element are located in the task's working directory. + * There is a maximum size for the list of resource files. When the max size + * is exceeded, the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must + * be reduced in size. This can be achieved using .zip files, Application + * Packages, or Docker Containers. * @member {array} [jobSpecification.jobPreparationTask.environmentSettings] * @member {object} [jobSpecification.jobPreparationTask.constraints] * @member {moment.duration} @@ -9635,19 +9670,9 @@ export interface ComputeNodeGetRemoteLoginSettingsResult { * a maximum length of 1024. * @member {string} * [jobSpecification.poolInfo.autoPoolSpecification.pool.vmSize] For - * information about available sizes of virtual machines for Cloud Services - * pools (pools created with cloudServiceConfiguration), see Sizes for Cloud - * Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * information about available sizes of virtual machines in pools, see Choose a + * VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * @member {object} * [jobSpecification.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] * This property must be specified if the pool needs to be created with Azure @@ -9708,8 +9733,8 @@ export interface ComputeNodeGetRemoteLoginSettingsResult { * [jobSpecification.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk] * @member {string} * [jobSpecification.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] - * The default value for caching is none. For information about the caching - * options see: + * The default value for caching is readwrite. For information about the + * caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @member {string} @@ -9943,7 +9968,9 @@ export interface ComputeNodeGetRemoteLoginSettingsResult { * [jobSpecification.poolInfo.autoPoolSpecification.pool.applicationLicenses] * The list of application licenses must be a subset of available Batch service * application licenses. If a license is requested which is not supported, pool - * creation will fail. + * creation will fail. The permitted licenses available on the pool are 'maya', + * 'vray', '3dsmax', 'arnold'. An additional charge applies for each + * application license added to the pool. * @member {array} * [jobSpecification.poolInfo.autoPoolSpecification.pool.userAccounts] * @member {array} @@ -10083,7 +10110,12 @@ export interface JobSchedulePatchParameter { * @member {string} * [jobSpecification.jobManagerTask.containerSettings.registry.password] * @member {array} [jobSpecification.jobManagerTask.resourceFiles] Files listed - * under this element are located in the task's working directory. + * under this element are located in the task's working directory. There is a + * maximum size for the list of resource files. When the max size is exceeded, + * the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must + * be reduced in size. This can be achieved using .zip files, Application + * Packages, or Docker Containers. * @member {array} [jobSpecification.jobManagerTask.outputFiles] For * multi-instance tasks, the files will only be uploaded from the compute node * on which the primary task is executed. @@ -10210,6 +10242,11 @@ export interface JobSchedulePatchParameter { * [jobSpecification.jobPreparationTask.containerSettings.registry.password] * @member {array} [jobSpecification.jobPreparationTask.resourceFiles] Files * listed under this element are located in the task's working directory. + * There is a maximum size for the list of resource files. When the max size + * is exceeded, the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must + * be reduced in size. This can be achieved using .zip files, Application + * Packages, or Docker Containers. * @member {array} [jobSpecification.jobPreparationTask.environmentSettings] * @member {object} [jobSpecification.jobPreparationTask.constraints] * @member {moment.duration} @@ -10374,19 +10411,9 @@ export interface JobSchedulePatchParameter { * a maximum length of 1024. * @member {string} * [jobSpecification.poolInfo.autoPoolSpecification.pool.vmSize] For - * information about available sizes of virtual machines for Cloud Services - * pools (pools created with cloudServiceConfiguration), see Sizes for Cloud - * Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * information about available sizes of virtual machines in pools, see Choose a + * VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * @member {object} * [jobSpecification.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] * This property must be specified if the pool needs to be created with Azure @@ -10447,8 +10474,8 @@ export interface JobSchedulePatchParameter { * [jobSpecification.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk] * @member {string} * [jobSpecification.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] - * The default value for caching is none. For information about the caching - * options see: + * The default value for caching is readwrite. For information about the + * caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @member {string} @@ -10682,7 +10709,9 @@ export interface JobSchedulePatchParameter { * [jobSpecification.poolInfo.autoPoolSpecification.pool.applicationLicenses] * The list of application licenses must be a subset of available Batch service * application licenses. If a license is requested which is not supported, pool - * creation will fail. + * creation will fail. The permitted licenses available on the pool are 'maya', + * 'vray', '3dsmax', 'arnold'. An additional charge applies for each + * application license added to the pool. * @member {array} * [jobSpecification.poolInfo.autoPoolSpecification.pool.userAccounts] * @member {array} @@ -10798,19 +10827,9 @@ export interface JobTerminateParameter { * display name need not be unique and can contain any Unicode characters up to * a maximum length of 1024. * @member {string} [poolInfo.autoPoolSpecification.pool.vmSize] For - * information about available sizes of virtual machines for Cloud Services - * pools (pools created with cloudServiceConfiguration), see Sizes for Cloud - * Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * information about available sizes of virtual machines in pools, see Choose a + * VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * @member {object} * [poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] This * property must be specified if the pool needs to be created with Azure PaaS @@ -10871,8 +10890,8 @@ export interface JobTerminateParameter { * [poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk] * @member {string} * [poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] - * The default value for caching is none. For information about the caching - * options see: + * The default value for caching is readwrite. For information about the + * caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @member {string} @@ -11096,7 +11115,9 @@ export interface JobTerminateParameter { * @member {array} [poolInfo.autoPoolSpecification.pool.applicationLicenses] * The list of application licenses must be a subset of available Batch service * application licenses. If a license is requested which is not supported, pool - * creation will fail. + * creation will fail. The permitted licenses available on the pool are 'maya', + * 'vray', '3dsmax', 'arnold'. An additional charge applies for each + * application license added to the pool. * @member {array} [poolInfo.autoPoolSpecification.pool.userAccounts] * @member {array} [poolInfo.autoPoolSpecification.pool.metadata] The Batch * service does not assign any meaning to metadata; it is solely for the use of @@ -11173,19 +11194,9 @@ export interface JobPatchParameter { * display name need not be unique and can contain any Unicode characters up to * a maximum length of 1024. * @member {string} [poolInfo.autoPoolSpecification.pool.vmSize] For - * information about available sizes of virtual machines for Cloud Services - * pools (pools created with cloudServiceConfiguration), see Sizes for Cloud - * Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * information about available sizes of virtual machines in pools, see Choose a + * VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * @member {object} * [poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] This * property must be specified if the pool needs to be created with Azure PaaS @@ -11246,8 +11257,8 @@ export interface JobPatchParameter { * [poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk] * @member {string} * [poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] - * The default value for caching is none. For information about the caching - * options see: + * The default value for caching is readwrite. For information about the + * caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @member {string} @@ -11471,7 +11482,9 @@ export interface JobPatchParameter { * @member {array} [poolInfo.autoPoolSpecification.pool.applicationLicenses] * The list of application licenses must be a subset of available Batch service * application licenses. If a license is requested which is not supported, pool - * creation will fail. + * creation will fail. The permitted licenses available on the pool are 'maya', + * 'vray', '3dsmax', 'arnold'. An additional charge applies for each + * application license added to the pool. * @member {array} [poolInfo.autoPoolSpecification.pool.userAccounts] * @member {array} [poolInfo.autoPoolSpecification.pool.metadata] The Batch * service does not assign any meaning to metadata; it is solely for the use of @@ -12746,7 +12759,9 @@ export interface AccountListNodeAgentSkusOptions { * @constructor * Additional parameters for listPoolNodeCounts operation. * - * @member {string} [filter] An OData $filter clause. + * @member {string} [filter] An OData $filter clause. For more information on + * constructing this filter, see + * https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch. * @member {number} [maxResults] The maximum number of items to return in the * response. Default value: 10 . * @member {number} [timeout] The maximum time that the server can spend diff --git a/lib/services/batch/lib/models/index.js b/lib/services/batch/lib/models/index.js index 2f453964e..17e41e5fe 100644 --- a/lib/services/batch/lib/models/index.js +++ b/lib/services/batch/lib/models/index.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -97,6 +93,7 @@ exports.PoolAddParameter = require('./poolAddParameter'); exports.AffinityInformation = require('./affinityInformation'); exports.TaskExecutionInformation = require('./taskExecutionInformation'); exports.ComputeNodeInformation = require('./computeNodeInformation'); +exports.NodeAgentInformation = require('./nodeAgentInformation'); exports.MultiInstanceSettings = require('./multiInstanceSettings'); exports.TaskStatistics = require('./taskStatistics'); exports.TaskIdRange = require('./taskIdRange'); diff --git a/lib/services/batch/lib/models/jobAddOptions.js b/lib/services/batch/lib/models/jobAddOptions.js index 191536971..54d810364 100644 --- a/lib/services/batch/lib/models/jobAddOptions.js +++ b/lib/services/batch/lib/models/jobAddOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobAddParameter.js b/lib/services/batch/lib/models/jobAddParameter.js index 01d329343..456a3eed2 100644 --- a/lib/services/batch/lib/models/jobAddParameter.js +++ b/lib/services/batch/lib/models/jobAddParameter.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -93,7 +89,12 @@ class JobAddParameter { * @member {string} [jobManagerTask.containerSettings.registry.userName] * @member {string} [jobManagerTask.containerSettings.registry.password] * @member {array} [jobManagerTask.resourceFiles] Files listed under this - * element are located in the task's working directory. + * element are located in the task's working directory. There is a maximum + * size for the list of resource files. When the max size is exceeded, the + * request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles + * must be reduced in size. This can be achieved using .zip files, + * Application Packages, or Docker Containers. * @member {array} [jobManagerTask.outputFiles] For multi-instance tasks, the * files will only be uploaded from the compute node on which the primary * task is executed. @@ -210,7 +211,12 @@ class JobAddParameter { * @member {string} [jobPreparationTask.containerSettings.registry.userName] * @member {string} [jobPreparationTask.containerSettings.registry.password] * @member {array} [jobPreparationTask.resourceFiles] Files listed under this - * element are located in the task's working directory. + * element are located in the task's working directory. There is a maximum + * size for the list of resource files. When the max size is exceeded, the + * request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles + * must be reduced in size. This can be achieved using .zip files, + * Application Packages, or Docker Containers. * @member {array} [jobPreparationTask.environmentSettings] * @member {object} [jobPreparationTask.constraints] * @member {moment.duration} @@ -362,19 +368,9 @@ class JobAddParameter { * display name need not be unique and can contain any Unicode characters up * to a maximum length of 1024. * @member {string} [poolInfo.autoPoolSpecification.pool.vmSize] For - * information about available sizes of virtual machines for Cloud Services - * pools (pools created with cloudServiceConfiguration), see Sizes for Cloud - * Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and - * A2V2. For information about available VM sizes for pools using images from - * the Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with - * premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * information about available sizes of virtual machines in pools, see Choose + * a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * @member {object} * [poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] This * property must be specified if the pool needs to be created with Azure PaaS @@ -435,8 +431,8 @@ class JobAddParameter { * [poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk] * @member {string} * [poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] - * The default value for caching is none. For information about the caching - * options see: + * The default value for caching is readwrite. For information about the + * caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @member {string} @@ -670,7 +666,9 @@ class JobAddParameter { * @member {array} [poolInfo.autoPoolSpecification.pool.applicationLicenses] * The list of application licenses must be a subset of available Batch * service application licenses. If a license is requested which is not - * supported, pool creation will fail. + * supported, pool creation will fail. The permitted licenses available on + * the pool are 'maya', 'vray', '3dsmax', 'arnold'. An additional charge + * applies for each application license added to the pool. * @member {array} [poolInfo.autoPoolSpecification.pool.userAccounts] * @member {array} [poolInfo.autoPoolSpecification.pool.metadata] The Batch * service does not assign any meaning to metadata; it is solely for the use diff --git a/lib/services/batch/lib/models/jobConstraints.js b/lib/services/batch/lib/models/jobConstraints.js index 2a37224fa..13ac3ee90 100644 --- a/lib/services/batch/lib/models/jobConstraints.js +++ b/lib/services/batch/lib/models/jobConstraints.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobDeleteMethodOptions.js b/lib/services/batch/lib/models/jobDeleteMethodOptions.js index 012c220df..87743bb0e 100644 --- a/lib/services/batch/lib/models/jobDeleteMethodOptions.js +++ b/lib/services/batch/lib/models/jobDeleteMethodOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobDisableOptions.js b/lib/services/batch/lib/models/jobDisableOptions.js index 7055ae883..35a713fe4 100644 --- a/lib/services/batch/lib/models/jobDisableOptions.js +++ b/lib/services/batch/lib/models/jobDisableOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobDisableParameter.js b/lib/services/batch/lib/models/jobDisableParameter.js index e71e2add1..87ad0ead3 100644 --- a/lib/services/batch/lib/models/jobDisableParameter.js +++ b/lib/services/batch/lib/models/jobDisableParameter.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobEnableOptions.js b/lib/services/batch/lib/models/jobEnableOptions.js index f2e591ee3..ef3322bc9 100644 --- a/lib/services/batch/lib/models/jobEnableOptions.js +++ b/lib/services/batch/lib/models/jobEnableOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobExecutionInformation.js b/lib/services/batch/lib/models/jobExecutionInformation.js index 62a3bd6b9..a3a7efbb1 100644 --- a/lib/services/batch/lib/models/jobExecutionInformation.js +++ b/lib/services/batch/lib/models/jobExecutionInformation.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobGetAllLifetimeStatisticsOptions.js b/lib/services/batch/lib/models/jobGetAllLifetimeStatisticsOptions.js index 322a89fa7..f0e05b857 100644 --- a/lib/services/batch/lib/models/jobGetAllLifetimeStatisticsOptions.js +++ b/lib/services/batch/lib/models/jobGetAllLifetimeStatisticsOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobGetOptions.js b/lib/services/batch/lib/models/jobGetOptions.js index 53d6578f8..f15d4cb48 100644 --- a/lib/services/batch/lib/models/jobGetOptions.js +++ b/lib/services/batch/lib/models/jobGetOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobGetTaskCountsOptions.js b/lib/services/batch/lib/models/jobGetTaskCountsOptions.js index c386d6324..d961283e4 100644 --- a/lib/services/batch/lib/models/jobGetTaskCountsOptions.js +++ b/lib/services/batch/lib/models/jobGetTaskCountsOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobListFromJobScheduleNextOptions.js b/lib/services/batch/lib/models/jobListFromJobScheduleNextOptions.js index a50c04999..9ba602826 100644 --- a/lib/services/batch/lib/models/jobListFromJobScheduleNextOptions.js +++ b/lib/services/batch/lib/models/jobListFromJobScheduleNextOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobListFromJobScheduleOptions.js b/lib/services/batch/lib/models/jobListFromJobScheduleOptions.js index 4e67429d3..01c15d0f9 100644 --- a/lib/services/batch/lib/models/jobListFromJobScheduleOptions.js +++ b/lib/services/batch/lib/models/jobListFromJobScheduleOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobListNextOptions.js b/lib/services/batch/lib/models/jobListNextOptions.js index 61a4a799c..3278963af 100644 --- a/lib/services/batch/lib/models/jobListNextOptions.js +++ b/lib/services/batch/lib/models/jobListNextOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobListOptions.js b/lib/services/batch/lib/models/jobListOptions.js index cea40d985..920b958a9 100644 --- a/lib/services/batch/lib/models/jobListOptions.js +++ b/lib/services/batch/lib/models/jobListOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobListPreparationAndReleaseTaskStatusNextOptions.js b/lib/services/batch/lib/models/jobListPreparationAndReleaseTaskStatusNextOptions.js index e75022e56..fd820055a 100644 --- a/lib/services/batch/lib/models/jobListPreparationAndReleaseTaskStatusNextOptions.js +++ b/lib/services/batch/lib/models/jobListPreparationAndReleaseTaskStatusNextOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobListPreparationAndReleaseTaskStatusOptions.js b/lib/services/batch/lib/models/jobListPreparationAndReleaseTaskStatusOptions.js index 9f5f48506..691f8bb8a 100644 --- a/lib/services/batch/lib/models/jobListPreparationAndReleaseTaskStatusOptions.js +++ b/lib/services/batch/lib/models/jobListPreparationAndReleaseTaskStatusOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobManagerTask.js b/lib/services/batch/lib/models/jobManagerTask.js index 0b9821e4a..609f20941 100644 --- a/lib/services/batch/lib/models/jobManagerTask.js +++ b/lib/services/batch/lib/models/jobManagerTask.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -83,6 +79,11 @@ class JobManagerTask { * @member {array} [resourceFiles] A list of files that the Batch service * will download to the compute node before running the command line. Files * listed under this element are located in the task's working directory. + * There is a maximum size for the list of resource files. When the max size + * is exceeded, the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles + * must be reduced in size. This can be achieved using .zip files, + * Application Packages, or Docker Containers. * @member {array} [outputFiles] A list of files that the Batch service will * upload from the compute node after running the command line. For * multi-instance tasks, the files will only be uploaded from the compute diff --git a/lib/services/batch/lib/models/jobPatchOptions.js b/lib/services/batch/lib/models/jobPatchOptions.js index aa29b58b7..a43341973 100644 --- a/lib/services/batch/lib/models/jobPatchOptions.js +++ b/lib/services/batch/lib/models/jobPatchOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobPatchParameter.js b/lib/services/batch/lib/models/jobPatchParameter.js index 3fc2ea8b4..4558d1cae 100644 --- a/lib/services/batch/lib/models/jobPatchParameter.js +++ b/lib/services/batch/lib/models/jobPatchParameter.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -85,19 +81,9 @@ class JobPatchParameter { * display name need not be unique and can contain any Unicode characters up * to a maximum length of 1024. * @member {string} [poolInfo.autoPoolSpecification.pool.vmSize] For - * information about available sizes of virtual machines for Cloud Services - * pools (pools created with cloudServiceConfiguration), see Sizes for Cloud - * Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and - * A2V2. For information about available VM sizes for pools using images from - * the Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with - * premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * information about available sizes of virtual machines in pools, see Choose + * a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * @member {object} * [poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] This * property must be specified if the pool needs to be created with Azure PaaS @@ -158,8 +144,8 @@ class JobPatchParameter { * [poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk] * @member {string} * [poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] - * The default value for caching is none. For information about the caching - * options see: + * The default value for caching is readwrite. For information about the + * caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @member {string} @@ -393,7 +379,9 @@ class JobPatchParameter { * @member {array} [poolInfo.autoPoolSpecification.pool.applicationLicenses] * The list of application licenses must be a subset of available Batch * service application licenses. If a license is requested which is not - * supported, pool creation will fail. + * supported, pool creation will fail. The permitted licenses available on + * the pool are 'maya', 'vray', '3dsmax', 'arnold'. An additional charge + * applies for each application license added to the pool. * @member {array} [poolInfo.autoPoolSpecification.pool.userAccounts] * @member {array} [poolInfo.autoPoolSpecification.pool.metadata] The Batch * service does not assign any meaning to metadata; it is solely for the use diff --git a/lib/services/batch/lib/models/jobPreparationAndReleaseTaskExecutionInformation.js b/lib/services/batch/lib/models/jobPreparationAndReleaseTaskExecutionInformation.js index 5dc22950f..2bf2ad39e 100644 --- a/lib/services/batch/lib/models/jobPreparationAndReleaseTaskExecutionInformation.js +++ b/lib/services/batch/lib/models/jobPreparationAndReleaseTaskExecutionInformation.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobPreparationTask.js b/lib/services/batch/lib/models/jobPreparationTask.js index 893b3a7df..89f7a4272 100644 --- a/lib/services/batch/lib/models/jobPreparationTask.js +++ b/lib/services/batch/lib/models/jobPreparationTask.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -87,6 +83,11 @@ class JobPreparationTask { * @member {array} [resourceFiles] A list of files that the Batch service * will download to the compute node before running the command line. Files * listed under this element are located in the task's working directory. + * There is a maximum size for the list of resource files. When the max size + * is exceeded, the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles + * must be reduced in size. This can be achieved using .zip files, + * Application Packages, or Docker Containers. * @member {array} [environmentSettings] A list of environment variable * settings for the Job Preparation task. * @member {object} [constraints] Constraints that apply to the Job diff --git a/lib/services/batch/lib/models/jobPreparationTaskExecutionInformation.js b/lib/services/batch/lib/models/jobPreparationTaskExecutionInformation.js index 0747e6494..6d0be7454 100644 --- a/lib/services/batch/lib/models/jobPreparationTaskExecutionInformation.js +++ b/lib/services/batch/lib/models/jobPreparationTaskExecutionInformation.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobReleaseTask.js b/lib/services/batch/lib/models/jobReleaseTask.js index 933f20ad2..fe9821bac 100644 --- a/lib/services/batch/lib/models/jobReleaseTask.js +++ b/lib/services/batch/lib/models/jobReleaseTask.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -74,8 +70,13 @@ class JobReleaseTask { * @member {string} [containerSettings.registry.userName] * @member {string} [containerSettings.registry.password] * @member {array} [resourceFiles] A list of files that the Batch service - * will download to the compute node before running the command line. Files - * listed under this element are located in the task's working directory. + * will download to the compute node before running the command line. There + * is a maximum size for the list of resource files. When the max size is + * exceeded, the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles + * must be reduced in size. This can be achieved using .zip files, + * Application Packages, or Docker Containers. Files listed under this + * element are located in the task's working directory. * @member {array} [environmentSettings] A list of environment variable * settings for the Job Release task. * @member {moment.duration} [maxWallClockTime] The maximum elapsed time that diff --git a/lib/services/batch/lib/models/jobReleaseTaskExecutionInformation.js b/lib/services/batch/lib/models/jobReleaseTaskExecutionInformation.js index b25161cfc..ed3edb74e 100644 --- a/lib/services/batch/lib/models/jobReleaseTaskExecutionInformation.js +++ b/lib/services/batch/lib/models/jobReleaseTaskExecutionInformation.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobScheduleAddOptions.js b/lib/services/batch/lib/models/jobScheduleAddOptions.js index 3d0d1c6cf..9dd154dc1 100644 --- a/lib/services/batch/lib/models/jobScheduleAddOptions.js +++ b/lib/services/batch/lib/models/jobScheduleAddOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobScheduleAddParameter.js b/lib/services/batch/lib/models/jobScheduleAddParameter.js index fe50d2574..3b4b3731d 100644 --- a/lib/services/batch/lib/models/jobScheduleAddParameter.js +++ b/lib/services/batch/lib/models/jobScheduleAddParameter.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -145,6 +141,11 @@ class JobScheduleAddParameter { * [jobSpecification.jobManagerTask.containerSettings.registry.password] * @member {array} [jobSpecification.jobManagerTask.resourceFiles] Files * listed under this element are located in the task's working directory. + * There is a maximum size for the list of resource files. When the max size + * is exceeded, the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles + * must be reduced in size. This can be achieved using .zip files, + * Application Packages, or Docker Containers. * @member {array} [jobSpecification.jobManagerTask.outputFiles] For * multi-instance tasks, the files will only be uploaded from the compute * node on which the primary task is executed. @@ -274,6 +275,11 @@ class JobScheduleAddParameter { * [jobSpecification.jobPreparationTask.containerSettings.registry.password] * @member {array} [jobSpecification.jobPreparationTask.resourceFiles] Files * listed under this element are located in the task's working directory. + * There is a maximum size for the list of resource files. When the max size + * is exceeded, the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles + * must be reduced in size. This can be achieved using .zip files, + * Application Packages, or Docker Containers. * @member {array} [jobSpecification.jobPreparationTask.environmentSettings] * @member {object} [jobSpecification.jobPreparationTask.constraints] * @member {moment.duration} @@ -446,19 +452,9 @@ class JobScheduleAddParameter { * to a maximum length of 1024. * @member {string} * [jobSpecification.poolInfo.autoPoolSpecification.pool.vmSize] For - * information about available sizes of virtual machines for Cloud Services - * pools (pools created with cloudServiceConfiguration), see Sizes for Cloud - * Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and - * A2V2. For information about available VM sizes for pools using images from - * the Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with - * premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * information about available sizes of virtual machines in pools, see Choose + * a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * @member {object} * [jobSpecification.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] * This property must be specified if the pool needs to be created with Azure @@ -519,8 +515,8 @@ class JobScheduleAddParameter { * [jobSpecification.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk] * @member {string} * [jobSpecification.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] - * The default value for caching is none. For information about the caching - * options see: + * The default value for caching is readwrite. For information about the + * caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @member {string} @@ -760,7 +756,9 @@ class JobScheduleAddParameter { * [jobSpecification.poolInfo.autoPoolSpecification.pool.applicationLicenses] * The list of application licenses must be a subset of available Batch * service application licenses. If a license is requested which is not - * supported, pool creation will fail. + * supported, pool creation will fail. The permitted licenses available on + * the pool are 'maya', 'vray', '3dsmax', 'arnold'. An additional charge + * applies for each application license added to the pool. * @member {array} * [jobSpecification.poolInfo.autoPoolSpecification.pool.userAccounts] * @member {array} diff --git a/lib/services/batch/lib/models/jobScheduleDeleteMethodOptions.js b/lib/services/batch/lib/models/jobScheduleDeleteMethodOptions.js index 3251b10d0..eeadf28b4 100644 --- a/lib/services/batch/lib/models/jobScheduleDeleteMethodOptions.js +++ b/lib/services/batch/lib/models/jobScheduleDeleteMethodOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobScheduleDisableOptions.js b/lib/services/batch/lib/models/jobScheduleDisableOptions.js index cf98213ff..34d55e030 100644 --- a/lib/services/batch/lib/models/jobScheduleDisableOptions.js +++ b/lib/services/batch/lib/models/jobScheduleDisableOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobScheduleEnableOptions.js b/lib/services/batch/lib/models/jobScheduleEnableOptions.js index d11aa87fe..76f924052 100644 --- a/lib/services/batch/lib/models/jobScheduleEnableOptions.js +++ b/lib/services/batch/lib/models/jobScheduleEnableOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobScheduleExecutionInformation.js b/lib/services/batch/lib/models/jobScheduleExecutionInformation.js index 5c6362783..bcc6b5520 100644 --- a/lib/services/batch/lib/models/jobScheduleExecutionInformation.js +++ b/lib/services/batch/lib/models/jobScheduleExecutionInformation.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobScheduleExistsOptions.js b/lib/services/batch/lib/models/jobScheduleExistsOptions.js index 36c0af909..1c2c73d3f 100644 --- a/lib/services/batch/lib/models/jobScheduleExistsOptions.js +++ b/lib/services/batch/lib/models/jobScheduleExistsOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobScheduleGetOptions.js b/lib/services/batch/lib/models/jobScheduleGetOptions.js index e3f5d603d..7b49ef4eb 100644 --- a/lib/services/batch/lib/models/jobScheduleGetOptions.js +++ b/lib/services/batch/lib/models/jobScheduleGetOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobScheduleListNextOptions.js b/lib/services/batch/lib/models/jobScheduleListNextOptions.js index 20343f1ab..4a76a55f7 100644 --- a/lib/services/batch/lib/models/jobScheduleListNextOptions.js +++ b/lib/services/batch/lib/models/jobScheduleListNextOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobScheduleListOptions.js b/lib/services/batch/lib/models/jobScheduleListOptions.js index 585367064..39789371f 100644 --- a/lib/services/batch/lib/models/jobScheduleListOptions.js +++ b/lib/services/batch/lib/models/jobScheduleListOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobSchedulePatchOptions.js b/lib/services/batch/lib/models/jobSchedulePatchOptions.js index 5d37cd482..3478d9f75 100644 --- a/lib/services/batch/lib/models/jobSchedulePatchOptions.js +++ b/lib/services/batch/lib/models/jobSchedulePatchOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobSchedulePatchParameter.js b/lib/services/batch/lib/models/jobSchedulePatchParameter.js index f19fe8e49..4ed449852 100644 --- a/lib/services/batch/lib/models/jobSchedulePatchParameter.js +++ b/lib/services/batch/lib/models/jobSchedulePatchParameter.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -139,6 +135,11 @@ class JobSchedulePatchParameter { * [jobSpecification.jobManagerTask.containerSettings.registry.password] * @member {array} [jobSpecification.jobManagerTask.resourceFiles] Files * listed under this element are located in the task's working directory. + * There is a maximum size for the list of resource files. When the max size + * is exceeded, the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles + * must be reduced in size. This can be achieved using .zip files, + * Application Packages, or Docker Containers. * @member {array} [jobSpecification.jobManagerTask.outputFiles] For * multi-instance tasks, the files will only be uploaded from the compute * node on which the primary task is executed. @@ -268,6 +269,11 @@ class JobSchedulePatchParameter { * [jobSpecification.jobPreparationTask.containerSettings.registry.password] * @member {array} [jobSpecification.jobPreparationTask.resourceFiles] Files * listed under this element are located in the task's working directory. + * There is a maximum size for the list of resource files. When the max size + * is exceeded, the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles + * must be reduced in size. This can be achieved using .zip files, + * Application Packages, or Docker Containers. * @member {array} [jobSpecification.jobPreparationTask.environmentSettings] * @member {object} [jobSpecification.jobPreparationTask.constraints] * @member {moment.duration} @@ -440,19 +446,9 @@ class JobSchedulePatchParameter { * to a maximum length of 1024. * @member {string} * [jobSpecification.poolInfo.autoPoolSpecification.pool.vmSize] For - * information about available sizes of virtual machines for Cloud Services - * pools (pools created with cloudServiceConfiguration), see Sizes for Cloud - * Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and - * A2V2. For information about available VM sizes for pools using images from - * the Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with - * premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * information about available sizes of virtual machines in pools, see Choose + * a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * @member {object} * [jobSpecification.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] * This property must be specified if the pool needs to be created with Azure @@ -513,8 +509,8 @@ class JobSchedulePatchParameter { * [jobSpecification.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk] * @member {string} * [jobSpecification.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] - * The default value for caching is none. For information about the caching - * options see: + * The default value for caching is readwrite. For information about the + * caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @member {string} @@ -754,7 +750,9 @@ class JobSchedulePatchParameter { * [jobSpecification.poolInfo.autoPoolSpecification.pool.applicationLicenses] * The list of application licenses must be a subset of available Batch * service application licenses. If a license is requested which is not - * supported, pool creation will fail. + * supported, pool creation will fail. The permitted licenses available on + * the pool are 'maya', 'vray', '3dsmax', 'arnold'. An additional charge + * applies for each application license added to the pool. * @member {array} * [jobSpecification.poolInfo.autoPoolSpecification.pool.userAccounts] * @member {array} diff --git a/lib/services/batch/lib/models/jobScheduleStatistics.js b/lib/services/batch/lib/models/jobScheduleStatistics.js index 983e09a82..dc119c7ca 100644 --- a/lib/services/batch/lib/models/jobScheduleStatistics.js +++ b/lib/services/batch/lib/models/jobScheduleStatistics.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobScheduleTerminateOptions.js b/lib/services/batch/lib/models/jobScheduleTerminateOptions.js index d759b71a3..2b6057e20 100644 --- a/lib/services/batch/lib/models/jobScheduleTerminateOptions.js +++ b/lib/services/batch/lib/models/jobScheduleTerminateOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobScheduleUpdateOptions.js b/lib/services/batch/lib/models/jobScheduleUpdateOptions.js index a5f2bbb7a..fb2a401d7 100644 --- a/lib/services/batch/lib/models/jobScheduleUpdateOptions.js +++ b/lib/services/batch/lib/models/jobScheduleUpdateOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobScheduleUpdateParameter.js b/lib/services/batch/lib/models/jobScheduleUpdateParameter.js index 9ab84fb23..f26756f87 100644 --- a/lib/services/batch/lib/models/jobScheduleUpdateParameter.js +++ b/lib/services/batch/lib/models/jobScheduleUpdateParameter.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -139,6 +135,11 @@ class JobScheduleUpdateParameter { * [jobSpecification.jobManagerTask.containerSettings.registry.password] * @member {array} [jobSpecification.jobManagerTask.resourceFiles] Files * listed under this element are located in the task's working directory. + * There is a maximum size for the list of resource files. When the max size + * is exceeded, the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles + * must be reduced in size. This can be achieved using .zip files, + * Application Packages, or Docker Containers. * @member {array} [jobSpecification.jobManagerTask.outputFiles] For * multi-instance tasks, the files will only be uploaded from the compute * node on which the primary task is executed. @@ -268,6 +269,11 @@ class JobScheduleUpdateParameter { * [jobSpecification.jobPreparationTask.containerSettings.registry.password] * @member {array} [jobSpecification.jobPreparationTask.resourceFiles] Files * listed under this element are located in the task's working directory. + * There is a maximum size for the list of resource files. When the max size + * is exceeded, the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles + * must be reduced in size. This can be achieved using .zip files, + * Application Packages, or Docker Containers. * @member {array} [jobSpecification.jobPreparationTask.environmentSettings] * @member {object} [jobSpecification.jobPreparationTask.constraints] * @member {moment.duration} @@ -440,19 +446,9 @@ class JobScheduleUpdateParameter { * to a maximum length of 1024. * @member {string} * [jobSpecification.poolInfo.autoPoolSpecification.pool.vmSize] For - * information about available sizes of virtual machines for Cloud Services - * pools (pools created with cloudServiceConfiguration), see Sizes for Cloud - * Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and - * A2V2. For information about available VM sizes for pools using images from - * the Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with - * premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * information about available sizes of virtual machines in pools, see Choose + * a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * @member {object} * [jobSpecification.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] * This property must be specified if the pool needs to be created with Azure @@ -513,8 +509,8 @@ class JobScheduleUpdateParameter { * [jobSpecification.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk] * @member {string} * [jobSpecification.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] - * The default value for caching is none. For information about the caching - * options see: + * The default value for caching is readwrite. For information about the + * caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @member {string} @@ -754,7 +750,9 @@ class JobScheduleUpdateParameter { * [jobSpecification.poolInfo.autoPoolSpecification.pool.applicationLicenses] * The list of application licenses must be a subset of available Batch * service application licenses. If a license is requested which is not - * supported, pool creation will fail. + * supported, pool creation will fail. The permitted licenses available on + * the pool are 'maya', 'vray', '3dsmax', 'arnold'. An additional charge + * applies for each application license added to the pool. * @member {array} * [jobSpecification.poolInfo.autoPoolSpecification.pool.userAccounts] * @member {array} diff --git a/lib/services/batch/lib/models/jobSchedulingError.js b/lib/services/batch/lib/models/jobSchedulingError.js index b1c728439..47bcafa64 100644 --- a/lib/services/batch/lib/models/jobSchedulingError.js +++ b/lib/services/batch/lib/models/jobSchedulingError.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobSpecification.js b/lib/services/batch/lib/models/jobSpecification.js index a68c00dbc..b0bf8833f 100644 --- a/lib/services/batch/lib/models/jobSpecification.js +++ b/lib/services/batch/lib/models/jobSpecification.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -104,7 +100,12 @@ class JobSpecification { * @member {string} [jobManagerTask.containerSettings.registry.userName] * @member {string} [jobManagerTask.containerSettings.registry.password] * @member {array} [jobManagerTask.resourceFiles] Files listed under this - * element are located in the task's working directory. + * element are located in the task's working directory. There is a maximum + * size for the list of resource files. When the max size is exceeded, the + * request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles + * must be reduced in size. This can be achieved using .zip files, + * Application Packages, or Docker Containers. * @member {array} [jobManagerTask.outputFiles] For multi-instance tasks, the * files will only be uploaded from the compute node on which the primary * task is executed. @@ -221,7 +222,12 @@ class JobSpecification { * @member {string} [jobPreparationTask.containerSettings.registry.userName] * @member {string} [jobPreparationTask.containerSettings.registry.password] * @member {array} [jobPreparationTask.resourceFiles] Files listed under this - * element are located in the task's working directory. + * element are located in the task's working directory. There is a maximum + * size for the list of resource files. When the max size is exceeded, the + * request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles + * must be reduced in size. This can be achieved using .zip files, + * Application Packages, or Docker Containers. * @member {array} [jobPreparationTask.environmentSettings] * @member {object} [jobPreparationTask.constraints] * @member {moment.duration} @@ -375,19 +381,9 @@ class JobSpecification { * display name need not be unique and can contain any Unicode characters up * to a maximum length of 1024. * @member {string} [poolInfo.autoPoolSpecification.pool.vmSize] For - * information about available sizes of virtual machines for Cloud Services - * pools (pools created with cloudServiceConfiguration), see Sizes for Cloud - * Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and - * A2V2. For information about available VM sizes for pools using images from - * the Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with - * premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * information about available sizes of virtual machines in pools, see Choose + * a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * @member {object} * [poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] This * property must be specified if the pool needs to be created with Azure PaaS @@ -448,8 +444,8 @@ class JobSpecification { * [poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk] * @member {string} * [poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] - * The default value for caching is none. For information about the caching - * options see: + * The default value for caching is readwrite. For information about the + * caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @member {string} @@ -683,7 +679,9 @@ class JobSpecification { * @member {array} [poolInfo.autoPoolSpecification.pool.applicationLicenses] * The list of application licenses must be a subset of available Batch * service application licenses. If a license is requested which is not - * supported, pool creation will fail. + * supported, pool creation will fail. The permitted licenses available on + * the pool are 'maya', 'vray', '3dsmax', 'arnold'. An additional charge + * applies for each application license added to the pool. * @member {array} [poolInfo.autoPoolSpecification.pool.userAccounts] * @member {array} [poolInfo.autoPoolSpecification.pool.metadata] The Batch * service does not assign any meaning to metadata; it is solely for the use diff --git a/lib/services/batch/lib/models/jobStatistics.js b/lib/services/batch/lib/models/jobStatistics.js index 3ed96f8a3..98ba585b8 100644 --- a/lib/services/batch/lib/models/jobStatistics.js +++ b/lib/services/batch/lib/models/jobStatistics.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobTerminateOptions.js b/lib/services/batch/lib/models/jobTerminateOptions.js index 659a98e0c..133caf5d2 100644 --- a/lib/services/batch/lib/models/jobTerminateOptions.js +++ b/lib/services/batch/lib/models/jobTerminateOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobTerminateParameter.js b/lib/services/batch/lib/models/jobTerminateParameter.js index 3ac9460e5..51a51c139 100644 --- a/lib/services/batch/lib/models/jobTerminateParameter.js +++ b/lib/services/batch/lib/models/jobTerminateParameter.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobUpdateOptions.js b/lib/services/batch/lib/models/jobUpdateOptions.js index 81ae8f0df..d37a5cdfe 100644 --- a/lib/services/batch/lib/models/jobUpdateOptions.js +++ b/lib/services/batch/lib/models/jobUpdateOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/jobUpdateParameter.js b/lib/services/batch/lib/models/jobUpdateParameter.js index baff07f46..ef6484978 100644 --- a/lib/services/batch/lib/models/jobUpdateParameter.js +++ b/lib/services/batch/lib/models/jobUpdateParameter.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -76,19 +72,9 @@ class JobUpdateParameter { * display name need not be unique and can contain any Unicode characters up * to a maximum length of 1024. * @member {string} [poolInfo.autoPoolSpecification.pool.vmSize] For - * information about available sizes of virtual machines for Cloud Services - * pools (pools created with cloudServiceConfiguration), see Sizes for Cloud - * Services - * (http://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and - * A2V2. For information about available VM sizes for pools using images from - * the Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with - * premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * information about available sizes of virtual machines in pools, see Choose + * a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * @member {object} * [poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] This * property must be specified if the pool needs to be created with Azure PaaS @@ -149,8 +135,8 @@ class JobUpdateParameter { * [poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk] * @member {string} * [poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] - * The default value for caching is none. For information about the caching - * options see: + * The default value for caching is readwrite. For information about the + * caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @member {string} @@ -295,7 +281,10 @@ class JobUpdateParameter { * shell features such as environment variable expansion. If you want to take * advantage of such features, you should invoke the shell in the command * line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c - * MyCommand" in Linux. + * MyCommand" in Linux. If the command line refers to file paths, it should + * use a relative path (relative to the task working directory), or use the + * Batch provided environment variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * @member {object} * [poolInfo.autoPoolSpecification.pool.startTask.containerSettings] When * this is specified, all directories recursively below the @@ -381,7 +370,9 @@ class JobUpdateParameter { * @member {array} [poolInfo.autoPoolSpecification.pool.applicationLicenses] * The list of application licenses must be a subset of available Batch * service application licenses. If a license is requested which is not - * supported, pool creation will fail. + * supported, pool creation will fail. The permitted licenses available on + * the pool are 'maya', 'vray', '3dsmax', 'arnold'. An additional charge + * applies for each application license added to the pool. * @member {array} [poolInfo.autoPoolSpecification.pool.userAccounts] * @member {array} [poolInfo.autoPoolSpecification.pool.metadata] The Batch * service does not assign any meaning to metadata; it is solely for the use diff --git a/lib/services/batch/lib/models/linuxUserConfiguration.js b/lib/services/batch/lib/models/linuxUserConfiguration.js index d2503e63c..c174b3187 100644 --- a/lib/services/batch/lib/models/linuxUserConfiguration.js +++ b/lib/services/batch/lib/models/linuxUserConfiguration.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/metadataItem.js b/lib/services/batch/lib/models/metadataItem.js index 0fe646020..ce3f27b75 100644 --- a/lib/services/batch/lib/models/metadataItem.js +++ b/lib/services/batch/lib/models/metadataItem.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/multiInstanceSettings.js b/lib/services/batch/lib/models/multiInstanceSettings.js index 4b06d04c1..e79843898 100644 --- a/lib/services/batch/lib/models/multiInstanceSettings.js +++ b/lib/services/batch/lib/models/multiInstanceSettings.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -35,7 +31,11 @@ class MultiInstanceSettings { * primary, whereas task resource files are downloaded only for the primary. * Also note that these resource files are not downloaded to the task working * directory, but instead are downloaded to the task root directory (one - * directory above the working directory). + * directory above the working directory). There is a maximum size for the + * list of resource files. When the max size is exceeded, the request will + * fail and the response error code will be RequestEntityTooLarge. If this + * occurs, the collection of ResourceFiles must be reduced in size. This can + * be achieved using .zip files, Application Packages, or Docker Containers. */ constructor() { } diff --git a/lib/services/batch/lib/models/nameValuePair.js b/lib/services/batch/lib/models/nameValuePair.js index 55627a425..7e9e92eb2 100644 --- a/lib/services/batch/lib/models/nameValuePair.js +++ b/lib/services/batch/lib/models/nameValuePair.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/networkConfiguration.js b/lib/services/batch/lib/models/networkConfiguration.js index b3b2dfbf9..3d4c49bc0 100644 --- a/lib/services/batch/lib/models/networkConfiguration.js +++ b/lib/services/batch/lib/models/networkConfiguration.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/networkSecurityGroupRule.js b/lib/services/batch/lib/models/networkSecurityGroupRule.js index 55df0e3ce..ef85aea7d 100644 --- a/lib/services/batch/lib/models/networkSecurityGroupRule.js +++ b/lib/services/batch/lib/models/networkSecurityGroupRule.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/nodeAgentInformation.js b/lib/services/batch/lib/models/nodeAgentInformation.js new file mode 100644 index 000000000..80ee1fe73 --- /dev/null +++ b/lib/services/batch/lib/models/nodeAgentInformation.js @@ -0,0 +1,64 @@ +/* + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +'use strict'; + +/** + * @summary Information about the node agent. + * + * The Batch node agent is a program that runs on each node in the pool and + * provides Batch capability on the compute node. + * + */ +class NodeAgentInformation { + /** + * Create a NodeAgentInformation. + * @member {string} version The version of the Batch node agent running on + * the compute node. This version number can be checked against the node + * agent release notes located at + * https://github.com/Azure/Batch/blob/master/changelogs/nodeagent/CHANGELOG.md. + * @member {date} lastUpdateTime The time when the node agent was updated on + * the compute node. This is the most recent time that the node agent was + * updated to a new version. + */ + constructor() { + } + + /** + * Defines the metadata of NodeAgentInformation + * + * @returns {object} metadata of NodeAgentInformation + * + */ + mapper() { + return { + required: false, + serializedName: 'NodeAgentInformation', + type: { + name: 'Composite', + className: 'NodeAgentInformation', + modelProperties: { + version: { + required: true, + serializedName: 'version', + type: { + name: 'String' + } + }, + lastUpdateTime: { + required: true, + serializedName: 'lastUpdateTime', + type: { + name: 'DateTime' + } + } + } + } + }; + } +} + +module.exports = NodeAgentInformation; diff --git a/lib/services/batch/lib/models/nodeAgentSku.js b/lib/services/batch/lib/models/nodeAgentSku.js index ce408bc8b..3e006ddaa 100644 --- a/lib/services/batch/lib/models/nodeAgentSku.js +++ b/lib/services/batch/lib/models/nodeAgentSku.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/nodeCounts.js b/lib/services/batch/lib/models/nodeCounts.js index 7534829ea..8ef90dd0b 100644 --- a/lib/services/batch/lib/models/nodeCounts.js +++ b/lib/services/batch/lib/models/nodeCounts.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/nodeDisableSchedulingParameter.js b/lib/services/batch/lib/models/nodeDisableSchedulingParameter.js index 47a2aa2e5..2637f965b 100644 --- a/lib/services/batch/lib/models/nodeDisableSchedulingParameter.js +++ b/lib/services/batch/lib/models/nodeDisableSchedulingParameter.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/nodeFile.js b/lib/services/batch/lib/models/nodeFile.js index 471c3fe36..73df21ac7 100644 --- a/lib/services/batch/lib/models/nodeFile.js +++ b/lib/services/batch/lib/models/nodeFile.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/nodeFileListResult.js b/lib/services/batch/lib/models/nodeFileListResult.js index f9749f0e0..3d085e35b 100644 --- a/lib/services/batch/lib/models/nodeFileListResult.js +++ b/lib/services/batch/lib/models/nodeFileListResult.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/nodeRebootParameter.js b/lib/services/batch/lib/models/nodeRebootParameter.js index 7ffb2c0ba..09ff3dacb 100644 --- a/lib/services/batch/lib/models/nodeRebootParameter.js +++ b/lib/services/batch/lib/models/nodeRebootParameter.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/nodeReimageParameter.js b/lib/services/batch/lib/models/nodeReimageParameter.js index 959aa60ac..aecaf8839 100644 --- a/lib/services/batch/lib/models/nodeReimageParameter.js +++ b/lib/services/batch/lib/models/nodeReimageParameter.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/nodeRemoveParameter.js b/lib/services/batch/lib/models/nodeRemoveParameter.js index b29aec72b..2eb8c68f7 100644 --- a/lib/services/batch/lib/models/nodeRemoveParameter.js +++ b/lib/services/batch/lib/models/nodeRemoveParameter.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/nodeUpdateUserParameter.js b/lib/services/batch/lib/models/nodeUpdateUserParameter.js index ad5673600..e4a8bd7a0 100644 --- a/lib/services/batch/lib/models/nodeUpdateUserParameter.js +++ b/lib/services/batch/lib/models/nodeUpdateUserParameter.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/oSDisk.js b/lib/services/batch/lib/models/oSDisk.js index 3d18e10a7..e099058f1 100644 --- a/lib/services/batch/lib/models/oSDisk.js +++ b/lib/services/batch/lib/models/oSDisk.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -18,8 +14,8 @@ class OSDisk { /** * Create a OSDisk. * @member {string} [caching] The type of caching to enable for the OS disk. - * The default value for caching is none. For information about the caching - * options see: + * The default value for caching is readwrite. For information about the + * caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' */ diff --git a/lib/services/batch/lib/models/outputFile.js b/lib/services/batch/lib/models/outputFile.js index f0fadfb08..00eb0c142 100644 --- a/lib/services/batch/lib/models/outputFile.js +++ b/lib/services/batch/lib/models/outputFile.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/outputFileBlobContainerDestination.js b/lib/services/batch/lib/models/outputFileBlobContainerDestination.js index 03483a49c..c9fd9bcaa 100644 --- a/lib/services/batch/lib/models/outputFileBlobContainerDestination.js +++ b/lib/services/batch/lib/models/outputFileBlobContainerDestination.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/outputFileDestination.js b/lib/services/batch/lib/models/outputFileDestination.js index 2b88374e3..c54e1e00a 100644 --- a/lib/services/batch/lib/models/outputFileDestination.js +++ b/lib/services/batch/lib/models/outputFileDestination.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/outputFileUploadOptions.js b/lib/services/batch/lib/models/outputFileUploadOptions.js index f13155b8a..b9a585238 100644 --- a/lib/services/batch/lib/models/outputFileUploadOptions.js +++ b/lib/services/batch/lib/models/outputFileUploadOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/poolAddOptions.js b/lib/services/batch/lib/models/poolAddOptions.js index d8286dcc2..e7f0f96b4 100644 --- a/lib/services/batch/lib/models/poolAddOptions.js +++ b/lib/services/batch/lib/models/poolAddOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/poolAddParameter.js b/lib/services/batch/lib/models/poolAddParameter.js index 1923ce61a..df7097313 100644 --- a/lib/services/batch/lib/models/poolAddParameter.js +++ b/lib/services/batch/lib/models/poolAddParameter.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -83,7 +79,8 @@ class PoolAddParameter { * https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration. * @member {object} [virtualMachineConfiguration.osDisk] * @member {string} [virtualMachineConfiguration.osDisk.caching] The default - * value for caching is none. For information about the caching options see: + * value for caching is readwrite. For information about the caching options + * see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @member {string} [virtualMachineConfiguration.nodeAgentSKUId] The Batch diff --git a/lib/services/batch/lib/models/poolDeleteMethodOptions.js b/lib/services/batch/lib/models/poolDeleteMethodOptions.js index 1d6ab3602..fd1958440 100644 --- a/lib/services/batch/lib/models/poolDeleteMethodOptions.js +++ b/lib/services/batch/lib/models/poolDeleteMethodOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/poolDisableAutoScaleOptions.js b/lib/services/batch/lib/models/poolDisableAutoScaleOptions.js index 68f0734e0..d8e228a2d 100644 --- a/lib/services/batch/lib/models/poolDisableAutoScaleOptions.js +++ b/lib/services/batch/lib/models/poolDisableAutoScaleOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/poolEnableAutoScaleOptions.js b/lib/services/batch/lib/models/poolEnableAutoScaleOptions.js index f6bb97ce8..38d0aee96 100644 --- a/lib/services/batch/lib/models/poolEnableAutoScaleOptions.js +++ b/lib/services/batch/lib/models/poolEnableAutoScaleOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/poolEnableAutoScaleParameter.js b/lib/services/batch/lib/models/poolEnableAutoScaleParameter.js index 561517777..b40058def 100644 --- a/lib/services/batch/lib/models/poolEnableAutoScaleParameter.js +++ b/lib/services/batch/lib/models/poolEnableAutoScaleParameter.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/poolEndpointConfiguration.js b/lib/services/batch/lib/models/poolEndpointConfiguration.js index 5814a2382..70cd8020d 100644 --- a/lib/services/batch/lib/models/poolEndpointConfiguration.js +++ b/lib/services/batch/lib/models/poolEndpointConfiguration.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/poolEvaluateAutoScaleOptions.js b/lib/services/batch/lib/models/poolEvaluateAutoScaleOptions.js index 8f1c4e3a9..f1c24a6f1 100644 --- a/lib/services/batch/lib/models/poolEvaluateAutoScaleOptions.js +++ b/lib/services/batch/lib/models/poolEvaluateAutoScaleOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/poolEvaluateAutoScaleParameter.js b/lib/services/batch/lib/models/poolEvaluateAutoScaleParameter.js index e046d952a..9502e0339 100644 --- a/lib/services/batch/lib/models/poolEvaluateAutoScaleParameter.js +++ b/lib/services/batch/lib/models/poolEvaluateAutoScaleParameter.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/poolExistsOptions.js b/lib/services/batch/lib/models/poolExistsOptions.js index d5de79c03..0dc1574b3 100644 --- a/lib/services/batch/lib/models/poolExistsOptions.js +++ b/lib/services/batch/lib/models/poolExistsOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/poolGetAllLifetimeStatisticsOptions.js b/lib/services/batch/lib/models/poolGetAllLifetimeStatisticsOptions.js index 52793ee72..06f6b7ea0 100644 --- a/lib/services/batch/lib/models/poolGetAllLifetimeStatisticsOptions.js +++ b/lib/services/batch/lib/models/poolGetAllLifetimeStatisticsOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/poolGetOptions.js b/lib/services/batch/lib/models/poolGetOptions.js index 9dfd40cad..5b511b8d3 100644 --- a/lib/services/batch/lib/models/poolGetOptions.js +++ b/lib/services/batch/lib/models/poolGetOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/poolInformation.js b/lib/services/batch/lib/models/poolInformation.js index 34f32d4e9..daaba1133 100644 --- a/lib/services/batch/lib/models/poolInformation.js +++ b/lib/services/batch/lib/models/poolInformation.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -54,18 +50,9 @@ class PoolInformation { * need not be unique and can contain any Unicode characters up to a maximum * length of 1024. * @member {string} [autoPoolSpecification.pool.vmSize] For information about - * available sizes of virtual machines for Cloud Services pools (pools - * created with cloudServiceConfiguration), see Sizes for Cloud Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and - * A2V2. For information about available VM sizes for pools using images from - * the Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with - * premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * available sizes of virtual machines in pools, see Choose a VM size for + * compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * @member {object} [autoPoolSpecification.pool.cloudServiceConfiguration] * This property must be specified if the pool needs to be created with Azure * PaaS VMs. This property and virtualMachineConfiguration are mutually @@ -124,8 +111,8 @@ class PoolInformation { * [autoPoolSpecification.pool.virtualMachineConfiguration.osDisk] * @member {string} * [autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] - * The default value for caching is none. For information about the caching - * options see: + * The default value for caching is readwrite. For information about the + * caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @member {string} @@ -345,7 +332,9 @@ class PoolInformation { * @member {array} [autoPoolSpecification.pool.applicationLicenses] The list * of application licenses must be a subset of available Batch service * application licenses. If a license is requested which is not supported, - * pool creation will fail. + * pool creation will fail. The permitted licenses available on the pool are + * 'maya', 'vray', '3dsmax', 'arnold'. An additional charge applies for each + * application license added to the pool. * @member {array} [autoPoolSpecification.pool.userAccounts] * @member {array} [autoPoolSpecification.pool.metadata] The Batch service * does not assign any meaning to metadata; it is solely for the use of user diff --git a/lib/services/batch/lib/models/poolListNextOptions.js b/lib/services/batch/lib/models/poolListNextOptions.js index 88c829c9f..3335f451c 100644 --- a/lib/services/batch/lib/models/poolListNextOptions.js +++ b/lib/services/batch/lib/models/poolListNextOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/poolListOptions.js b/lib/services/batch/lib/models/poolListOptions.js index d7eb3dcf4..d98885532 100644 --- a/lib/services/batch/lib/models/poolListOptions.js +++ b/lib/services/batch/lib/models/poolListOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/poolListUsageMetricsNextOptions.js b/lib/services/batch/lib/models/poolListUsageMetricsNextOptions.js index c691864dc..08076e5e2 100644 --- a/lib/services/batch/lib/models/poolListUsageMetricsNextOptions.js +++ b/lib/services/batch/lib/models/poolListUsageMetricsNextOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/poolListUsageMetricsOptions.js b/lib/services/batch/lib/models/poolListUsageMetricsOptions.js index 87bf5dc9c..eda2ba20e 100644 --- a/lib/services/batch/lib/models/poolListUsageMetricsOptions.js +++ b/lib/services/batch/lib/models/poolListUsageMetricsOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/poolListUsageMetricsResult.js b/lib/services/batch/lib/models/poolListUsageMetricsResult.js index 6fad3b4ac..3db220bba 100644 --- a/lib/services/batch/lib/models/poolListUsageMetricsResult.js +++ b/lib/services/batch/lib/models/poolListUsageMetricsResult.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/poolNodeCounts.js b/lib/services/batch/lib/models/poolNodeCounts.js index 7300bb01d..042a68ffc 100644 --- a/lib/services/batch/lib/models/poolNodeCounts.js +++ b/lib/services/batch/lib/models/poolNodeCounts.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/poolNodeCountsListResult.js b/lib/services/batch/lib/models/poolNodeCountsListResult.js index bf0e8a80e..893467f6a 100644 --- a/lib/services/batch/lib/models/poolNodeCountsListResult.js +++ b/lib/services/batch/lib/models/poolNodeCountsListResult.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/poolPatchOptions.js b/lib/services/batch/lib/models/poolPatchOptions.js index d2d9b7c08..db7fc5beb 100644 --- a/lib/services/batch/lib/models/poolPatchOptions.js +++ b/lib/services/batch/lib/models/poolPatchOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/poolPatchParameter.js b/lib/services/batch/lib/models/poolPatchParameter.js index 38c8d702a..c800c650c 100644 --- a/lib/services/batch/lib/models/poolPatchParameter.js +++ b/lib/services/batch/lib/models/poolPatchParameter.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/poolRemoveNodesOptions.js b/lib/services/batch/lib/models/poolRemoveNodesOptions.js index c07873d74..a6c880b48 100644 --- a/lib/services/batch/lib/models/poolRemoveNodesOptions.js +++ b/lib/services/batch/lib/models/poolRemoveNodesOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/poolResizeOptions.js b/lib/services/batch/lib/models/poolResizeOptions.js index 8bb813275..80b7f1ffc 100644 --- a/lib/services/batch/lib/models/poolResizeOptions.js +++ b/lib/services/batch/lib/models/poolResizeOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/poolResizeParameter.js b/lib/services/batch/lib/models/poolResizeParameter.js index 9be305930..e4426024a 100644 --- a/lib/services/batch/lib/models/poolResizeParameter.js +++ b/lib/services/batch/lib/models/poolResizeParameter.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/poolSpecification.js b/lib/services/batch/lib/models/poolSpecification.js index aec0d1818..d94a25dba 100644 --- a/lib/services/batch/lib/models/poolSpecification.js +++ b/lib/services/batch/lib/models/poolSpecification.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -24,18 +20,9 @@ class PoolSpecification { * maximum length of 1024. * @member {string} vmSize The size of the virtual machines in the pool. All * virtual machines in a pool are the same size. For information about - * available sizes of virtual machines for Cloud Services pools (pools - * created with cloudServiceConfiguration), see Sizes for Cloud Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and - * A2V2. For information about available VM sizes for pools using images from - * the Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with - * premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * available sizes of virtual machines in pools, see Choose a VM size for + * compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * @member {object} [cloudServiceConfiguration] The cloud service * configuration for the pool. This property must be specified if the pool * needs to be created with Azure PaaS VMs. This property and @@ -86,7 +73,8 @@ class PoolSpecification { * https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration. * @member {object} [virtualMachineConfiguration.osDisk] * @member {string} [virtualMachineConfiguration.osDisk.caching] The default - * value for caching is none. For information about the caching options see: + * value for caching is readwrite. For information about the caching options + * see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @member {string} [virtualMachineConfiguration.nodeAgentSKUId] The Batch @@ -293,7 +281,9 @@ class PoolSpecification { * Batch service will make available on each compute node in the pool. The * list of application licenses must be a subset of available Batch service * application licenses. If a license is requested which is not supported, - * pool creation will fail. + * pool creation will fail. The permitted licenses available on the pool are + * 'maya', 'vray', '3dsmax', 'arnold'. An additional charge applies for each + * application license added to the pool. * @member {array} [userAccounts] The list of user accounts to be created on * each node in the pool. * @member {array} [metadata] A list of name-value pairs associated with the diff --git a/lib/services/batch/lib/models/poolStatistics.js b/lib/services/batch/lib/models/poolStatistics.js index 6efdecf2f..6c8b693ec 100644 --- a/lib/services/batch/lib/models/poolStatistics.js +++ b/lib/services/batch/lib/models/poolStatistics.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/poolStopResizeOptions.js b/lib/services/batch/lib/models/poolStopResizeOptions.js index 0f778a7c1..20494eac1 100644 --- a/lib/services/batch/lib/models/poolStopResizeOptions.js +++ b/lib/services/batch/lib/models/poolStopResizeOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/poolUpdatePropertiesOptions.js b/lib/services/batch/lib/models/poolUpdatePropertiesOptions.js index ccbfa2e7b..d00d1a981 100644 --- a/lib/services/batch/lib/models/poolUpdatePropertiesOptions.js +++ b/lib/services/batch/lib/models/poolUpdatePropertiesOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/poolUpdatePropertiesParameter.js b/lib/services/batch/lib/models/poolUpdatePropertiesParameter.js index abe5b5b04..0a4f1362c 100644 --- a/lib/services/batch/lib/models/poolUpdatePropertiesParameter.js +++ b/lib/services/batch/lib/models/poolUpdatePropertiesParameter.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/poolUpgradeOSOptions.js b/lib/services/batch/lib/models/poolUpgradeOSOptions.js index 58dc17679..415d65f7b 100644 --- a/lib/services/batch/lib/models/poolUpgradeOSOptions.js +++ b/lib/services/batch/lib/models/poolUpgradeOSOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/poolUpgradeOSParameter.js b/lib/services/batch/lib/models/poolUpgradeOSParameter.js index b8bd73621..e46c24b78 100644 --- a/lib/services/batch/lib/models/poolUpgradeOSParameter.js +++ b/lib/services/batch/lib/models/poolUpgradeOSParameter.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/poolUsageMetrics.js b/lib/services/batch/lib/models/poolUsageMetrics.js index ca326a057..d2b7d9bae 100644 --- a/lib/services/batch/lib/models/poolUsageMetrics.js +++ b/lib/services/batch/lib/models/poolUsageMetrics.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -27,16 +23,7 @@ class PoolUsageMetrics { * in a pool are the same size. For information about available sizes of * virtual machines in pools, see Choose a VM size for compute nodes in an * Azure Batch pool - * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). Batch - * supports all Cloud Services VM sizes except ExtraSmall, STANDARD_A1_V2 and - * STANDARD_A2_V2. For information about available VM sizes for pools using - * images from the Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with - * premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * @member {number} totalCoreHours The total core hours used in the pool * during this aggregation interval. * @member {number} dataIngressGiB The cross data center network ingress to diff --git a/lib/services/batch/lib/models/recentJob.js b/lib/services/batch/lib/models/recentJob.js index 5337d9f15..8401766a0 100644 --- a/lib/services/batch/lib/models/recentJob.js +++ b/lib/services/batch/lib/models/recentJob.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/resizeError.js b/lib/services/batch/lib/models/resizeError.js index f0e4bc314..421220242 100644 --- a/lib/services/batch/lib/models/resizeError.js +++ b/lib/services/batch/lib/models/resizeError.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/resourceFile.js b/lib/services/batch/lib/models/resourceFile.js index b522b68b8..beee0946c 100644 --- a/lib/services/batch/lib/models/resourceFile.js +++ b/lib/services/batch/lib/models/resourceFile.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/resourceStatistics.js b/lib/services/batch/lib/models/resourceStatistics.js index 549360571..b30dfa463 100644 --- a/lib/services/batch/lib/models/resourceStatistics.js +++ b/lib/services/batch/lib/models/resourceStatistics.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/schedule.js b/lib/services/batch/lib/models/schedule.js index 12b133e4e..461ae3c64 100644 --- a/lib/services/batch/lib/models/schedule.js +++ b/lib/services/batch/lib/models/schedule.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/startTask.js b/lib/services/batch/lib/models/startTask.js index e4e4d9abe..7280c2ca6 100644 --- a/lib/services/batch/lib/models/startTask.js +++ b/lib/services/batch/lib/models/startTask.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -59,8 +55,13 @@ class StartTask { * @member {string} [containerSettings.registry.userName] * @member {string} [containerSettings.registry.password] * @member {array} [resourceFiles] A list of files that the Batch service - * will download to the compute node before running the command line. Files - * listed under this element are located in the task's working directory. + * will download to the compute node before running the command line. There + * is a maximum size for the list of resource files. When the max size is + * exceeded, the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles + * must be reduced in size. This can be achieved using .zip files, + * Application Packages, or Docker Containers. Files listed under this + * element are located in the task's working directory. * @member {array} [environmentSettings] A list of environment variable * settings for the start task. * @member {object} [userIdentity] The user identity under which the start diff --git a/lib/services/batch/lib/models/startTaskInformation.js b/lib/services/batch/lib/models/startTaskInformation.js index d580d2ee2..33f240a54 100644 --- a/lib/services/batch/lib/models/startTaskInformation.js +++ b/lib/services/batch/lib/models/startTaskInformation.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/subtaskInformation.js b/lib/services/batch/lib/models/subtaskInformation.js index 1cc06e953..8666e7e81 100644 --- a/lib/services/batch/lib/models/subtaskInformation.js +++ b/lib/services/batch/lib/models/subtaskInformation.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/taskAddCollectionOptions.js b/lib/services/batch/lib/models/taskAddCollectionOptions.js index c6353afeb..2201174d9 100644 --- a/lib/services/batch/lib/models/taskAddCollectionOptions.js +++ b/lib/services/batch/lib/models/taskAddCollectionOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/taskAddCollectionParameter.js b/lib/services/batch/lib/models/taskAddCollectionParameter.js index a4455c04c..58d28b0d1 100644 --- a/lib/services/batch/lib/models/taskAddCollectionParameter.js +++ b/lib/services/batch/lib/models/taskAddCollectionParameter.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -19,11 +15,11 @@ const models = require('./index'); class TaskAddCollectionParameter { /** * Create a TaskAddCollectionParameter. - * @member {array} value The collection of tasks to add. The total serialized - * size of this collection must be less than 4MB. If it is greater than 4MB - * (for example if each task has 100's of resource files or environment - * variables), the request will fail with code 'RequestBodyTooLarge' and - * should be retried again with fewer tasks. + * @member {array} value The collection of tasks to add. The maximum count of + * tasks is 100. The total serialized size of this collection must be less + * than 1MB. If it is greater than 1MB (for example if each task has 100's of + * resource files or environment variables), the request will fail with code + * 'RequestBodyTooLarge' and should be retried again with fewer tasks. */ constructor() { } diff --git a/lib/services/batch/lib/models/taskAddCollectionResult.js b/lib/services/batch/lib/models/taskAddCollectionResult.js index b982a283a..64053e1f1 100644 --- a/lib/services/batch/lib/models/taskAddCollectionResult.js +++ b/lib/services/batch/lib/models/taskAddCollectionResult.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/taskAddOptions.js b/lib/services/batch/lib/models/taskAddOptions.js index 0337f50a1..85936150e 100644 --- a/lib/services/batch/lib/models/taskAddOptions.js +++ b/lib/services/batch/lib/models/taskAddOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/taskAddParameter.js b/lib/services/batch/lib/models/taskAddParameter.js index b7cd8323b..59f55a339 100644 --- a/lib/services/batch/lib/models/taskAddParameter.js +++ b/lib/services/batch/lib/models/taskAddParameter.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -130,7 +126,12 @@ class TaskAddParameter { * @member {array} [resourceFiles] A list of files that the Batch service * will download to the compute node before running the command line. For * multi-instance tasks, the resource files will only be downloaded to the - * compute node on which the primary task is executed. + * compute node on which the primary task is executed. There is a maximum + * size for the list of resource files. When the max size is exceeded, the + * request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles + * must be reduced in size. This can be achieved using .zip files, + * Application Packages, or Docker Containers. * @member {array} [outputFiles] A list of files that the Batch service will * upload from the compute node after running the command line. For * multi-instance tasks, the files will only be uploaded from the compute @@ -187,7 +188,11 @@ class TaskAddParameter { * whereas task resource files are downloaded only for the primary. Also note * that these resource files are not downloaded to the task working * directory, but instead are downloaded to the task root directory (one - * directory above the working directory). + * directory above the working directory). There is a maximum size for the + * list of resource files. When the max size is exceeded, the request will + * fail and the response error code will be RequestEntityTooLarge. If this + * occurs, the collection of ResourceFiles must be reduced in size. This can + * be achieved using .zip files, Application Packages, or Docker Containers. * @member {object} [dependsOn] The tasks that this task depends on. This * task will not be scheduled until all tasks that it depends on have * completed successfully. If any of those tasks fail and exhaust their retry diff --git a/lib/services/batch/lib/models/taskAddResult.js b/lib/services/batch/lib/models/taskAddResult.js index b1bfb3c50..7c67a619d 100644 --- a/lib/services/batch/lib/models/taskAddResult.js +++ b/lib/services/batch/lib/models/taskAddResult.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/taskConstraints.js b/lib/services/batch/lib/models/taskConstraints.js index 6a4c7b968..80e2ba04d 100644 --- a/lib/services/batch/lib/models/taskConstraints.js +++ b/lib/services/batch/lib/models/taskConstraints.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/taskContainerExecutionInformation.js b/lib/services/batch/lib/models/taskContainerExecutionInformation.js index 79bc9cfe5..ebd4384c5 100644 --- a/lib/services/batch/lib/models/taskContainerExecutionInformation.js +++ b/lib/services/batch/lib/models/taskContainerExecutionInformation.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/taskContainerSettings.js b/lib/services/batch/lib/models/taskContainerSettings.js index 23f2f437f..53570e264 100644 --- a/lib/services/batch/lib/models/taskContainerSettings.js +++ b/lib/services/batch/lib/models/taskContainerSettings.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/taskCounts.js b/lib/services/batch/lib/models/taskCounts.js index 75e6946e0..0bb00c1eb 100644 --- a/lib/services/batch/lib/models/taskCounts.js +++ b/lib/services/batch/lib/models/taskCounts.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -25,8 +21,6 @@ class TaskCounts { * succeeds if its result (found in the executionInfo property) is 'success'. * @member {number} failed The number of tasks which failed. A task fails if * its result (found in the executionInfo property) is 'failure'. - * @member {string} validationStatus Whether the task counts have been - * validated. Possible values include: 'validated', 'unvalidated' */ constructor() { } @@ -79,14 +73,6 @@ class TaskCounts { type: { name: 'Number' } - }, - validationStatus: { - required: true, - serializedName: 'validationStatus', - type: { - name: 'Enum', - allowedValues: [ 'validated', 'unvalidated' ] - } } } } diff --git a/lib/services/batch/lib/models/taskDeleteMethodOptions.js b/lib/services/batch/lib/models/taskDeleteMethodOptions.js index 5f5e69a3e..ce18aec88 100644 --- a/lib/services/batch/lib/models/taskDeleteMethodOptions.js +++ b/lib/services/batch/lib/models/taskDeleteMethodOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/taskDependencies.js b/lib/services/batch/lib/models/taskDependencies.js index abf0195df..aae844386 100644 --- a/lib/services/batch/lib/models/taskDependencies.js +++ b/lib/services/batch/lib/models/taskDependencies.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/taskExecutionInformation.js b/lib/services/batch/lib/models/taskExecutionInformation.js index 864f46aaf..17cf79955 100644 --- a/lib/services/batch/lib/models/taskExecutionInformation.js +++ b/lib/services/batch/lib/models/taskExecutionInformation.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/taskFailureInformation.js b/lib/services/batch/lib/models/taskFailureInformation.js index 999f4d80d..a3130eac0 100644 --- a/lib/services/batch/lib/models/taskFailureInformation.js +++ b/lib/services/batch/lib/models/taskFailureInformation.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/taskGetOptions.js b/lib/services/batch/lib/models/taskGetOptions.js index 04df01ddf..03ece0780 100644 --- a/lib/services/batch/lib/models/taskGetOptions.js +++ b/lib/services/batch/lib/models/taskGetOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/taskIdRange.js b/lib/services/batch/lib/models/taskIdRange.js index 7c1a449b1..8a4bfb71f 100644 --- a/lib/services/batch/lib/models/taskIdRange.js +++ b/lib/services/batch/lib/models/taskIdRange.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/taskInformation.js b/lib/services/batch/lib/models/taskInformation.js index 03c8f0dd6..81215ca7c 100644 --- a/lib/services/batch/lib/models/taskInformation.js +++ b/lib/services/batch/lib/models/taskInformation.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/taskListNextOptions.js b/lib/services/batch/lib/models/taskListNextOptions.js index fec6f1ca3..d800aed84 100644 --- a/lib/services/batch/lib/models/taskListNextOptions.js +++ b/lib/services/batch/lib/models/taskListNextOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/taskListOptions.js b/lib/services/batch/lib/models/taskListOptions.js index 1fb9ebe50..fdbd27cff 100644 --- a/lib/services/batch/lib/models/taskListOptions.js +++ b/lib/services/batch/lib/models/taskListOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/taskListSubtasksOptions.js b/lib/services/batch/lib/models/taskListSubtasksOptions.js index f713a5a93..7dcb2b17e 100644 --- a/lib/services/batch/lib/models/taskListSubtasksOptions.js +++ b/lib/services/batch/lib/models/taskListSubtasksOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/taskReactivateOptions.js b/lib/services/batch/lib/models/taskReactivateOptions.js index 036de99c2..cfe01a3c4 100644 --- a/lib/services/batch/lib/models/taskReactivateOptions.js +++ b/lib/services/batch/lib/models/taskReactivateOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/taskSchedulingPolicy.js b/lib/services/batch/lib/models/taskSchedulingPolicy.js index 36c3895ee..85058393d 100644 --- a/lib/services/batch/lib/models/taskSchedulingPolicy.js +++ b/lib/services/batch/lib/models/taskSchedulingPolicy.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/taskStatistics.js b/lib/services/batch/lib/models/taskStatistics.js index 32e9c4292..8c12d3c17 100644 --- a/lib/services/batch/lib/models/taskStatistics.js +++ b/lib/services/batch/lib/models/taskStatistics.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/taskTerminateOptions.js b/lib/services/batch/lib/models/taskTerminateOptions.js index 1ce24cae7..3b5505a08 100644 --- a/lib/services/batch/lib/models/taskTerminateOptions.js +++ b/lib/services/batch/lib/models/taskTerminateOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/taskUpdateOptions.js b/lib/services/batch/lib/models/taskUpdateOptions.js index 02028775f..91db61997 100644 --- a/lib/services/batch/lib/models/taskUpdateOptions.js +++ b/lib/services/batch/lib/models/taskUpdateOptions.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/taskUpdateParameter.js b/lib/services/batch/lib/models/taskUpdateParameter.js index 001bc59b2..2e72fc6c7 100644 --- a/lib/services/batch/lib/models/taskUpdateParameter.js +++ b/lib/services/batch/lib/models/taskUpdateParameter.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/uploadBatchServiceLogsConfiguration.js b/lib/services/batch/lib/models/uploadBatchServiceLogsConfiguration.js index 0aee453a7..ce939c1b8 100644 --- a/lib/services/batch/lib/models/uploadBatchServiceLogsConfiguration.js +++ b/lib/services/batch/lib/models/uploadBatchServiceLogsConfiguration.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/uploadBatchServiceLogsResult.js b/lib/services/batch/lib/models/uploadBatchServiceLogsResult.js index b12897b79..bb857910f 100644 --- a/lib/services/batch/lib/models/uploadBatchServiceLogsResult.js +++ b/lib/services/batch/lib/models/uploadBatchServiceLogsResult.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/usageStatistics.js b/lib/services/batch/lib/models/usageStatistics.js index 97d430bfe..bd0556169 100644 --- a/lib/services/batch/lib/models/usageStatistics.js +++ b/lib/services/batch/lib/models/usageStatistics.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/userAccount.js b/lib/services/batch/lib/models/userAccount.js index 0b8d490f2..898a48e02 100644 --- a/lib/services/batch/lib/models/userAccount.js +++ b/lib/services/batch/lib/models/userAccount.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/userIdentity.js b/lib/services/batch/lib/models/userIdentity.js index 3b6916a4b..35139b42e 100644 --- a/lib/services/batch/lib/models/userIdentity.js +++ b/lib/services/batch/lib/models/userIdentity.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/models/virtualMachineConfiguration.js b/lib/services/batch/lib/models/virtualMachineConfiguration.js index e71b2a1b7..7f3f3f1f1 100644 --- a/lib/services/batch/lib/models/virtualMachineConfiguration.js +++ b/lib/services/batch/lib/models/virtualMachineConfiguration.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -39,8 +35,8 @@ class VirtualMachineConfiguration { * https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration. * @member {object} [osDisk] Settings for the operating system disk of the * Virtual Machine. - * @member {string} [osDisk.caching] The default value for caching is none. - * For information about the caching options see: + * @member {string} [osDisk.caching] The default value for caching is + * readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @member {string} nodeAgentSKUId The SKU of the Batch node agent to be diff --git a/lib/services/batch/lib/models/windowsConfiguration.js b/lib/services/batch/lib/models/windowsConfiguration.js index de0f02fcf..72fbe3d5b 100644 --- a/lib/services/batch/lib/models/windowsConfiguration.js +++ b/lib/services/batch/lib/models/windowsConfiguration.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/operations/account.js b/lib/services/batch/lib/operations/account.js index 3e6f1757e..7e69ed0f1 100644 --- a/lib/services/batch/lib/operations/account.js +++ b/lib/services/batch/lib/operations/account.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -254,7 +250,8 @@ function _listNodeAgentSkus(options, callback) { * parameters for the operation * * @param {string} [options.accountListPoolNodeCountsOptions.filter] An OData - * $filter clause. + * $filter clause. For more information on constructing this filter, see + * https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch. * * @param {number} [options.accountListPoolNodeCountsOptions.maxResults] The * maximum number of items to return in the response. @@ -1000,7 +997,8 @@ class Account { * parameters for the operation * * @param {string} [options.accountListPoolNodeCountsOptions.filter] An OData - * $filter clause. + * $filter clause. For more information on constructing this filter, see + * https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch. * * @param {number} [options.accountListPoolNodeCountsOptions.maxResults] The * maximum number of items to return in the response. @@ -1054,7 +1052,8 @@ class Account { * parameters for the operation * * @param {string} [options.accountListPoolNodeCountsOptions.filter] An OData - * $filter clause. + * $filter clause. For more information on constructing this filter, see + * https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch. * * @param {number} [options.accountListPoolNodeCountsOptions.maxResults] The * maximum number of items to return in the response. diff --git a/lib/services/batch/lib/operations/application.js b/lib/services/batch/lib/operations/application.js index 678fbc8b6..17725c946 100644 --- a/lib/services/batch/lib/operations/application.js +++ b/lib/services/batch/lib/operations/application.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/operations/certificateOperations.js b/lib/services/batch/lib/operations/certificateOperations.js index 2ac2c3c92..bb89862b4 100644 --- a/lib/services/batch/lib/operations/certificateOperations.js +++ b/lib/services/batch/lib/operations/certificateOperations.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/operations/computeNodeOperations.js b/lib/services/batch/lib/operations/computeNodeOperations.js index 843c44825..b4b08c2e9 100644 --- a/lib/services/batch/lib/operations/computeNodeOperations.js +++ b/lib/services/batch/lib/operations/computeNodeOperations.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/operations/file.js b/lib/services/batch/lib/operations/file.js index 00bd3cb8b..1e24dc9ff 100644 --- a/lib/services/batch/lib/operations/file.js +++ b/lib/services/batch/lib/operations/file.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/operations/index.d.ts b/lib/services/batch/lib/operations/index.d.ts index f6ff4e7cf..f90e012e0 100644 --- a/lib/services/batch/lib/operations/index.d.ts +++ b/lib/services/batch/lib/operations/index.d.ts @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -489,6 +485,8 @@ export interface Pool { * * Statistics are aggregated across all pools that have ever existed in the * account, from account creation to the last update time of the statistics. + * The statistics may not be immediately available. The Batch service performs + * periodic roll-up of statistics. The typical delay is about 30 minutes. * * @param {object} [options] Optional Parameters. * @@ -529,6 +527,8 @@ export interface Pool { * * Statistics are aggregated across all pools that have ever existed in the * account, from account creation to the last update time of the statistics. + * The statistics may not be immediately available. The Batch service performs + * periodic roll-up of statistics. The typical delay is about 30 minutes. * * @param {object} [options] Optional Parameters. * @@ -605,7 +605,7 @@ export interface Pool { * virtual machines in a pool are the same size. For information about * available sizes of virtual machines for Cloud Services pools (pools created * with cloudServiceConfiguration), see Sizes for Cloud Services - * (http://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). + * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. * For information about available VM sizes for pools using images from the * Virtual Machines Marketplace (pools created with @@ -675,8 +675,8 @@ export interface Pool { * operating system disk of the Virtual Machine. * * @param {string} [pool.virtualMachineConfiguration.osDisk.caching] The type - * of caching to enable for the OS disk. The default value for caching is none. - * For information about the caching options see: + * of caching to enable for the OS disk. The default value for caching is + * readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -841,7 +841,10 @@ export interface Pool { * advantage of shell features such as environment variable expansion. If you * want to take advantage of such features, you should invoke the shell in the * command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c - * MyCommand" in Linux. + * MyCommand" in Linux. If the command line refers to file paths, it should use + * a relative path (relative to the task working directory), or use the Batch + * provided environment variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} [pool.startTask.containerSettings] The settings for the * container under which the start task runs. When this is specified, all @@ -875,7 +878,12 @@ export interface Pool { * * @param {array} [pool.startTask.resourceFiles] A list of files that the Batch * service will download to the compute node before running the command line. - * Files listed under this element are located in the task's working directory. + * There is a maximum size for the list of resource files. When the max size is + * exceeded, the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must + * be reduced in size. This can be achieved using .zip files, Application + * Packages, or Docker Containers. Files listed under this element are located + * in the task's working directory. * * @param {array} [pool.startTask.environmentSettings] A list of environment * variable settings for the start task. @@ -1014,7 +1022,7 @@ export interface Pool { * virtual machines in a pool are the same size. For information about * available sizes of virtual machines for Cloud Services pools (pools created * with cloudServiceConfiguration), see Sizes for Cloud Services - * (http://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). + * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. * For information about available VM sizes for pools using images from the * Virtual Machines Marketplace (pools created with @@ -1084,8 +1092,8 @@ export interface Pool { * operating system disk of the Virtual Machine. * * @param {string} [pool.virtualMachineConfiguration.osDisk.caching] The type - * of caching to enable for the OS disk. The default value for caching is none. - * For information about the caching options see: + * of caching to enable for the OS disk. The default value for caching is + * readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -1250,7 +1258,10 @@ export interface Pool { * advantage of shell features such as environment variable expansion. If you * want to take advantage of such features, you should invoke the shell in the * command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c - * MyCommand" in Linux. + * MyCommand" in Linux. If the command line refers to file paths, it should use + * a relative path (relative to the task working directory), or use the Batch + * provided environment variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} [pool.startTask.containerSettings] The settings for the * container under which the start task runs. When this is specified, all @@ -1284,7 +1295,12 @@ export interface Pool { * * @param {array} [pool.startTask.resourceFiles] A list of files that the Batch * service will download to the compute node before running the command line. - * Files listed under this element are located in the task's working directory. + * There is a maximum size for the list of resource files. When the max size is + * exceeded, the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must + * be reduced in size. This can be achieved using .zip files, Application + * Packages, or Docker Containers. Files listed under this element are located + * in the task's working directory. * * @param {array} [pool.startTask.environmentSettings] A list of environment * variable settings for the start task. @@ -1974,7 +1990,10 @@ export interface Pool { * cannot take advantage of shell features such as environment variable * expansion. If you want to take advantage of such features, you should invoke * the shell in the command line, for example using "cmd /c MyCommand" in - * Windows or "/bin/sh -c MyCommand" in Linux. + * Windows or "/bin/sh -c MyCommand" in Linux. If the command line refers to + * file paths, it should use a relative path (relative to the task working + * directory), or use the Batch provided environment variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} [poolPatchParameter.startTask.containerSettings] The * settings for the container under which the start task runs. When this is @@ -2012,8 +2031,12 @@ export interface Pool { * * @param {array} [poolPatchParameter.startTask.resourceFiles] A list of files * that the Batch service will download to the compute node before running the - * command line. Files listed under this element are located in the task's - * working directory. + * command line. There is a maximum size for the list of resource files. When + * the max size is exceeded, the request will fail and the response error code + * will be RequestEntityTooLarge. If this occurs, the collection of + * ResourceFiles must be reduced in size. This can be achieved using .zip + * files, Application Packages, or Docker Containers. Files listed under this + * element are located in the task's working directory. * * @param {array} [poolPatchParameter.startTask.environmentSettings] A list of * environment variable settings for the start task. @@ -2164,7 +2187,10 @@ export interface Pool { * cannot take advantage of shell features such as environment variable * expansion. If you want to take advantage of such features, you should invoke * the shell in the command line, for example using "cmd /c MyCommand" in - * Windows or "/bin/sh -c MyCommand" in Linux. + * Windows or "/bin/sh -c MyCommand" in Linux. If the command line refers to + * file paths, it should use a relative path (relative to the task working + * directory), or use the Batch provided environment variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} [poolPatchParameter.startTask.containerSettings] The * settings for the container under which the start task runs. When this is @@ -2202,8 +2228,12 @@ export interface Pool { * * @param {array} [poolPatchParameter.startTask.resourceFiles] A list of files * that the Batch service will download to the compute node before running the - * command line. Files listed under this element are located in the task's - * working directory. + * command line. There is a maximum size for the list of resource files. When + * the max size is exceeded, the request will fail and the response error code + * will be RequestEntityTooLarge. If this occurs, the collection of + * ResourceFiles must be reduced in size. This can be achieved using .zip + * files, Application Packages, or Docker Containers. Files listed under this + * element are located in the task's working directory. * * @param {array} [poolPatchParameter.startTask.environmentSettings] A list of * environment variable settings for the start task. @@ -3117,7 +3147,10 @@ export interface Pool { * and therefore cannot take advantage of shell features such as environment * variable expansion. If you want to take advantage of such features, you * should invoke the shell in the command line, for example using "cmd /c - * MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command + * line refers to file paths, it should use a relative path (relative to the + * task working directory), or use the Batch provided environment variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} [poolUpdatePropertiesParameter.startTask.containerSettings] * The settings for the container under which the start task runs. When this is @@ -3157,8 +3190,12 @@ export interface Pool { * * @param {array} [poolUpdatePropertiesParameter.startTask.resourceFiles] A * list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} [poolUpdatePropertiesParameter.startTask.environmentSettings] * A list of environment variable settings for the start task. @@ -3294,7 +3331,10 @@ export interface Pool { * and therefore cannot take advantage of shell features such as environment * variable expansion. If you want to take advantage of such features, you * should invoke the shell in the command line, for example using "cmd /c - * MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command + * line refers to file paths, it should use a relative path (relative to the + * task working directory), or use the Batch provided environment variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} [poolUpdatePropertiesParameter.startTask.containerSettings] * The settings for the container under which the start task runs. When this is @@ -3334,8 +3374,12 @@ export interface Pool { * * @param {array} [poolUpdatePropertiesParameter.startTask.resourceFiles] A * list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} [poolUpdatePropertiesParameter.startTask.environmentSettings] * A list of environment variable settings for the start task. @@ -4124,7 +4168,8 @@ export interface Account { * parameters for the operation * * @param {string} [options.accountListPoolNodeCountsOptions.filter] An OData - * $filter clause. + * $filter clause. For more information on constructing this filter, see + * https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch. * * @param {number} [options.accountListPoolNodeCountsOptions.maxResults] The * maximum number of items to return in the response. @@ -4166,7 +4211,8 @@ export interface Account { * parameters for the operation * * @param {string} [options.accountListPoolNodeCountsOptions.filter] An OData - * $filter clause. + * $filter clause. For more information on constructing this filter, see + * https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch. * * @param {number} [options.accountListPoolNodeCountsOptions.maxResults] The * maximum number of items to return in the response. @@ -4414,6 +4460,8 @@ export interface Job { * * Statistics are aggregated across all jobs that have ever existed in the * account, from account creation to the last update time of the statistics. + * The statistics may not be immediately available. The Batch service performs + * periodic roll-up of statistics. The typical delay is about 30 minutes. * * @param {object} [options] Optional Parameters. * @@ -4454,6 +4502,8 @@ export interface Job { * * Statistics are aggregated across all jobs that have ever existed in the * account, from account creation to the last update time of the statistics. + * The statistics may not be immediately available. The Batch service performs + * periodic roll-up of statistics. The typical delay is about 30 minutes. * * @param {object} [options] Optional Parameters. * @@ -4902,18 +4952,8 @@ export interface Job { * @param {string} jobPatchParameter.poolInfo.autoPoolSpecification.pool.vmSize * The size of the virtual machines in the pool. All virtual machines in a pool * are the same size. For information about available sizes of virtual machines - * for Cloud Services pools (pools created with cloudServiceConfiguration), see - * Sizes for Cloud Services - * (http://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * in pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * * @param {object} * [jobPatchParameter.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] @@ -4994,7 +5034,7 @@ export interface Job { * @param {string} * [jobPatchParameter.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] * The type of caching to enable for the OS disk. The default value for caching - * is none. For information about the caching options see: + * is readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -5192,7 +5232,11 @@ export interface Job { * shell, and therefore cannot take advantage of shell features such as * environment variable expansion. If you want to take advantage of such * features, you should invoke the shell in the command line, for example using - * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the + * command line refers to file paths, it should use a relative path (relative + * to the task working directory), or use the Batch provided environment + * variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} * [jobPatchParameter.poolInfo.autoPoolSpecification.pool.startTask.containerSettings] @@ -5235,8 +5279,12 @@ export interface Job { * @param {array} * [jobPatchParameter.poolInfo.autoPoolSpecification.pool.startTask.resourceFiles] * A list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [jobPatchParameter.poolInfo.autoPoolSpecification.pool.startTask.environmentSettings] @@ -5315,7 +5363,9 @@ export interface Job { * The list of application licenses the Batch service will make available on * each compute node in the pool. The list of application licenses must be a * subset of available Batch service application licenses. If a license is - * requested which is not supported, pool creation will fail. + * requested which is not supported, pool creation will fail. The permitted + * licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An + * additional charge applies for each application license added to the pool. * * @param {array} * [jobPatchParameter.poolInfo.autoPoolSpecification.pool.userAccounts] The @@ -5490,18 +5540,8 @@ export interface Job { * @param {string} jobPatchParameter.poolInfo.autoPoolSpecification.pool.vmSize * The size of the virtual machines in the pool. All virtual machines in a pool * are the same size. For information about available sizes of virtual machines - * for Cloud Services pools (pools created with cloudServiceConfiguration), see - * Sizes for Cloud Services - * (http://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * in pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * * @param {object} * [jobPatchParameter.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] @@ -5582,7 +5622,7 @@ export interface Job { * @param {string} * [jobPatchParameter.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] * The type of caching to enable for the OS disk. The default value for caching - * is none. For information about the caching options see: + * is readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -5780,7 +5820,11 @@ export interface Job { * shell, and therefore cannot take advantage of shell features such as * environment variable expansion. If you want to take advantage of such * features, you should invoke the shell in the command line, for example using - * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the + * command line refers to file paths, it should use a relative path (relative + * to the task working directory), or use the Batch provided environment + * variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} * [jobPatchParameter.poolInfo.autoPoolSpecification.pool.startTask.containerSettings] @@ -5823,8 +5867,12 @@ export interface Job { * @param {array} * [jobPatchParameter.poolInfo.autoPoolSpecification.pool.startTask.resourceFiles] * A list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [jobPatchParameter.poolInfo.autoPoolSpecification.pool.startTask.environmentSettings] @@ -5903,7 +5951,9 @@ export interface Job { * The list of application licenses the Batch service will make available on * each compute node in the pool. The list of application licenses must be a * subset of available Batch service application licenses. If a license is - * requested which is not supported, pool creation will fail. + * requested which is not supported, pool creation will fail. The permitted + * licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An + * additional charge applies for each application license added to the pool. * * @param {array} * [jobPatchParameter.poolInfo.autoPoolSpecification.pool.userAccounts] The @@ -6087,19 +6137,9 @@ export interface Job { * @param {string} * jobUpdateParameter.poolInfo.autoPoolSpecification.pool.vmSize The size of * the virtual machines in the pool. All virtual machines in a pool are the - * same size. For information about available sizes of virtual machines for - * Cloud Services pools (pools created with cloudServiceConfiguration), see - * Sizes for Cloud Services - * (http://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * same size. For information about available sizes of virtual machines in + * pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * * @param {object} * [jobUpdateParameter.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] @@ -6180,7 +6220,7 @@ export interface Job { * @param {string} * [jobUpdateParameter.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] * The type of caching to enable for the OS disk. The default value for caching - * is none. For information about the caching options see: + * is readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -6378,7 +6418,11 @@ export interface Job { * shell, and therefore cannot take advantage of shell features such as * environment variable expansion. If you want to take advantage of such * features, you should invoke the shell in the command line, for example using - * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the + * command line refers to file paths, it should use a relative path (relative + * to the task working directory), or use the Batch provided environment + * variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} * [jobUpdateParameter.poolInfo.autoPoolSpecification.pool.startTask.containerSettings] @@ -6421,8 +6465,12 @@ export interface Job { * @param {array} * [jobUpdateParameter.poolInfo.autoPoolSpecification.pool.startTask.resourceFiles] * A list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [jobUpdateParameter.poolInfo.autoPoolSpecification.pool.startTask.environmentSettings] @@ -6501,7 +6549,9 @@ export interface Job { * The list of application licenses the Batch service will make available on * each compute node in the pool. The list of application licenses must be a * subset of available Batch service application licenses. If a license is - * requested which is not supported, pool creation will fail. + * requested which is not supported, pool creation will fail. The permitted + * licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An + * additional charge applies for each application license added to the pool. * * @param {array} * [jobUpdateParameter.poolInfo.autoPoolSpecification.pool.userAccounts] The @@ -6680,19 +6730,9 @@ export interface Job { * @param {string} * jobUpdateParameter.poolInfo.autoPoolSpecification.pool.vmSize The size of * the virtual machines in the pool. All virtual machines in a pool are the - * same size. For information about available sizes of virtual machines for - * Cloud Services pools (pools created with cloudServiceConfiguration), see - * Sizes for Cloud Services - * (http://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * same size. For information about available sizes of virtual machines in + * pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * * @param {object} * [jobUpdateParameter.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] @@ -6773,7 +6813,7 @@ export interface Job { * @param {string} * [jobUpdateParameter.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] * The type of caching to enable for the OS disk. The default value for caching - * is none. For information about the caching options see: + * is readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -6971,7 +7011,11 @@ export interface Job { * shell, and therefore cannot take advantage of shell features such as * environment variable expansion. If you want to take advantage of such * features, you should invoke the shell in the command line, for example using - * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the + * command line refers to file paths, it should use a relative path (relative + * to the task working directory), or use the Batch provided environment + * variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} * [jobUpdateParameter.poolInfo.autoPoolSpecification.pool.startTask.containerSettings] @@ -7014,8 +7058,12 @@ export interface Job { * @param {array} * [jobUpdateParameter.poolInfo.autoPoolSpecification.pool.startTask.resourceFiles] * A list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [jobUpdateParameter.poolInfo.autoPoolSpecification.pool.startTask.environmentSettings] @@ -7094,7 +7142,9 @@ export interface Job { * The list of application licenses the Batch service will make available on * each compute node in the pool. The list of application licenses must be a * subset of available Batch service application licenses. If a license is - * requested which is not supported, pool creation will fail. + * requested which is not supported, pool creation will fail. The permitted + * licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An + * additional charge applies for each application license added to the pool. * * @param {array} * [jobUpdateParameter.poolInfo.autoPoolSpecification.pool.userAccounts] The @@ -7494,9 +7544,12 @@ export interface Job { * @summary Terminates the specified job, marking it as completed. * * When a Terminate Job request is received, the Batch service sets the job to - * the terminating state. The Batch service then terminates any active or - * running tasks associated with the job, and runs any required Job Release - * tasks. The job then moves into the completed state. + * the terminating state. The Batch service then terminates any running tasks + * associated with the job and runs any required job release tasks. Then the + * job moves into the completed state. If there are any tasks in the job in the + * active state, they will remain in the active state. Once a job is + * terminated, new tasks cannot be added and any remaining active tasks will + * not be scheduled. * * @param {string} jobId The ID of the job to terminate. * @@ -7558,9 +7611,12 @@ export interface Job { * @summary Terminates the specified job, marking it as completed. * * When a Terminate Job request is received, the Batch service sets the job to - * the terminating state. The Batch service then terminates any active or - * running tasks associated with the job, and runs any required Job Release - * tasks. The job then moves into the completed state. + * the terminating state. The Batch service then terminates any running tasks + * associated with the job and runs any required job release tasks. Then the + * job moves into the completed state. If there are any tasks in the job in the + * active state, they will remain in the active state. Once a job is + * terminated, new tasks cannot be added and any remaining active tasks will + * not be scheduled. * * @param {string} jobId The ID of the job to terminate. * @@ -7712,7 +7768,10 @@ export interface Job { * cannot take advantage of shell features such as environment variable * expansion. If you want to take advantage of such features, you should invoke * the shell in the command line, for example using "cmd /c MyCommand" in - * Windows or "/bin/sh -c MyCommand" in Linux. + * Windows or "/bin/sh -c MyCommand" in Linux. If the command line refers to + * file paths, it should use a relative path (relative to the task working + * directory), or use the Batch provided environment variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} [job.jobManagerTask.containerSettings] The settings for the * container under which the Job Manager task runs. If the pool that will run @@ -7726,7 +7785,11 @@ export interface Job { * @param {array} [job.jobManagerTask.resourceFiles] A list of files that the * Batch service will download to the compute node before running the command * line. Files listed under this element are located in the task's working - * directory. + * directory. There is a maximum size for the list of resource files. When the + * max size is exceeded, the request will fail and the response error code will + * be RequestEntityTooLarge. If this occurs, the collection of ResourceFiles + * must be reduced in size. This can be achieved using .zip files, Application + * Packages, or Docker Containers. * * @param {array} [job.jobManagerTask.outputFiles] A list of files that the * Batch service will upload from the compute node after running the command @@ -7793,7 +7856,7 @@ export interface Job { * * @param {boolean} [job.jobManagerTask.allowLowPriorityNode] Whether the Job * Manager task may run on a low-priority compute node. The default value is - * false. + * true. * * @param {object} [job.jobPreparationTask] The Job Preparation task. If a job * has a Job Preparation task, the Batch service will run the Job Preparation @@ -7815,7 +7878,10 @@ export interface Job { * therefore cannot take advantage of shell features such as environment * variable expansion. If you want to take advantage of such features, you * should invoke the shell in the command line, for example using "cmd /c - * MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command + * line refers to file paths, it should use a relative path (relative to the + * task working directory), or use the Batch provided environment variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} [job.jobPreparationTask.containerSettings] The settings for * the container under which the Job Preparation task runs. When this is @@ -7827,7 +7893,11 @@ export interface Job { * @param {array} [job.jobPreparationTask.resourceFiles] A list of files that * the Batch service will download to the compute node before running the * command line. Files listed under this element are located in the task's - * working directory. + * working directory. There is a maximum size for the list of resource files. + * When the max size is exceeded, the request will fail and the response error + * code will be RequestEntityTooLarge. If this occurs, the collection of + * ResourceFiles must be reduced in size. This can be achieved using .zip + * files, Application Packages, or Docker Containers. * * @param {array} [job.jobPreparationTask.environmentSettings] A list of * environment variable settings for the Job Preparation task. @@ -7852,11 +7922,14 @@ export interface Job { * @param {number} [job.jobPreparationTask.constraints.maxTaskRetryCount] The * maximum number of times the task may be retried. The Batch service retries a * task if its exit code is nonzero. Note that this value specifically controls - * the number of retries. The Batch service will try the task once, and may - * then retry up to this limit. For example, if the maximum retry count is 3, - * Batch tries the task up to 4 times (one initial try and 3 retries). If the - * maximum retry count is 0, the Batch service does not retry the task. If the + * the number of retries for the task executable due to a nonzero exit code. + * The Batch service will try the task once, and may then retry up to this + * limit. For example, if the maximum retry count is 3, Batch tries the task up + * to 4 times (one initial try and 3 retries). If the maximum retry count is 0, + * the Batch service does not retry the task after the first attempt. If the * maximum retry count is -1, the Batch service retries the task without limit. + * Resource files and application packages are only downloaded again if the + * task is retried on a new compute node. * * @param {boolean} [job.jobPreparationTask.waitForSuccess] Whether the Batch * service should wait for the Job Preparation task to complete successfully @@ -7909,7 +7982,10 @@ export interface Job { * cannot take advantage of shell features such as environment variable * expansion. If you want to take advantage of such features, you should invoke * the shell in the command line, for example using "cmd /c MyCommand" in - * Windows or "/bin/sh -c MyCommand" in Linux. + * Windows or "/bin/sh -c MyCommand" in Linux. If the command line refers to + * file paths, it should use a relative path (relative to the task working + * directory), or use the Batch provided environment variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} [job.jobReleaseTask.containerSettings] The settings for the * container under which the Job Release task runs. When this is specified, all @@ -7920,8 +7996,12 @@ export interface Job { * * @param {array} [job.jobReleaseTask.resourceFiles] A list of files that the * Batch service will download to the compute node before running the command - * line. Files listed under this element are located in the task's working - * directory. + * line. There is a maximum size for the list of resource files. When the max + * size is exceeded, the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must + * be reduced in size. This can be achieved using .zip files, Application + * Packages, or Docker Containers. Files listed under this element are located + * in the task's working directory. * * @param {array} [job.jobReleaseTask.environmentSettings] A list of * environment variable settings for the Job Release task. @@ -8000,19 +8080,9 @@ export interface Job { * * @param {string} job.poolInfo.autoPoolSpecification.pool.vmSize The size of * the virtual machines in the pool. All virtual machines in a pool are the - * same size. For information about available sizes of virtual machines for - * Cloud Services pools (pools created with cloudServiceConfiguration), see - * Sizes for Cloud Services - * (http://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * same size. For information about available sizes of virtual machines in + * pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * * @param {object} * [job.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] The @@ -8092,7 +8162,7 @@ export interface Job { * @param {string} * [job.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] * The type of caching to enable for the OS disk. The default value for caching - * is none. For information about the caching options see: + * is readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -8286,7 +8356,10 @@ export interface Job { * therefore cannot take advantage of shell features such as environment * variable expansion. If you want to take advantage of such features, you * should invoke the shell in the command line, for example using "cmd /c - * MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command + * line refers to file paths, it should use a relative path (relative to the + * task working directory), or use the Batch provided environment variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} * [job.poolInfo.autoPoolSpecification.pool.startTask.containerSettings] The @@ -8329,8 +8402,12 @@ export interface Job { * @param {array} * [job.poolInfo.autoPoolSpecification.pool.startTask.resourceFiles] A list of * files that the Batch service will download to the compute node before - * running the command line. Files listed under this element are located in the - * task's working directory. + * running the command line. There is a maximum size for the list of resource + * files. When the max size is exceeded, the request will fail and the response + * error code will be RequestEntityTooLarge. If this occurs, the collection of + * ResourceFiles must be reduced in size. This can be achieved using .zip + * files, Application Packages, or Docker Containers. Files listed under this + * element are located in the task's working directory. * * @param {array} * [job.poolInfo.autoPoolSpecification.pool.startTask.environmentSettings] A @@ -8407,7 +8484,9 @@ export interface Job { * The list of application licenses the Batch service will make available on * each compute node in the pool. The list of application licenses must be a * subset of available Batch service application licenses. If a license is - * requested which is not supported, pool creation will fail. + * requested which is not supported, pool creation will fail. The permitted + * licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An + * additional charge applies for each application license added to the pool. * * @param {array} [job.poolInfo.autoPoolSpecification.pool.userAccounts] The * list of user accounts to be created on each node in the pool. @@ -8547,7 +8626,10 @@ export interface Job { * cannot take advantage of shell features such as environment variable * expansion. If you want to take advantage of such features, you should invoke * the shell in the command line, for example using "cmd /c MyCommand" in - * Windows or "/bin/sh -c MyCommand" in Linux. + * Windows or "/bin/sh -c MyCommand" in Linux. If the command line refers to + * file paths, it should use a relative path (relative to the task working + * directory), or use the Batch provided environment variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} [job.jobManagerTask.containerSettings] The settings for the * container under which the Job Manager task runs. If the pool that will run @@ -8561,7 +8643,11 @@ export interface Job { * @param {array} [job.jobManagerTask.resourceFiles] A list of files that the * Batch service will download to the compute node before running the command * line. Files listed under this element are located in the task's working - * directory. + * directory. There is a maximum size for the list of resource files. When the + * max size is exceeded, the request will fail and the response error code will + * be RequestEntityTooLarge. If this occurs, the collection of ResourceFiles + * must be reduced in size. This can be achieved using .zip files, Application + * Packages, or Docker Containers. * * @param {array} [job.jobManagerTask.outputFiles] A list of files that the * Batch service will upload from the compute node after running the command @@ -8628,7 +8714,7 @@ export interface Job { * * @param {boolean} [job.jobManagerTask.allowLowPriorityNode] Whether the Job * Manager task may run on a low-priority compute node. The default value is - * false. + * true. * * @param {object} [job.jobPreparationTask] The Job Preparation task. If a job * has a Job Preparation task, the Batch service will run the Job Preparation @@ -8650,7 +8736,10 @@ export interface Job { * therefore cannot take advantage of shell features such as environment * variable expansion. If you want to take advantage of such features, you * should invoke the shell in the command line, for example using "cmd /c - * MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command + * line refers to file paths, it should use a relative path (relative to the + * task working directory), or use the Batch provided environment variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} [job.jobPreparationTask.containerSettings] The settings for * the container under which the Job Preparation task runs. When this is @@ -8662,7 +8751,11 @@ export interface Job { * @param {array} [job.jobPreparationTask.resourceFiles] A list of files that * the Batch service will download to the compute node before running the * command line. Files listed under this element are located in the task's - * working directory. + * working directory. There is a maximum size for the list of resource files. + * When the max size is exceeded, the request will fail and the response error + * code will be RequestEntityTooLarge. If this occurs, the collection of + * ResourceFiles must be reduced in size. This can be achieved using .zip + * files, Application Packages, or Docker Containers. * * @param {array} [job.jobPreparationTask.environmentSettings] A list of * environment variable settings for the Job Preparation task. @@ -8687,11 +8780,14 @@ export interface Job { * @param {number} [job.jobPreparationTask.constraints.maxTaskRetryCount] The * maximum number of times the task may be retried. The Batch service retries a * task if its exit code is nonzero. Note that this value specifically controls - * the number of retries. The Batch service will try the task once, and may - * then retry up to this limit. For example, if the maximum retry count is 3, - * Batch tries the task up to 4 times (one initial try and 3 retries). If the - * maximum retry count is 0, the Batch service does not retry the task. If the + * the number of retries for the task executable due to a nonzero exit code. + * The Batch service will try the task once, and may then retry up to this + * limit. For example, if the maximum retry count is 3, Batch tries the task up + * to 4 times (one initial try and 3 retries). If the maximum retry count is 0, + * the Batch service does not retry the task after the first attempt. If the * maximum retry count is -1, the Batch service retries the task without limit. + * Resource files and application packages are only downloaded again if the + * task is retried on a new compute node. * * @param {boolean} [job.jobPreparationTask.waitForSuccess] Whether the Batch * service should wait for the Job Preparation task to complete successfully @@ -8744,7 +8840,10 @@ export interface Job { * cannot take advantage of shell features such as environment variable * expansion. If you want to take advantage of such features, you should invoke * the shell in the command line, for example using "cmd /c MyCommand" in - * Windows or "/bin/sh -c MyCommand" in Linux. + * Windows or "/bin/sh -c MyCommand" in Linux. If the command line refers to + * file paths, it should use a relative path (relative to the task working + * directory), or use the Batch provided environment variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} [job.jobReleaseTask.containerSettings] The settings for the * container under which the Job Release task runs. When this is specified, all @@ -8755,8 +8854,12 @@ export interface Job { * * @param {array} [job.jobReleaseTask.resourceFiles] A list of files that the * Batch service will download to the compute node before running the command - * line. Files listed under this element are located in the task's working - * directory. + * line. There is a maximum size for the list of resource files. When the max + * size is exceeded, the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must + * be reduced in size. This can be achieved using .zip files, Application + * Packages, or Docker Containers. Files listed under this element are located + * in the task's working directory. * * @param {array} [job.jobReleaseTask.environmentSettings] A list of * environment variable settings for the Job Release task. @@ -8835,19 +8938,9 @@ export interface Job { * * @param {string} job.poolInfo.autoPoolSpecification.pool.vmSize The size of * the virtual machines in the pool. All virtual machines in a pool are the - * same size. For information about available sizes of virtual machines for - * Cloud Services pools (pools created with cloudServiceConfiguration), see - * Sizes for Cloud Services - * (http://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * same size. For information about available sizes of virtual machines in + * pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * * @param {object} * [job.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] The @@ -8927,7 +9020,7 @@ export interface Job { * @param {string} * [job.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] * The type of caching to enable for the OS disk. The default value for caching - * is none. For information about the caching options see: + * is readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -9121,7 +9214,10 @@ export interface Job { * therefore cannot take advantage of shell features such as environment * variable expansion. If you want to take advantage of such features, you * should invoke the shell in the command line, for example using "cmd /c - * MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command + * line refers to file paths, it should use a relative path (relative to the + * task working directory), or use the Batch provided environment variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} * [job.poolInfo.autoPoolSpecification.pool.startTask.containerSettings] The @@ -9164,8 +9260,12 @@ export interface Job { * @param {array} * [job.poolInfo.autoPoolSpecification.pool.startTask.resourceFiles] A list of * files that the Batch service will download to the compute node before - * running the command line. Files listed under this element are located in the - * task's working directory. + * running the command line. There is a maximum size for the list of resource + * files. When the max size is exceeded, the request will fail and the response + * error code will be RequestEntityTooLarge. If this occurs, the collection of + * ResourceFiles must be reduced in size. This can be achieved using .zip + * files, Application Packages, or Docker Containers. Files listed under this + * element are located in the task's working directory. * * @param {array} * [job.poolInfo.autoPoolSpecification.pool.startTask.environmentSettings] A @@ -9242,7 +9342,9 @@ export interface Job { * The list of application licenses the Batch service will make available on * each compute node in the pool. The list of application licenses must be a * subset of available Batch service application licenses. If a license is - * requested which is not supported, pool creation will fail. + * requested which is not supported, pool creation will fail. The permitted + * licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An + * additional charge applies for each application license added to the pool. * * @param {array} [job.poolInfo.autoPoolSpecification.pool.userAccounts] The * list of user accounts to be created on each node in the pool. @@ -9712,11 +9814,7 @@ export interface Job { * * Task counts provide a count of the tasks by active, running or completed * task state, and a count of tasks which succeeded or failed. Tasks in the - * preparing state are counted as running. If the validationStatus is - * unvalidated, then the Batch service has not been able to check state counts - * against the task states as reported in the List Tasks API. The - * validationStatus may be unvalidated if the job contains more than 200,000 - * tasks. + * preparing state are counted as running. * * @param {string} jobId The ID of the job. * @@ -9756,11 +9854,7 @@ export interface Job { * * Task counts provide a count of the tasks by active, running or completed * task state, and a count of tasks which succeeded or failed. Tasks in the - * preparing state are counted as running. If the validationStatus is - * unvalidated, then the Batch service has not been able to check state counts - * against the task states as reported in the List Tasks API. The - * validationStatus may be unvalidated if the job contains more than 200,000 - * tasks. + * preparing state are counted as running. * * @param {string} jobId The ID of the job. * @@ -12543,7 +12637,11 @@ export interface JobSchedule { * shell, and therefore cannot take advantage of shell features such as * environment variable expansion. If you want to take advantage of such * features, you should invoke the shell in the command line, for example using - * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the + * command line refers to file paths, it should use a relative path (relative + * to the task working directory), or use the Batch provided environment + * variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} * [jobSchedulePatchParameter.jobSpecification.jobManagerTask.containerSettings] @@ -12560,7 +12658,11 @@ export interface JobSchedule { * [jobSchedulePatchParameter.jobSpecification.jobManagerTask.resourceFiles] A * list of files that the Batch service will download to the compute node * before running the command line. Files listed under this element are located - * in the task's working directory. + * in the task's working directory. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and + * the response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * * @param {array} * [jobSchedulePatchParameter.jobSpecification.jobManagerTask.outputFiles] A @@ -12639,7 +12741,7 @@ export interface JobSchedule { * @param {boolean} * [jobSchedulePatchParameter.jobSpecification.jobManagerTask.allowLowPriorityNode] * Whether the Job Manager task may run on a low-priority compute node. The - * default value is false. + * default value is true. * * @param {object} * [jobSchedulePatchParameter.jobSpecification.jobPreparationTask] The Job @@ -12665,7 +12767,11 @@ export interface JobSchedule { * under a shell, and therefore cannot take advantage of shell features such as * environment variable expansion. If you want to take advantage of such * features, you should invoke the shell in the command line, for example using - * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the + * command line refers to file paths, it should use a relative path (relative + * to the task working directory), or use the Batch provided environment + * variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} * [jobSchedulePatchParameter.jobSpecification.jobPreparationTask.containerSettings] @@ -12679,7 +12785,11 @@ export interface JobSchedule { * [jobSchedulePatchParameter.jobSpecification.jobPreparationTask.resourceFiles] * A list of files that the Batch service will download to the compute node * before running the command line. Files listed under this element are located - * in the task's working directory. + * in the task's working directory. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and + * the response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * * @param {array} * [jobSchedulePatchParameter.jobSpecification.jobPreparationTask.environmentSettings] @@ -12708,12 +12818,14 @@ export interface JobSchedule { * [jobSchedulePatchParameter.jobSpecification.jobPreparationTask.constraints.maxTaskRetryCount] * The maximum number of times the task may be retried. The Batch service * retries a task if its exit code is nonzero. Note that this value - * specifically controls the number of retries. The Batch service will try the - * task once, and may then retry up to this limit. For example, if the maximum - * retry count is 3, Batch tries the task up to 4 times (one initial try and 3 - * retries). If the maximum retry count is 0, the Batch service does not retry - * the task. If the maximum retry count is -1, the Batch service retries the - * task without limit. + * specifically controls the number of retries for the task executable due to a + * nonzero exit code. The Batch service will try the task once, and may then + * retry up to this limit. For example, if the maximum retry count is 3, Batch + * tries the task up to 4 times (one initial try and 3 retries). If the maximum + * retry count is 0, the Batch service does not retry the task after the first + * attempt. If the maximum retry count is -1, the Batch service retries the + * task without limit. Resource files and application packages are only + * downloaded again if the task is retried on a new compute node. * * @param {boolean} * [jobSchedulePatchParameter.jobSpecification.jobPreparationTask.waitForSuccess] @@ -12773,7 +12885,11 @@ export interface JobSchedule { * shell, and therefore cannot take advantage of shell features such as * environment variable expansion. If you want to take advantage of such * features, you should invoke the shell in the command line, for example using - * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the + * command line refers to file paths, it should use a relative path (relative + * to the task working directory), or use the Batch provided environment + * variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} * [jobSchedulePatchParameter.jobSpecification.jobReleaseTask.containerSettings] @@ -12786,8 +12902,12 @@ export interface JobSchedule { * @param {array} * [jobSchedulePatchParameter.jobSpecification.jobReleaseTask.resourceFiles] A * list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and + * the response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [jobSchedulePatchParameter.jobSpecification.jobReleaseTask.environmentSettings] @@ -12883,18 +13003,8 @@ export interface JobSchedule { * jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.vmSize * The size of the virtual machines in the pool. All virtual machines in a pool * are the same size. For information about available sizes of virtual machines - * for Cloud Services pools (pools created with cloudServiceConfiguration), see - * Sizes for Cloud Services - * (http://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * in pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * * @param {object} * [jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] @@ -12975,7 +13085,7 @@ export interface JobSchedule { * @param {string} * [jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] * The type of caching to enable for the OS disk. The default value for caching - * is none. For information about the caching options see: + * is readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -13173,7 +13283,11 @@ export interface JobSchedule { * shell, and therefore cannot take advantage of shell features such as * environment variable expansion. If you want to take advantage of such * features, you should invoke the shell in the command line, for example using - * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the + * command line refers to file paths, it should use a relative path (relative + * to the task working directory), or use the Batch provided environment + * variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} * [jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.containerSettings] @@ -13216,8 +13330,12 @@ export interface JobSchedule { * @param {array} * [jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.resourceFiles] * A list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.environmentSettings] @@ -13296,7 +13414,9 @@ export interface JobSchedule { * The list of application licenses the Batch service will make available on * each compute node in the pool. The list of application licenses must be a * subset of available Batch service application licenses. If a license is - * requested which is not supported, pool creation will fail. + * requested which is not supported, pool creation will fail. The permitted + * licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An + * additional charge applies for each application license added to the pool. * * @param {array} * [jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.userAccounts] @@ -13519,7 +13639,11 @@ export interface JobSchedule { * shell, and therefore cannot take advantage of shell features such as * environment variable expansion. If you want to take advantage of such * features, you should invoke the shell in the command line, for example using - * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the + * command line refers to file paths, it should use a relative path (relative + * to the task working directory), or use the Batch provided environment + * variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} * [jobSchedulePatchParameter.jobSpecification.jobManagerTask.containerSettings] @@ -13536,7 +13660,11 @@ export interface JobSchedule { * [jobSchedulePatchParameter.jobSpecification.jobManagerTask.resourceFiles] A * list of files that the Batch service will download to the compute node * before running the command line. Files listed under this element are located - * in the task's working directory. + * in the task's working directory. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and + * the response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * * @param {array} * [jobSchedulePatchParameter.jobSpecification.jobManagerTask.outputFiles] A @@ -13615,7 +13743,7 @@ export interface JobSchedule { * @param {boolean} * [jobSchedulePatchParameter.jobSpecification.jobManagerTask.allowLowPriorityNode] * Whether the Job Manager task may run on a low-priority compute node. The - * default value is false. + * default value is true. * * @param {object} * [jobSchedulePatchParameter.jobSpecification.jobPreparationTask] The Job @@ -13641,7 +13769,11 @@ export interface JobSchedule { * under a shell, and therefore cannot take advantage of shell features such as * environment variable expansion. If you want to take advantage of such * features, you should invoke the shell in the command line, for example using - * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the + * command line refers to file paths, it should use a relative path (relative + * to the task working directory), or use the Batch provided environment + * variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} * [jobSchedulePatchParameter.jobSpecification.jobPreparationTask.containerSettings] @@ -13655,7 +13787,11 @@ export interface JobSchedule { * [jobSchedulePatchParameter.jobSpecification.jobPreparationTask.resourceFiles] * A list of files that the Batch service will download to the compute node * before running the command line. Files listed under this element are located - * in the task's working directory. + * in the task's working directory. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and + * the response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * * @param {array} * [jobSchedulePatchParameter.jobSpecification.jobPreparationTask.environmentSettings] @@ -13684,12 +13820,14 @@ export interface JobSchedule { * [jobSchedulePatchParameter.jobSpecification.jobPreparationTask.constraints.maxTaskRetryCount] * The maximum number of times the task may be retried. The Batch service * retries a task if its exit code is nonzero. Note that this value - * specifically controls the number of retries. The Batch service will try the - * task once, and may then retry up to this limit. For example, if the maximum - * retry count is 3, Batch tries the task up to 4 times (one initial try and 3 - * retries). If the maximum retry count is 0, the Batch service does not retry - * the task. If the maximum retry count is -1, the Batch service retries the - * task without limit. + * specifically controls the number of retries for the task executable due to a + * nonzero exit code. The Batch service will try the task once, and may then + * retry up to this limit. For example, if the maximum retry count is 3, Batch + * tries the task up to 4 times (one initial try and 3 retries). If the maximum + * retry count is 0, the Batch service does not retry the task after the first + * attempt. If the maximum retry count is -1, the Batch service retries the + * task without limit. Resource files and application packages are only + * downloaded again if the task is retried on a new compute node. * * @param {boolean} * [jobSchedulePatchParameter.jobSpecification.jobPreparationTask.waitForSuccess] @@ -13749,7 +13887,11 @@ export interface JobSchedule { * shell, and therefore cannot take advantage of shell features such as * environment variable expansion. If you want to take advantage of such * features, you should invoke the shell in the command line, for example using - * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the + * command line refers to file paths, it should use a relative path (relative + * to the task working directory), or use the Batch provided environment + * variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} * [jobSchedulePatchParameter.jobSpecification.jobReleaseTask.containerSettings] @@ -13762,8 +13904,12 @@ export interface JobSchedule { * @param {array} * [jobSchedulePatchParameter.jobSpecification.jobReleaseTask.resourceFiles] A * list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and + * the response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [jobSchedulePatchParameter.jobSpecification.jobReleaseTask.environmentSettings] @@ -13859,18 +14005,8 @@ export interface JobSchedule { * jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.vmSize * The size of the virtual machines in the pool. All virtual machines in a pool * are the same size. For information about available sizes of virtual machines - * for Cloud Services pools (pools created with cloudServiceConfiguration), see - * Sizes for Cloud Services - * (http://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * in pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * * @param {object} * [jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] @@ -13951,7 +14087,7 @@ export interface JobSchedule { * @param {string} * [jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] * The type of caching to enable for the OS disk. The default value for caching - * is none. For information about the caching options see: + * is readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -14149,7 +14285,11 @@ export interface JobSchedule { * shell, and therefore cannot take advantage of shell features such as * environment variable expansion. If you want to take advantage of such * features, you should invoke the shell in the command line, for example using - * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the + * command line refers to file paths, it should use a relative path (relative + * to the task working directory), or use the Batch provided environment + * variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} * [jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.containerSettings] @@ -14192,8 +14332,12 @@ export interface JobSchedule { * @param {array} * [jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.resourceFiles] * A list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.environmentSettings] @@ -14272,7 +14416,9 @@ export interface JobSchedule { * The list of application licenses the Batch service will make available on * each compute node in the pool. The list of application licenses must be a * subset of available Batch service application licenses. If a license is - * requested which is not supported, pool creation will fail. + * requested which is not supported, pool creation will fail. The permitted + * licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An + * additional charge applies for each application license added to the pool. * * @param {array} * [jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.userAccounts] @@ -14515,7 +14661,11 @@ export interface JobSchedule { * shell, and therefore cannot take advantage of shell features such as * environment variable expansion. If you want to take advantage of such * features, you should invoke the shell in the command line, for example using - * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the + * command line refers to file paths, it should use a relative path (relative + * to the task working directory), or use the Batch provided environment + * variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} * [jobScheduleUpdateParameter.jobSpecification.jobManagerTask.containerSettings] @@ -14532,7 +14682,11 @@ export interface JobSchedule { * [jobScheduleUpdateParameter.jobSpecification.jobManagerTask.resourceFiles] A * list of files that the Batch service will download to the compute node * before running the command line. Files listed under this element are located - * in the task's working directory. + * in the task's working directory. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and + * the response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * * @param {array} * [jobScheduleUpdateParameter.jobSpecification.jobManagerTask.outputFiles] A @@ -14611,7 +14765,7 @@ export interface JobSchedule { * @param {boolean} * [jobScheduleUpdateParameter.jobSpecification.jobManagerTask.allowLowPriorityNode] * Whether the Job Manager task may run on a low-priority compute node. The - * default value is false. + * default value is true. * * @param {object} * [jobScheduleUpdateParameter.jobSpecification.jobPreparationTask] The Job @@ -14637,7 +14791,11 @@ export interface JobSchedule { * under a shell, and therefore cannot take advantage of shell features such as * environment variable expansion. If you want to take advantage of such * features, you should invoke the shell in the command line, for example using - * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the + * command line refers to file paths, it should use a relative path (relative + * to the task working directory), or use the Batch provided environment + * variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} * [jobScheduleUpdateParameter.jobSpecification.jobPreparationTask.containerSettings] @@ -14651,7 +14809,11 @@ export interface JobSchedule { * [jobScheduleUpdateParameter.jobSpecification.jobPreparationTask.resourceFiles] * A list of files that the Batch service will download to the compute node * before running the command line. Files listed under this element are located - * in the task's working directory. + * in the task's working directory. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and + * the response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * * @param {array} * [jobScheduleUpdateParameter.jobSpecification.jobPreparationTask.environmentSettings] @@ -14680,12 +14842,14 @@ export interface JobSchedule { * [jobScheduleUpdateParameter.jobSpecification.jobPreparationTask.constraints.maxTaskRetryCount] * The maximum number of times the task may be retried. The Batch service * retries a task if its exit code is nonzero. Note that this value - * specifically controls the number of retries. The Batch service will try the - * task once, and may then retry up to this limit. For example, if the maximum - * retry count is 3, Batch tries the task up to 4 times (one initial try and 3 - * retries). If the maximum retry count is 0, the Batch service does not retry - * the task. If the maximum retry count is -1, the Batch service retries the - * task without limit. + * specifically controls the number of retries for the task executable due to a + * nonzero exit code. The Batch service will try the task once, and may then + * retry up to this limit. For example, if the maximum retry count is 3, Batch + * tries the task up to 4 times (one initial try and 3 retries). If the maximum + * retry count is 0, the Batch service does not retry the task after the first + * attempt. If the maximum retry count is -1, the Batch service retries the + * task without limit. Resource files and application packages are only + * downloaded again if the task is retried on a new compute node. * * @param {boolean} * [jobScheduleUpdateParameter.jobSpecification.jobPreparationTask.waitForSuccess] @@ -14746,7 +14910,11 @@ export interface JobSchedule { * shell, and therefore cannot take advantage of shell features such as * environment variable expansion. If you want to take advantage of such * features, you should invoke the shell in the command line, for example using - * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the + * command line refers to file paths, it should use a relative path (relative + * to the task working directory), or use the Batch provided environment + * variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} * [jobScheduleUpdateParameter.jobSpecification.jobReleaseTask.containerSettings] @@ -14759,8 +14927,12 @@ export interface JobSchedule { * @param {array} * [jobScheduleUpdateParameter.jobSpecification.jobReleaseTask.resourceFiles] A * list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and + * the response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [jobScheduleUpdateParameter.jobSpecification.jobReleaseTask.environmentSettings] @@ -14857,18 +15029,8 @@ export interface JobSchedule { * jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.vmSize * The size of the virtual machines in the pool. All virtual machines in a pool * are the same size. For information about available sizes of virtual machines - * for Cloud Services pools (pools created with cloudServiceConfiguration), see - * Sizes for Cloud Services - * (http://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * in pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * * @param {object} * [jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] @@ -14949,7 +15111,7 @@ export interface JobSchedule { * @param {string} * [jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] * The type of caching to enable for the OS disk. The default value for caching - * is none. For information about the caching options see: + * is readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -15147,7 +15309,11 @@ export interface JobSchedule { * shell, and therefore cannot take advantage of shell features such as * environment variable expansion. If you want to take advantage of such * features, you should invoke the shell in the command line, for example using - * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the + * command line refers to file paths, it should use a relative path (relative + * to the task working directory), or use the Batch provided environment + * variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} * [jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.containerSettings] @@ -15190,8 +15356,12 @@ export interface JobSchedule { * @param {array} * [jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.resourceFiles] * A list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.environmentSettings] @@ -15270,7 +15440,9 @@ export interface JobSchedule { * The list of application licenses the Batch service will make available on * each compute node in the pool. The list of application licenses must be a * subset of available Batch service application licenses. If a license is - * requested which is not supported, pool creation will fail. + * requested which is not supported, pool creation will fail. The permitted + * licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An + * additional charge applies for each application license added to the pool. * * @param {array} * [jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.userAccounts] @@ -15497,7 +15669,11 @@ export interface JobSchedule { * shell, and therefore cannot take advantage of shell features such as * environment variable expansion. If you want to take advantage of such * features, you should invoke the shell in the command line, for example using - * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the + * command line refers to file paths, it should use a relative path (relative + * to the task working directory), or use the Batch provided environment + * variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} * [jobScheduleUpdateParameter.jobSpecification.jobManagerTask.containerSettings] @@ -15514,7 +15690,11 @@ export interface JobSchedule { * [jobScheduleUpdateParameter.jobSpecification.jobManagerTask.resourceFiles] A * list of files that the Batch service will download to the compute node * before running the command line. Files listed under this element are located - * in the task's working directory. + * in the task's working directory. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and + * the response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * * @param {array} * [jobScheduleUpdateParameter.jobSpecification.jobManagerTask.outputFiles] A @@ -15593,7 +15773,7 @@ export interface JobSchedule { * @param {boolean} * [jobScheduleUpdateParameter.jobSpecification.jobManagerTask.allowLowPriorityNode] * Whether the Job Manager task may run on a low-priority compute node. The - * default value is false. + * default value is true. * * @param {object} * [jobScheduleUpdateParameter.jobSpecification.jobPreparationTask] The Job @@ -15619,7 +15799,11 @@ export interface JobSchedule { * under a shell, and therefore cannot take advantage of shell features such as * environment variable expansion. If you want to take advantage of such * features, you should invoke the shell in the command line, for example using - * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the + * command line refers to file paths, it should use a relative path (relative + * to the task working directory), or use the Batch provided environment + * variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} * [jobScheduleUpdateParameter.jobSpecification.jobPreparationTask.containerSettings] @@ -15633,7 +15817,11 @@ export interface JobSchedule { * [jobScheduleUpdateParameter.jobSpecification.jobPreparationTask.resourceFiles] * A list of files that the Batch service will download to the compute node * before running the command line. Files listed under this element are located - * in the task's working directory. + * in the task's working directory. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and + * the response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * * @param {array} * [jobScheduleUpdateParameter.jobSpecification.jobPreparationTask.environmentSettings] @@ -15662,12 +15850,14 @@ export interface JobSchedule { * [jobScheduleUpdateParameter.jobSpecification.jobPreparationTask.constraints.maxTaskRetryCount] * The maximum number of times the task may be retried. The Batch service * retries a task if its exit code is nonzero. Note that this value - * specifically controls the number of retries. The Batch service will try the - * task once, and may then retry up to this limit. For example, if the maximum - * retry count is 3, Batch tries the task up to 4 times (one initial try and 3 - * retries). If the maximum retry count is 0, the Batch service does not retry - * the task. If the maximum retry count is -1, the Batch service retries the - * task without limit. + * specifically controls the number of retries for the task executable due to a + * nonzero exit code. The Batch service will try the task once, and may then + * retry up to this limit. For example, if the maximum retry count is 3, Batch + * tries the task up to 4 times (one initial try and 3 retries). If the maximum + * retry count is 0, the Batch service does not retry the task after the first + * attempt. If the maximum retry count is -1, the Batch service retries the + * task without limit. Resource files and application packages are only + * downloaded again if the task is retried on a new compute node. * * @param {boolean} * [jobScheduleUpdateParameter.jobSpecification.jobPreparationTask.waitForSuccess] @@ -15728,7 +15918,11 @@ export interface JobSchedule { * shell, and therefore cannot take advantage of shell features such as * environment variable expansion. If you want to take advantage of such * features, you should invoke the shell in the command line, for example using - * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the + * command line refers to file paths, it should use a relative path (relative + * to the task working directory), or use the Batch provided environment + * variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} * [jobScheduleUpdateParameter.jobSpecification.jobReleaseTask.containerSettings] @@ -15741,8 +15935,12 @@ export interface JobSchedule { * @param {array} * [jobScheduleUpdateParameter.jobSpecification.jobReleaseTask.resourceFiles] A * list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and + * the response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [jobScheduleUpdateParameter.jobSpecification.jobReleaseTask.environmentSettings] @@ -15839,18 +16037,8 @@ export interface JobSchedule { * jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.vmSize * The size of the virtual machines in the pool. All virtual machines in a pool * are the same size. For information about available sizes of virtual machines - * for Cloud Services pools (pools created with cloudServiceConfiguration), see - * Sizes for Cloud Services - * (http://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * in pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * * @param {object} * [jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] @@ -15931,7 +16119,7 @@ export interface JobSchedule { * @param {string} * [jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] * The type of caching to enable for the OS disk. The default value for caching - * is none. For information about the caching options see: + * is readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -16129,7 +16317,11 @@ export interface JobSchedule { * shell, and therefore cannot take advantage of shell features such as * environment variable expansion. If you want to take advantage of such * features, you should invoke the shell in the command line, for example using - * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the + * command line refers to file paths, it should use a relative path (relative + * to the task working directory), or use the Batch provided environment + * variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} * [jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.containerSettings] @@ -16172,8 +16364,12 @@ export interface JobSchedule { * @param {array} * [jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.resourceFiles] * A list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.environmentSettings] @@ -16252,7 +16448,9 @@ export interface JobSchedule { * The list of application licenses the Batch service will make available on * each compute node in the pool. The list of application licenses must be a * subset of available Batch service application licenses. If a license is - * requested which is not supported, pool creation will fail. + * requested which is not supported, pool creation will fail. The permitted + * licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An + * additional charge applies for each application license added to the pool. * * @param {array} * [jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.userAccounts] @@ -16888,7 +17086,11 @@ export interface JobSchedule { * under a shell, and therefore cannot take advantage of shell features such as * environment variable expansion. If you want to take advantage of such * features, you should invoke the shell in the command line, for example using - * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the + * command line refers to file paths, it should use a relative path (relative + * to the task working directory), or use the Batch provided environment + * variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} * [cloudJobSchedule.jobSpecification.jobManagerTask.containerSettings] The @@ -16905,7 +17107,11 @@ export interface JobSchedule { * [cloudJobSchedule.jobSpecification.jobManagerTask.resourceFiles] A list of * files that the Batch service will download to the compute node before * running the command line. Files listed under this element are located in the - * task's working directory. + * task's working directory. There is a maximum size for the list of resource + * files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * * @param {array} * [cloudJobSchedule.jobSpecification.jobManagerTask.outputFiles] A list of @@ -16983,7 +17189,7 @@ export interface JobSchedule { * @param {boolean} * [cloudJobSchedule.jobSpecification.jobManagerTask.allowLowPriorityNode] * Whether the Job Manager task may run on a low-priority compute node. The - * default value is false. + * default value is true. * * @param {object} [cloudJobSchedule.jobSpecification.jobPreparationTask] The * Job Preparation task for jobs created under this schedule. If a job has a @@ -17007,7 +17213,11 @@ export interface JobSchedule { * shell, and therefore cannot take advantage of shell features such as * environment variable expansion. If you want to take advantage of such * features, you should invoke the shell in the command line, for example using - * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the + * command line refers to file paths, it should use a relative path (relative + * to the task working directory), or use the Batch provided environment + * variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} * [cloudJobSchedule.jobSpecification.jobPreparationTask.containerSettings] The @@ -17021,7 +17231,11 @@ export interface JobSchedule { * [cloudJobSchedule.jobSpecification.jobPreparationTask.resourceFiles] A list * of files that the Batch service will download to the compute node before * running the command line. Files listed under this element are located in the - * task's working directory. + * task's working directory. There is a maximum size for the list of resource + * files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * * @param {array} * [cloudJobSchedule.jobSpecification.jobPreparationTask.environmentSettings] A @@ -17050,12 +17264,14 @@ export interface JobSchedule { * [cloudJobSchedule.jobSpecification.jobPreparationTask.constraints.maxTaskRetryCount] * The maximum number of times the task may be retried. The Batch service * retries a task if its exit code is nonzero. Note that this value - * specifically controls the number of retries. The Batch service will try the - * task once, and may then retry up to this limit. For example, if the maximum - * retry count is 3, Batch tries the task up to 4 times (one initial try and 3 - * retries). If the maximum retry count is 0, the Batch service does not retry - * the task. If the maximum retry count is -1, the Batch service retries the - * task without limit. + * specifically controls the number of retries for the task executable due to a + * nonzero exit code. The Batch service will try the task once, and may then + * retry up to this limit. For example, if the maximum retry count is 3, Batch + * tries the task up to 4 times (one initial try and 3 retries). If the maximum + * retry count is 0, the Batch service does not retry the task after the first + * attempt. If the maximum retry count is -1, the Batch service retries the + * task without limit. Resource files and application packages are only + * downloaded again if the task is retried on a new compute node. * * @param {boolean} * [cloudJobSchedule.jobSpecification.jobPreparationTask.waitForSuccess] @@ -17114,7 +17330,11 @@ export interface JobSchedule { * under a shell, and therefore cannot take advantage of shell features such as * environment variable expansion. If you want to take advantage of such * features, you should invoke the shell in the command line, for example using - * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the + * command line refers to file paths, it should use a relative path (relative + * to the task working directory), or use the Batch provided environment + * variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} * [cloudJobSchedule.jobSpecification.jobReleaseTask.containerSettings] The @@ -17127,8 +17347,12 @@ export interface JobSchedule { * @param {array} * [cloudJobSchedule.jobSpecification.jobReleaseTask.resourceFiles] A list of * files that the Batch service will download to the compute node before - * running the command line. Files listed under this element are located in the - * task's working directory. + * running the command line. There is a maximum size for the list of resource + * files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [cloudJobSchedule.jobSpecification.jobReleaseTask.environmentSettings] A @@ -17222,18 +17446,8 @@ export interface JobSchedule { * cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.vmSize * The size of the virtual machines in the pool. All virtual machines in a pool * are the same size. For information about available sizes of virtual machines - * for Cloud Services pools (pools created with cloudServiceConfiguration), see - * Sizes for Cloud Services - * (http://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * in pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * * @param {object} * [cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] @@ -17314,7 +17528,7 @@ export interface JobSchedule { * @param {string} * [cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] * The type of caching to enable for the OS disk. The default value for caching - * is none. For information about the caching options see: + * is readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -17512,7 +17726,11 @@ export interface JobSchedule { * shell, and therefore cannot take advantage of shell features such as * environment variable expansion. If you want to take advantage of such * features, you should invoke the shell in the command line, for example using - * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the + * command line refers to file paths, it should use a relative path (relative + * to the task working directory), or use the Batch provided environment + * variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} * [cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.containerSettings] @@ -17555,8 +17773,12 @@ export interface JobSchedule { * @param {array} * [cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.resourceFiles] * A list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.environmentSettings] @@ -17635,7 +17857,9 @@ export interface JobSchedule { * The list of application licenses the Batch service will make available on * each compute node in the pool. The list of application licenses must be a * subset of available Batch service application licenses. If a license is - * requested which is not supported, pool creation will fail. + * requested which is not supported, pool creation will fail. The permitted + * licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An + * additional charge applies for each application license added to the pool. * * @param {array} * [cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.userAccounts] @@ -17831,7 +18055,11 @@ export interface JobSchedule { * under a shell, and therefore cannot take advantage of shell features such as * environment variable expansion. If you want to take advantage of such * features, you should invoke the shell in the command line, for example using - * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the + * command line refers to file paths, it should use a relative path (relative + * to the task working directory), or use the Batch provided environment + * variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} * [cloudJobSchedule.jobSpecification.jobManagerTask.containerSettings] The @@ -17848,7 +18076,11 @@ export interface JobSchedule { * [cloudJobSchedule.jobSpecification.jobManagerTask.resourceFiles] A list of * files that the Batch service will download to the compute node before * running the command line. Files listed under this element are located in the - * task's working directory. + * task's working directory. There is a maximum size for the list of resource + * files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * * @param {array} * [cloudJobSchedule.jobSpecification.jobManagerTask.outputFiles] A list of @@ -17926,7 +18158,7 @@ export interface JobSchedule { * @param {boolean} * [cloudJobSchedule.jobSpecification.jobManagerTask.allowLowPriorityNode] * Whether the Job Manager task may run on a low-priority compute node. The - * default value is false. + * default value is true. * * @param {object} [cloudJobSchedule.jobSpecification.jobPreparationTask] The * Job Preparation task for jobs created under this schedule. If a job has a @@ -17950,7 +18182,11 @@ export interface JobSchedule { * shell, and therefore cannot take advantage of shell features such as * environment variable expansion. If you want to take advantage of such * features, you should invoke the shell in the command line, for example using - * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the + * command line refers to file paths, it should use a relative path (relative + * to the task working directory), or use the Batch provided environment + * variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} * [cloudJobSchedule.jobSpecification.jobPreparationTask.containerSettings] The @@ -17964,7 +18200,11 @@ export interface JobSchedule { * [cloudJobSchedule.jobSpecification.jobPreparationTask.resourceFiles] A list * of files that the Batch service will download to the compute node before * running the command line. Files listed under this element are located in the - * task's working directory. + * task's working directory. There is a maximum size for the list of resource + * files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * * @param {array} * [cloudJobSchedule.jobSpecification.jobPreparationTask.environmentSettings] A @@ -17993,12 +18233,14 @@ export interface JobSchedule { * [cloudJobSchedule.jobSpecification.jobPreparationTask.constraints.maxTaskRetryCount] * The maximum number of times the task may be retried. The Batch service * retries a task if its exit code is nonzero. Note that this value - * specifically controls the number of retries. The Batch service will try the - * task once, and may then retry up to this limit. For example, if the maximum - * retry count is 3, Batch tries the task up to 4 times (one initial try and 3 - * retries). If the maximum retry count is 0, the Batch service does not retry - * the task. If the maximum retry count is -1, the Batch service retries the - * task without limit. + * specifically controls the number of retries for the task executable due to a + * nonzero exit code. The Batch service will try the task once, and may then + * retry up to this limit. For example, if the maximum retry count is 3, Batch + * tries the task up to 4 times (one initial try and 3 retries). If the maximum + * retry count is 0, the Batch service does not retry the task after the first + * attempt. If the maximum retry count is -1, the Batch service retries the + * task without limit. Resource files and application packages are only + * downloaded again if the task is retried on a new compute node. * * @param {boolean} * [cloudJobSchedule.jobSpecification.jobPreparationTask.waitForSuccess] @@ -18057,7 +18299,11 @@ export interface JobSchedule { * under a shell, and therefore cannot take advantage of shell features such as * environment variable expansion. If you want to take advantage of such * features, you should invoke the shell in the command line, for example using - * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the + * command line refers to file paths, it should use a relative path (relative + * to the task working directory), or use the Batch provided environment + * variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} * [cloudJobSchedule.jobSpecification.jobReleaseTask.containerSettings] The @@ -18070,8 +18316,12 @@ export interface JobSchedule { * @param {array} * [cloudJobSchedule.jobSpecification.jobReleaseTask.resourceFiles] A list of * files that the Batch service will download to the compute node before - * running the command line. Files listed under this element are located in the - * task's working directory. + * running the command line. There is a maximum size for the list of resource + * files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [cloudJobSchedule.jobSpecification.jobReleaseTask.environmentSettings] A @@ -18165,18 +18415,8 @@ export interface JobSchedule { * cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.vmSize * The size of the virtual machines in the pool. All virtual machines in a pool * are the same size. For information about available sizes of virtual machines - * for Cloud Services pools (pools created with cloudServiceConfiguration), see - * Sizes for Cloud Services - * (http://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * in pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * * @param {object} * [cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] @@ -18257,7 +18497,7 @@ export interface JobSchedule { * @param {string} * [cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] * The type of caching to enable for the OS disk. The default value for caching - * is none. For information about the caching options see: + * is readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -18455,7 +18695,11 @@ export interface JobSchedule { * shell, and therefore cannot take advantage of shell features such as * environment variable expansion. If you want to take advantage of such * features, you should invoke the shell in the command line, for example using - * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the + * command line refers to file paths, it should use a relative path (relative + * to the task working directory), or use the Batch provided environment + * variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} * [cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.containerSettings] @@ -18498,8 +18742,12 @@ export interface JobSchedule { * @param {array} * [cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.resourceFiles] * A list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.environmentSettings] @@ -18578,7 +18826,9 @@ export interface JobSchedule { * The list of application licenses the Batch service will make available on * each compute node in the pool. The list of application licenses must be a * subset of available Batch service application licenses. If a license is - * requested which is not supported, pool creation will fail. + * requested which is not supported, pool creation will fail. The permitted + * licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An + * additional charge applies for each application license added to the pool. * * @param {array} * [cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.userAccounts] @@ -18889,7 +19139,10 @@ export interface Task { * therefore cannot take advantage of shell features such as environment * variable expansion. If you want to take advantage of such features, you * should invoke the shell in the command line, for example using "cmd /c - * MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command + * line refers to file paths, it should use a relative path (relative to the + * task working directory), or use the Batch provided environment variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} [task.containerSettings] The settings for the container * under which the task runs. If the pool that will run this task has @@ -18972,7 +19225,11 @@ export interface Task { * @param {array} [task.resourceFiles] A list of files that the Batch service * will download to the compute node before running the command line. For * multi-instance tasks, the resource files will only be downloaded to the - * compute node on which the primary task is executed. + * compute node on which the primary task is executed. There is a maximum size + * for the list of resource files. When the max size is exceeded, the request + * will fail and the response error code will be RequestEntityTooLarge. If this + * occurs, the collection of ResourceFiles must be reduced in size. This can be + * achieved using .zip files, Application Packages, or Docker Containers. * * @param {array} [task.outputFiles] A list of files that the Batch service * will upload from the compute node after running the command line. For @@ -19012,11 +19269,14 @@ export interface Task { * @param {number} [task.constraints.maxTaskRetryCount] The maximum number of * times the task may be retried. The Batch service retries a task if its exit * code is nonzero. Note that this value specifically controls the number of - * retries. The Batch service will try the task once, and may then retry up to - * this limit. For example, if the maximum retry count is 3, Batch tries the - * task up to 4 times (one initial try and 3 retries). If the maximum retry - * count is 0, the Batch service does not retry the task. If the maximum retry - * count is -1, the Batch service retries the task without limit. + * retries for the task executable due to a nonzero exit code. The Batch + * service will try the task once, and may then retry up to this limit. For + * example, if the maximum retry count is 3, Batch tries the task up to 4 times + * (one initial try and 3 retries). If the maximum retry count is 0, the Batch + * service does not retry the task after the first attempt. If the maximum + * retry count is -1, the Batch service retries the task without limit. + * Resource files and application packages are only downloaded again if the + * task is retried on a new compute node. * * @param {object} [task.userIdentity] The user identity under which the task * runs. If omitted, the task runs as a non-administrative user unique to the @@ -19057,7 +19317,12 @@ export interface Task { * including the primary, whereas task resource files are downloaded only for * the primary. Also note that these resource files are not downloaded to the * task working directory, but instead are downloaded to the task root - * directory (one directory above the working directory). + * directory (one directory above the working directory). There is a maximum + * size for the list of resource files. When the max size is exceeded, the + * request will fail and the response error code will be RequestEntityTooLarge. + * If this occurs, the collection of ResourceFiles must be reduced in size. + * This can be achieved using .zip files, Application Packages, or Docker + * Containers. * * @param {object} [task.dependsOn] The tasks that this task depends on. This * task will not be scheduled until all tasks that it depends on have completed @@ -19162,7 +19427,10 @@ export interface Task { * therefore cannot take advantage of shell features such as environment * variable expansion. If you want to take advantage of such features, you * should invoke the shell in the command line, for example using "cmd /c - * MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. + * MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command + * line refers to file paths, it should use a relative path (relative to the + * task working directory), or use the Batch provided environment variable + * (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables). * * @param {object} [task.containerSettings] The settings for the container * under which the task runs. If the pool that will run this task has @@ -19245,7 +19513,11 @@ export interface Task { * @param {array} [task.resourceFiles] A list of files that the Batch service * will download to the compute node before running the command line. For * multi-instance tasks, the resource files will only be downloaded to the - * compute node on which the primary task is executed. + * compute node on which the primary task is executed. There is a maximum size + * for the list of resource files. When the max size is exceeded, the request + * will fail and the response error code will be RequestEntityTooLarge. If this + * occurs, the collection of ResourceFiles must be reduced in size. This can be + * achieved using .zip files, Application Packages, or Docker Containers. * * @param {array} [task.outputFiles] A list of files that the Batch service * will upload from the compute node after running the command line. For @@ -19285,11 +19557,14 @@ export interface Task { * @param {number} [task.constraints.maxTaskRetryCount] The maximum number of * times the task may be retried. The Batch service retries a task if its exit * code is nonzero. Note that this value specifically controls the number of - * retries. The Batch service will try the task once, and may then retry up to - * this limit. For example, if the maximum retry count is 3, Batch tries the - * task up to 4 times (one initial try and 3 retries). If the maximum retry - * count is 0, the Batch service does not retry the task. If the maximum retry - * count is -1, the Batch service retries the task without limit. + * retries for the task executable due to a nonzero exit code. The Batch + * service will try the task once, and may then retry up to this limit. For + * example, if the maximum retry count is 3, Batch tries the task up to 4 times + * (one initial try and 3 retries). If the maximum retry count is 0, the Batch + * service does not retry the task after the first attempt. If the maximum + * retry count is -1, the Batch service retries the task without limit. + * Resource files and application packages are only downloaded again if the + * task is retried on a new compute node. * * @param {object} [task.userIdentity] The user identity under which the task * runs. If omitted, the task runs as a non-administrative user unique to the @@ -19330,7 +19605,12 @@ export interface Task { * including the primary, whereas task resource files are downloaded only for * the primary. Also note that these resource files are not downloaded to the * task working directory, but instead are downloaded to the task root - * directory (one directory above the working directory). + * directory (one directory above the working directory). There is a maximum + * size for the list of resource files. When the max size is exceeded, the + * request will fail and the response error code will be RequestEntityTooLarge. + * If this occurs, the collection of ResourceFiles must be reduced in size. + * This can be achieved using .zip files, Application Packages, or Docker + * Containers. * * @param {object} [task.dependsOn] The tasks that this task depends on. This * task will not be scheduled until all tasks that it depends on have completed @@ -19568,11 +19848,11 @@ export interface Task { * @param {string} jobId The ID of the job to which the task collection is to * be added. * - * @param {array} value The collection of tasks to add. The total serialized - * size of this collection must be less than 4MB. If it is greater than 4MB - * (for example if each task has 100's of resource files or environment - * variables), the request will fail with code 'RequestBodyTooLarge' and should - * be retried again with fewer tasks. + * @param {array} value The collection of tasks to add. The maximum count of + * tasks is 100. The total serialized size of this collection must be less than + * 1MB. If it is greater than 1MB (for example if each task has 100's of + * resource files or environment variables), the request will fail with code + * 'RequestBodyTooLarge' and should be retried again with fewer tasks. * * @param {object} [options] Optional Parameters. * @@ -19628,11 +19908,11 @@ export interface Task { * @param {string} jobId The ID of the job to which the task collection is to * be added. * - * @param {array} value The collection of tasks to add. The total serialized - * size of this collection must be less than 4MB. If it is greater than 4MB - * (for example if each task has 100's of resource files or environment - * variables), the request will fail with code 'RequestBodyTooLarge' and should - * be retried again with fewer tasks. + * @param {array} value The collection of tasks to add. The maximum count of + * tasks is 100. The total serialized size of this collection must be less than + * 1MB. If it is greater than 1MB (for example if each task has 100's of + * resource files or environment variables), the request will fail with code + * 'RequestBodyTooLarge' and should be retried again with fewer tasks. * * @param {object} [options] Optional Parameters. * @@ -20013,11 +20293,14 @@ export interface Task { * @param {number} [options.constraints.maxTaskRetryCount] The maximum number * of times the task may be retried. The Batch service retries a task if its * exit code is nonzero. Note that this value specifically controls the number - * of retries. The Batch service will try the task once, and may then retry up - * to this limit. For example, if the maximum retry count is 3, Batch tries the - * task up to 4 times (one initial try and 3 retries). If the maximum retry - * count is 0, the Batch service does not retry the task. If the maximum retry - * count is -1, the Batch service retries the task without limit. + * of retries for the task executable due to a nonzero exit code. The Batch + * service will try the task once, and may then retry up to this limit. For + * example, if the maximum retry count is 3, Batch tries the task up to 4 times + * (one initial try and 3 retries). If the maximum retry count is 0, the Batch + * service does not retry the task after the first attempt. If the maximum + * retry count is -1, the Batch service retries the task without limit. + * Resource files and application packages are only downloaded again if the + * task is retried on a new compute node. * * @param {object} [options.taskUpdateOptions] Additional parameters for the * operation @@ -20098,11 +20381,14 @@ export interface Task { * @param {number} [options.constraints.maxTaskRetryCount] The maximum number * of times the task may be retried. The Batch service retries a task if its * exit code is nonzero. Note that this value specifically controls the number - * of retries. The Batch service will try the task once, and may then retry up - * to this limit. For example, if the maximum retry count is 3, Batch tries the - * task up to 4 times (one initial try and 3 retries). If the maximum retry - * count is 0, the Batch service does not retry the task. If the maximum retry - * count is -1, the Batch service retries the task without limit. + * of retries for the task executable due to a nonzero exit code. The Batch + * service will try the task once, and may then retry up to this limit. For + * example, if the maximum retry count is 3, Batch tries the task up to 4 times + * (one initial try and 3 retries). If the maximum retry count is 0, the Batch + * service does not retry the task after the first attempt. If the maximum + * retry count is -1, the Batch service retries the task without limit. + * Resource files and application packages are only downloaded again if the + * task is retried on a new compute node. * * @param {object} [options.taskUpdateOptions] Additional parameters for the * operation diff --git a/lib/services/batch/lib/operations/index.js b/lib/services/batch/lib/operations/index.js index dd1e74ee0..e17322ce8 100644 --- a/lib/services/batch/lib/operations/index.js +++ b/lib/services/batch/lib/operations/index.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. diff --git a/lib/services/batch/lib/operations/job.js b/lib/services/batch/lib/operations/job.js index dc6bf46f4..fa9db46a8 100644 --- a/lib/services/batch/lib/operations/job.js +++ b/lib/services/batch/lib/operations/job.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -885,18 +881,8 @@ function _get(jobId, options, callback) { * @param {string} jobPatchParameter.poolInfo.autoPoolSpecification.pool.vmSize * The size of the virtual machines in the pool. All virtual machines in a pool * are the same size. For information about available sizes of virtual machines - * for Cloud Services pools (pools created with cloudServiceConfiguration), see - * Sizes for Cloud Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * in pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * * @param {object} * [jobPatchParameter.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] @@ -977,7 +963,7 @@ function _get(jobId, options, callback) { * @param {string} * [jobPatchParameter.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] * The type of caching to enable for the OS disk. The default value for caching - * is none. For information about the caching options see: + * is readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -1222,8 +1208,12 @@ function _get(jobId, options, callback) { * @param {array} * [jobPatchParameter.poolInfo.autoPoolSpecification.pool.startTask.resourceFiles] * A list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [jobPatchParameter.poolInfo.autoPoolSpecification.pool.startTask.environmentSettings] @@ -1302,7 +1292,9 @@ function _get(jobId, options, callback) { * The list of application licenses the Batch service will make available on * each compute node in the pool. The list of application licenses must be a * subset of available Batch service application licenses. If a license is - * requested which is not supported, pool creation will fail. + * requested which is not supported, pool creation will fail. The permitted + * licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An + * additional charge applies for each application license added to the pool. * * @param {array} * [jobPatchParameter.poolInfo.autoPoolSpecification.pool.userAccounts] The @@ -1685,19 +1677,9 @@ function _patch(jobId, jobPatchParameter, options, callback) { * @param {string} * jobUpdateParameter.poolInfo.autoPoolSpecification.pool.vmSize The size of * the virtual machines in the pool. All virtual machines in a pool are the - * same size. For information about available sizes of virtual machines for - * Cloud Services pools (pools created with cloudServiceConfiguration), see - * Sizes for Cloud Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * same size. For information about available sizes of virtual machines in + * pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * * @param {object} * [jobUpdateParameter.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] @@ -1778,7 +1760,7 @@ function _patch(jobId, jobPatchParameter, options, callback) { * @param {string} * [jobUpdateParameter.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] * The type of caching to enable for the OS disk. The default value for caching - * is none. For information about the caching options see: + * is readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -2023,8 +2005,12 @@ function _patch(jobId, jobPatchParameter, options, callback) { * @param {array} * [jobUpdateParameter.poolInfo.autoPoolSpecification.pool.startTask.resourceFiles] * A list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [jobUpdateParameter.poolInfo.autoPoolSpecification.pool.startTask.environmentSettings] @@ -2103,7 +2089,9 @@ function _patch(jobId, jobPatchParameter, options, callback) { * The list of application licenses the Batch service will make available on * each compute node in the pool. The list of application licenses must be a * subset of available Batch service application licenses. If a license is - * requested which is not supported, pool creation will fail. + * requested which is not supported, pool creation will fail. The permitted + * licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An + * additional charge applies for each application license added to the pool. * * @param {array} * [jobUpdateParameter.poolInfo.autoPoolSpecification.pool.userAccounts] The @@ -2954,9 +2942,12 @@ function _enable(jobId, options, callback) { * @summary Terminates the specified job, marking it as completed. * * When a Terminate Job request is received, the Batch service sets the job to - * the terminating state. The Batch service then terminates any active or - * running tasks associated with the job, and runs any required Job Release - * tasks. The job then moves into the completed state. + * the terminating state. The Batch service then terminates any running tasks + * associated with the job and runs any required job release tasks. Then the + * job moves into the completed state. If there are any tasks in the job in the + * active state, they will remain in the active state. Once a job is + * terminated, new tasks cannot be added and any remaining active tasks will + * not be scheduled. * * @param {string} jobId The ID of the job to terminate. * @@ -3327,7 +3318,11 @@ function _terminate(jobId, options, callback) { * @param {array} [job.jobManagerTask.resourceFiles] A list of files that the * Batch service will download to the compute node before running the command * line. Files listed under this element are located in the task's working - * directory. + * directory. There is a maximum size for the list of resource files. When the + * max size is exceeded, the request will fail and the response error code will + * be RequestEntityTooLarge. If this occurs, the collection of ResourceFiles + * must be reduced in size. This can be achieved using .zip files, Application + * Packages, or Docker Containers. * * @param {array} [job.jobManagerTask.outputFiles] A list of files that the * Batch service will upload from the compute node after running the command @@ -3431,7 +3426,11 @@ function _terminate(jobId, options, callback) { * @param {array} [job.jobPreparationTask.resourceFiles] A list of files that * the Batch service will download to the compute node before running the * command line. Files listed under this element are located in the task's - * working directory. + * working directory. There is a maximum size for the list of resource files. + * When the max size is exceeded, the request will fail and the response error + * code will be RequestEntityTooLarge. If this occurs, the collection of + * ResourceFiles must be reduced in size. This can be achieved using .zip + * files, Application Packages, or Docker Containers. * * @param {array} [job.jobPreparationTask.environmentSettings] A list of * environment variable settings for the Job Preparation task. @@ -3530,8 +3529,12 @@ function _terminate(jobId, options, callback) { * * @param {array} [job.jobReleaseTask.resourceFiles] A list of files that the * Batch service will download to the compute node before running the command - * line. Files listed under this element are located in the task's working - * directory. + * line. There is a maximum size for the list of resource files. When the max + * size is exceeded, the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must + * be reduced in size. This can be achieved using .zip files, Application + * Packages, or Docker Containers. Files listed under this element are located + * in the task's working directory. * * @param {array} [job.jobReleaseTask.environmentSettings] A list of * environment variable settings for the Job Release task. @@ -3610,19 +3613,9 @@ function _terminate(jobId, options, callback) { * * @param {string} job.poolInfo.autoPoolSpecification.pool.vmSize The size of * the virtual machines in the pool. All virtual machines in a pool are the - * same size. For information about available sizes of virtual machines for - * Cloud Services pools (pools created with cloudServiceConfiguration), see - * Sizes for Cloud Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * same size. For information about available sizes of virtual machines in + * pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * * @param {object} * [job.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] The @@ -3702,7 +3695,7 @@ function _terminate(jobId, options, callback) { * @param {string} * [job.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] * The type of caching to enable for the OS disk. The default value for caching - * is none. For information about the caching options see: + * is readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -3942,8 +3935,12 @@ function _terminate(jobId, options, callback) { * @param {array} * [job.poolInfo.autoPoolSpecification.pool.startTask.resourceFiles] A list of * files that the Batch service will download to the compute node before - * running the command line. Files listed under this element are located in the - * task's working directory. + * running the command line. There is a maximum size for the list of resource + * files. When the max size is exceeded, the request will fail and the response + * error code will be RequestEntityTooLarge. If this occurs, the collection of + * ResourceFiles must be reduced in size. This can be achieved using .zip + * files, Application Packages, or Docker Containers. Files listed under this + * element are located in the task's working directory. * * @param {array} * [job.poolInfo.autoPoolSpecification.pool.startTask.environmentSettings] A @@ -4020,7 +4017,9 @@ function _terminate(jobId, options, callback) { * The list of application licenses the Batch service will make available on * each compute node in the pool. The list of application licenses must be a * subset of available Batch service application licenses. If a license is - * requested which is not supported, pool creation will fail. + * requested which is not supported, pool creation will fail. The permitted + * licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An + * additional charge applies for each application license added to the pool. * * @param {array} [job.poolInfo.autoPoolSpecification.pool.userAccounts] The * list of user accounts to be created on each node in the pool. @@ -5041,11 +5040,7 @@ function _listPreparationAndReleaseTaskStatus(jobId, options, callback) { * * Task counts provide a count of the tasks by active, running or completed * task state, and a count of tasks which succeeded or failed. Tasks in the - * preparing state are counted as running. If the validationStatus is - * unvalidated, then the Batch service has not been able to check state counts - * against the task states as reported in the List Tasks API. The - * validationStatus may be unvalidated if the job contains more than 200,000 - * tasks. + * preparing state are counted as running. * * @param {string} jobId The ID of the job. * @@ -6413,18 +6408,8 @@ class Job { * @param {string} jobPatchParameter.poolInfo.autoPoolSpecification.pool.vmSize * The size of the virtual machines in the pool. All virtual machines in a pool * are the same size. For information about available sizes of virtual machines - * for Cloud Services pools (pools created with cloudServiceConfiguration), see - * Sizes for Cloud Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * in pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * * @param {object} * [jobPatchParameter.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] @@ -6505,7 +6490,7 @@ class Job { * @param {string} * [jobPatchParameter.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] * The type of caching to enable for the OS disk. The default value for caching - * is none. For information about the caching options see: + * is readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -6750,8 +6735,12 @@ class Job { * @param {array} * [jobPatchParameter.poolInfo.autoPoolSpecification.pool.startTask.resourceFiles] * A list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [jobPatchParameter.poolInfo.autoPoolSpecification.pool.startTask.environmentSettings] @@ -6830,7 +6819,9 @@ class Job { * The list of application licenses the Batch service will make available on * each compute node in the pool. The list of application licenses must be a * subset of available Batch service application licenses. If a license is - * requested which is not supported, pool creation will fail. + * requested which is not supported, pool creation will fail. The permitted + * licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An + * additional charge applies for each application license added to the pool. * * @param {array} * [jobPatchParameter.poolInfo.autoPoolSpecification.pool.userAccounts] The @@ -7017,18 +7008,8 @@ class Job { * @param {string} jobPatchParameter.poolInfo.autoPoolSpecification.pool.vmSize * The size of the virtual machines in the pool. All virtual machines in a pool * are the same size. For information about available sizes of virtual machines - * for Cloud Services pools (pools created with cloudServiceConfiguration), see - * Sizes for Cloud Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * in pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * * @param {object} * [jobPatchParameter.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] @@ -7109,7 +7090,7 @@ class Job { * @param {string} * [jobPatchParameter.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] * The type of caching to enable for the OS disk. The default value for caching - * is none. For information about the caching options see: + * is readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -7354,8 +7335,12 @@ class Job { * @param {array} * [jobPatchParameter.poolInfo.autoPoolSpecification.pool.startTask.resourceFiles] * A list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [jobPatchParameter.poolInfo.autoPoolSpecification.pool.startTask.environmentSettings] @@ -7434,7 +7419,9 @@ class Job { * The list of application licenses the Batch service will make available on * each compute node in the pool. The list of application licenses must be a * subset of available Batch service application licenses. If a license is - * requested which is not supported, pool creation will fail. + * requested which is not supported, pool creation will fail. The permitted + * licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An + * additional charge applies for each application license added to the pool. * * @param {array} * [jobPatchParameter.poolInfo.autoPoolSpecification.pool.userAccounts] The @@ -7633,19 +7620,9 @@ class Job { * @param {string} * jobUpdateParameter.poolInfo.autoPoolSpecification.pool.vmSize The size of * the virtual machines in the pool. All virtual machines in a pool are the - * same size. For information about available sizes of virtual machines for - * Cloud Services pools (pools created with cloudServiceConfiguration), see - * Sizes for Cloud Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * same size. For information about available sizes of virtual machines in + * pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * * @param {object} * [jobUpdateParameter.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] @@ -7726,7 +7703,7 @@ class Job { * @param {string} * [jobUpdateParameter.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] * The type of caching to enable for the OS disk. The default value for caching - * is none. For information about the caching options see: + * is readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -7971,8 +7948,12 @@ class Job { * @param {array} * [jobUpdateParameter.poolInfo.autoPoolSpecification.pool.startTask.resourceFiles] * A list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [jobUpdateParameter.poolInfo.autoPoolSpecification.pool.startTask.environmentSettings] @@ -8051,7 +8032,9 @@ class Job { * The list of application licenses the Batch service will make available on * each compute node in the pool. The list of application licenses must be a * subset of available Batch service application licenses. If a license is - * requested which is not supported, pool creation will fail. + * requested which is not supported, pool creation will fail. The permitted + * licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An + * additional charge applies for each application license added to the pool. * * @param {array} * [jobUpdateParameter.poolInfo.autoPoolSpecification.pool.userAccounts] The @@ -8242,19 +8225,9 @@ class Job { * @param {string} * jobUpdateParameter.poolInfo.autoPoolSpecification.pool.vmSize The size of * the virtual machines in the pool. All virtual machines in a pool are the - * same size. For information about available sizes of virtual machines for - * Cloud Services pools (pools created with cloudServiceConfiguration), see - * Sizes for Cloud Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * same size. For information about available sizes of virtual machines in + * pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * * @param {object} * [jobUpdateParameter.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] @@ -8335,7 +8308,7 @@ class Job { * @param {string} * [jobUpdateParameter.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] * The type of caching to enable for the OS disk. The default value for caching - * is none. For information about the caching options see: + * is readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -8580,8 +8553,12 @@ class Job { * @param {array} * [jobUpdateParameter.poolInfo.autoPoolSpecification.pool.startTask.resourceFiles] * A list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [jobUpdateParameter.poolInfo.autoPoolSpecification.pool.startTask.environmentSettings] @@ -8660,7 +8637,9 @@ class Job { * The list of application licenses the Batch service will make available on * each compute node in the pool. The list of application licenses must be a * subset of available Batch service application licenses. If a license is - * requested which is not supported, pool creation will fail. + * requested which is not supported, pool creation will fail. The permitted + * licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An + * additional charge applies for each application license added to the pool. * * @param {array} * [jobUpdateParameter.poolInfo.autoPoolSpecification.pool.userAccounts] The @@ -9129,9 +9108,12 @@ class Job { * @summary Terminates the specified job, marking it as completed. * * When a Terminate Job request is received, the Batch service sets the job to - * the terminating state. The Batch service then terminates any active or - * running tasks associated with the job, and runs any required Job Release - * tasks. The job then moves into the completed state. + * the terminating state. The Batch service then terminates any running tasks + * associated with the job and runs any required job release tasks. Then the + * job moves into the completed state. If there are any tasks in the job in the + * active state, they will remain in the active state. Once a job is + * terminated, new tasks cannot be added and any remaining active tasks will + * not be scheduled. * * @param {string} jobId The ID of the job to terminate. * @@ -9205,9 +9187,12 @@ class Job { * @summary Terminates the specified job, marking it as completed. * * When a Terminate Job request is received, the Batch service sets the job to - * the terminating state. The Batch service then terminates any active or - * running tasks associated with the job, and runs any required Job Release - * tasks. The job then moves into the completed state. + * the terminating state. The Batch service then terminates any running tasks + * associated with the job and runs any required job release tasks. Then the + * job moves into the completed state. If there are any tasks in the job in the + * active state, they will remain in the active state. Once a job is + * terminated, new tasks cannot be added and any remaining active tasks will + * not be scheduled. * * @param {string} jobId The ID of the job to terminate. * @@ -9391,7 +9376,11 @@ class Job { * @param {array} [job.jobManagerTask.resourceFiles] A list of files that the * Batch service will download to the compute node before running the command * line. Files listed under this element are located in the task's working - * directory. + * directory. There is a maximum size for the list of resource files. When the + * max size is exceeded, the request will fail and the response error code will + * be RequestEntityTooLarge. If this occurs, the collection of ResourceFiles + * must be reduced in size. This can be achieved using .zip files, Application + * Packages, or Docker Containers. * * @param {array} [job.jobManagerTask.outputFiles] A list of files that the * Batch service will upload from the compute node after running the command @@ -9495,7 +9484,11 @@ class Job { * @param {array} [job.jobPreparationTask.resourceFiles] A list of files that * the Batch service will download to the compute node before running the * command line. Files listed under this element are located in the task's - * working directory. + * working directory. There is a maximum size for the list of resource files. + * When the max size is exceeded, the request will fail and the response error + * code will be RequestEntityTooLarge. If this occurs, the collection of + * ResourceFiles must be reduced in size. This can be achieved using .zip + * files, Application Packages, or Docker Containers. * * @param {array} [job.jobPreparationTask.environmentSettings] A list of * environment variable settings for the Job Preparation task. @@ -9594,8 +9587,12 @@ class Job { * * @param {array} [job.jobReleaseTask.resourceFiles] A list of files that the * Batch service will download to the compute node before running the command - * line. Files listed under this element are located in the task's working - * directory. + * line. There is a maximum size for the list of resource files. When the max + * size is exceeded, the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must + * be reduced in size. This can be achieved using .zip files, Application + * Packages, or Docker Containers. Files listed under this element are located + * in the task's working directory. * * @param {array} [job.jobReleaseTask.environmentSettings] A list of * environment variable settings for the Job Release task. @@ -9674,19 +9671,9 @@ class Job { * * @param {string} job.poolInfo.autoPoolSpecification.pool.vmSize The size of * the virtual machines in the pool. All virtual machines in a pool are the - * same size. For information about available sizes of virtual machines for - * Cloud Services pools (pools created with cloudServiceConfiguration), see - * Sizes for Cloud Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * same size. For information about available sizes of virtual machines in + * pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * * @param {object} * [job.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] The @@ -9766,7 +9753,7 @@ class Job { * @param {string} * [job.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] * The type of caching to enable for the OS disk. The default value for caching - * is none. For information about the caching options see: + * is readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -10006,8 +9993,12 @@ class Job { * @param {array} * [job.poolInfo.autoPoolSpecification.pool.startTask.resourceFiles] A list of * files that the Batch service will download to the compute node before - * running the command line. Files listed under this element are located in the - * task's working directory. + * running the command line. There is a maximum size for the list of resource + * files. When the max size is exceeded, the request will fail and the response + * error code will be RequestEntityTooLarge. If this occurs, the collection of + * ResourceFiles must be reduced in size. This can be achieved using .zip + * files, Application Packages, or Docker Containers. Files listed under this + * element are located in the task's working directory. * * @param {array} * [job.poolInfo.autoPoolSpecification.pool.startTask.environmentSettings] A @@ -10084,7 +10075,9 @@ class Job { * The list of application licenses the Batch service will make available on * each compute node in the pool. The list of application licenses must be a * subset of available Batch service application licenses. If a license is - * requested which is not supported, pool creation will fail. + * requested which is not supported, pool creation will fail. The permitted + * licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An + * additional charge applies for each application license added to the pool. * * @param {array} [job.poolInfo.autoPoolSpecification.pool.userAccounts] The * list of user accounts to be created on each node in the pool. @@ -10253,7 +10246,11 @@ class Job { * @param {array} [job.jobManagerTask.resourceFiles] A list of files that the * Batch service will download to the compute node before running the command * line. Files listed under this element are located in the task's working - * directory. + * directory. There is a maximum size for the list of resource files. When the + * max size is exceeded, the request will fail and the response error code will + * be RequestEntityTooLarge. If this occurs, the collection of ResourceFiles + * must be reduced in size. This can be achieved using .zip files, Application + * Packages, or Docker Containers. * * @param {array} [job.jobManagerTask.outputFiles] A list of files that the * Batch service will upload from the compute node after running the command @@ -10357,7 +10354,11 @@ class Job { * @param {array} [job.jobPreparationTask.resourceFiles] A list of files that * the Batch service will download to the compute node before running the * command line. Files listed under this element are located in the task's - * working directory. + * working directory. There is a maximum size for the list of resource files. + * When the max size is exceeded, the request will fail and the response error + * code will be RequestEntityTooLarge. If this occurs, the collection of + * ResourceFiles must be reduced in size. This can be achieved using .zip + * files, Application Packages, or Docker Containers. * * @param {array} [job.jobPreparationTask.environmentSettings] A list of * environment variable settings for the Job Preparation task. @@ -10456,8 +10457,12 @@ class Job { * * @param {array} [job.jobReleaseTask.resourceFiles] A list of files that the * Batch service will download to the compute node before running the command - * line. Files listed under this element are located in the task's working - * directory. + * line. There is a maximum size for the list of resource files. When the max + * size is exceeded, the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must + * be reduced in size. This can be achieved using .zip files, Application + * Packages, or Docker Containers. Files listed under this element are located + * in the task's working directory. * * @param {array} [job.jobReleaseTask.environmentSettings] A list of * environment variable settings for the Job Release task. @@ -10536,19 +10541,9 @@ class Job { * * @param {string} job.poolInfo.autoPoolSpecification.pool.vmSize The size of * the virtual machines in the pool. All virtual machines in a pool are the - * same size. For information about available sizes of virtual machines for - * Cloud Services pools (pools created with cloudServiceConfiguration), see - * Sizes for Cloud Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * same size. For information about available sizes of virtual machines in + * pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * * @param {object} * [job.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] The @@ -10628,7 +10623,7 @@ class Job { * @param {string} * [job.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] * The type of caching to enable for the OS disk. The default value for caching - * is none. For information about the caching options see: + * is readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -10868,8 +10863,12 @@ class Job { * @param {array} * [job.poolInfo.autoPoolSpecification.pool.startTask.resourceFiles] A list of * files that the Batch service will download to the compute node before - * running the command line. Files listed under this element are located in the - * task's working directory. + * running the command line. There is a maximum size for the list of resource + * files. When the max size is exceeded, the request will fail and the response + * error code will be RequestEntityTooLarge. If this occurs, the collection of + * ResourceFiles must be reduced in size. This can be achieved using .zip + * files, Application Packages, or Docker Containers. Files listed under this + * element are located in the task's working directory. * * @param {array} * [job.poolInfo.autoPoolSpecification.pool.startTask.environmentSettings] A @@ -10946,7 +10945,9 @@ class Job { * The list of application licenses the Batch service will make available on * each compute node in the pool. The list of application licenses must be a * subset of available Batch service application licenses. If a license is - * requested which is not supported, pool creation will fail. + * requested which is not supported, pool creation will fail. The permitted + * licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An + * additional charge applies for each application license added to the pool. * * @param {array} [job.poolInfo.autoPoolSpecification.pool.userAccounts] The * list of user accounts to be created on each node in the pool. @@ -11512,11 +11513,7 @@ class Job { * * Task counts provide a count of the tasks by active, running or completed * task state, and a count of tasks which succeeded or failed. Tasks in the - * preparing state are counted as running. If the validationStatus is - * unvalidated, then the Batch service has not been able to check state counts - * against the task states as reported in the List Tasks API. The - * validationStatus may be unvalidated if the job contains more than 200,000 - * tasks. + * preparing state are counted as running. * * @param {string} jobId The ID of the job. * @@ -11568,11 +11565,7 @@ class Job { * * Task counts provide a count of the tasks by active, running or completed * task state, and a count of tasks which succeeded or failed. Tasks in the - * preparing state are counted as running. If the validationStatus is - * unvalidated, then the Batch service has not been able to check state counts - * against the task states as reported in the List Tasks API. The - * validationStatus may be unvalidated if the job contains more than 200,000 - * tasks. + * preparing state are counted as running. * * @param {string} jobId The ID of the job. * diff --git a/lib/services/batch/lib/operations/jobSchedule.js b/lib/services/batch/lib/operations/jobSchedule.js index 8ec2703e0..01f6c752e 100644 --- a/lib/services/batch/lib/operations/jobSchedule.js +++ b/lib/services/batch/lib/operations/jobSchedule.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -1000,7 +996,11 @@ function _get(jobScheduleId, options, callback) { * [jobSchedulePatchParameter.jobSpecification.jobManagerTask.resourceFiles] A * list of files that the Batch service will download to the compute node * before running the command line. Files listed under this element are located - * in the task's working directory. + * in the task's working directory. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and + * the response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * * @param {array} * [jobSchedulePatchParameter.jobSpecification.jobManagerTask.outputFiles] A @@ -1123,7 +1123,11 @@ function _get(jobScheduleId, options, callback) { * [jobSchedulePatchParameter.jobSpecification.jobPreparationTask.resourceFiles] * A list of files that the Batch service will download to the compute node * before running the command line. Files listed under this element are located - * in the task's working directory. + * in the task's working directory. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and + * the response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * * @param {array} * [jobSchedulePatchParameter.jobSpecification.jobPreparationTask.environmentSettings] @@ -1236,8 +1240,12 @@ function _get(jobScheduleId, options, callback) { * @param {array} * [jobSchedulePatchParameter.jobSpecification.jobReleaseTask.resourceFiles] A * list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and + * the response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [jobSchedulePatchParameter.jobSpecification.jobReleaseTask.environmentSettings] @@ -1333,18 +1341,8 @@ function _get(jobScheduleId, options, callback) { * jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.vmSize * The size of the virtual machines in the pool. All virtual machines in a pool * are the same size. For information about available sizes of virtual machines - * for Cloud Services pools (pools created with cloudServiceConfiguration), see - * Sizes for Cloud Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * in pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * * @param {object} * [jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] @@ -1425,7 +1423,7 @@ function _get(jobScheduleId, options, callback) { * @param {string} * [jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] * The type of caching to enable for the OS disk. The default value for caching - * is none. For information about the caching options see: + * is readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -1670,8 +1668,12 @@ function _get(jobScheduleId, options, callback) { * @param {array} * [jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.resourceFiles] * A list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.environmentSettings] @@ -1750,7 +1752,9 @@ function _get(jobScheduleId, options, callback) { * The list of application licenses the Batch service will make available on * each compute node in the pool. The list of application licenses must be a * subset of available Batch service application licenses. If a license is - * requested which is not supported, pool creation will fail. + * requested which is not supported, pool creation will fail. The permitted + * licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An + * additional charge applies for each application license added to the pool. * * @param {array} * [jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.userAccounts] @@ -2213,7 +2217,11 @@ function _patch(jobScheduleId, jobSchedulePatchParameter, options, callback) { * [jobScheduleUpdateParameter.jobSpecification.jobManagerTask.resourceFiles] A * list of files that the Batch service will download to the compute node * before running the command line. Files listed under this element are located - * in the task's working directory. + * in the task's working directory. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and + * the response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * * @param {array} * [jobScheduleUpdateParameter.jobSpecification.jobManagerTask.outputFiles] A @@ -2336,7 +2344,11 @@ function _patch(jobScheduleId, jobSchedulePatchParameter, options, callback) { * [jobScheduleUpdateParameter.jobSpecification.jobPreparationTask.resourceFiles] * A list of files that the Batch service will download to the compute node * before running the command line. Files listed under this element are located - * in the task's working directory. + * in the task's working directory. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and + * the response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * * @param {array} * [jobScheduleUpdateParameter.jobSpecification.jobPreparationTask.environmentSettings] @@ -2450,8 +2462,12 @@ function _patch(jobScheduleId, jobSchedulePatchParameter, options, callback) { * @param {array} * [jobScheduleUpdateParameter.jobSpecification.jobReleaseTask.resourceFiles] A * list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and + * the response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [jobScheduleUpdateParameter.jobSpecification.jobReleaseTask.environmentSettings] @@ -2548,18 +2564,8 @@ function _patch(jobScheduleId, jobSchedulePatchParameter, options, callback) { * jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.vmSize * The size of the virtual machines in the pool. All virtual machines in a pool * are the same size. For information about available sizes of virtual machines - * for Cloud Services pools (pools created with cloudServiceConfiguration), see - * Sizes for Cloud Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * in pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * * @param {object} * [jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] @@ -2640,7 +2646,7 @@ function _patch(jobScheduleId, jobSchedulePatchParameter, options, callback) { * @param {string} * [jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] * The type of caching to enable for the OS disk. The default value for caching - * is none. For information about the caching options see: + * is readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -2885,8 +2891,12 @@ function _patch(jobScheduleId, jobSchedulePatchParameter, options, callback) { * @param {array} * [jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.resourceFiles] * A list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.environmentSettings] @@ -2965,7 +2975,9 @@ function _patch(jobScheduleId, jobSchedulePatchParameter, options, callback) { * The list of application licenses the Batch service will make available on * each compute node in the pool. The list of application licenses must be a * subset of available Batch service application licenses. If a license is - * requested which is not supported, pool creation will fail. + * requested which is not supported, pool creation will fail. The permitted + * licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An + * additional charge applies for each application license added to the pool. * * @param {array} * [jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.userAccounts] @@ -4182,7 +4194,11 @@ function _terminate(jobScheduleId, options, callback) { * [cloudJobSchedule.jobSpecification.jobManagerTask.resourceFiles] A list of * files that the Batch service will download to the compute node before * running the command line. Files listed under this element are located in the - * task's working directory. + * task's working directory. There is a maximum size for the list of resource + * files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * * @param {array} * [cloudJobSchedule.jobSpecification.jobManagerTask.outputFiles] A list of @@ -4302,7 +4318,11 @@ function _terminate(jobScheduleId, options, callback) { * [cloudJobSchedule.jobSpecification.jobPreparationTask.resourceFiles] A list * of files that the Batch service will download to the compute node before * running the command line. Files listed under this element are located in the - * task's working directory. + * task's working directory. There is a maximum size for the list of resource + * files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * * @param {array} * [cloudJobSchedule.jobSpecification.jobPreparationTask.environmentSettings] A @@ -4414,8 +4434,12 @@ function _terminate(jobScheduleId, options, callback) { * @param {array} * [cloudJobSchedule.jobSpecification.jobReleaseTask.resourceFiles] A list of * files that the Batch service will download to the compute node before - * running the command line. Files listed under this element are located in the - * task's working directory. + * running the command line. There is a maximum size for the list of resource + * files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [cloudJobSchedule.jobSpecification.jobReleaseTask.environmentSettings] A @@ -4509,18 +4533,8 @@ function _terminate(jobScheduleId, options, callback) { * cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.vmSize * The size of the virtual machines in the pool. All virtual machines in a pool * are the same size. For information about available sizes of virtual machines - * for Cloud Services pools (pools created with cloudServiceConfiguration), see - * Sizes for Cloud Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * in pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * * @param {object} * [cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] @@ -4601,7 +4615,7 @@ function _terminate(jobScheduleId, options, callback) { * @param {string} * [cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] * The type of caching to enable for the OS disk. The default value for caching - * is none. For information about the caching options see: + * is readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -4846,8 +4860,12 @@ function _terminate(jobScheduleId, options, callback) { * @param {array} * [cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.resourceFiles] * A list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.environmentSettings] @@ -4926,7 +4944,9 @@ function _terminate(jobScheduleId, options, callback) { * The list of application licenses the Batch service will make available on * each compute node in the pool. The list of application licenses must be a * subset of available Batch service application licenses. If a license is - * requested which is not supported, pool creation will fail. + * requested which is not supported, pool creation will fail. The permitted + * licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An + * additional charge applies for each application license added to the pool. * * @param {array} * [cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.userAccounts] @@ -6284,7 +6304,11 @@ class JobSchedule { * [jobSchedulePatchParameter.jobSpecification.jobManagerTask.resourceFiles] A * list of files that the Batch service will download to the compute node * before running the command line. Files listed under this element are located - * in the task's working directory. + * in the task's working directory. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and + * the response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * * @param {array} * [jobSchedulePatchParameter.jobSpecification.jobManagerTask.outputFiles] A @@ -6407,7 +6431,11 @@ class JobSchedule { * [jobSchedulePatchParameter.jobSpecification.jobPreparationTask.resourceFiles] * A list of files that the Batch service will download to the compute node * before running the command line. Files listed under this element are located - * in the task's working directory. + * in the task's working directory. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and + * the response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * * @param {array} * [jobSchedulePatchParameter.jobSpecification.jobPreparationTask.environmentSettings] @@ -6520,8 +6548,12 @@ class JobSchedule { * @param {array} * [jobSchedulePatchParameter.jobSpecification.jobReleaseTask.resourceFiles] A * list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and + * the response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [jobSchedulePatchParameter.jobSpecification.jobReleaseTask.environmentSettings] @@ -6617,18 +6649,8 @@ class JobSchedule { * jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.vmSize * The size of the virtual machines in the pool. All virtual machines in a pool * are the same size. For information about available sizes of virtual machines - * for Cloud Services pools (pools created with cloudServiceConfiguration), see - * Sizes for Cloud Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * in pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * * @param {object} * [jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] @@ -6709,7 +6731,7 @@ class JobSchedule { * @param {string} * [jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] * The type of caching to enable for the OS disk. The default value for caching - * is none. For information about the caching options see: + * is readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -6954,8 +6976,12 @@ class JobSchedule { * @param {array} * [jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.resourceFiles] * A list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.environmentSettings] @@ -7034,7 +7060,9 @@ class JobSchedule { * The list of application licenses the Batch service will make available on * each compute node in the pool. The list of application licenses must be a * subset of available Batch service application licenses. If a license is - * requested which is not supported, pool creation will fail. + * requested which is not supported, pool creation will fail. The permitted + * licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An + * additional charge applies for each application license added to the pool. * * @param {array} * [jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.userAccounts] @@ -7290,7 +7318,11 @@ class JobSchedule { * [jobSchedulePatchParameter.jobSpecification.jobManagerTask.resourceFiles] A * list of files that the Batch service will download to the compute node * before running the command line. Files listed under this element are located - * in the task's working directory. + * in the task's working directory. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and + * the response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * * @param {array} * [jobSchedulePatchParameter.jobSpecification.jobManagerTask.outputFiles] A @@ -7413,7 +7445,11 @@ class JobSchedule { * [jobSchedulePatchParameter.jobSpecification.jobPreparationTask.resourceFiles] * A list of files that the Batch service will download to the compute node * before running the command line. Files listed under this element are located - * in the task's working directory. + * in the task's working directory. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and + * the response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * * @param {array} * [jobSchedulePatchParameter.jobSpecification.jobPreparationTask.environmentSettings] @@ -7526,8 +7562,12 @@ class JobSchedule { * @param {array} * [jobSchedulePatchParameter.jobSpecification.jobReleaseTask.resourceFiles] A * list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and + * the response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [jobSchedulePatchParameter.jobSpecification.jobReleaseTask.environmentSettings] @@ -7623,18 +7663,8 @@ class JobSchedule { * jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.vmSize * The size of the virtual machines in the pool. All virtual machines in a pool * are the same size. For information about available sizes of virtual machines - * for Cloud Services pools (pools created with cloudServiceConfiguration), see - * Sizes for Cloud Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * in pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * * @param {object} * [jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] @@ -7715,7 +7745,7 @@ class JobSchedule { * @param {string} * [jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] * The type of caching to enable for the OS disk. The default value for caching - * is none. For information about the caching options see: + * is readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -7960,8 +7990,12 @@ class JobSchedule { * @param {array} * [jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.resourceFiles] * A list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.environmentSettings] @@ -8040,7 +8074,9 @@ class JobSchedule { * The list of application licenses the Batch service will make available on * each compute node in the pool. The list of application licenses must be a * subset of available Batch service application licenses. If a license is - * requested which is not supported, pool creation will fail. + * requested which is not supported, pool creation will fail. The permitted + * licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An + * additional charge applies for each application license added to the pool. * * @param {array} * [jobSchedulePatchParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.userAccounts] @@ -8319,7 +8355,11 @@ class JobSchedule { * [jobScheduleUpdateParameter.jobSpecification.jobManagerTask.resourceFiles] A * list of files that the Batch service will download to the compute node * before running the command line. Files listed under this element are located - * in the task's working directory. + * in the task's working directory. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and + * the response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * * @param {array} * [jobScheduleUpdateParameter.jobSpecification.jobManagerTask.outputFiles] A @@ -8442,7 +8482,11 @@ class JobSchedule { * [jobScheduleUpdateParameter.jobSpecification.jobPreparationTask.resourceFiles] * A list of files that the Batch service will download to the compute node * before running the command line. Files listed under this element are located - * in the task's working directory. + * in the task's working directory. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and + * the response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * * @param {array} * [jobScheduleUpdateParameter.jobSpecification.jobPreparationTask.environmentSettings] @@ -8556,8 +8600,12 @@ class JobSchedule { * @param {array} * [jobScheduleUpdateParameter.jobSpecification.jobReleaseTask.resourceFiles] A * list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and + * the response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [jobScheduleUpdateParameter.jobSpecification.jobReleaseTask.environmentSettings] @@ -8654,18 +8702,8 @@ class JobSchedule { * jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.vmSize * The size of the virtual machines in the pool. All virtual machines in a pool * are the same size. For information about available sizes of virtual machines - * for Cloud Services pools (pools created with cloudServiceConfiguration), see - * Sizes for Cloud Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * in pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * * @param {object} * [jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] @@ -8746,7 +8784,7 @@ class JobSchedule { * @param {string} * [jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] * The type of caching to enable for the OS disk. The default value for caching - * is none. For information about the caching options see: + * is readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -8991,8 +9029,12 @@ class JobSchedule { * @param {array} * [jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.resourceFiles] * A list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.environmentSettings] @@ -9071,7 +9113,9 @@ class JobSchedule { * The list of application licenses the Batch service will make available on * each compute node in the pool. The list of application licenses must be a * subset of available Batch service application licenses. If a license is - * requested which is not supported, pool creation will fail. + * requested which is not supported, pool creation will fail. The permitted + * licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An + * additional charge applies for each application license added to the pool. * * @param {array} * [jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.userAccounts] @@ -9331,7 +9375,11 @@ class JobSchedule { * [jobScheduleUpdateParameter.jobSpecification.jobManagerTask.resourceFiles] A * list of files that the Batch service will download to the compute node * before running the command line. Files listed under this element are located - * in the task's working directory. + * in the task's working directory. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and + * the response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * * @param {array} * [jobScheduleUpdateParameter.jobSpecification.jobManagerTask.outputFiles] A @@ -9454,7 +9502,11 @@ class JobSchedule { * [jobScheduleUpdateParameter.jobSpecification.jobPreparationTask.resourceFiles] * A list of files that the Batch service will download to the compute node * before running the command line. Files listed under this element are located - * in the task's working directory. + * in the task's working directory. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and + * the response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * * @param {array} * [jobScheduleUpdateParameter.jobSpecification.jobPreparationTask.environmentSettings] @@ -9568,8 +9620,12 @@ class JobSchedule { * @param {array} * [jobScheduleUpdateParameter.jobSpecification.jobReleaseTask.resourceFiles] A * list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and + * the response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [jobScheduleUpdateParameter.jobSpecification.jobReleaseTask.environmentSettings] @@ -9666,18 +9722,8 @@ class JobSchedule { * jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.vmSize * The size of the virtual machines in the pool. All virtual machines in a pool * are the same size. For information about available sizes of virtual machines - * for Cloud Services pools (pools created with cloudServiceConfiguration), see - * Sizes for Cloud Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * in pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * * @param {object} * [jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] @@ -9758,7 +9804,7 @@ class JobSchedule { * @param {string} * [jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] * The type of caching to enable for the OS disk. The default value for caching - * is none. For information about the caching options see: + * is readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -10003,8 +10049,12 @@ class JobSchedule { * @param {array} * [jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.resourceFiles] * A list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.environmentSettings] @@ -10083,7 +10133,9 @@ class JobSchedule { * The list of application licenses the Batch service will make available on * each compute node in the pool. The list of application licenses must be a * subset of available Batch service application licenses. If a license is - * requested which is not supported, pool creation will fail. + * requested which is not supported, pool creation will fail. The permitted + * licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An + * additional charge applies for each application license added to the pool. * * @param {array} * [jobScheduleUpdateParameter.jobSpecification.poolInfo.autoPoolSpecification.pool.userAccounts] @@ -10836,7 +10888,11 @@ class JobSchedule { * [cloudJobSchedule.jobSpecification.jobManagerTask.resourceFiles] A list of * files that the Batch service will download to the compute node before * running the command line. Files listed under this element are located in the - * task's working directory. + * task's working directory. There is a maximum size for the list of resource + * files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * * @param {array} * [cloudJobSchedule.jobSpecification.jobManagerTask.outputFiles] A list of @@ -10956,7 +11012,11 @@ class JobSchedule { * [cloudJobSchedule.jobSpecification.jobPreparationTask.resourceFiles] A list * of files that the Batch service will download to the compute node before * running the command line. Files listed under this element are located in the - * task's working directory. + * task's working directory. There is a maximum size for the list of resource + * files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * * @param {array} * [cloudJobSchedule.jobSpecification.jobPreparationTask.environmentSettings] A @@ -11068,8 +11128,12 @@ class JobSchedule { * @param {array} * [cloudJobSchedule.jobSpecification.jobReleaseTask.resourceFiles] A list of * files that the Batch service will download to the compute node before - * running the command line. Files listed under this element are located in the - * task's working directory. + * running the command line. There is a maximum size for the list of resource + * files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [cloudJobSchedule.jobSpecification.jobReleaseTask.environmentSettings] A @@ -11163,18 +11227,8 @@ class JobSchedule { * cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.vmSize * The size of the virtual machines in the pool. All virtual machines in a pool * are the same size. For information about available sizes of virtual machines - * for Cloud Services pools (pools created with cloudServiceConfiguration), see - * Sizes for Cloud Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * in pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * * @param {object} * [cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] @@ -11255,7 +11309,7 @@ class JobSchedule { * @param {string} * [cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] * The type of caching to enable for the OS disk. The default value for caching - * is none. For information about the caching options see: + * is readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -11500,8 +11554,12 @@ class JobSchedule { * @param {array} * [cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.resourceFiles] * A list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.environmentSettings] @@ -11580,7 +11638,9 @@ class JobSchedule { * The list of application licenses the Batch service will make available on * each compute node in the pool. The list of application licenses must be a * subset of available Batch service application licenses. If a license is - * requested which is not supported, pool creation will fail. + * requested which is not supported, pool creation will fail. The permitted + * licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An + * additional charge applies for each application license added to the pool. * * @param {array} * [cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.userAccounts] @@ -11809,7 +11869,11 @@ class JobSchedule { * [cloudJobSchedule.jobSpecification.jobManagerTask.resourceFiles] A list of * files that the Batch service will download to the compute node before * running the command line. Files listed under this element are located in the - * task's working directory. + * task's working directory. There is a maximum size for the list of resource + * files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * * @param {array} * [cloudJobSchedule.jobSpecification.jobManagerTask.outputFiles] A list of @@ -11929,7 +11993,11 @@ class JobSchedule { * [cloudJobSchedule.jobSpecification.jobPreparationTask.resourceFiles] A list * of files that the Batch service will download to the compute node before * running the command line. Files listed under this element are located in the - * task's working directory. + * task's working directory. There is a maximum size for the list of resource + * files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. * * @param {array} * [cloudJobSchedule.jobSpecification.jobPreparationTask.environmentSettings] A @@ -12041,8 +12109,12 @@ class JobSchedule { * @param {array} * [cloudJobSchedule.jobSpecification.jobReleaseTask.resourceFiles] A list of * files that the Batch service will download to the compute node before - * running the command line. Files listed under this element are located in the - * task's working directory. + * running the command line. There is a maximum size for the list of resource + * files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [cloudJobSchedule.jobSpecification.jobReleaseTask.environmentSettings] A @@ -12136,18 +12208,8 @@ class JobSchedule { * cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.vmSize * The size of the virtual machines in the pool. All virtual machines in a pool * are the same size. For information about available sizes of virtual machines - * for Cloud Services pools (pools created with cloudServiceConfiguration), see - * Sizes for Cloud Services - * (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). - * Batch supports all Cloud Services VM sizes except ExtraSmall, A1V2 and A2V2. - * For information about available VM sizes for pools using images from the - * Virtual Machines Marketplace (pools created with - * virtualMachineConfiguration) see Sizes for Virtual Machines (Linux) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) - * or Sizes for Virtual Machines (Windows) - * (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). - * Batch supports all Azure VM sizes except STANDARD_A0 and those with premium - * storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series). + * in pools, see Choose a VM size for compute nodes in an Azure Batch pool + * (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes). * * @param {object} * [cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.cloudServiceConfiguration] @@ -12228,7 +12290,7 @@ class JobSchedule { * @param {string} * [cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.virtualMachineConfiguration.osDisk.caching] * The type of caching to enable for the OS disk. The default value for caching - * is none. For information about the caching options see: + * is readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -12473,8 +12535,12 @@ class JobSchedule { * @param {array} * [cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.resourceFiles] * A list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} * [cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.startTask.environmentSettings] @@ -12553,7 +12619,9 @@ class JobSchedule { * The list of application licenses the Batch service will make available on * each compute node in the pool. The list of application licenses must be a * subset of available Batch service application licenses. If a license is - * requested which is not supported, pool creation will fail. + * requested which is not supported, pool creation will fail. The permitted + * licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An + * additional charge applies for each application license added to the pool. * * @param {array} * [cloudJobSchedule.jobSpecification.poolInfo.autoPoolSpecification.pool.userAccounts] diff --git a/lib/services/batch/lib/operations/pool.js b/lib/services/batch/lib/operations/pool.js index 6187bd8bc..79d4444a5 100644 --- a/lib/services/batch/lib/operations/pool.js +++ b/lib/services/batch/lib/operations/pool.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -586,8 +582,8 @@ function _getAllLifetimeStatistics(options, callback) { * operating system disk of the Virtual Machine. * * @param {string} [pool.virtualMachineConfiguration.osDisk.caching] The type - * of caching to enable for the OS disk. The default value for caching is none. - * For information about the caching options see: + * of caching to enable for the OS disk. The default value for caching is + * readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -789,7 +785,12 @@ function _getAllLifetimeStatistics(options, callback) { * * @param {array} [pool.startTask.resourceFiles] A list of files that the Batch * service will download to the compute node before running the command line. - * Files listed under this element are located in the task's working directory. + * There is a maximum size for the list of resource files. When the max size is + * exceeded, the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must + * be reduced in size. This can be achieved using .zip files, Application + * Packages, or Docker Containers. Files listed under this element are located + * in the task's working directory. * * @param {array} [pool.startTask.environmentSettings] A list of environment * variable settings for the start task. @@ -2202,8 +2203,12 @@ function _get(poolId, options, callback) { * * @param {array} [poolPatchParameter.startTask.resourceFiles] A list of files * that the Batch service will download to the compute node before running the - * command line. Files listed under this element are located in the task's - * working directory. + * command line. There is a maximum size for the list of resource files. When + * the max size is exceeded, the request will fail and the response error code + * will be RequestEntityTooLarge. If this occurs, the collection of + * ResourceFiles must be reduced in size. This can be achieved using .zip + * files, Application Packages, or Docker Containers. Files listed under this + * element are located in the task's working directory. * * @param {array} [poolPatchParameter.startTask.environmentSettings] A list of * environment variable settings for the start task. @@ -3900,8 +3905,12 @@ function _stopResize(poolId, options, callback) { * * @param {array} [poolUpdatePropertiesParameter.startTask.resourceFiles] A * list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} [poolUpdatePropertiesParameter.startTask.environmentSettings] * A list of environment variable settings for the start task. @@ -5557,8 +5566,8 @@ class Pool { * operating system disk of the Virtual Machine. * * @param {string} [pool.virtualMachineConfiguration.osDisk.caching] The type - * of caching to enable for the OS disk. The default value for caching is none. - * For information about the caching options see: + * of caching to enable for the OS disk. The default value for caching is + * readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -5760,7 +5769,12 @@ class Pool { * * @param {array} [pool.startTask.resourceFiles] A list of files that the Batch * service will download to the compute node before running the command line. - * Files listed under this element are located in the task's working directory. + * There is a maximum size for the list of resource files. When the max size is + * exceeded, the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must + * be reduced in size. This can be achieved using .zip files, Application + * Packages, or Docker Containers. Files listed under this element are located + * in the task's working directory. * * @param {array} [pool.startTask.environmentSettings] A list of environment * variable settings for the start task. @@ -5981,8 +5995,8 @@ class Pool { * operating system disk of the Virtual Machine. * * @param {string} [pool.virtualMachineConfiguration.osDisk.caching] The type - * of caching to enable for the OS disk. The default value for caching is none. - * For information about the caching options see: + * of caching to enable for the OS disk. The default value for caching is + * readwrite. For information about the caching options see: * https://blogs.msdn.microsoft.com/windowsazurestorage/2012/06/27/exploring-windows-azure-drives-disks-and-images/. * Possible values include: 'none', 'readOnly', 'readWrite' * @@ -6184,7 +6198,12 @@ class Pool { * * @param {array} [pool.startTask.resourceFiles] A list of files that the Batch * service will download to the compute node before running the command line. - * Files listed under this element are located in the task's working directory. + * There is a maximum size for the list of resource files. When the max size is + * exceeded, the request will fail and the response error code will be + * RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must + * be reduced in size. This can be achieved using .zip files, Application + * Packages, or Docker Containers. Files listed under this element are located + * in the task's working directory. * * @param {array} [pool.startTask.environmentSettings] A list of environment * variable settings for the start task. @@ -7038,8 +7057,12 @@ class Pool { * * @param {array} [poolPatchParameter.startTask.resourceFiles] A list of files * that the Batch service will download to the compute node before running the - * command line. Files listed under this element are located in the task's - * working directory. + * command line. There is a maximum size for the list of resource files. When + * the max size is exceeded, the request will fail and the response error code + * will be RequestEntityTooLarge. If this occurs, the collection of + * ResourceFiles must be reduced in size. This can be achieved using .zip + * files, Application Packages, or Docker Containers. Files listed under this + * element are located in the task's working directory. * * @param {array} [poolPatchParameter.startTask.environmentSettings] A list of * environment variable settings for the start task. @@ -7243,8 +7266,12 @@ class Pool { * * @param {array} [poolPatchParameter.startTask.resourceFiles] A list of files * that the Batch service will download to the compute node before running the - * command line. Files listed under this element are located in the task's - * working directory. + * command line. There is a maximum size for the list of resource files. When + * the max size is exceeded, the request will fail and the response error code + * will be RequestEntityTooLarge. If this occurs, the collection of + * ResourceFiles must be reduced in size. This can be achieved using .zip + * files, Application Packages, or Docker Containers. Files listed under this + * element are located in the task's working directory. * * @param {array} [poolPatchParameter.startTask.environmentSettings] A list of * environment variable settings for the start task. @@ -8351,8 +8378,12 @@ class Pool { * * @param {array} [poolUpdatePropertiesParameter.startTask.resourceFiles] A * list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} [poolUpdatePropertiesParameter.startTask.environmentSettings] * A list of environment variable settings for the start task. @@ -8543,8 +8574,12 @@ class Pool { * * @param {array} [poolUpdatePropertiesParameter.startTask.resourceFiles] A * list of files that the Batch service will download to the compute node - * before running the command line. Files listed under this element are located - * in the task's working directory. + * before running the command line. There is a maximum size for the list of + * resource files. When the max size is exceeded, the request will fail and the + * response error code will be RequestEntityTooLarge. If this occurs, the + * collection of ResourceFiles must be reduced in size. This can be achieved + * using .zip files, Application Packages, or Docker Containers. Files listed + * under this element are located in the task's working directory. * * @param {array} [poolUpdatePropertiesParameter.startTask.environmentSettings] * A list of environment variable settings for the start task. diff --git a/lib/services/batch/lib/operations/task.js b/lib/services/batch/lib/operations/task.js index df464b22c..db5eee1ab 100644 --- a/lib/services/batch/lib/operations/task.js +++ b/lib/services/batch/lib/operations/task.js @@ -1,8 +1,4 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. @@ -129,7 +125,11 @@ const moment = require('moment'); * @param {array} [task.resourceFiles] A list of files that the Batch service * will download to the compute node before running the command line. For * multi-instance tasks, the resource files will only be downloaded to the - * compute node on which the primary task is executed. + * compute node on which the primary task is executed. There is a maximum size + * for the list of resource files. When the max size is exceeded, the request + * will fail and the response error code will be RequestEntityTooLarge. If this + * occurs, the collection of ResourceFiles must be reduced in size. This can be + * achieved using .zip files, Application Packages, or Docker Containers. * * @param {array} [task.outputFiles] A list of files that the Batch service * will upload from the compute node after running the command line. For @@ -217,7 +217,12 @@ const moment = require('moment'); * including the primary, whereas task resource files are downloaded only for * the primary. Also note that these resource files are not downloaded to the * task working directory, but instead are downloaded to the task root - * directory (one directory above the working directory). + * directory (one directory above the working directory). There is a maximum + * size for the list of resource files. When the max size is exceeded, the + * request will fail and the response error code will be RequestEntityTooLarge. + * If this occurs, the collection of ResourceFiles must be reduced in size. + * This can be achieved using .zip files, Application Packages, or Docker + * Containers. * * @param {object} [task.dependsOn] The tasks that this task depends on. This * task will not be scheduled until all tasks that it depends on have completed @@ -746,11 +751,11 @@ function _list(jobId, options, callback) { * @param {string} jobId The ID of the job to which the task collection is to * be added. * - * @param {array} value The collection of tasks to add. The total serialized - * size of this collection must be less than 4MB. If it is greater than 4MB - * (for example if each task has 100's of resource files or environment - * variables), the request will fail with code 'RequestBodyTooLarge' and should - * be retried again with fewer tasks. + * @param {array} value The collection of tasks to add. The maximum count of + * tasks is 100. The total serialized size of this collection must be less than + * 1MB. If it is greater than 1MB (for example if each task has 100's of + * resource files or environment variables), the request will fail with code + * 'RequestBodyTooLarge' and should be retried again with fewer tasks. * * @param {object} [options] Optional Parameters. * @@ -2935,7 +2940,11 @@ class Task { * @param {array} [task.resourceFiles] A list of files that the Batch service * will download to the compute node before running the command line. For * multi-instance tasks, the resource files will only be downloaded to the - * compute node on which the primary task is executed. + * compute node on which the primary task is executed. There is a maximum size + * for the list of resource files. When the max size is exceeded, the request + * will fail and the response error code will be RequestEntityTooLarge. If this + * occurs, the collection of ResourceFiles must be reduced in size. This can be + * achieved using .zip files, Application Packages, or Docker Containers. * * @param {array} [task.outputFiles] A list of files that the Batch service * will upload from the compute node after running the command line. For @@ -3023,7 +3032,12 @@ class Task { * including the primary, whereas task resource files are downloaded only for * the primary. Also note that these resource files are not downloaded to the * task working directory, but instead are downloaded to the task root - * directory (one directory above the working directory). + * directory (one directory above the working directory). There is a maximum + * size for the list of resource files. When the max size is exceeded, the + * request will fail and the response error code will be RequestEntityTooLarge. + * If this occurs, the collection of ResourceFiles must be reduced in size. + * This can be achieved using .zip files, Application Packages, or Docker + * Containers. * * @param {object} [task.dependsOn] The tasks that this task depends on. This * task will not be scheduled until all tasks that it depends on have completed @@ -3226,7 +3240,11 @@ class Task { * @param {array} [task.resourceFiles] A list of files that the Batch service * will download to the compute node before running the command line. For * multi-instance tasks, the resource files will only be downloaded to the - * compute node on which the primary task is executed. + * compute node on which the primary task is executed. There is a maximum size + * for the list of resource files. When the max size is exceeded, the request + * will fail and the response error code will be RequestEntityTooLarge. If this + * occurs, the collection of ResourceFiles must be reduced in size. This can be + * achieved using .zip files, Application Packages, or Docker Containers. * * @param {array} [task.outputFiles] A list of files that the Batch service * will upload from the compute node after running the command line. For @@ -3314,7 +3332,12 @@ class Task { * including the primary, whereas task resource files are downloaded only for * the primary. Also note that these resource files are not downloaded to the * task working directory, but instead are downloaded to the task root - * directory (one directory above the working directory). + * directory (one directory above the working directory). There is a maximum + * size for the list of resource files. When the max size is exceeded, the + * request will fail and the response error code will be RequestEntityTooLarge. + * If this occurs, the collection of ResourceFiles must be reduced in size. + * This can be achieved using .zip files, Application Packages, or Docker + * Containers. * * @param {object} [task.dependsOn] The tasks that this task depends on. This * task will not be scheduled until all tasks that it depends on have completed @@ -3594,11 +3617,11 @@ class Task { * @param {string} jobId The ID of the job to which the task collection is to * be added. * - * @param {array} value The collection of tasks to add. The total serialized - * size of this collection must be less than 4MB. If it is greater than 4MB - * (for example if each task has 100's of resource files or environment - * variables), the request will fail with code 'RequestBodyTooLarge' and should - * be retried again with fewer tasks. + * @param {array} value The collection of tasks to add. The maximum count of + * tasks is 100. The total serialized size of this collection must be less than + * 1MB. If it is greater than 1MB (for example if each task has 100's of + * resource files or environment variables), the request will fail with code + * 'RequestBodyTooLarge' and should be retried again with fewer tasks. * * @param {object} [options] Optional Parameters. * @@ -3666,11 +3689,11 @@ class Task { * @param {string} jobId The ID of the job to which the task collection is to * be added. * - * @param {array} value The collection of tasks to add. The total serialized - * size of this collection must be less than 4MB. If it is greater than 4MB - * (for example if each task has 100's of resource files or environment - * variables), the request will fail with code 'RequestBodyTooLarge' and should - * be retried again with fewer tasks. + * @param {array} value The collection of tasks to add. The maximum count of + * tasks is 100. The total serialized size of this collection must be less than + * 1MB. If it is greater than 1MB (for example if each task has 100's of + * resource files or environment variables), the request will fail with code + * 'RequestBodyTooLarge' and should be retried again with fewer tasks. * * @param {object} [options] Optional Parameters. * diff --git a/lib/services/batch/package-lock.json b/lib/services/batch/package-lock.json index 7a0cd262c..b2fd898f5 100644 --- a/lib/services/batch/package-lock.json +++ b/lib/services/batch/package-lock.json @@ -1,6 +1,6 @@ { "name": "azure-batch", - "version": "3.2.2", + "version": "4.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/lib/services/batch/package.json b/lib/services/batch/package.json index f591bd55e..8560207fe 100644 --- a/lib/services/batch/package.json +++ b/lib/services/batch/package.json @@ -4,7 +4,7 @@ "contributors": [ "Wu, Xing " ], - "version": "3.2.2", + "version": "4.0.0", "description": "Microsoft Azure Batch Service Client Library for node", "tags": [ "azure", diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_add_a_pool_with_a_Data_Disk.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_add_a_pool_with_a_Data_Disk.nock.js index ecc285696..17855e36a 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_add_a_pool_with_a_Data_Disk.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_add_a_pool_with_a_Data_Disk.nock.js @@ -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'; -}; - +// 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-03-01.6.1', '*') +.post('/pools?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:52:29 GMT', - etag: '0x8D586106FE732BB', + 'last-modified': 'Tue, 21 Aug 2018 20:16:25 GMT', + etag: '0x8D607A2F88AD288', location: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdkdatadiskpool', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '9b263b79-fe29-4e3e-9c42-23bb225110df', + 'request-id': '6f31d928-5f1c-42c4-8c80-5d4b3e375120', '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: 'Fri, 09 Mar 2018 22:52:29 GMT', + 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') .filteringRequestBody(function (path) { return '*';}) -.post('/pools?api-version=2018-03-01.6.1', '*') +.post('/pools?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:52:29 GMT', - etag: '0x8D586106FE732BB', + 'last-modified': 'Tue, 21 Aug 2018 20:16:25 GMT', + etag: '0x8D607A2F88AD288', location: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdkdatadiskpool', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '9b263b79-fe29-4e3e-9c42-23bb225110df', + 'request-id': '6f31d928-5f1c-42c4-8c80-5d4b3e375120', '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: 'Fri, 09 Mar 2018 22:52:29 GMT', + date: 'Tue, 21 Aug 2018 20:16:25 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('http://lchency4.westcentralus.batch.azure.com:443') - .get('/pools/nodesdkdatadiskpool?api-version=2018-03-01.6.1') - .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\":\"0x8D586106FE732BB\",\"lastModified\":\"2018-03-09T22:52:29.7814715Z\",\"creationTime\":\"2018-03-09T22:52:29.7814715Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T22:52:29.7814715Z\",\"allocationState\":\"resizing\",\"allocationStateTransitionTime\":\"2018-03-09T22:52:29.7814715Z\",\"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', + .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', 'content-type': 'application/json;odata=minimalmetadata', - 'last-modified': 'Fri, 09 Mar 2018 22:52:29 GMT', - etag: '0x8D586106FE732BB', + 'last-modified': 'Tue, 21 Aug 2018 20:16:25 GMT', + etag: '0x8D607A2F88AD288', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '399883c2-e403-4e93-bfd2-a660d014f036', + 'request-id': '0d063096-3873-4348-a001-2b3100b1ce89', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:52:29 GMT', + 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') - .get('/pools/nodesdkdatadiskpool?api-version=2018-03-01.6.1') - .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\":\"0x8D586106FE732BB\",\"lastModified\":\"2018-03-09T22:52:29.7814715Z\",\"creationTime\":\"2018-03-09T22:52:29.7814715Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T22:52:29.7814715Z\",\"allocationState\":\"resizing\",\"allocationStateTransitionTime\":\"2018-03-09T22:52:29.7814715Z\",\"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', + .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', 'content-type': 'application/json;odata=minimalmetadata', - 'last-modified': 'Fri, 09 Mar 2018 22:52:29 GMT', - etag: '0x8D586106FE732BB', + 'last-modified': 'Tue, 21 Aug 2018 20:16:25 GMT', + etag: '0x8D607A2F88AD288', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '399883c2-e403-4e93-bfd2-a660d014f036', + 'request-id': '0d063096-3873-4348-a001-2b3100b1ce89', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:52:29 GMT', + date: 'Tue, 21 Aug 2018 20:16:25 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('http://lchency4.westcentralus.batch.azure.com:443') - .delete('/pools/nodesdkdatadiskpool?api-version=2018-03-01.6.1') + .delete('/pools/nodesdkdatadiskpool?api-version=2018-08-01.7.0') .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'd4362e1f-67cb-4698-9dab-9291fa848a78', + 'request-id': 'a7c4a31b-0870-4ce3-9af7-61970a395c1f', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:52:32 GMT', + date: 'Tue, 21 Aug 2018 20:16:27 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .delete('/pools/nodesdkdatadiskpool?api-version=2018-03-01.6.1') + .delete('/pools/nodesdkdatadiskpool?api-version=2018-08-01.7.0') .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'd4362e1f-67cb-4698-9dab-9291fa848a78', + 'request-id': 'a7c4a31b-0870-4ce3-9af7-61970a395c1f', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:52:32 GMT', + date: 'Tue, 21 Aug 2018 20:16:27 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_add_a_pool_with_a_custom_image_and_get_expected_error.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_add_a_pool_with_a_custom_image_and_get_expected_error.nock.js index cdd4730fd..c02d5e4f1 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_add_a_pool_with_a_custom_image_and_get_expected_error.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_add_a_pool_with_a_custom_image_and_get_expected_error.nock.js @@ -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'; -}; - +// 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-03-01.6.1', '*') - .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:ccac7f53-67de-4753-845b-6b77e6397176\\nTime:2018-03-09T22:52:26.9673819Z\"\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-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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'ccac7f53-67de-4753-845b-6b77e6397176', + 'request-id': '14df0f7d-179f-488c-942f-9ec1b6d12e5c', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:52:26 GMT', + 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-03-01.6.1', '*') - .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:ccac7f53-67de-4753-845b-6b77e6397176\\nTime:2018-03-09T22:52:26.9673819Z\"\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-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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'ccac7f53-67de-4753-845b-6b77e6397176', + 'request-id': '14df0f7d-179f-488c-942f-9ec1b6d12e5c', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:52:26 GMT', + date: 'Tue, 21 Aug 2018 20:16:22 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_add_a_pool_with_an_osDisk.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_add_a_pool_with_an_osDisk.nock.js index a3aac7995..3b7a3f320 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_add_a_pool_with_an_osDisk.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_add_a_pool_with_an_osDisk.nock.js @@ -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'; -}; - +// 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-03-01.6.1', '*') +.post('/pools?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:52:27 GMT', - etag: '0x8D586106E572144', + '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': 'c8a0dc56-e957-433e-8ad7-c7038bd3d676', + '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: 'Fri, 09 Mar 2018 22:52:27 GMT', + 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-03-01.6.1', '*') +.post('/pools?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:52:27 GMT', - etag: '0x8D586106E572144', + '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': 'c8a0dc56-e957-433e-8ad7-c7038bd3d676', + '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: 'Fri, 09 Mar 2018 22:52:27 GMT', + 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-03-01.6.1') - .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\":\"0x8D586106E572144\",\"lastModified\":\"2018-03-09T22:52:27.1595844Z\",\"creationTime\":\"2018-03-09T22:52:27.1595844Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T22:52:27.1595844Z\",\"allocationState\":\"resizing\",\"allocationStateTransitionTime\":\"2018-03-09T22:52:27.1595844Z\",\"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', + .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': 'Fri, 09 Mar 2018 22:52:27 GMT', - etag: '0x8D586106E572144', + 'last-modified': 'Tue, 21 Aug 2018 20:16:22 GMT', + etag: '0x8D607A2F6FFB2A6', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'b50aaa42-b6ec-4c03-b106-c717ca8acff0', + 'request-id': '7a76d427-dd68-44bd-be62-ec4b950e7825', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:52:27 GMT', + 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-03-01.6.1') - .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\":\"0x8D586106E572144\",\"lastModified\":\"2018-03-09T22:52:27.1595844Z\",\"creationTime\":\"2018-03-09T22:52:27.1595844Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T22:52:27.1595844Z\",\"allocationState\":\"resizing\",\"allocationStateTransitionTime\":\"2018-03-09T22:52:27.1595844Z\",\"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', + .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': 'Fri, 09 Mar 2018 22:52:27 GMT', - etag: '0x8D586106E572144', + 'last-modified': 'Tue, 21 Aug 2018 20:16:22 GMT', + etag: '0x8D607A2F6FFB2A6', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'b50aaa42-b6ec-4c03-b106-c717ca8acff0', + 'request-id': '7a76d427-dd68-44bd-be62-ec4b950e7825', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:52:27 GMT', + 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-03-01.6.1') + .delete('/pools/nodesdkosdiskpool?api-version=2018-08-01.7.0') .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '9d918355-1405-44e0-b60e-243e966f2ed3', + 'request-id': '3bc45c53-0418-412c-920f-c8c29d907bb5', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:52:29 GMT', + 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-03-01.6.1') + .delete('/pools/nodesdkosdiskpool?api-version=2018-08-01.7.0') .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '9d918355-1405-44e0-b60e-243e966f2ed3', + 'request-id': '3bc45c53-0418-412c-920f-c8c29d907bb5', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:52:29 GMT', + date: 'Tue, 21 Aug 2018 20:16:25 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_add_a_pool_with_inbound_endpoint_configuration_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_add_a_pool_with_inbound_endpoint_configuration_successfully.nock.js index d4d9983de..529a4afea 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_add_a_pool_with_inbound_endpoint_configuration_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_add_a_pool_with_inbound_endpoint_configuration_successfully.nock.js @@ -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'; -}; - +// 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-03-01.6.1', '*') +.post('/pools?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:52:32 GMT', - etag: '0x8D58610717C3E16', + 'last-modified': 'Tue, 21 Aug 2018 20:16:28 GMT', + etag: '0x8D607A2FA29DA10', location: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdkinboundendpointpool', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '60386202-9c7a-42c6-91df-5556027e52ec', + 'request-id': 'fd4c1f89-0345-4ea1-859c-8fae1153e10d', '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: 'Fri, 09 Mar 2018 22:52:32 GMT', + date: 'Tue, 21 Aug 2018 20:16:28 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-03-01.6.1', '*') +.post('/pools?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:52:32 GMT', - etag: '0x8D58610717C3E16', + 'last-modified': 'Tue, 21 Aug 2018 20:16:28 GMT', + etag: '0x8D607A2FA29DA10', location: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdkinboundendpointpool', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '60386202-9c7a-42c6-91df-5556027e52ec', + 'request-id': 'fd4c1f89-0345-4ea1-859c-8fae1153e10d', '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: 'Fri, 09 Mar 2018 22:52:32 GMT', + date: 'Tue, 21 Aug 2018 20:16:28 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_add_a_pool_with_vnet_and_get_expected_error.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_add_a_pool_with_vnet_and_get_expected_error.nock.js index 0bf8699f3..880aa2bc9 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_add_a_pool_with_vnet_and_get_expected_error.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_add_a_pool_with_vnet_and_get_expected_error.nock.js @@ -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'; -}; - +// 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-03-01.6.1', '*') - .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:8ca4d2df-fbdc-4618-8481-9d416b104ef4\\nTime:2018-03-09T22:52:26.4812731Z\"\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-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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '8ca4d2df-fbdc-4618-8481-9d416b104ef4', + 'request-id': '6f9e6709-7ff8-490d-9572-add29e5fe3b0', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:52:26 GMT', + date: 'Tue, 21 Aug 2018 20:16:21 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-03-01.6.1', '*') - .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:8ca4d2df-fbdc-4618-8481-9d416b104ef4\\nTime:2018-03-09T22:52:26.4812731Z\"\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-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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '8ca4d2df-fbdc-4618-8481-9d416b104ef4', + 'request-id': '6f9e6709-7ff8-490d-9572-add29e5fe3b0', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:52:26 GMT', + date: 'Tue, 21 Aug 2018 20:16:21 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_add_a_task_with_an_application_package_reference_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_add_a_task_with_an_application_package_reference_successfully.nock.js index 6322d6162..4c0935ff4 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_add_a_task_with_an_application_package_reference_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_add_a_task_with_an_application_package_reference_successfully.nock.js @@ -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'; -}; - +// 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('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-03-01.6.1', '*') +.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 23:05:09 GMT', - etag: '0x8D58612347B608D', + 'last-modified': 'Tue, 21 Aug 2018 20:31:00 GMT', + etag: '0x8D607A5021DEA9B', location: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/ApplicationPacakgeReferenceTask', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '30308657-ef81-48eb-bdc9-f172ba9114a1', + 'request-id': '999e4662-f9cf-44ef-9944-da6f9560e349', '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: 'Fri, 09 Mar 2018 23:05:09 GMT', + date: 'Tue, 21 Aug 2018 20:31:00 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') .filteringRequestBody(function (path) { return '*';}) -.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-03-01.6.1', '*') +.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 23:05:09 GMT', - etag: '0x8D58612347B608D', + 'last-modified': 'Tue, 21 Aug 2018 20:31:00 GMT', + etag: '0x8D607A5021DEA9B', location: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/ApplicationPacakgeReferenceTask', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '30308657-ef81-48eb-bdc9-f172ba9114a1', + 'request-id': '999e4662-f9cf-44ef-9944-da6f9560e349', '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: 'Fri, 09 Mar 2018 23:05:09 GMT', + date: 'Tue, 21 Aug 2018 20:31:00 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-03-01.6.1') - .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\":\"0x8D58612347B608D\",\"creationTime\":\"2018-03-09T23:05:09.0827405Z\",\"lastModified\":\"2018-03-09T23:05:09.0827405Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T23:05:09.0827405Z\",\"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', + .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', 'content-type': 'application/json;odata=minimalmetadata', - 'last-modified': 'Fri, 09 Mar 2018 23:05:09 GMT', - etag: '0x8D58612347B608D', + 'last-modified': 'Tue, 21 Aug 2018 20:31:00 GMT', + etag: '0x8D607A5021DEA9B', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'e9594e93-af51-4b89-a16e-206c4774e4c4', + 'request-id': '96578e5a-3034-4627-badf-60697ad65cad', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:08 GMT', + date: 'Tue, 21 Aug 2018 20:31:00 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-03-01.6.1') - .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\":\"0x8D58612347B608D\",\"creationTime\":\"2018-03-09T23:05:09.0827405Z\",\"lastModified\":\"2018-03-09T23:05:09.0827405Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T23:05:09.0827405Z\",\"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', + .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', 'content-type': 'application/json;odata=minimalmetadata', - 'last-modified': 'Fri, 09 Mar 2018 23:05:09 GMT', - etag: '0x8D58612347B608D', + 'last-modified': 'Tue, 21 Aug 2018 20:31:00 GMT', + etag: '0x8D607A5021DEA9B', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'e9594e93-af51-4b89-a16e-206c4774e4c4', + 'request-id': '96578e5a-3034-4627-badf-60697ad65cad', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:08 GMT', + date: 'Tue, 21 Aug 2018 20:31:00 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_add_a_user_to_a_compute_node_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_add_a_user_to_a_compute_node_successfully.nock.js index dadd159b4..0559f6088 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_add_a_user_to_a_compute_node_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_add_a_user_to_a_compute_node_successfully.nock.js @@ -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'; -}; - +// 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/nodesdktestpool1/nodes/tvm-3840119875_1-20180309t224543z/users?api-version=2018-03-01.6.1', '*') +.post('/pools/nodesdktestpool1/nodes/tvm-14141481_1-20180821t200555z/users?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - location: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-3840119875_1-20180309t224543z/users/NodeSDKTestUser', + location: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_1-20180821t200555z/users/NodeSDKTestUser', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'f54be1f4-2f27-4ebc-9a0b-f452fc662e61', + 'request-id': 'fbcb8ab0-34ee-4caf-94e4-8be65b9e3a7d', '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-3840119875_1-20180309t224543z/users/NodeSDKTestUser', - date: 'Fri, 09 Mar 2018 22:59:13 GMT', + 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', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') .filteringRequestBody(function (path) { return '*';}) -.post('/pools/nodesdktestpool1/nodes/tvm-3840119875_1-20180309t224543z/users?api-version=2018-03-01.6.1', '*') +.post('/pools/nodesdktestpool1/nodes/tvm-14141481_1-20180821t200555z/users?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - location: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-3840119875_1-20180309t224543z/users/NodeSDKTestUser', + location: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_1-20180821t200555z/users/NodeSDKTestUser', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'f54be1f4-2f27-4ebc-9a0b-f452fc662e61', + 'request-id': 'fbcb8ab0-34ee-4caf-94e4-8be65b9e3a7d', '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-3840119875_1-20180309t224543z/users/NodeSDKTestUser', - date: 'Fri, 09 Mar 2018 22:59:13 GMT', + 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', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_add_new_certificate_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_add_new_certificate_successfully.nock.js index 2b4477075..e8afadeb8 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_add_new_certificate_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_add_new_certificate_successfully.nock.js @@ -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'; -}; - +// 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('/certificates?api-version=2018-03-01.6.1', '*') +.post('/certificates?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', location: 'https://lchency4.westcentralus.batch.azure.com/certificates(ThumbprintAlgorithm=sha1,Thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '10a94544-9847-4152-ac17-84808d885708', + 'request-id': '0b81a406-bf7f-4fd0-b6d2-79b02e3bea15', '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: 'Fri, 09 Mar 2018 22:44:03 GMT', + date: 'Tue, 21 Aug 2018 20:05:03 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') .filteringRequestBody(function (path) { return '*';}) -.post('/certificates?api-version=2018-03-01.6.1', '*') +.post('/certificates?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', location: 'https://lchency4.westcentralus.batch.azure.com/certificates(ThumbprintAlgorithm=sha1,Thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '10a94544-9847-4152-ac17-84808d885708', + 'request-id': '0b81a406-bf7f-4fd0-b6d2-79b02e3bea15', '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: 'Fri, 09 Mar 2018 22:44:03 GMT', + date: 'Tue, 21 Aug 2018 20:05:03 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_check_if_a_job_schedule_exists_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_check_if_a_job_schedule_exists_successfully.nock.js index 70b3fb0c1..dd2f769c7 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_check_if_a_job_schedule_exists_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_check_if_a_job_schedule_exists_successfully.nock.js @@ -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'; -}; - +// 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') - .head('/jobschedules/NodeSDKTestSchedule?api-version=2018-03-01.6.1') + .head('/jobschedules/NodeSDKTestSchedule?api-version=2018-08-01.7.0') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 23:25:24 GMT', - etag: '0x8D5861508E222CC', + 'last-modified': 'Tue, 21 Aug 2018 20:31:03 GMT', + etag: '0x8D607A503E9DDB3', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '776a0818-bff4-4397-9b30-1ccc50c998ad', + 'request-id': '04390025-2fe6-44de-a4f6-2de4912d0575', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:25:24 GMT', + date: 'Tue, 21 Aug 2018 20:31:04 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .head('/jobschedules/NodeSDKTestSchedule?api-version=2018-03-01.6.1') + .head('/jobschedules/NodeSDKTestSchedule?api-version=2018-08-01.7.0') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 23:25:24 GMT', - etag: '0x8D5861508E222CC', + 'last-modified': 'Tue, 21 Aug 2018 20:31:03 GMT', + etag: '0x8D607A503E9DDB3', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '776a0818-bff4-4397-9b30-1ccc50c998ad', + 'request-id': '04390025-2fe6-44de-a4f6-2de4912d0575', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:25:24 GMT', + date: 'Tue, 21 Aug 2018 20:31:04 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_check_that_pool_exists_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_check_that_pool_exists_successfully.nock.js index cfb0a03be..48605ba68 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_check_that_pool_exists_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_check_that_pool_exists_successfully.nock.js @@ -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'; -}; - +// 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') - .head('/pools/nodesdktestpool1?api-version=2018-03-01.6.1') + .head('/pools/nodesdktestpool1?api-version=2018-08-01.7.0') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:20 GMT', - etag: '0x8D5861164D233AE', + 'last-modified': 'Tue, 21 Aug 2018 20:25:21 GMT', + etag: '0x8D607A437BD2FE0', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '7ae32d56-0d4d-4e27-a936-011e6ef42ffd', + 'request-id': 'f6fc5f3d-6d20-434a-9927-7045eb0c906d', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:22 GMT', + date: 'Tue, 21 Aug 2018 20:25:22 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .head('/pools/nodesdktestpool1?api-version=2018-03-01.6.1') + .head('/pools/nodesdktestpool1?api-version=2018-08-01.7.0') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:20 GMT', - etag: '0x8D5861164D233AE', + 'last-modified': 'Tue, 21 Aug 2018 20:25:21 GMT', + etag: '0x8D607A437BD2FE0', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '7ae32d56-0d4d-4e27-a936-011e6ef42ffd', + 'request-id': 'f6fc5f3d-6d20-434a-9927-7045eb0c906d', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:22 GMT', + date: 'Tue, 21 Aug 2018 20:25:22 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_count_tasks_sucessfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_count_tasks_sucessfully.nock.js index ea32abe9c..4cadeef87 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_count_tasks_sucessfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_count_tasks_sucessfully.nock.js @@ -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'; -}; - +// 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') - .get('/jobs/HelloWorldJobNodeSDKTest/taskcounts?api-version=2018-03-01.6.1') - .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,\"validationStatus\":\"Validated\"\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'd92f7332-5009-4852-9bfb-25f994df24a5', + 'request-id': '0af66760-8534-4760-b64a-03a825aa9c5f', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:01:23 GMT', + date: 'Tue, 21 Aug 2018 20:27:23 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .get('/jobs/HelloWorldJobNodeSDKTest/taskcounts?api-version=2018-03-01.6.1') - .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,\"validationStatus\":\"Validated\"\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'd92f7332-5009-4852-9bfb-25f994df24a5', + 'request-id': '0af66760-8534-4760-b64a-03a825aa9c5f', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:01:23 GMT', + date: 'Tue, 21 Aug 2018 20:27:23 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_job_schdule_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_job_schdule_successfully.nock.js index 7a4d82d76..e0fc8b4f2 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_job_schdule_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_job_schdule_successfully.nock.js @@ -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'; -}; - +// 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('/jobschedules?api-version=2018-03-01.6.1', '*') +.post('/jobschedules?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 23:25:24 GMT', - etag: '0x8D5861508E222CC', + 'last-modified': 'Tue, 21 Aug 2018 20:31:03 GMT', + etag: '0x8D607A503E9DDB3', location: 'https://lchency4.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'e5290907-284d-4f04-98ed-e3f133040be5', + 'request-id': '50d586c2-ace8-438c-8a95-d0c4d27da08c', '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: 'Fri, 09 Mar 2018 23:25:24 GMT', + date: 'Tue, 21 Aug 2018 20:31:03 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') .filteringRequestBody(function (path) { return '*';}) -.post('/jobschedules?api-version=2018-03-01.6.1', '*') +.post('/jobschedules?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 23:25:24 GMT', - etag: '0x8D5861508E222CC', + 'last-modified': 'Tue, 21 Aug 2018 20:31:03 GMT', + etag: '0x8D607A503E9DDB3', location: 'https://lchency4.westcentralus.batch.azure.com/jobschedules/NodeSDKTestSchedule', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'e5290907-284d-4f04-98ed-e3f133040be5', + 'request-id': '50d586c2-ace8-438c-8a95-d0c4d27da08c', '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: 'Fri, 09 Mar 2018 23:25:24 GMT', + date: 'Tue, 21 Aug 2018 20:31:03 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_job_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_job_successfully.nock.js index 50d7a4cd2..38aba3c65 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_job_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_job_successfully.nock.js @@ -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'; -}; - +// 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('/jobs?api-version=2018-03-01.6.1', '*') +.post('/jobs?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:23 GMT', - etag: '0x8D586116668209F', + 'last-modified': 'Tue, 21 Aug 2018 20:25:23 GMT', + etag: '0x8D607A43940B4CA', location: 'https://lchency4.westcentralus.batch.azure.com/jobs/job-1', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'bfb70815-3c68-4131-8e13-48ec4cdf8bfb', + 'request-id': '7ae4eb31-4043-4d75-9b70-0af18ce2f990', '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: 'Fri, 09 Mar 2018 22:59:23 GMT', + date: 'Tue, 21 Aug 2018 20:25:23 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') .filteringRequestBody(function (path) { return '*';}) -.post('/jobs?api-version=2018-03-01.6.1', '*') +.post('/jobs?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:23 GMT', - etag: '0x8D586116668209F', + 'last-modified': 'Tue, 21 Aug 2018 20:25:23 GMT', + etag: '0x8D607A43940B4CA', location: 'https://lchency4.westcentralus.batch.azure.com/jobs/job-1', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'bfb70815-3c68-4131-8e13-48ec4cdf8bfb', + 'request-id': '7ae4eb31-4043-4d75-9b70-0af18ce2f990', '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: 'Fri, 09 Mar 2018 22:59:23 GMT', + date: 'Tue, 21 Aug 2018 20:25:23 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_new_pool_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_new_pool_successfully.nock.js index fefbe0de1..af3f5ad67 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_new_pool_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_new_pool_successfully.nock.js @@ -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'; -}; - +// 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-03-01.6.1', '*') +.post('/pools?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:44:04 GMT', - etag: '0x8D5860F42C979DB', + 'last-modified': 'Tue, 21 Aug 2018 20:05:04 GMT', + etag: '0x8D607A1628D0655', location: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'd409329b-fca1-4288-9136-68b9e1f429fc', + 'request-id': '32251087-3df7-4803-8a01-dcab5967bc2d', '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: 'Fri, 09 Mar 2018 22:44:04 GMT', + date: 'Tue, 21 Aug 2018 20:05:03 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-03-01.6.1', '*') +.post('/pools?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:44:04 GMT', - etag: '0x8D5860F42C979DB', + 'last-modified': 'Tue, 21 Aug 2018 20:05:04 GMT', + etag: '0x8D607A1628D0655', location: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'd409329b-fca1-4288-9136-68b9e1f429fc', + 'request-id': '32251087-3df7-4803-8a01-dcab5967bc2d', '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: 'Fri, 09 Mar 2018 22:44:04 GMT', + date: 'Tue, 21 Aug 2018 20:05:03 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_pool_with_application_licenses_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_pool_with_application_licenses_successfully.nock.js index 1093c7c02..15033655c 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_pool_with_application_licenses_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_pool_with_application_licenses_successfully.nock.js @@ -1,70 +1,126 @@ -// 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'; -}; - +// 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-03-01.6.1', '*') +.post('/pools?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:45:44 GMT', - etag: '0x8D5860F7E8B1EF8', + 'last-modified': 'Tue, 21 Aug 2018 20:06:44 GMT', + etag: '0x8D607A19E6D47A0', location: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool_licenses', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '48fcfce5-d20e-45f9-a0b9-74cd356e9357', + 'request-id': '8087a61e-23db-4262-860d-e075c3348c35', '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: 'Fri, 09 Mar 2018 22:45:44 GMT', + date: 'Tue, 21 Aug 2018 20:06:44 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-03-01.6.1', '*') +.post('/pools?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:45:44 GMT', - etag: '0x8D5860F7E8B1EF8', + 'last-modified': 'Tue, 21 Aug 2018 20:06:44 GMT', + etag: '0x8D607A19E6D47A0', location: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool_licenses', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '48fcfce5-d20e-45f9-a0b9-74cd356e9357', + 'request-id': '8087a61e-23db-4262-860d-e075c3348c35', '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: 'Fri, 09 Mar 2018 22:45:44 GMT', + date: 'Tue, 21 Aug 2018 20:06:44 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('http://lchency4.westcentralus.batch.azure.com:443') - .delete('/pools/nodesdktestpool_licenses?api-version=2018-03-01.6.1') - .reply(202, "", { 'transfer-encoding': 'chunked', + .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': '545aee6d-e0f7-49c8-bf9f-8c8003352828', + 'request-id': 'd3fd4578-4696-4ae8-9de2-8cb8d6eaf23c', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:45:45 GMT', + 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-03-01.6.1') - .reply(202, "", { 'transfer-encoding': 'chunked', + .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': '545aee6d-e0f7-49c8-bf9f-8c8003352828', + 'request-id': 'd3fd4578-4696-4ae8-9de2-8cb8d6eaf23c', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:45:45 GMT', + 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') + .reply(202, "", { 'transfer-encoding': 'chunked', + server: 'Microsoft-HTTPAPI/2.0', + 'request-id': 'efb1b63e-0afe-4fc5-b453-2b914d4b21d6', + 'strict-transport-security': 'max-age=31536000; includeSubDomains', + 'x-content-type-options': 'nosniff', + dataserviceversion: '3.0', + date: 'Tue, 21 Aug 2018 20:09:40 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(202, "", { 'transfer-encoding': 'chunked', + server: 'Microsoft-HTTPAPI/2.0', + 'request-id': 'efb1b63e-0afe-4fc5-b453-2b914d4b21d6', + 'strict-transport-security': 'max-age=31536000; includeSubDomains', + 'x-content-type-options': 'nosniff', + dataserviceversion: '3.0', + date: 'Tue, 21 Aug 2018 20:09:40 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_second_pool_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_second_pool_successfully.nock.js index f261e8d93..aff348c13 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_second_pool_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_second_pool_successfully.nock.js @@ -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'; -}; - +// 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-03-01.6.1', '*') +.post('/pools?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:20 GMT', - etag: '0x8D5861164EAB3E9', + 'last-modified': 'Tue, 21 Aug 2018 20:25:21 GMT', + etag: '0x8D607A437D63893', location: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool2', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '0f7fb423-9d36-495d-bbaf-4182c2a2139b', + 'request-id': '8886d2df-71fe-4c78-a5b8-2200ef938896', '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: 'Fri, 09 Mar 2018 22:59:20 GMT', + 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?api-version=2018-03-01.6.1', '*') +.post('/pools?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:20 GMT', - etag: '0x8D5861164EAB3E9', + 'last-modified': 'Tue, 21 Aug 2018 20:25:21 GMT', + etag: '0x8D607A437D63893', location: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool2', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '0f7fb423-9d36-495d-bbaf-4182c2a2139b', + 'request-id': '8886d2df-71fe-4c78-a5b8-2200ef938896', '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: 'Fri, 09 Mar 2018 22:59:20 GMT', + date: 'Tue, 21 Aug 2018 20:25:21 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_second_task_with_output_files_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_second_task_with_output_files_successfully.nock.js index 100b59567..f9ff3ff3a 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_second_task_with_output_files_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_second_task_with_output_files_successfully.nock.js @@ -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'; -}; - +// 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('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-03-01.6.1', '*') +.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:25 GMT', - etag: '0x8D5861167DA924E', + 'last-modified': 'Tue, 21 Aug 2018 20:25:25 GMT', + etag: '0x8D607A43A9B7793', location: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '319cffea-0bf1-43f9-a55e-2e314f9886c4', + 'request-id': '902900e1-9808-427b-9e7c-d14c7cd254c4', '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: 'Fri, 09 Mar 2018 22:59:25 GMT', + date: 'Tue, 21 Aug 2018 20:25:25 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') .filteringRequestBody(function (path) { return '*';}) -.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-03-01.6.1', '*') +.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:25 GMT', - etag: '0x8D5861167DA924E', + 'last-modified': 'Tue, 21 Aug 2018 20:25:25 GMT', + etag: '0x8D607A43A9B7793', location: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '319cffea-0bf1-43f9-a55e-2e314f9886c4', + 'request-id': '902900e1-9808-427b-9e7c-d14c7cd254c4', '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: 'Fri, 09 Mar 2018 22:59:25 GMT', + date: 'Tue, 21 Aug 2018 20:25:25 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_task_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_task_successfully.nock.js index 7ca37ae37..4ce1ce968 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_task_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_task_successfully.nock.js @@ -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'; -}; - +// 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('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-03-01.6.1', '*') +.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:23 GMT', - etag: '0x8D5861166AD5451', + 'last-modified': 'Tue, 21 Aug 2018 20:25:24 GMT', + etag: '0x8D607A43984F282', location: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '8dcecc8e-0fae-4f5d-8d85-96ef0900f009', + 'request-id': 'b1ba862b-3984-481b-bc32-773401937f59', '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: 'Fri, 09 Mar 2018 22:59:23 GMT', + date: 'Tue, 21 Aug 2018 20:25:24 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') .filteringRequestBody(function (path) { return '*';}) -.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-03-01.6.1', '*') +.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:23 GMT', - etag: '0x8D5861166AD5451', + 'last-modified': 'Tue, 21 Aug 2018 20:25:24 GMT', + etag: '0x8D607A43984F282', location: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '8dcecc8e-0fae-4f5d-8d85-96ef0900f009', + 'request-id': 'b1ba862b-3984-481b-bc32-773401937f59', '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: 'Fri, 09 Mar 2018 22:59:23 GMT', + date: 'Tue, 21 Aug 2018 20:25:24 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_task_with_a_user_identity_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_task_with_a_user_identity_successfully.nock.js index 001cac992..0b0d8e58f 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_task_with_a_user_identity_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_task_with_a_user_identity_successfully.nock.js @@ -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'; -}; - +// 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('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-03-01.6.1', '*') +.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 23:01:07 GMT', - etag: '0x8D58611A462A001', + 'last-modified': 'Tue, 21 Aug 2018 20:27:07 GMT', + etag: '0x8D607A477151458', location: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithUserIdentity', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '51fb411b-565b-49b5-8d1d-171df124bda1', + 'request-id': 'd58be13c-7af6-4948-acc7-4003b0349307', '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: 'Fri, 09 Mar 2018 23:01:07 GMT', + date: 'Tue, 21 Aug 2018 20:27:07 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') .filteringRequestBody(function (path) { return '*';}) -.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-03-01.6.1', '*') +.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 23:01:07 GMT', - etag: '0x8D58611A462A001', + 'last-modified': 'Tue, 21 Aug 2018 20:27:07 GMT', + etag: '0x8D607A477151458', location: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithUserIdentity', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '51fb411b-565b-49b5-8d1d-171df124bda1', + 'request-id': 'd58be13c-7af6-4948-acc7-4003b0349307', '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: 'Fri, 09 Mar 2018 23:01:07 GMT', + date: 'Tue, 21 Aug 2018 20:27:07 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-03-01.6.1') - .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\":\"0x8D58611A462A001\",\"creationTime\":\"2018-03-09T23:01:07.3286145Z\",\"lastModified\":\"2018-03-09T23:01:07.3286145Z\",\"state\":\"completed\",\"stateTransitionTime\":\"2018-03-09T23:01:14.663512Z\",\"previousState\":\"running\",\"previousStateTransitionTime\":\"2018-03-09T23:01:14.591505Z\",\"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-03-09T23:01:14.591505Z\",\"endTime\":\"2018-03-09T23:01:14.663512Z\",\"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-03-09T23:01:13.1202283Z\",\"requeueCount\":0\r\n },\"nodeInfo\":{\r\n \"affinityId\":\"TVM:tvm-3840119875_3-20180309t224543z\",\"nodeUrl\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-3840119875_3-20180309t224543z\",\"poolId\":\"nodesdktestpool1\",\"nodeId\":\"tvm-3840119875_3-20180309t224543z\",\"taskRootDirectory\":\"workitems\\\\helloworldjobnodesdktest\\\\job-1\\\\taskwithuseridentity\",\"taskRootDirectoryUrl\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-3840119875_3-20180309t224543z/files/workitems/helloworldjobnodesdktest/job-1/taskwithuseridentity\"\r\n }\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', - 'last-modified': 'Fri, 09 Mar 2018 23:01:07 GMT', - etag: '0x8D58611A462A001', + 'last-modified': 'Tue, 21 Aug 2018 20:27:07 GMT', + etag: '0x8D607A477151458', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '97a39df5-567e-469b-a5ef-4344a3d19a43', + 'request-id': '6b3ca097-cb5d-4045-bff7-12a3ef657f30', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:01:22 GMT', + date: 'Tue, 21 Aug 2018 20:27:21 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-03-01.6.1') - .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\":\"0x8D58611A462A001\",\"creationTime\":\"2018-03-09T23:01:07.3286145Z\",\"lastModified\":\"2018-03-09T23:01:07.3286145Z\",\"state\":\"completed\",\"stateTransitionTime\":\"2018-03-09T23:01:14.663512Z\",\"previousState\":\"running\",\"previousStateTransitionTime\":\"2018-03-09T23:01:14.591505Z\",\"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-03-09T23:01:14.591505Z\",\"endTime\":\"2018-03-09T23:01:14.663512Z\",\"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-03-09T23:01:13.1202283Z\",\"requeueCount\":0\r\n },\"nodeInfo\":{\r\n \"affinityId\":\"TVM:tvm-3840119875_3-20180309t224543z\",\"nodeUrl\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-3840119875_3-20180309t224543z\",\"poolId\":\"nodesdktestpool1\",\"nodeId\":\"tvm-3840119875_3-20180309t224543z\",\"taskRootDirectory\":\"workitems\\\\helloworldjobnodesdktest\\\\job-1\\\\taskwithuseridentity\",\"taskRootDirectoryUrl\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-3840119875_3-20180309t224543z/files/workitems/helloworldjobnodesdktest/job-1/taskwithuseridentity\"\r\n }\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', - 'last-modified': 'Fri, 09 Mar 2018 23:01:07 GMT', - etag: '0x8D58611A462A001', + 'last-modified': 'Tue, 21 Aug 2018 20:27:07 GMT', + etag: '0x8D607A477151458', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '97a39df5-567e-469b-a5ef-4344a3d19a43', + 'request-id': '6b3ca097-cb5d-4045-bff7-12a3ef657f30', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:01:22 GMT', + date: 'Tue, 21 Aug 2018 20:27:21 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_task_with_authentication_token_settings_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_task_with_authentication_token_settings_successfully.nock.js index 15902b8d8..16f74a712 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_task_with_authentication_token_settings_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_task_with_authentication_token_settings_successfully.nock.js @@ -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'; -}; - +// 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('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-03-01.6.1', '*') +.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 23:01:06 GMT', - etag: '0x8D58611A427E567', + 'last-modified': 'Tue, 21 Aug 2018 20:27:06 GMT', + etag: '0x8D607A476DDB5B0', location: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithAuthTokenSettings', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '732226f2-7617-44f3-80dd-faf67a2f6836', + 'request-id': 'c1bb3115-1da7-48e7-99c0-23d10e9f51ac', '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: 'Fri, 09 Mar 2018 23:01:06 GMT', + date: 'Tue, 21 Aug 2018 20:27:07 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') .filteringRequestBody(function (path) { return '*';}) -.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-03-01.6.1', '*') +.post('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 23:01:06 GMT', - etag: '0x8D58611A427E567', + 'last-modified': 'Tue, 21 Aug 2018 20:27:06 GMT', + etag: '0x8D607A476DDB5B0', location: 'https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/TaskWithAuthTokenSettings', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '732226f2-7617-44f3-80dd-faf67a2f6836', + 'request-id': 'c1bb3115-1da7-48e7-99c0-23d10e9f51ac', '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: 'Fri, 09 Mar 2018 23:01:06 GMT', + date: 'Tue, 21 Aug 2018 20:27:07 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-03-01.6.1') - .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\":\"0x8D58611A427E567\",\"creationTime\":\"2018-03-09T23:01:06.9437287Z\",\"lastModified\":\"2018-03-09T23:01:06.9437287Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T23:01:06.9437287Z\",\"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', + .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', 'content-type': 'application/json;odata=minimalmetadata', - 'last-modified': 'Fri, 09 Mar 2018 23:01:06 GMT', - etag: '0x8D58611A427E567', + 'last-modified': 'Tue, 21 Aug 2018 20:27:06 GMT', + etag: '0x8D607A476DDB5B0', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'c9eee9eb-6cdb-4d8f-a0f4-48fbb581e164', + 'request-id': 'f15e1fea-ce4e-432b-b85c-55cf1ca2d5e8', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:01:06 GMT', + date: 'Tue, 21 Aug 2018 20:27:07 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-03-01.6.1') - .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\":\"0x8D58611A427E567\",\"creationTime\":\"2018-03-09T23:01:06.9437287Z\",\"lastModified\":\"2018-03-09T23:01:06.9437287Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T23:01:06.9437287Z\",\"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', + .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', 'content-type': 'application/json;odata=minimalmetadata', - 'last-modified': 'Fri, 09 Mar 2018 23:01:06 GMT', - etag: '0x8D58611A427E567', + 'last-modified': 'Tue, 21 Aug 2018 20:27:06 GMT', + etag: '0x8D607A476DDB5B0', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'c9eee9eb-6cdb-4d8f-a0f4-48fbb581e164', + 'request-id': 'f15e1fea-ce4e-432b-b85c-55cf1ca2d5e8', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:01:06 GMT', + date: 'Tue, 21 Aug 2018 20:27:07 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_task_with_container_settings_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_task_with_container_settings_successfully.nock.js index 237b70d54..06c3a7fd2 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_task_with_container_settings_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_task_with_container_settings_successfully.nock.js @@ -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'; -}; - +// 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('/jobs?api-version=2018-03-01.6.1', '*') +.post('/jobs?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:24 GMT', - etag: '0x8D5861166CDE804', + 'last-modified': 'Tue, 21 Aug 2018 20:25:24 GMT', + etag: '0x8D607A439A76693', location: 'https://lchency4.westcentralus.batch.azure.com/jobs/job-1', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '056ecdad-85bd-4873-ae78-a40fec5c9706', + 'request-id': '8c1629a1-6b0a-41a8-b07a-908a6cb46b51', '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: 'Fri, 09 Mar 2018 22:59:24 GMT', + date: 'Tue, 21 Aug 2018 20:25:23 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') .filteringRequestBody(function (path) { return '*';}) -.post('/jobs?api-version=2018-03-01.6.1', '*') +.post('/jobs?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:24 GMT', - etag: '0x8D5861166CDE804', + 'last-modified': 'Tue, 21 Aug 2018 20:25:24 GMT', + etag: '0x8D607A439A76693', location: 'https://lchency4.westcentralus.batch.azure.com/jobs/job-1', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '056ecdad-85bd-4873-ae78-a40fec5c9706', + 'request-id': '8c1629a1-6b0a-41a8-b07a-908a6cb46b51', '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: 'Fri, 09 Mar 2018 22:59:24 GMT', + date: 'Tue, 21 Aug 2018 20:25:23 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('http://lchency4.westcentralus.batch.azure.com:443') .filteringRequestBody(function (path) { return '*';}) -.post('/jobs/ContainerJobNodeSDKTest/tasks?api-version=2018-03-01.6.1', '*') +.post('/jobs/ContainerJobNodeSDKTest/tasks?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:24 GMT', - etag: '0x8D58611670640EA', + 'last-modified': 'Tue, 21 Aug 2018 20:25:24 GMT', + etag: '0x8D607A439BE4963', location: 'https://lchency4.westcentralus.batch.azure.com/jobs/ContainerJobNodeSDKTest/tasks/ContainerNodeSDKTestTask', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'e958ae69-18cf-4779-aee6-b8962e355ae3', + 'request-id': '8ed01ce5-ca1b-4a8d-91bf-a5eb7d28e89e', '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: 'Fri, 09 Mar 2018 22:59:24 GMT', + date: 'Tue, 21 Aug 2018 20:25:24 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') .filteringRequestBody(function (path) { return '*';}) -.post('/jobs/ContainerJobNodeSDKTest/tasks?api-version=2018-03-01.6.1', '*') +.post('/jobs/ContainerJobNodeSDKTest/tasks?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:24 GMT', - etag: '0x8D58611670640EA', + 'last-modified': 'Tue, 21 Aug 2018 20:25:24 GMT', + etag: '0x8D607A439BE4963', location: 'https://lchency4.westcentralus.batch.azure.com/jobs/ContainerJobNodeSDKTest/tasks/ContainerNodeSDKTestTask', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'e958ae69-18cf-4779-aee6-b8962e355ae3', + 'request-id': '8ed01ce5-ca1b-4a8d-91bf-a5eb7d28e89e', '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: 'Fri, 09 Mar 2018 22:59:24 GMT', + date: 'Tue, 21 Aug 2018 20:25:24 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('http://lchency4.westcentralus.batch.azure.com:443') - .delete('/jobs/ContainerJobNodeSDKTest?api-version=2018-03-01.6.1') + .delete('/jobs/ContainerJobNodeSDKTest?api-version=2018-08-01.7.0') .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '6a531b9a-f121-4654-a289-4ad04df630d4', + 'request-id': '615df23b-468d-404f-938f-089d90517196', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:24 GMT', + date: 'Tue, 21 Aug 2018 20:25:24 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .delete('/jobs/ContainerJobNodeSDKTest?api-version=2018-03-01.6.1') + .delete('/jobs/ContainerJobNodeSDKTest?api-version=2018-08-01.7.0') .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '6a531b9a-f121-4654-a289-4ad04df630d4', + 'request-id': '615df23b-468d-404f-938f-089d90517196', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:24 GMT', + date: 'Tue, 21 Aug 2018 20:25:24 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_task_with_exit_conditions_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_task_with_exit_conditions_successfully.nock.js index fbef24bba..d94a06614 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_task_with_exit_conditions_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_create_a_task_with_exit_conditions_successfully.nock.js @@ -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'; -}; - +// 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('/jobs?api-version=2018-03-01.6.1', '*') +.post('/jobs?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:24 GMT', - etag: '0x8D586116735DA63', + 'last-modified': 'Tue, 21 Aug 2018 20:25:24 GMT', + etag: '0x8D607A439F0E665', location: 'https://lchency4.westcentralus.batch.azure.com/jobs/job-1', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '11c56be9-73da-4f7c-bbbe-b4faee00eaa3', + 'request-id': '061f2b6e-4927-4d9f-a0c2-f30801bb9ded', '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: 'Fri, 09 Mar 2018 22:59:24 GMT', + date: 'Tue, 21 Aug 2018 20:25:24 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') .filteringRequestBody(function (path) { return '*';}) -.post('/jobs?api-version=2018-03-01.6.1', '*') +.post('/jobs?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:24 GMT', - etag: '0x8D586116735DA63', + 'last-modified': 'Tue, 21 Aug 2018 20:25:24 GMT', + etag: '0x8D607A439F0E665', location: 'https://lchency4.westcentralus.batch.azure.com/jobs/job-1', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '11c56be9-73da-4f7c-bbbe-b4faee00eaa3', + 'request-id': '061f2b6e-4927-4d9f-a0c2-f30801bb9ded', '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: 'Fri, 09 Mar 2018 22:59:24 GMT', + date: 'Tue, 21 Aug 2018 20:25:24 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('http://lchency4.westcentralus.batch.azure.com:443') .filteringRequestBody(function (path) { return '*';}) -.post('/jobs/JobWithAutoComplete/tasks?api-version=2018-03-01.6.1', '*') +.post('/jobs/JobWithAutoComplete/tasks?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:24 GMT', - etag: '0x8D58611674B667A', + 'last-modified': 'Tue, 21 Aug 2018 20:25:24 GMT', + etag: '0x8D607A43A086071', location: 'https://lchency4.westcentralus.batch.azure.com/jobs/JobWithAutoComplete/tasks/TaskWithAutoComplete', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '6b484963-b6db-4208-99f0-46f952842fcb', + 'request-id': 'c10b9b66-0700-4a75-ba16-41575acee491', '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: 'Fri, 09 Mar 2018 22:59:24 GMT', + date: 'Tue, 21 Aug 2018 20:25:24 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') .filteringRequestBody(function (path) { return '*';}) -.post('/jobs/JobWithAutoComplete/tasks?api-version=2018-03-01.6.1', '*') +.post('/jobs/JobWithAutoComplete/tasks?api-version=2018-08-01.7.0', '*') .reply(201, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:24 GMT', - etag: '0x8D58611674B667A', + 'last-modified': 'Tue, 21 Aug 2018 20:25:24 GMT', + etag: '0x8D607A43A086071', location: 'https://lchency4.westcentralus.batch.azure.com/jobs/JobWithAutoComplete/tasks/TaskWithAutoComplete', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '6b484963-b6db-4208-99f0-46f952842fcb', + 'request-id': 'c10b9b66-0700-4a75-ba16-41575acee491', '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: 'Fri, 09 Mar 2018 22:59:24 GMT', + date: 'Tue, 21 Aug 2018 20:25:24 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-03-01.6.1') - .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\":\"0x8D58611674B667A\",\"creationTime\":\"2018-03-09T22:59:24.8353914Z\",\"lastModified\":\"2018-03-09T22:59:24.8353914Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T22:59:24.8353914Z\",\"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', + .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', 'content-type': 'application/json;odata=minimalmetadata', - 'last-modified': 'Fri, 09 Mar 2018 22:59:24 GMT', - etag: '0x8D58611674B667A', + 'last-modified': 'Tue, 21 Aug 2018 20:25:24 GMT', + etag: '0x8D607A43A086071', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '9d9c8770-106c-447e-aac0-4d651d26ba3e', + 'request-id': '513f53d1-530c-4c25-b7d3-118871a27902', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:25 GMT', + date: 'Tue, 21 Aug 2018 20:25:25 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-03-01.6.1') - .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\":\"0x8D58611674B667A\",\"creationTime\":\"2018-03-09T22:59:24.8353914Z\",\"lastModified\":\"2018-03-09T22:59:24.8353914Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T22:59:24.8353914Z\",\"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', + .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', 'content-type': 'application/json;odata=minimalmetadata', - 'last-modified': 'Fri, 09 Mar 2018 22:59:24 GMT', - etag: '0x8D58611674B667A', + 'last-modified': 'Tue, 21 Aug 2018 20:25:24 GMT', + etag: '0x8D607A43A086071', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '9d9c8770-106c-447e-aac0-4d651d26ba3e', + 'request-id': '513f53d1-530c-4c25-b7d3-118871a27902', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:25 GMT', + date: 'Tue, 21 Aug 2018 20:25:25 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('http://lchency4.westcentralus.batch.azure.com:443') - .delete('/jobs/JobWithAutoComplete?api-version=2018-03-01.6.1') + .delete('/jobs/JobWithAutoComplete?api-version=2018-08-01.7.0') .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '92db9ce9-6a89-4f4c-8d81-8b100d17ed5f', + 'request-id': '615d3e8e-b7d7-45e2-a729-7385e8555aec', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:25 GMT', + date: 'Tue, 21 Aug 2018 20:25:25 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .delete('/jobs/JobWithAutoComplete?api-version=2018-03-01.6.1') + .delete('/jobs/JobWithAutoComplete?api-version=2018-08-01.7.0') .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '92db9ce9-6a89-4f4c-8d81-8b100d17ed5f', + 'request-id': '615d3e8e-b7d7-45e2-a729-7385e8555aec', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:25 GMT', + date: 'Tue, 21 Aug 2018 20:25:25 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_certificate_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_certificate_successfully.nock.js index c94d681d0..e4be1ca17 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_certificate_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_certificate_successfully.nock.js @@ -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'; -}; - +// 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') - .delete('/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)?api-version=2018-03-01.6.1') + .delete('/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)?api-version=2018-08-01.7.0') .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '436a17fb-da44-469c-9d00-4052e9799790', + 'request-id': '5c0ecf4f-b035-4e3a-99ff-a594a41282a9', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:15 GMT', + date: 'Tue, 21 Aug 2018 20:31:07 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-03-01.6.1') + .delete('/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)?api-version=2018-08-01.7.0') .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '436a17fb-da44-469c-9d00-4052e9799790', + 'request-id': '5c0ecf4f-b035-4e3a-99ff-a594a41282a9', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:15 GMT', + date: 'Tue, 21 Aug 2018 20:31:07 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_compute_node_user_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_compute_node_user_successfully.nock.js index feea71628..8930c1a40 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_compute_node_user_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_compute_node_user_successfully.nock.js @@ -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'; -}; - +// 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') - .delete('/pools/nodesdktestpool1/nodes/tvm-3840119875_1-20180309t224543z/users/NodeSDKTestUser?api-version=2018-03-01.6.1') + .delete('/pools/nodesdktestpool1/nodes/tvm-14141481_1-20180821t200555z/users/NodeSDKTestUser?api-version=2018-08-01.7.0') .reply(200, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'eba87bf1-45c2-4ce0-83de-21ac1f821f04', + 'request-id': '6cbfc50b-3a4e-4489-aee1-bcd88041a203', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:14 GMT', + date: 'Tue, 21 Aug 2018 20:23:10 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .delete('/pools/nodesdktestpool1/nodes/tvm-3840119875_1-20180309t224543z/users/NodeSDKTestUser?api-version=2018-03-01.6.1') + .delete('/pools/nodesdktestpool1/nodes/tvm-14141481_1-20180821t200555z/users/NodeSDKTestUser?api-version=2018-08-01.7.0') .reply(200, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'eba87bf1-45c2-4ce0-83de-21ac1f821f04', + 'request-id': '6cbfc50b-3a4e-4489-aee1-bcd88041a203', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:14 GMT', + date: 'Tue, 21 Aug 2018 20:23:10 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_job_schedule_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_job_schedule_successfully.nock.js index 2b52f237b..e752eb3cb 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_job_schedule_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_job_schedule_successfully.nock.js @@ -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'; -}; - +// 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') - .delete('/jobschedules/NodeSDKTestSchedule?api-version=2018-03-01.6.1') + .delete('/jobschedules/NodeSDKTestSchedule?api-version=2018-08-01.7.0') .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'd958e710-2f14-4a9e-85ab-e40342164481', + 'request-id': '5a06a9d9-e0d5-4d09-a5a6-75545ebf34f9', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:25:26 GMT', + date: 'Tue, 21 Aug 2018 20:31:06 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .delete('/jobschedules/NodeSDKTestSchedule?api-version=2018-03-01.6.1') + .delete('/jobschedules/NodeSDKTestSchedule?api-version=2018-08-01.7.0') .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'd958e710-2f14-4a9e-85ab-e40342164481', + 'request-id': '5a06a9d9-e0d5-4d09-a5a6-75545ebf34f9', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:25:26 GMT', + date: 'Tue, 21 Aug 2018 20:31:06 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_job_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_job_successfully.nock.js index 7f8b0b3d6..3656041f1 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_job_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_job_successfully.nock.js @@ -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'; -}; - +// 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') - .delete('/jobs/HelloWorldJobNodeSDKTest?api-version=2018-03-01.6.1') + .delete('/jobs/HelloWorldJobNodeSDKTest?api-version=2018-08-01.7.0') .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '184d98f5-9cad-4169-8a21-cbf29dec0eb0', + 'request-id': '003f73cb-58f9-4ed5-a740-5e4da580f463', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:11 GMT', + date: 'Tue, 21 Aug 2018 20:31:03 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .delete('/jobs/HelloWorldJobNodeSDKTest?api-version=2018-03-01.6.1') + .delete('/jobs/HelloWorldJobNodeSDKTest?api-version=2018-08-01.7.0') .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '184d98f5-9cad-4169-8a21-cbf29dec0eb0', + 'request-id': '003f73cb-58f9-4ed5-a740-5e4da580f463', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:11 GMT', + date: 'Tue, 21 Aug 2018 20:31:03 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_pool_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_pool_successfully.nock.js index fd31d40e5..adb3cdd37 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_pool_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_pool_successfully.nock.js @@ -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'; -}; - +// 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') - .delete('/pools/nodesdktestpool1?api-version=2018-03-01.6.1') + .delete('/pools/nodesdktestpool1?api-version=2018-08-01.7.0') .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '106267f1-7e7f-4a08-857f-f344d5e292a0', + 'request-id': 'd8d278b8-e296-4200-891a-a8f74f5a9329', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:15 GMT', + date: 'Tue, 21 Aug 2018 20:31:06 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .delete('/pools/nodesdktestpool1?api-version=2018-03-01.6.1') + .delete('/pools/nodesdktestpool1?api-version=2018-08-01.7.0') .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '106267f1-7e7f-4a08-857f-f344d5e292a0', + 'request-id': 'd8d278b8-e296-4200-891a-a8f74f5a9329', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:15 GMT', + date: 'Tue, 21 Aug 2018 20:31:06 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_second_pool_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_second_pool_successfully.nock.js index 9460fa67d..086114889 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_second_pool_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_second_pool_successfully.nock.js @@ -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'; -}; - +// 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') - .delete('/pools/nodesdktestpool2?api-version=2018-03-01.6.1') + .delete('/pools/nodesdktestpool2?api-version=2018-08-01.7.0') .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '722efb09-8dd3-4955-acfe-c454cbb9d8f6', + 'request-id': '6863b390-6c25-4109-ac9f-9ec25e56f8fe', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:15 GMT', + date: 'Tue, 21 Aug 2018 20:31:07 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .delete('/pools/nodesdktestpool2?api-version=2018-03-01.6.1') + .delete('/pools/nodesdktestpool2?api-version=2018-08-01.7.0') .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '722efb09-8dd3-4955-acfe-c454cbb9d8f6', + 'request-id': '6863b390-6c25-4109-ac9f-9ec25e56f8fe', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:15 GMT', + date: 'Tue, 21 Aug 2018 20:31:07 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_second_task_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_second_task_successfully.nock.js index c83f1b125..b30814378 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_second_task_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_second_task_successfully.nock.js @@ -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'; -}; - +// 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') - .delete('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2?api-version=2018-03-01.6.1') + .delete('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2?api-version=2018-08-01.7.0') .reply(200, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '9263a10e-9b77-4a54-82cc-1fd0be014731', + 'request-id': 'b563b69a-d063-48bb-b2db-88f0a40c9c2b', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:09 GMT', + date: 'Tue, 21 Aug 2018 20:31:00 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-03-01.6.1') + .delete('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2?api-version=2018-08-01.7.0') .reply(200, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '9263a10e-9b77-4a54-82cc-1fd0be014731', + 'request-id': 'b563b69a-d063-48bb-b2db-88f0a40c9c2b', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:09 GMT', + date: 'Tue, 21 Aug 2018 20:31:00 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_task_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_task_successfully.nock.js index c9ca8bd15..3e1cd4d32 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_task_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_a_task_successfully.nock.js @@ -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'; -}; - +// 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') - .delete('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask?api-version=2018-03-01.6.1') + .delete('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask?api-version=2018-08-01.7.0') .reply(200, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'b31d6c28-4220-498a-a519-74915e34731a', + 'request-id': 'b1d70dcb-848a-46b0-8e63-f8e47969b697', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:08 GMT', + date: 'Tue, 21 Aug 2018 20:31:00 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-03-01.6.1') + .delete('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask?api-version=2018-08-01.7.0') .reply(200, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'b31d6c28-4220-498a-a519-74915e34731a', + 'request-id': 'b1d70dcb-848a-46b0-8e63-f8e47969b697', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:08 GMT', + date: 'Tue, 21 Aug 2018 20:31:00 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_file_from_node_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_file_from_node_successfully.nock.js index 6323d19b5..410814404 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_file_from_node_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_file_from_node_successfully.nock.js @@ -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'; -}; - +// 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') - .delete('/pools/nodesdktestpool1/nodes/tvm-3840119875_2-20180309t224543z/files/startup%2Fwd%2Fhello.txt?api-version=2018-03-01.6.1') + .delete('/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/files/startup%2Fwd%2Fhello.txt?api-version=2018-08-01.7.0') .reply(200, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'c845a267-f7f3-4e87-bf0f-8bf18fe1ee37', + 'request-id': '65fbd261-481c-42a7-9c5d-3dfd5656c70f', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:07 GMT', + date: 'Tue, 21 Aug 2018 20:30:58 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .delete('/pools/nodesdktestpool1/nodes/tvm-3840119875_2-20180309t224543z/files/startup%2Fwd%2Fhello.txt?api-version=2018-03-01.6.1') + .delete('/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/files/startup%2Fwd%2Fhello.txt?api-version=2018-08-01.7.0') .reply(200, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'c845a267-f7f3-4e87-bf0f-8bf18fe1ee37', + 'request-id': '65fbd261-481c-42a7-9c5d-3dfd5656c70f', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:07 GMT', + date: 'Tue, 21 Aug 2018 20:30:58 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_file_from_task_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_file_from_task_successfully.nock.js index 2b7a3bc3b..7a3ccc4e4 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_file_from_task_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_delete_file_from_task_successfully.nock.js @@ -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'; -}; - +// 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') - .delete('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/stderr.txt?api-version=2018-03-01.6.1') + .delete('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/stderr.txt?api-version=2018-08-01.7.0') .reply(200, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '17b877ce-6cc3-4a31-a040-1a936ab4b34f', + 'request-id': '36ed6a02-3d5b-4a8d-a4ca-ebbc474ccb0f', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:01:24 GMT', + date: 'Tue, 21 Aug 2018 20:27:24 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-03-01.6.1') + .delete('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/stderr.txt?api-version=2018-08-01.7.0') .reply(200, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '17b877ce-6cc3-4a31-a040-1a936ab4b34f', + 'request-id': '36ed6a02-3d5b-4a8d-a4ca-ebbc474ccb0f', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:01:24 GMT', + date: 'Tue, 21 Aug 2018 20:27:24 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_disable_a_job_schedule_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_disable_a_job_schedule_successfully.nock.js index 5059a3fa6..2f2b4a6b2 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_disable_a_job_schedule_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_disable_a_job_schedule_successfully.nock.js @@ -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'; -}; - +// 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') - .post('/jobschedules/NodeSDKTestSchedule/disable?api-version=2018-03-01.6.1') + .post('/jobschedules/NodeSDKTestSchedule/disable?api-version=2018-08-01.7.0') .reply(204, "", { 'content-length': '0', - 'last-modified': 'Fri, 09 Mar 2018 23:25:25 GMT', - etag: '0x8D586150995B13C', + 'last-modified': 'Tue, 21 Aug 2018 20:31:04 GMT', + etag: '0x8D607A5048EEBD1', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '824d5457-1c7d-4cb6-9e64-f3b4c3d8886e', + 'request-id': 'b290831d-fe21-4b17-bb5e-86cbbaa1d795', '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: 'Fri, 09 Mar 2018 23:25:25 GMT', + date: 'Tue, 21 Aug 2018 20:31:04 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .post('/jobschedules/NodeSDKTestSchedule/disable?api-version=2018-03-01.6.1') + .post('/jobschedules/NodeSDKTestSchedule/disable?api-version=2018-08-01.7.0') .reply(204, "", { 'content-length': '0', - 'last-modified': 'Fri, 09 Mar 2018 23:25:25 GMT', - etag: '0x8D586150995B13C', + 'last-modified': 'Tue, 21 Aug 2018 20:31:04 GMT', + etag: '0x8D607A5048EEBD1', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '824d5457-1c7d-4cb6-9e64-f3b4c3d8886e', + 'request-id': 'b290831d-fe21-4b17-bb5e-86cbbaa1d795', '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: 'Fri, 09 Mar 2018 23:25:25 GMT', + date: 'Tue, 21 Aug 2018 20:31:04 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_disable_a_job_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_disable_a_job_successfully.nock.js index c2ea2e1d9..fcbc48988 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_disable_a_job_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_disable_a_job_successfully.nock.js @@ -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'; -}; - +// 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('/jobs/HelloWorldJobNodeSDKTest/disable?api-version=2018-03-01.6.1', '*') +.post('/jobs/HelloWorldJobNodeSDKTest/disable?api-version=2018-08-01.7.0', '*') .reply(202, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 23:05:10 GMT', - etag: '0x8D58612352B67B2', + 'last-modified': 'Tue, 21 Aug 2018 20:31:01 GMT', + etag: '0x8D607A502BF5C97', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '72bbd7cc-44d4-4a8a-a2ef-a8a5bb068beb', + 'request-id': '4b884dbd-a80c-4820-bc5a-9428e386579a', '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: 'Fri, 09 Mar 2018 23:05:10 GMT', + date: 'Tue, 21 Aug 2018 20:31:01 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') .filteringRequestBody(function (path) { return '*';}) -.post('/jobs/HelloWorldJobNodeSDKTest/disable?api-version=2018-03-01.6.1', '*') +.post('/jobs/HelloWorldJobNodeSDKTest/disable?api-version=2018-08-01.7.0', '*') .reply(202, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 23:05:10 GMT', - etag: '0x8D58612352B67B2', + 'last-modified': 'Tue, 21 Aug 2018 20:31:01 GMT', + etag: '0x8D607A502BF5C97', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '72bbd7cc-44d4-4a8a-a2ef-a8a5bb068beb', + 'request-id': '4b884dbd-a80c-4820-bc5a-9428e386579a', '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: 'Fri, 09 Mar 2018 23:05:10 GMT', + date: 'Tue, 21 Aug 2018 20:31:01 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_disable_autoscale_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_disable_autoscale_successfully.nock.js index 52b8a888a..fa37a0aed 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_disable_autoscale_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_disable_autoscale_successfully.nock.js @@ -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'; -}; - +// 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') - .post('/pools/nodesdktestpool1/disableautoscale?api-version=2018-03-01.6.1') + .post('/pools/nodesdktestpool1/disableautoscale?api-version=2018-08-01.7.0') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:20 GMT', - etag: '0x8D5861164D233AE', + 'last-modified': 'Tue, 21 Aug 2018 20:25:21 GMT', + etag: '0x8D607A437BD2FE0', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '63362ee3-278f-4cec-a36d-7e15d6aeca44', + 'request-id': '1b43fef9-22e1-442c-9c36-87f83b210a02', '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: 'Fri, 09 Mar 2018 22:59:20 GMT', + date: 'Tue, 21 Aug 2018 20:25:20 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .post('/pools/nodesdktestpool1/disableautoscale?api-version=2018-03-01.6.1') + .post('/pools/nodesdktestpool1/disableautoscale?api-version=2018-08-01.7.0') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:20 GMT', - etag: '0x8D5861164D233AE', + 'last-modified': 'Tue, 21 Aug 2018 20:25:21 GMT', + etag: '0x8D607A437BD2FE0', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '63362ee3-278f-4cec-a36d-7e15d6aeca44', + 'request-id': '1b43fef9-22e1-442c-9c36-87f83b210a02', '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: 'Fri, 09 Mar 2018 22:59:20 GMT', + date: 'Tue, 21 Aug 2018 20:25:20 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_disable_scheduling_on_a_compute_node_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_disable_scheduling_on_a_compute_node_successfully.nock.js index 0f3ad0637..fd0261712 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_disable_scheduling_on_a_compute_node_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_disable_scheduling_on_a_compute_node_successfully.nock.js @@ -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'; -}; - +// 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') - .post('/pools/nodesdktestpool1/nodes/tvm-3840119875_2-20180309t224543z/disablescheduling?api-version=2018-03-01.6.1') + .post('/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/disablescheduling?api-version=2018-08-01.7.0') .reply(200, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'c05ac55c-c688-493d-afa4-01d7c1be17a9', + 'request-id': '30419b15-4a2e-4dac-9930-8bd28f4c102c', '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-3840119875_2-20180309t224543z/disablescheduling', - date: 'Fri, 09 Mar 2018 22:59:15 GMT', + dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/disablescheduling', + date: 'Tue, 21 Aug 2018 20:23:11 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .post('/pools/nodesdktestpool1/nodes/tvm-3840119875_2-20180309t224543z/disablescheduling?api-version=2018-03-01.6.1') + .post('/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/disablescheduling?api-version=2018-08-01.7.0') .reply(200, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'c05ac55c-c688-493d-afa4-01d7c1be17a9', + 'request-id': '30419b15-4a2e-4dac-9930-8bd28f4c102c', '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-3840119875_2-20180309t224543z/disablescheduling', - date: 'Fri, 09 Mar 2018 22:59:15 GMT', + dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/disablescheduling', + date: 'Tue, 21 Aug 2018 20:23:11 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_enable_a_job_schedule_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_enable_a_job_schedule_successfully.nock.js index 3c9096d56..4ddb2edf9 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_enable_a_job_schedule_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_enable_a_job_schedule_successfully.nock.js @@ -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'; -}; - +// 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') - .post('/jobschedules/NodeSDKTestSchedule/enable?api-version=2018-03-01.6.1') + .post('/jobschedules/NodeSDKTestSchedule/enable?api-version=2018-08-01.7.0') .reply(204, "", { 'content-length': '0', - 'last-modified': 'Fri, 09 Mar 2018 23:25:25 GMT', - etag: '0x8D5861509AC98D3', + 'last-modified': 'Tue, 21 Aug 2018 20:31:04 GMT', + etag: '0x8D607A504A591BE', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '322ec699-aef2-499e-b00e-d2f0d4aa891f', + 'request-id': 'b6ac06dc-fe6c-4acb-a072-23a7bc4ce1c3', '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: 'Fri, 09 Mar 2018 23:25:25 GMT', + date: 'Tue, 21 Aug 2018 20:31:04 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .post('/jobschedules/NodeSDKTestSchedule/enable?api-version=2018-03-01.6.1') + .post('/jobschedules/NodeSDKTestSchedule/enable?api-version=2018-08-01.7.0') .reply(204, "", { 'content-length': '0', - 'last-modified': 'Fri, 09 Mar 2018 23:25:25 GMT', - etag: '0x8D5861509AC98D3', + 'last-modified': 'Tue, 21 Aug 2018 20:31:04 GMT', + etag: '0x8D607A504A591BE', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '322ec699-aef2-499e-b00e-d2f0d4aa891f', + 'request-id': 'b6ac06dc-fe6c-4acb-a072-23a7bc4ce1c3', '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: 'Fri, 09 Mar 2018 23:25:25 GMT', + date: 'Tue, 21 Aug 2018 20:31:04 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_enable_a_job_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_enable_a_job_successfully.nock.js index 865bd32fd..e62fde1d6 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_enable_a_job_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_enable_a_job_successfully.nock.js @@ -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'; -}; - +// 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') - .post('/jobs/HelloWorldJobNodeSDKTest/enable?api-version=2018-03-01.6.1') + .post('/jobs/HelloWorldJobNodeSDKTest/enable?api-version=2018-08-01.7.0') .reply(202, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 23:05:10 GMT', - etag: '0x8D5861235458AC4', + 'last-modified': 'Tue, 21 Aug 2018 20:31:01 GMT', + etag: '0x8D607A502D514A5', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '2599bd2d-c5e3-4cd8-8cfc-6f162af95cf6', + 'request-id': '2dc16cc0-fef2-4a87-afdf-a044b317fe8b', '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: 'Fri, 09 Mar 2018 23:05:10 GMT', + date: 'Tue, 21 Aug 2018 20:31:01 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .post('/jobs/HelloWorldJobNodeSDKTest/enable?api-version=2018-03-01.6.1') + .post('/jobs/HelloWorldJobNodeSDKTest/enable?api-version=2018-08-01.7.0') .reply(202, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 23:05:10 GMT', - etag: '0x8D5861235458AC4', + 'last-modified': 'Tue, 21 Aug 2018 20:31:01 GMT', + etag: '0x8D607A502D514A5', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '2599bd2d-c5e3-4cd8-8cfc-6f162af95cf6', + 'request-id': '2dc16cc0-fef2-4a87-afdf-a044b317fe8b', '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: 'Fri, 09 Mar 2018 23:05:10 GMT', + date: 'Tue, 21 Aug 2018 20:31:01 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_enable_autoscale_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_enable_autoscale_successfully.nock.js index bdd70bf51..0cfe9d316 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_enable_autoscale_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_enable_autoscale_successfully.nock.js @@ -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'; -}; - +// 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/nodesdktestpool1/enableautoscale?api-version=2018-03-01.6.1', '*') +.post('/pools/nodesdktestpool1/enableautoscale?api-version=2018-08-01.7.0', '*') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:20 GMT', - etag: '0x8D586116485B99A', + 'last-modified': 'Tue, 21 Aug 2018 20:25:20 GMT', + etag: '0x8D607A4376A073D', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '2e6c5659-7067-4ea8-bbdf-6ca404069774', + 'request-id': 'bb882132-96ac-4530-a7bb-a91d2f5c25c5', '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: 'Fri, 09 Mar 2018 22:59:20 GMT', + date: 'Tue, 21 Aug 2018 20:25:20 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') .filteringRequestBody(function (path) { return '*';}) -.post('/pools/nodesdktestpool1/enableautoscale?api-version=2018-03-01.6.1', '*') +.post('/pools/nodesdktestpool1/enableautoscale?api-version=2018-08-01.7.0', '*') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:20 GMT', - etag: '0x8D586116485B99A', + 'last-modified': 'Tue, 21 Aug 2018 20:25:20 GMT', + etag: '0x8D607A4376A073D', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '2e6c5659-7067-4ea8-bbdf-6ca404069774', + 'request-id': 'bb882132-96ac-4530-a7bb-a91d2f5c25c5', '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: 'Fri, 09 Mar 2018 22:59:20 GMT', + date: 'Tue, 21 Aug 2018 20:25:20 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_enable_scheduling_on_a_compute_node_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_enable_scheduling_on_a_compute_node_successfully.nock.js index ba9ef60b4..42da13e99 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_enable_scheduling_on_a_compute_node_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_enable_scheduling_on_a_compute_node_successfully.nock.js @@ -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'; -}; - +// 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') - .post('/pools/nodesdktestpool1/nodes/tvm-3840119875_2-20180309t224543z/enablescheduling?api-version=2018-03-01.6.1') + .post('/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/enablescheduling?api-version=2018-08-01.7.0') .reply(200, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '5663bac7-692a-4697-9079-4ddae47faaf8', + 'request-id': '42717acb-2c95-4ecc-a9c6-22c6bc4b4b6d', '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-3840119875_2-20180309t224543z/enablescheduling', - date: 'Fri, 09 Mar 2018 22:59:17 GMT', + dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/enablescheduling', + date: 'Tue, 21 Aug 2018 20:23:10 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .post('/pools/nodesdktestpool1/nodes/tvm-3840119875_2-20180309t224543z/enablescheduling?api-version=2018-03-01.6.1') + .post('/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/enablescheduling?api-version=2018-08-01.7.0') .reply(200, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '5663bac7-692a-4697-9079-4ddae47faaf8', + 'request-id': '42717acb-2c95-4ecc-a9c6-22c6bc4b4b6d', '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-3840119875_2-20180309t224543z/enablescheduling', - date: 'Fri, 09 Mar 2018 22:59:17 GMT', + dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/enablescheduling', + date: 'Tue, 21 Aug 2018 20:23:10 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_evaluate_pool_autoscale_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_evaluate_pool_autoscale_successfully.nock.js index eea00e856..18ecfafb9 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_evaluate_pool_autoscale_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_evaluate_pool_autoscale_successfully.nock.js @@ -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'; -}; - +// 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/nodesdktestpool1/evaluateautoscale?api-version=2018-03-01.6.1', '*') - .reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.AutoScaleRun\",\"timestamp\":\"2018-03-09T22:59:20.3729087Z\",\"results\":\"$TargetDedicatedNodes=3;$TargetLowPriorityNodes=0;$NodeDeallocationOption=requeue\"\r\n}", { 'transfer-encoding': 'chunked', +.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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'e187fac2-abcb-47c5-8f8f-8ef841479375', + 'request-id': '1c7147f6-079d-465c-abba-39c5065cc622', '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: 'Fri, 09 Mar 2018 22:59:20 GMT', + date: 'Tue, 21 Aug 2018 20:25:20 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') .filteringRequestBody(function (path) { return '*';}) -.post('/pools/nodesdktestpool1/evaluateautoscale?api-version=2018-03-01.6.1', '*') - .reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.AutoScaleRun\",\"timestamp\":\"2018-03-09T22:59:20.3729087Z\",\"results\":\"$TargetDedicatedNodes=3;$TargetLowPriorityNodes=0;$NodeDeallocationOption=requeue\"\r\n}", { 'transfer-encoding': 'chunked', +.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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'e187fac2-abcb-47c5-8f8f-8ef841479375', + 'request-id': '1c7147f6-079d-465c-abba-39c5065cc622', '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: 'Fri, 09 Mar 2018 22:59:20 GMT', + date: 'Tue, 21 Aug 2018 20:25:20 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_fail_to_cancel_deleting_a_certificate.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_fail_to_cancel_deleting_a_certificate.nock.js index d83078a2b..1aa892a29 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_fail_to_cancel_deleting_a_certificate.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_fail_to_cancel_deleting_a_certificate.nock.js @@ -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'; -}; - +// 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') - .post('/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)/canceldelete?api-version=2018-03-01.6.1') - .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:a4e52ce5-cfae-4a3a-9ad6-1522293041ff\\nTime:2018-03-09T23:05:15.9724272Z\"\r\n }\r\n}", { 'content-length': '389', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'a4e52ce5-cfae-4a3a-9ad6-1522293041ff', + 'request-id': '76d451c9-e77a-4f9f-8862-33cf52f7b89c', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:15 GMT', + date: 'Tue, 21 Aug 2018 20:31:07 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-03-01.6.1') - .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:a4e52ce5-cfae-4a3a-9ad6-1522293041ff\\nTime:2018-03-09T23:05:15.9724272Z\"\r\n }\r\n}", { 'content-length': '389', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'a4e52ce5-cfae-4a3a-9ad6-1522293041ff', + 'request-id': '76d451c9-e77a-4f9f-8862-33cf52f7b89c', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:15 GMT', + date: 'Tue, 21 Aug 2018 20:31:07 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_fail_to_delete_a_non-existant_pool.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_fail_to_delete_a_non-existant_pool.nock.js index e3a2e905c..844cff701 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_fail_to_delete_a_non-existant_pool.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_fail_to_delete_a_non-existant_pool.nock.js @@ -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'; -}; - +// 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') - .delete('/pools/nodesdktestpool1?api-version=2018-03-01.6.1') - .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:970374de-d689-4984-b20c-673222dbfeb1\\nTime:2018-03-09T23:05:15.5542581Z\"\r\n }\r\n}", { 'content-length': '377', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '970374de-d689-4984-b20c-673222dbfeb1', + 'request-id': '0061979e-1130-4d93-a3ae-ccd26e802420', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:15 GMT', + date: 'Tue, 21 Aug 2018 20:31:07 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .delete('/pools/nodesdktestpool1?api-version=2018-03-01.6.1') - .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:970374de-d689-4984-b20c-673222dbfeb1\\nTime:2018-03-09T23:05:15.5542581Z\"\r\n }\r\n}", { 'content-length': '377', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '970374de-d689-4984-b20c-673222dbfeb1', + 'request-id': '0061979e-1130-4d93-a3ae-ccd26e802420', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:15 GMT', + date: 'Tue, 21 Aug 2018 20:31:07 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_fail_to_evaluate_invalid_autoscale_formula.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_fail_to_evaluate_invalid_autoscale_formula.nock.js index cdf05abf9..5bb64128d 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_fail_to_evaluate_invalid_autoscale_formula.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_fail_to_evaluate_invalid_autoscale_formula.nock.js @@ -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'; -}; - +// 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/nodesdktestpool1/evaluateautoscale?api-version=2018-03-01.6.1', '*') - .reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.AutoScaleRun\",\"timestamp\":\"2018-03-09T22:59:20.5249282Z\",\"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-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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '7dc22e1f-cb05-46d3-bd45-2db0878e28d1', + 'request-id': '7c59b462-0e1b-461f-9f50-d5e306427691', '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: 'Fri, 09 Mar 2018 22:59:20 GMT', + date: 'Tue, 21 Aug 2018 20:25:20 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') .filteringRequestBody(function (path) { return '*';}) -.post('/pools/nodesdktestpool1/evaluateautoscale?api-version=2018-03-01.6.1', '*') - .reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#Microsoft.Azure.Batch.Protocol.Entities.AutoScaleRun\",\"timestamp\":\"2018-03-09T22:59:20.5249282Z\",\"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-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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '7dc22e1f-cb05-46d3-bd45-2db0878e28d1', + 'request-id': '7c59b462-0e1b-461f-9f50-d5e306427691', '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: 'Fri, 09 Mar 2018 22:59:20 GMT', + date: 'Tue, 21 Aug 2018 20:25:20 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_fail_to_job_preprelease_status.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_fail_to_job_preprelease_status.nock.js index 9d7d1ffb9..aa160a79c 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_fail_to_job_preprelease_status.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_fail_to_job_preprelease_status.nock.js @@ -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'; -}; - +// 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') - .get('/jobs/HelloWorldJobNodeSDKTest/jobpreparationandreleasetaskstatus?api-version=2018-03-01.6.1') - .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:ea99a173-04f2-4279-8cce-9af8a5e3784e\\nTime:2018-03-09T23:05:10.0856820Z\"\r\n }\r\n}", { 'content-length': '413', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'ea99a173-04f2-4279-8cce-9af8a5e3784e', + 'request-id': 'c64b5386-cf38-44c7-ba9c-d6a280b6eb02', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:09 GMT', + date: 'Tue, 21 Aug 2018 20:31:01 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .get('/jobs/HelloWorldJobNodeSDKTest/jobpreparationandreleasetaskstatus?api-version=2018-03-01.6.1') - .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:ea99a173-04f2-4279-8cce-9af8a5e3784e\\nTime:2018-03-09T23:05:10.0856820Z\"\r\n }\r\n}", { 'content-length': '413', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'ea99a173-04f2-4279-8cce-9af8a5e3784e', + 'request-id': 'c64b5386-cf38-44c7-ba9c-d6a280b6eb02', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:09 GMT', + date: 'Tue, 21 Aug 2018 20:31:01 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_fail_to_list_pools_with_invalid_max.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_fail_to_list_pools_with_invalid_max.nock.js index 9e01cf146..32cc0863e 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_fail_to_list_pools_with_invalid_max.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_fail_to_list_pools_with_invalid_max.nock.js @@ -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'; -}; - +// 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') - .get('/pools?api-version=2018-03-01.6.1&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:facbc188-8510-42d9-8ae9-605842ec7a52\\nTime:2018-03-09T22:59:21.7659029Z\"\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', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'facbc188-8510-42d9-8ae9-605842ec7a52', + 'request-id': '9c8bd763-12ba-4354-9cd2-f2ce11352b50', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:21 GMT', + 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') - .get('/pools?api-version=2018-03-01.6.1&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:facbc188-8510-42d9-8ae9-605842ec7a52\\nTime:2018-03-09T22:59:21.7659029Z\"\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', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'facbc188-8510-42d9-8ae9-605842ec7a52', + 'request-id': '9c8bd763-12ba-4354-9cd2-f2ce11352b50', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:21 GMT', + date: 'Tue, 21 Aug 2018 20:25:21 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_fail_to_upload_pool_node_logs_at_paas_pool.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_fail_to_upload_pool_node_logs_at_paas_pool.nock.js index e637cf1ed..78ea4e7a8 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_fail_to_upload_pool_node_logs_at_paas_pool.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_fail_to_upload_pool_node_logs_at_paas_pool.nock.js @@ -10,29 +10,29 @@ exports.scopes = [[function (nock) { var result = nock('http://lchency4.westcentralus.batch.azure.com:443') .filteringRequestBody(function (path) { return '*';}) -.post('/pools/nodesdktestpool1/nodes/tvm-3840119875_2-20180309t224543z/uploadbatchservicelogs?api-version=2018-03-01.6.1', '*') - .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:6d4bdc65-94c8-4913-8207-ce038396a24a\\nTime:2018-03-10T00:32:40.4967814Z\"\r\n }\r\n}", { 'content-length': '386', +.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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '6d4bdc65-94c8-4913-8207-ce038396a24a', + 'request-id': '62a7e811-f7c3-45fd-86e2-93bfc52af41c', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Sat, 10 Mar 2018 00:32:40 GMT', + date: 'Tue, 21 Aug 2018 20:23:12 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') .filteringRequestBody(function (path) { return '*';}) -.post('/pools/nodesdktestpool1/nodes/tvm-3840119875_2-20180309t224543z/uploadbatchservicelogs?api-version=2018-03-01.6.1', '*') - .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:6d4bdc65-94c8-4913-8207-ce038396a24a\\nTime:2018-03-10T00:32:40.4967814Z\"\r\n }\r\n}", { 'content-length': '386', +.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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '6d4bdc65-94c8-4913-8207-ce038396a24a', + 'request-id': '62a7e811-f7c3-45fd-86e2-93bfc52af41c', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Sat, 10 Mar 2018 00:32:40 GMT', + date: 'Tue, 21 Aug 2018 20:23:12 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_a_compute_node_reference.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_a_compute_node_reference.nock.js index 0b575fbdd..aad66de8d 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_a_compute_node_reference.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_a_compute_node_reference.nock.js @@ -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'; -}; - +// 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') - .get('/pools/nodesdktestpool1/nodes/tvm-3840119875_1-20180309t224543z?api-version=2018-03-01.6.1') - .reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#nodes/@Element\",\"id\":\"tvm-3840119875_1-20180309t224543z\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-3840119875_1-20180309t224543z\",\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2018-03-09T22:49:59.4651008Z\",\"lastBootTime\":\"2018-03-09T22:49:57.0324304Z\",\"allocationTime\":\"2018-03-09T22:45:43.713181Z\",\"ipAddress\":\"100.73.20.110\",\"affinityId\":\"TVM:tvm-3840119875_1-20180309t224543z\",\"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-03-09T22:49:59.4651008Z\",\"endTime\":\"2018-03-09T22:49:59.6071949Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0\r\n },\"isDedicated\":true\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'ef9a9bec-f74e-4071-a432-a10a77a20313', + 'request-id': '18f30c3b-238a-42e2-a7a4-4982aab6b0bb', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:13 GMT', + date: 'Tue, 21 Aug 2018 20:23:09 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .get('/pools/nodesdktestpool1/nodes/tvm-3840119875_1-20180309t224543z?api-version=2018-03-01.6.1') - .reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#nodes/@Element\",\"id\":\"tvm-3840119875_1-20180309t224543z\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-3840119875_1-20180309t224543z\",\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2018-03-09T22:49:59.4651008Z\",\"lastBootTime\":\"2018-03-09T22:49:57.0324304Z\",\"allocationTime\":\"2018-03-09T22:45:43.713181Z\",\"ipAddress\":\"100.73.20.110\",\"affinityId\":\"TVM:tvm-3840119875_1-20180309t224543z\",\"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-03-09T22:49:59.4651008Z\",\"endTime\":\"2018-03-09T22:49:59.6071949Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0\r\n },\"isDedicated\":true\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'ef9a9bec-f74e-4071-a432-a10a77a20313', + 'request-id': '18f30c3b-238a-42e2-a7a4-4982aab6b0bb', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:13 GMT', + date: 'Tue, 21 Aug 2018 20:23:09 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_a_job_reference_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_a_job_reference_successfully.nock.js index 0e212cb97..f70216ad6 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_a_job_reference_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_a_job_reference_successfully.nock.js @@ -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'; -}; - +// 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') - .get('/jobs/HelloWorldJobNodeSDKTest?api-version=2018-03-01.6.1') - .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\":\"0x8D586116694D752\",\"lastModified\":\"2018-03-09T22:59:23.6389714Z\",\"creationTime\":\"2018-03-09T22:59:23.323924Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T22:59:23.3459359Z\",\"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-03-09T22:59:23.3459359Z\",\"poolId\":\"nodesdktestpool1\"\r\n },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"noaction\"\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', - 'last-modified': 'Fri, 09 Mar 2018 22:59:23 GMT', - etag: '0x8D586116694D752', + 'last-modified': 'Tue, 21 Aug 2018 20:25:23 GMT', + etag: '0x8D607A4396C0D8C', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'fe184f66-49ee-47dd-a49e-bbb3da263e2d', + 'request-id': '48237bb7-af49-462c-8793-11c154c658b9', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:09 GMT', + date: 'Tue, 21 Aug 2018 20:31:01 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .get('/jobs/HelloWorldJobNodeSDKTest?api-version=2018-03-01.6.1') - .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\":\"0x8D586116694D752\",\"lastModified\":\"2018-03-09T22:59:23.6389714Z\",\"creationTime\":\"2018-03-09T22:59:23.323924Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T22:59:23.3459359Z\",\"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-03-09T22:59:23.3459359Z\",\"poolId\":\"nodesdktestpool1\"\r\n },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"noaction\"\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', - 'last-modified': 'Fri, 09 Mar 2018 22:59:23 GMT', - etag: '0x8D586116694D752', + 'last-modified': 'Tue, 21 Aug 2018 20:25:23 GMT', + etag: '0x8D607A4396C0D8C', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'fe184f66-49ee-47dd-a49e-bbb3da263e2d', + 'request-id': '48237bb7-af49-462c-8793-11c154c658b9', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:09 GMT', + date: 'Tue, 21 Aug 2018 20:31:01 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_a_job_schedule_reference_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_a_job_schedule_reference_successfully.nock.js index 4cfd95132..0308a04fa 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_a_job_schedule_reference_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_a_job_schedule_reference_successfully.nock.js @@ -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'; -}; - +// 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') - .get('/jobschedules/NodeSDKTestSchedule?api-version=2018-03-01.6.1') - .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\":\"0x8D5861508E222CC\",\"lastModified\":\"2018-03-09T23:25:24.4266188Z\",\"creationTime\":\"2018-03-09T23:25:24.4266188Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T23:25:24.4266188Z\",\"schedule\":{\r\n \"doNotRunUntil\":\"2018-04-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-04-25T07:00:00Z\"\r\n }\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', - 'last-modified': 'Fri, 09 Mar 2018 23:25:24 GMT', - etag: '0x8D5861508E222CC', + 'last-modified': 'Tue, 21 Aug 2018 20:31:03 GMT', + etag: '0x8D607A503E9DDB3', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'aa3b1a59-4c9c-43b1-9caa-a47cba433958', + 'request-id': 'eb116f71-2e08-43c7-bc1e-2a83e7985922', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:25:25 GMT', + date: 'Tue, 21 Aug 2018 20:31:03 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .get('/jobschedules/NodeSDKTestSchedule?api-version=2018-03-01.6.1') - .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\":\"0x8D5861508E222CC\",\"lastModified\":\"2018-03-09T23:25:24.4266188Z\",\"creationTime\":\"2018-03-09T23:25:24.4266188Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T23:25:24.4266188Z\",\"schedule\":{\r\n \"doNotRunUntil\":\"2018-04-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-04-25T07:00:00Z\"\r\n }\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', - 'last-modified': 'Fri, 09 Mar 2018 23:25:24 GMT', - etag: '0x8D5861508E222CC', + 'last-modified': 'Tue, 21 Aug 2018 20:31:03 GMT', + etag: '0x8D607A503E9DDB3', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'aa3b1a59-4c9c-43b1-9caa-a47cba433958', + 'request-id': 'eb116f71-2e08-43c7-bc1e-2a83e7985922', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:25:25 GMT', + date: 'Tue, 21 Aug 2018 20:31:03 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_a_pool_reference_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_a_pool_reference_successfully.nock.js index a8cb3f617..958beabbb 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_a_pool_reference_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_a_pool_reference_successfully.nock.js @@ -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'; -}; - +// 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') - .get('/pools/nodesdktestpool1?api-version=2018-03-01.6.1') - .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\":\"0x8D5860F7EF25469\",\"lastModified\":\"2018-03-09T22:45:45.5235177Z\",\"creationTime\":\"2018-03-09T22:44:04.5924827Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T22:44:04.5924827Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-03-09T22:45:46.2070909Z\",\"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', + .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', 'content-type': 'application/json;odata=minimalmetadata', - 'last-modified': 'Fri, 09 Mar 2018 22:45:45 GMT', - etag: '0x8D5860F7EF25469', + 'last-modified': 'Tue, 21 Aug 2018 20:09:40 GMT', + etag: '0x8D607A20760C002', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '18e52435-0659-41d8-b91e-c7696af2bd53', + 'request-id': '6cb51182-165a-43a7-bc2e-6bfc7350748f', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:52:25 GMT', + date: 'Tue, 21 Aug 2018 20:16:21 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .get('/pools/nodesdktestpool1?api-version=2018-03-01.6.1') - .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\":\"0x8D5860F7EF25469\",\"lastModified\":\"2018-03-09T22:45:45.5235177Z\",\"creationTime\":\"2018-03-09T22:44:04.5924827Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T22:44:04.5924827Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-03-09T22:45:46.2070909Z\",\"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', + .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', 'content-type': 'application/json;odata=minimalmetadata', - 'last-modified': 'Fri, 09 Mar 2018 22:45:45 GMT', - etag: '0x8D5860F7EF25469', + 'last-modified': 'Tue, 21 Aug 2018 20:09:40 GMT', + etag: '0x8D607A20760C002', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '18e52435-0659-41d8-b91e-c7696af2bd53', + 'request-id': '6cb51182-165a-43a7-bc2e-6bfc7350748f', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:52:25 GMT', + date: 'Tue, 21 Aug 2018 20:16:21 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_a_pool_reference_with_odata_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_a_pool_reference_with_odata_successfully.nock.js index d24cf6f20..575f18dd1 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_a_pool_reference_with_odata_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_a_pool_reference_with_odata_successfully.nock.js @@ -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'; -}; - +// 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') - .get('/pools/nodesdktestpool1?api-version=2018-03-01.6.1&$select=id%2Cstate&$expand=stats') + .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', 'content-type': 'application/json;odata=minimalmetadata', - 'last-modified': 'Fri, 09 Mar 2018 22:45:45 GMT', - etag: '0x8D5860F7EF25469', + 'last-modified': 'Tue, 21 Aug 2018 20:09:40 GMT', + etag: '0x8D607A20760C002', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '6df1e240-198c-41eb-ab22-82213274c56e', + 'request-id': '7f270ebd-6b11-432f-8334-f28d091456f1', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:52:25 GMT', + date: 'Tue, 21 Aug 2018 20:16:21 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .get('/pools/nodesdktestpool1?api-version=2018-03-01.6.1&$select=id%2Cstate&$expand=stats') + .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', 'content-type': 'application/json;odata=minimalmetadata', - 'last-modified': 'Fri, 09 Mar 2018 22:45:45 GMT', - etag: '0x8D5860F7EF25469', + 'last-modified': 'Tue, 21 Aug 2018 20:09:40 GMT', + etag: '0x8D607A20760C002', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '6df1e240-198c-41eb-ab22-82213274c56e', + 'request-id': '7f270ebd-6b11-432f-8334-f28d091456f1', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:52:25 GMT', + date: 'Tue, 21 Aug 2018 20:16:21 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_a_remote_desktop_file_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_a_remote_desktop_file_successfully.nock.js index 460d7c53d..2145debb6 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_a_remote_desktop_file_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_a_remote_desktop_file_successfully.nock.js @@ -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'; -}; - +// 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') - .get('/pools/nodesdktestpool1/nodes/tvm-3840119875_1-20180309t224543z/rdp?api-version=2018-03-01.6.1') - .reply(200, "full address:s:52.161.155.190\r\nLoadBalanceInfo:s:Cookie: mstshash=TVM#TVM_IN_0", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/octet-stream', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '105afa71-0c5d-4d4b-9309-1b802a469a27', + 'request-id': '8151ec16-4fb1-47a3-b0ed-901d2939016c', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:13 GMT', + date: 'Tue, 21 Aug 2018 20:23:10 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .get('/pools/nodesdktestpool1/nodes/tvm-3840119875_1-20180309t224543z/rdp?api-version=2018-03-01.6.1') - .reply(200, "full address:s:52.161.155.190\r\nLoadBalanceInfo:s:Cookie: mstshash=TVM#TVM_IN_0", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/octet-stream', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '105afa71-0c5d-4d4b-9309-1b802a469a27', + 'request-id': '8151ec16-4fb1-47a3-b0ed-901d2939016c', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:13 GMT', + date: 'Tue, 21 Aug 2018 20:23:10 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_all_job_statistics_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_all_job_statistics_successfully.nock.js index 92e6bf646..a62c93b30 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_all_job_statistics_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_all_job_statistics_successfully.nock.js @@ -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'; -}; - +// 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') - .get('/lifetimejobstats?api-version=2018-03-01.6.1') - .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-03-09T22:00:00Z\",\"userCPUTime\":\"PT5M38.91S\",\"kernelCPUTime\":\"PT0.531S\",\"wallClockTime\":\"PT5M38.91S\",\"readIOps\":\"130\",\"writeIOps\":\"88\",\"readIOGiB\":6.650388240814209E-05,\"writeIOGiB\":1.405179500579834E-05,\"numTaskRetries\":\"14\",\"numSucceededTasks\":\"0\",\"numFailedTasks\":\"0\",\"waitTime\":\"PT1H59M51.994S\"\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '8cddbed0-b531-49a8-b9ad-a2310384187e', + 'request-id': '9e5d6186-c118-4673-b335-cf53e3e8deb4', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:12 GMT', + date: 'Tue, 21 Aug 2018 20:31:03 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .get('/lifetimejobstats?api-version=2018-03-01.6.1') - .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-03-09T22:00:00Z\",\"userCPUTime\":\"PT5M38.91S\",\"kernelCPUTime\":\"PT0.531S\",\"wallClockTime\":\"PT5M38.91S\",\"readIOps\":\"130\",\"writeIOps\":\"88\",\"readIOGiB\":6.650388240814209E-05,\"writeIOGiB\":1.405179500579834E-05,\"numTaskRetries\":\"14\",\"numSucceededTasks\":\"0\",\"numFailedTasks\":\"0\",\"waitTime\":\"PT1H59M51.994S\"\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '8cddbed0-b531-49a8-b9ad-a2310384187e', + 'request-id': '9e5d6186-c118-4673-b335-cf53e3e8deb4', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:12 GMT', + date: 'Tue, 21 Aug 2018 20:31:03 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_application_reference_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_application_reference_successfully.nock.js index 017934aad..de7c7263e 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_application_reference_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_application_reference_successfully.nock.js @@ -9,28 +9,28 @@ exports.setEnvironment = function() { exports.scopes = [[function (nock) { var result = nock('http://lchency4.westcentralus.batch.azure.com:443') - .get('/applications/my_application_id?api-version=2018-03-01.6.1') + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '7c0cabb8-74cc-4249-99c3-17a49455c8d8', + 'request-id': 'f5d26ac0-5953-4ac0-97bc-a9893a43ec35', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:08 GMT', + date: 'Tue, 21 Aug 2018 20:31:00 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-03-01.6.1') + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '7c0cabb8-74cc-4249-99c3-17a49455c8d8', + 'request-id': 'f5d26ac0-5953-4ac0-97bc-a9893a43ec35', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:08 GMT', + date: 'Tue, 21 Aug 2018 20:31:00 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_certificate_reference_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_certificate_reference_successfully.nock.js index 239c1ecb2..bfba8b42c 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_certificate_reference_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_certificate_reference_successfully.nock.js @@ -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'; -}; - +// 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') - .get('/certificates(thumbprintAlgorithm=sha1,thumbprint=cff2ab63c8c955aaf71989efa641b906558d9fb7)?api-version=2018-03-01.6.1') - .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-03-09T22:44:03.7701617Z\",\"publicData\":\"MIIBrzCCAV2gAwIBAgIQHZGt2k0LCLFKYYCFxlJnkTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE2MDEwMTA3MDAwMFoXDTE4MDEwMTA3MDAwMFowEjEQMA4GA1UEAxMHbm9kZXNkazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuX4XMWyR8cQRCA81TjHOerNOFOpOBj2O8jEdZvqwRlUYgMleEY2OlPd+nalxwlQ9+qbNkNGfjnhIMgiJ5CMlXgdRMF3E6DnMnktmHFG9L0VmQ6Lgt7bhXR8IitRHeYlvy5LJlw6Lcle5Kas2j4ThYjLQbjBMDSXD4HvZNe4UYEUCAwEAAaNLMEkwRwYDVR0BBEAwPoAQEuQJLQYdHU8AjWEh3BZkY6EYMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5ghAGN2wAqgBkihHPuNSqXDX0MAkGBSsOAwIdBQADQQB5djPe0G6c3Z8DuR6EQbIhBMTnC0zYPhigq+x1LG83761Ir8PiSy+6oxwCHOaYZyvheW0PByntC/WFwUipfn78\"\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '1161bf22-1ea1-4330-9580-7839b3e803b1', + 'request-id': '9fb112e5-cb9a-445c-b5da-2d2dbee0c77c', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:44:04 GMT', + date: 'Tue, 21 Aug 2018 20:05:04 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-03-01.6.1') - .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-03-09T22:44:03.7701617Z\",\"publicData\":\"MIIBrzCCAV2gAwIBAgIQHZGt2k0LCLFKYYCFxlJnkTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE2MDEwMTA3MDAwMFoXDTE4MDEwMTA3MDAwMFowEjEQMA4GA1UEAxMHbm9kZXNkazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuX4XMWyR8cQRCA81TjHOerNOFOpOBj2O8jEdZvqwRlUYgMleEY2OlPd+nalxwlQ9+qbNkNGfjnhIMgiJ5CMlXgdRMF3E6DnMnktmHFG9L0VmQ6Lgt7bhXR8IitRHeYlvy5LJlw6Lcle5Kas2j4ThYjLQbjBMDSXD4HvZNe4UYEUCAwEAAaNLMEkwRwYDVR0BBEAwPoAQEuQJLQYdHU8AjWEh3BZkY6EYMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5ghAGN2wAqgBkihHPuNSqXDX0MAkGBSsOAwIdBQADQQB5djPe0G6c3Z8DuR6EQbIhBMTnC0zYPhigq+x1LG83761Ir8PiSy+6oxwCHOaYZyvheW0PByntC/WFwUipfn78\"\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '1161bf22-1ea1-4330-9580-7839b3e803b1', + 'request-id': '9fb112e5-cb9a-445c-b5da-2d2dbee0c77c', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:44:04 GMT', + date: 'Tue, 21 Aug 2018 20:05:04 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_file_from_node_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_file_from_node_successfully.nock.js index 9886b2d13..8cc82ee06 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_file_from_node_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_file_from_node_successfully.nock.js @@ -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'; -}; - +// 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') - .get('/pools/nodesdktestpool1/nodes/tvm-3840119875_2-20180309t224543z/files/startup%2Fwd%2Fhello.txt?api-version=2018-03-01.6.1') + .get('/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/files/startup%2Fwd%2Fhello.txt?api-version=2018-08-01.7.0') .reply(200, "hello \r\n", { 'transfer-encoding': 'chunked', 'content-type': 'application/octet-stream', - 'last-modified': 'Fri, 09 Mar 2018 23:04:41 GMT', + 'last-modified': 'Tue, 21 Aug 2018 20:30:11 GMT', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '364c716e-1b53-4980-a6a8-6c5adcd68196', + 'request-id': 'e09cb7e8-8ca2-4d38-9c32-c80c18543751', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - 'ocp-creation-time': 'Fri, 09 Mar 2018 23:04:41 GMT', + 'ocp-creation-time': 'Tue, 21 Aug 2018 20:30:11 GMT', 'ocp-batch-file-isdirectory': 'False', - 'ocp-batch-file-url': 'https%3A%2F%2Flchency4.westcentralus.batch.azure.com%2Fpools%2Fnodesdktestpool1%2Fnodes%2Ftvm-3840119875_2-20180309t224543z%2Ffiles%2Fstartup%2Fwd%2Fhello.txt', - date: 'Fri, 09 Mar 2018 23:05:07 GMT', + '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', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .get('/pools/nodesdktestpool1/nodes/tvm-3840119875_2-20180309t224543z/files/startup%2Fwd%2Fhello.txt?api-version=2018-03-01.6.1') + .get('/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/files/startup%2Fwd%2Fhello.txt?api-version=2018-08-01.7.0') .reply(200, "hello \r\n", { 'transfer-encoding': 'chunked', 'content-type': 'application/octet-stream', - 'last-modified': 'Fri, 09 Mar 2018 23:04:41 GMT', + 'last-modified': 'Tue, 21 Aug 2018 20:30:11 GMT', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '364c716e-1b53-4980-a6a8-6c5adcd68196', + 'request-id': 'e09cb7e8-8ca2-4d38-9c32-c80c18543751', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - 'ocp-creation-time': 'Fri, 09 Mar 2018 23:04:41 GMT', + 'ocp-creation-time': 'Tue, 21 Aug 2018 20:30:11 GMT', 'ocp-batch-file-isdirectory': 'False', - 'ocp-batch-file-url': 'https%3A%2F%2Flchency4.westcentralus.batch.azure.com%2Fpools%2Fnodesdktestpool1%2Fnodes%2Ftvm-3840119875_2-20180309t224543z%2Ffiles%2Fstartup%2Fwd%2Fhello.txt', - date: 'Fri, 09 Mar 2018 23:05:07 GMT', + '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', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_file_from_task_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_file_from_task_successfully.nock.js index 660054588..3218a62e3 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_file_from_task_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_file_from_task_successfully.nock.js @@ -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'; -}; - +// 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') - .get('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/stdout.txt?api-version=2018-03-01.6.1') + .get('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/stdout.txt?api-version=2018-08-01.7.0') .reply(200, "hello world\r\n", { 'transfer-encoding': 'chunked', 'content-type': 'application/octet-stream', - 'last-modified': 'Fri, 09 Mar 2018 22:59:27 GMT', + 'last-modified': 'Tue, 21 Aug 2018 20:25:27 GMT', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '9026638f-9900-4c76-be8a-b0e4c15758b3', + 'request-id': '93444d00-6dc1-44b9-bcf8-79b2f432315c', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - 'ocp-creation-time': 'Fri, 09 Mar 2018 22:59:27 GMT', + 'ocp-creation-time': 'Tue, 21 Aug 2018 20:25:27 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: 'Fri, 09 Mar 2018 23:01:23 GMT', + date: 'Tue, 21 Aug 2018 20:27:24 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-03-01.6.1') + .get('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/stdout.txt?api-version=2018-08-01.7.0') .reply(200, "hello world\r\n", { 'transfer-encoding': 'chunked', 'content-type': 'application/octet-stream', - 'last-modified': 'Fri, 09 Mar 2018 22:59:27 GMT', + 'last-modified': 'Tue, 21 Aug 2018 20:25:27 GMT', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '9026638f-9900-4c76-be8a-b0e4c15758b3', + 'request-id': '93444d00-6dc1-44b9-bcf8-79b2f432315c', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - 'ocp-creation-time': 'Fri, 09 Mar 2018 22:59:27 GMT', + 'ocp-creation-time': 'Tue, 21 Aug 2018 20:25:27 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: 'Fri, 09 Mar 2018 23:01:23 GMT', + date: 'Tue, 21 Aug 2018 20:27:24 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_file_properties_from_node_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_file_properties_from_node_successfully.nock.js index ab32e0988..5b6e13d49 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_file_properties_from_node_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_file_properties_from_node_successfully.nock.js @@ -1,44 +1,96 @@ -// 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'; -}; - +// 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') - .head('/pools/nodesdktestpool1/nodes/tvm-3840119875_2-20180309t224543z/files/startup%2Fwd%2Fhello.txt?api-version=2018-03-01.6.1') - .reply(200, "", { 'content-length': '8', - 'content-type': 'application/octet-stream', - 'last-modified': 'Fri, 09 Mar 2018 23:04:41 GMT', + .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': 'f9691a66-c273-4156-9a38-3f0765a6c8fe', + 'request-id': 'eea76181-49b0-4ba2-9214-76b37a428550', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - 'ocp-creation-time': 'Fri, 09 Mar 2018 23:04:41 GMT', - 'ocp-batch-file-isdirectory': 'False', - 'ocp-batch-file-url': 'https%3A%2F%2Flchency4.westcentralus.batch.azure.com%2Fpools%2Fnodesdktestpool1%2Fnodes%2Ftvm-3840119875_2-20180309t224543z%2Ffiles%2Fstartup%2Fwd%2Fhello.txt', - date: 'Fri, 09 Mar 2018 23:05:06 GMT', + 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-3840119875_2-20180309t224543z/files/startup%2Fwd%2Fhello.txt?api-version=2018-03-01.6.1') - .reply(200, "", { 'content-length': '8', - 'content-type': 'application/octet-stream', - 'last-modified': 'Fri, 09 Mar 2018 23:04:41 GMT', + .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': 'f9691a66-c273-4156-9a38-3f0765a6c8fe', + 'request-id': 'eea76181-49b0-4ba2-9214-76b37a428550', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - 'ocp-creation-time': 'Fri, 09 Mar 2018 23:04:41 GMT', + 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') + .reply(200, "", { 'content-length': '8', + 'content-type': 'application/octet-stream', + 'last-modified': 'Tue, 21 Aug 2018 20:30:11 GMT', + server: 'Microsoft-HTTPAPI/2.0', + 'request-id': 'b490723d-3d62-4e80-b0a1-22109f1adcf0', + '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-batch-file-isdirectory': 'False', - 'ocp-batch-file-url': 'https%3A%2F%2Flchency4.westcentralus.batch.azure.com%2Fpools%2Fnodesdktestpool1%2Fnodes%2Ftvm-3840119875_2-20180309t224543z%2Ffiles%2Fstartup%2Fwd%2Fhello.txt', - date: 'Fri, 09 Mar 2018 23:05:06 GMT', + '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', + 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(200, "", { 'content-length': '8', + 'content-type': 'application/octet-stream', + 'last-modified': 'Tue, 21 Aug 2018 20:30:11 GMT', + server: 'Microsoft-HTTPAPI/2.0', + 'request-id': 'b490723d-3d62-4e80-b0a1-22109f1adcf0', + '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-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', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_file_properties_from_task_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_file_properties_from_task_successfully.nock.js index 7835a55a7..9ddf557e9 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_file_properties_from_task_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_file_properties_from_task_successfully.nock.js @@ -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'; -}; - +// 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') - .head('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/stderr.txt?api-version=2018-03-01.6.1') + .head('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/stderr.txt?api-version=2018-08-01.7.0') .reply(200, "", { 'content-length': '0', 'content-type': 'application/octet-stream', - 'last-modified': 'Fri, 09 Mar 2018 22:59:27 GMT', + 'last-modified': 'Tue, 21 Aug 2018 20:25:27 GMT', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '2799b800-0f28-45fc-8cb8-02494a399fd5', + 'request-id': 'a1e31a8b-b4d6-42f8-88aa-a1c807a22af4', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - 'ocp-creation-time': 'Fri, 09 Mar 2018 22:59:27 GMT', + 'ocp-creation-time': 'Tue, 21 Aug 2018 20:25:27 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: 'Fri, 09 Mar 2018 23:01:23 GMT', + date: 'Tue, 21 Aug 2018 20:27:23 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-03-01.6.1') + .head('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files/stderr.txt?api-version=2018-08-01.7.0') .reply(200, "", { 'content-length': '0', 'content-type': 'application/octet-stream', - 'last-modified': 'Fri, 09 Mar 2018 22:59:27 GMT', + 'last-modified': 'Tue, 21 Aug 2018 20:25:27 GMT', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '2799b800-0f28-45fc-8cb8-02494a399fd5', + 'request-id': 'a1e31a8b-b4d6-42f8-88aa-a1c807a22af4', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - 'ocp-creation-time': 'Fri, 09 Mar 2018 22:59:27 GMT', + 'ocp-creation-time': 'Tue, 21 Aug 2018 20:25:27 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: 'Fri, 09 Mar 2018 23:01:23 GMT', + date: 'Tue, 21 Aug 2018 20:27:23 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_pool_lifetime_statistics.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_pool_lifetime_statistics.nock.js index d1063d2fa..b6556ed6e 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_pool_lifetime_statistics.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_pool_lifetime_statistics.nock.js @@ -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'; -}; - +// 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') - .get('/lifetimepoolstats?api-version=2018-03-01.6.1') - .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-03-09T22:00:00Z\",\"dedicatedCoreTime\":\"P29DT17H23M3.542S\"\r\n },\"resourceStats\":{\r\n \"startTime\":\"2017-10-23T18:57:56.5958966Z\",\"diskReadIOps\":\"2026168\",\"diskWriteIOps\":\"24680454\",\"lastUpdateTime\":\"2018-03-09T22:00:00Z\",\"avgCPUPercentage\":0.013433526011359182,\"avgMemoryGiB\":0.9990966150533126,\"peakMemoryGiB\":3.8065605163574219,\"avgDiskGiB\":1.6973685467908632,\"peakDiskGiB\":2.39752197265625,\"diskReadGiB\":94.81925106048584,\"diskWriteGiB\":252.62272644042969,\"networkReadGiB\":11.063987102359533,\"networkWriteGiB\":6.1005959436297417\r\n }\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '1aeb7eb9-e02d-494f-bf23-fb75bc413b30', + 'request-id': 'cebbd73e-dba3-4693-9362-1dd4bcddc0da', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:22 GMT', + date: 'Tue, 21 Aug 2018 20:25:23 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .get('/lifetimepoolstats?api-version=2018-03-01.6.1') - .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-03-09T22:00:00Z\",\"dedicatedCoreTime\":\"P29DT17H23M3.542S\"\r\n },\"resourceStats\":{\r\n \"startTime\":\"2017-10-23T18:57:56.5958966Z\",\"diskReadIOps\":\"2026168\",\"diskWriteIOps\":\"24680454\",\"lastUpdateTime\":\"2018-03-09T22:00:00Z\",\"avgCPUPercentage\":0.013433526011359182,\"avgMemoryGiB\":0.9990966150533126,\"peakMemoryGiB\":3.8065605163574219,\"avgDiskGiB\":1.6973685467908632,\"peakDiskGiB\":2.39752197265625,\"diskReadGiB\":94.81925106048584,\"diskWriteGiB\":252.62272644042969,\"networkReadGiB\":11.063987102359533,\"networkWriteGiB\":6.1005959436297417\r\n }\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '1aeb7eb9-e02d-494f-bf23-fb75bc413b30', + 'request-id': 'cebbd73e-dba3-4693-9362-1dd4bcddc0da', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:22 GMT', + date: 'Tue, 21 Aug 2018 20:25:23 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_pool_node_counts_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_pool_node_counts_successfully.nock.js index 22b515393..311024ec6 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_pool_node_counts_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_pool_node_counts_successfully.nock.js @@ -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'; -}; - +// 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') - .get('/nodecounts?api-version=2018-03-01.6.1') - .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,\"offline\":0,\"preempted\":0,\"rebooting\":0,\"reimaging\":0,\"running\":0,\"starting\":0,\"startTaskFailed\":0,\"unusable\":0,\"unknown\":0,\"waitingForStartTask\":0,\"leavingPool\":0,\"total\":1\r\n },\"lowPriority\":{\r\n \"creating\":0,\"idle\":0,\"offline\":0,\"preempted\":0,\"rebooting\":0,\"reimaging\":0,\"running\":0,\"starting\":0,\"startTaskFailed\":0,\"unusable\":0,\"unknown\":0,\"waitingForStartTask\":0,\"leavingPool\":0,\"total\":0\r\n }\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '83cd363d-ff4f-455c-b33a-1400d41b97eb', + 'request-id': '2993c141-50cd-466a-a20e-fb7b2ee542dd', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:57:33 GMT', + date: 'Tue, 21 Aug 2018 20:23:08 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .get('/nodecounts?api-version=2018-03-01.6.1') - .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,\"offline\":0,\"preempted\":0,\"rebooting\":0,\"reimaging\":0,\"running\":0,\"starting\":0,\"startTaskFailed\":0,\"unusable\":0,\"unknown\":0,\"waitingForStartTask\":0,\"leavingPool\":0,\"total\":1\r\n },\"lowPriority\":{\r\n \"creating\":0,\"idle\":0,\"offline\":0,\"preempted\":0,\"rebooting\":0,\"reimaging\":0,\"running\":0,\"starting\":0,\"startTaskFailed\":0,\"unusable\":0,\"unknown\":0,\"waitingForStartTask\":0,\"leavingPool\":0,\"total\":0\r\n }\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '83cd363d-ff4f-455c-b33a-1400d41b97eb', + 'request-id': '2993c141-50cd-466a-a20e-fb7b2ee542dd', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:57:33 GMT', + date: 'Tue, 21 Aug 2018 20:23:08 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_task_reference_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_task_reference_successfully.nock.js index 68a3d53db..37e2fa4db 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_task_reference_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_task_reference_successfully.nock.js @@ -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'; -}; - +// 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') - .get('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask?api-version=2018-03-01.6.1') - .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\":\"0x8D5861167F3CDFF\",\"creationTime\":\"2018-03-09T22:59:23.7994577Z\",\"lastModified\":\"2018-03-09T22:59:25.9390463Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T22:59:25.9390463Z\",\"previousState\":\"completed\",\"previousStateTransitionTime\":\"2018-03-09T22:59:25.5874015Z\",\"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', + .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', 'content-type': 'application/json;odata=minimalmetadata', - 'last-modified': 'Fri, 09 Mar 2018 22:59:25 GMT', - etag: '0x8D5861167F3CDFF', + 'last-modified': 'Tue, 21 Aug 2018 20:25:26 GMT', + etag: '0x8D607A43AB500D1', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '60df3af2-e9a3-4ff8-9da8-58a5ec2fbd59', + 'request-id': 'e986c5f3-0389-4276-b6d0-487d6f5e0486', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:26 GMT', + date: 'Tue, 21 Aug 2018 20:25:25 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-03-01.6.1') - .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\":\"0x8D5861167F3CDFF\",\"creationTime\":\"2018-03-09T22:59:23.7994577Z\",\"lastModified\":\"2018-03-09T22:59:25.9390463Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T22:59:25.9390463Z\",\"previousState\":\"completed\",\"previousStateTransitionTime\":\"2018-03-09T22:59:25.5874015Z\",\"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', + .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', 'content-type': 'application/json;odata=minimalmetadata', - 'last-modified': 'Fri, 09 Mar 2018 22:59:25 GMT', - etag: '0x8D5861167F3CDFF', + 'last-modified': 'Tue, 21 Aug 2018 20:25:26 GMT', + etag: '0x8D607A43AB500D1', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '60df3af2-e9a3-4ff8-9da8-58a5ec2fbd59', + 'request-id': 'e986c5f3-0389-4276-b6d0-487d6f5e0486', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:26 GMT', + date: 'Tue, 21 Aug 2018 20:25:25 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_the_details_of_a_pool_with_endpoint_configuration_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_the_details_of_a_pool_with_endpoint_configuration_successfully.nock.js index ddd13430f..b5befe215 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_get_the_details_of_a_pool_with_endpoint_configuration_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_get_the_details_of_a_pool_with_endpoint_configuration_successfully.nock.js @@ -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'; -}; - +// 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') - .get('/pools/nodesdkinboundendpointpool/nodes?api-version=2018-03-01.6.1') - .reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#nodes\",\"value\":[\r\n {\r\n \"id\":\"tvm-3840119875_1-20180309t225426z\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdkinboundendpointpool/nodes/tvm-3840119875_1-20180309t225426z\",\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2018-03-09T22:56:28.505779Z\",\"lastBootTime\":\"2018-03-09T22:56:28.456035Z\",\"allocationTime\":\"2018-03-09T22:54:26.2743347Z\",\"ipAddress\":\"10.0.0.4\",\"affinityId\":\"TVM:tvm-3840119875_1-20180309t225426z\",\"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\":\"52.161.159.106\",\"publicFQDN\":\"dns45a0c178-17f0-45bd-86c5-127e9086805b-azurebatch-cloudservice.westcentralus.cloudapp.azure.com\",\"frontendPort\":60000,\"backendPort\":64444\r\n },{\r\n \"name\":\"SSHRule.0\",\"protocol\":\"tcp\",\"publicIPAddress\":\"52.161.159.106\",\"publicFQDN\":\"dns45a0c178-17f0-45bd-86c5-127e9086805b-azurebatch-cloudservice.westcentralus.cloudapp.azure.com\",\"frontendPort\":50000,\"backendPort\":22\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'e45bee64-e282-47a9-be3c-5f4b7d8989db', + 'request-id': '65c94270-05eb-4d2d-9dba-c233920c9ac8', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:12 GMT', + date: 'Tue, 21 Aug 2018 20:23:08 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .get('/pools/nodesdkinboundendpointpool/nodes?api-version=2018-03-01.6.1') - .reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#nodes\",\"value\":[\r\n {\r\n \"id\":\"tvm-3840119875_1-20180309t225426z\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdkinboundendpointpool/nodes/tvm-3840119875_1-20180309t225426z\",\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2018-03-09T22:56:28.505779Z\",\"lastBootTime\":\"2018-03-09T22:56:28.456035Z\",\"allocationTime\":\"2018-03-09T22:54:26.2743347Z\",\"ipAddress\":\"10.0.0.4\",\"affinityId\":\"TVM:tvm-3840119875_1-20180309t225426z\",\"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\":\"52.161.159.106\",\"publicFQDN\":\"dns45a0c178-17f0-45bd-86c5-127e9086805b-azurebatch-cloudservice.westcentralus.cloudapp.azure.com\",\"frontendPort\":60000,\"backendPort\":64444\r\n },{\r\n \"name\":\"SSHRule.0\",\"protocol\":\"tcp\",\"publicIPAddress\":\"52.161.159.106\",\"publicFQDN\":\"dns45a0c178-17f0-45bd-86c5-127e9086805b-azurebatch-cloudservice.westcentralus.cloudapp.azure.com\",\"frontendPort\":50000,\"backendPort\":22\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'e45bee64-e282-47a9-be3c-5f4b7d8989db', + 'request-id': '65c94270-05eb-4d2d-9dba-c233920c9ac8', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:12 GMT', + date: 'Tue, 21 Aug 2018 20:23:08 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_list_a_maximum_number_of_pools.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_list_a_maximum_number_of_pools.nock.js index 002b130b8..64c522e7f 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_list_a_maximum_number_of_pools.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_list_a_maximum_number_of_pools.nock.js @@ -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'; -}; - +// 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') - .get('/pools?api-version=2018-03-01.6.1&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\":\"0x8D58610717C3E16\",\"lastModified\":\"2018-03-09T22:52:32.4359702Z\",\"creationTime\":\"2018-03-09T22:52:32.4359702Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T22:52:32.4359702Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-03-09T22:54:26.965177Z\",\"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-03-01.6.1&maxresults=1&$skiptoken=WATV2:eCinib1p8ymm8mMqiNz3Wrsmzu1MV0tNnD7vb1K8ix63zzBYpQt8rSEaNFjUaVcwLUPB8mh/KHfFNqe1sl%5EwbUnwefQHvR666nStghj%5E4RyeIYMXrCVszuXexL2M2xE46VMRye8no6mCp1A2nF3%5E61KI2APbciMWa99n5lSxStX7EWaSO0EDGQz42t1Vl32lIqXRwioWaGdu59ncYpW3vCpoHu9dLyURLacM8HURFz01i5Kam63t9bD0uO5iEgDm97YGoad%5EqxpTlH14iCj%5EyQ==:1$1\"\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '70c39706-e493-44c2-a814-4aff7a3f3f64', + 'request-id': '69c37e01-027c-45bf-a26b-448165c3d374', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:21 GMT', + 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') - .get('/pools?api-version=2018-03-01.6.1&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\":\"0x8D58610717C3E16\",\"lastModified\":\"2018-03-09T22:52:32.4359702Z\",\"creationTime\":\"2018-03-09T22:52:32.4359702Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T22:52:32.4359702Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-03-09T22:54:26.965177Z\",\"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-03-01.6.1&maxresults=1&$skiptoken=WATV2:eCinib1p8ymm8mMqiNz3Wrsmzu1MV0tNnD7vb1K8ix63zzBYpQt8rSEaNFjUaVcwLUPB8mh/KHfFNqe1sl%5EwbUnwefQHvR666nStghj%5E4RyeIYMXrCVszuXexL2M2xE46VMRye8no6mCp1A2nF3%5E61KI2APbciMWa99n5lSxStX7EWaSO0EDGQz42t1Vl32lIqXRwioWaGdu59ncYpW3vCpoHu9dLyURLacM8HURFz01i5Kam63t9bD0uO5iEgDm97YGoad%5EqxpTlH14iCj%5EyQ==:1$1\"\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '70c39706-e493-44c2-a814-4aff7a3f3f64', + 'request-id': '69c37e01-027c-45bf-a26b-448165c3d374', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:21 GMT', + date: 'Tue, 21 Aug 2018 20:25:21 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('http://lchency4.westcentralus.batch.azure.com:443') - .get('/pools?api-version=2018-03-01.6.1&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\":\"0x8D5861164D233AE\",\"lastModified\":\"2018-03-09T22:59:20.6856622Z\",\"creationTime\":\"2018-03-09T22:44:04.5924827Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T22:44:04.5924827Z\",\"allocationState\":\"stopping\",\"allocationStateTransitionTime\":\"2018-03-09T22:59:20.6856622Z\",\"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-03-01.6.1&maxresults=1&$skiptoken=WATV2:PQFgS3ENlQlwds40%5E7uYOKDzwaZBB9m2eCCzqo4yyCYqYUUcaHHWRRGF2QxPFPbRIs9ieKcy8pXJRvrFrE/LfERgbwn0qDIpGeQUtRuCCzUkxLdjVR4JI%5EqOEu%5E4qWKjEMz/UFNZh6IJZssFaB25H4meeYwalq%5EOhgubOwHGNP8FgquCDtUYiU8rqDP9Mm8sl6xVWqwjvsXh5uNDV2oqCYTIJYecHeDQbQfMB0sZ2sqkHPLlbvCD3oAmH3Tr62gByV/Q28zuPJHrzzqn1SSrzg==:1$1\"\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '41dc800f-1e1f-40cc-a557-1ba7f5145a49', + 'request-id': '9cb6fb66-9157-47f5-9b8c-1896d1441162', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:21 GMT', + 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') - .get('/pools?api-version=2018-03-01.6.1&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\":\"0x8D5861164D233AE\",\"lastModified\":\"2018-03-09T22:59:20.6856622Z\",\"creationTime\":\"2018-03-09T22:44:04.5924827Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T22:44:04.5924827Z\",\"allocationState\":\"stopping\",\"allocationStateTransitionTime\":\"2018-03-09T22:59:20.6856622Z\",\"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-03-01.6.1&maxresults=1&$skiptoken=WATV2:PQFgS3ENlQlwds40%5E7uYOKDzwaZBB9m2eCCzqo4yyCYqYUUcaHHWRRGF2QxPFPbRIs9ieKcy8pXJRvrFrE/LfERgbwn0qDIpGeQUtRuCCzUkxLdjVR4JI%5EqOEu%5E4qWKjEMz/UFNZh6IJZssFaB25H4meeYwalq%5EOhgubOwHGNP8FgquCDtUYiU8rqDP9Mm8sl6xVWqwjvsXh5uNDV2oqCYTIJYecHeDQbQfMB0sZ2sqkHPLlbvCD3oAmH3Tr62gByV/Q28zuPJHrzzqn1SSrzg==:1$1\"\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '41dc800f-1e1f-40cc-a557-1ba7f5145a49', + 'request-id': '9cb6fb66-9157-47f5-9b8c-1896d1441162', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:21 GMT', + date: 'Tue, 21 Aug 2018 20:25:21 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_list_all_tasks_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_list_all_tasks_successfully.nock.js index 995c728e8..7d2a8285c 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_list_all_tasks_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_list_all_tasks_successfully.nock.js @@ -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'; -}; - +// 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') - .get('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-03-01.6.1') - .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\":\"0x8D5861167F3CDFF\",\"creationTime\":\"2018-03-09T22:59:23.7994577Z\",\"lastModified\":\"2018-03-09T22:59:25.9390463Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T22:59:25.9390463Z\",\"previousState\":\"completed\",\"previousStateTransitionTime\":\"2018-03-09T22:59:25.5874015Z\",\"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\":\"0x8D586116815EE04\",\"creationTime\":\"2018-03-09T22:59:25.7736782Z\",\"lastModified\":\"2018-03-09T22:59:26.1626884Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T22:59:25.7736782Z\",\"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', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'b13707b0-5a0d-4b91-ba8a-8ad9998e60c0', + 'request-id': 'b58729e6-7df8-4ab6-a8f1-f0b16916183a', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:26 GMT', + date: 'Tue, 21 Aug 2018 20:25:25 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .get('/jobs/HelloWorldJobNodeSDKTest/tasks?api-version=2018-03-01.6.1') - .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\":\"0x8D5861167F3CDFF\",\"creationTime\":\"2018-03-09T22:59:23.7994577Z\",\"lastModified\":\"2018-03-09T22:59:25.9390463Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T22:59:25.9390463Z\",\"previousState\":\"completed\",\"previousStateTransitionTime\":\"2018-03-09T22:59:25.5874015Z\",\"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\":\"0x8D586116815EE04\",\"creationTime\":\"2018-03-09T22:59:25.7736782Z\",\"lastModified\":\"2018-03-09T22:59:26.1626884Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T22:59:25.7736782Z\",\"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', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'b13707b0-5a0d-4b91-ba8a-8ad9998e60c0', + 'request-id': 'b58729e6-7df8-4ab6-a8f1-f0b16916183a', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:26 GMT', + date: 'Tue, 21 Aug 2018 20:25:25 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_list_applications_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_list_applications_successfully.nock.js index 0a715832b..64c10c647 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_list_applications_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_list_applications_successfully.nock.js @@ -9,28 +9,28 @@ exports.setEnvironment = function() { exports.scopes = [[function (nock) { var result = nock('http://lchency4.westcentralus.batch.azure.com:443') - .get('/applications?api-version=2018-03-01.6.1') + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '6ee89e1a-6899-4a80-a289-684a06a628b4', + 'request-id': '9ece1c35-c5d2-404e-940b-570b30f9117f', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:07 GMT', + date: 'Tue, 21 Aug 2018 20:30:58 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .get('/applications?api-version=2018-03-01.6.1') + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '6ee89e1a-6899-4a80-a289-684a06a628b4', + 'request-id': '9ece1c35-c5d2-404e-940b-570b30f9117f', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:07 GMT', + date: 'Tue, 21 Aug 2018 20:30:58 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_list_certificates_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_list_certificates_successfully.nock.js index 998e84454..effb728e4 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_list_certificates_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_list_certificates_successfully.nock.js @@ -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'; -}; - +// 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') - .get('/certificates?api-version=2018-03-01.6.1') - .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-03-09T22:44:03.7701617Z\",\"publicData\":\"MIIBrzCCAV2gAwIBAgIQHZGt2k0LCLFKYYCFxlJnkTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE2MDEwMTA3MDAwMFoXDTE4MDEwMTA3MDAwMFowEjEQMA4GA1UEAxMHbm9kZXNkazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuX4XMWyR8cQRCA81TjHOerNOFOpOBj2O8jEdZvqwRlUYgMleEY2OlPd+nalxwlQ9+qbNkNGfjnhIMgiJ5CMlXgdRMF3E6DnMnktmHFG9L0VmQ6Lgt7bhXR8IitRHeYlvy5LJlw6Lcle5Kas2j4ThYjLQbjBMDSXD4HvZNe4UYEUCAwEAAaNLMEkwRwYDVR0BBEAwPoAQEuQJLQYdHU8AjWEh3BZkY6EYMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5ghAGN2wAqgBkihHPuNSqXDX0MAkGBSsOAwIdBQADQQB5djPe0G6c3Z8DuR6EQbIhBMTnC0zYPhigq+x1LG83761Ir8PiSy+6oxwCHOaYZyvheW0PByntC/WFwUipfn78\"\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '1bac6d25-c0a9-433c-ab38-ab2e78001ffc', + 'request-id': '816e866e-48c4-423b-8691-1b96db584d1e', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:44:04 GMT', + date: 'Tue, 21 Aug 2018 20:05:03 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .get('/certificates?api-version=2018-03-01.6.1') - .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-03-09T22:44:03.7701617Z\",\"publicData\":\"MIIBrzCCAV2gAwIBAgIQHZGt2k0LCLFKYYCFxlJnkTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE2MDEwMTA3MDAwMFoXDTE4MDEwMTA3MDAwMFowEjEQMA4GA1UEAxMHbm9kZXNkazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuX4XMWyR8cQRCA81TjHOerNOFOpOBj2O8jEdZvqwRlUYgMleEY2OlPd+nalxwlQ9+qbNkNGfjnhIMgiJ5CMlXgdRMF3E6DnMnktmHFG9L0VmQ6Lgt7bhXR8IitRHeYlvy5LJlw6Lcle5Kas2j4ThYjLQbjBMDSXD4HvZNe4UYEUCAwEAAaNLMEkwRwYDVR0BBEAwPoAQEuQJLQYdHU8AjWEh3BZkY6EYMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5ghAGN2wAqgBkihHPuNSqXDX0MAkGBSsOAwIdBQADQQB5djPe0G6c3Z8DuR6EQbIhBMTnC0zYPhigq+x1LG83761Ir8PiSy+6oxwCHOaYZyvheW0PByntC/WFwUipfn78\"\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '1bac6d25-c0a9-433c-ab38-ab2e78001ffc', + 'request-id': '816e866e-48c4-423b-8691-1b96db584d1e', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:44:04 GMT', + date: 'Tue, 21 Aug 2018 20:05:03 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_list_compute_nodes_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_list_compute_nodes_successfully.nock.js index 9ca23b90e..623e9edd4 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_list_compute_nodes_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_list_compute_nodes_successfully.nock.js @@ -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'; -}; - +// 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') - .get('/pools/nodesdktestpool1/nodes?api-version=2018-03-01.6.1') - .reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#nodes\",\"value\":[\r\n {\r\n \"id\":\"tvm-3840119875_1-20180309t224543z\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-3840119875_1-20180309t224543z\",\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2018-03-09T22:49:59.4651008Z\",\"lastBootTime\":\"2018-03-09T22:49:57.0324304Z\",\"allocationTime\":\"2018-03-09T22:45:43.713181Z\",\"ipAddress\":\"100.73.20.110\",\"affinityId\":\"TVM:tvm-3840119875_1-20180309t224543z\",\"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-03-09T22:49:59.4651008Z\",\"endTime\":\"2018-03-09T22:49:59.6071949Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0\r\n },\"isDedicated\":true\r\n },{\r\n \"id\":\"tvm-3840119875_2-20180309t224543z\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-3840119875_2-20180309t224543z\",\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2018-03-09T22:49:58.7550625Z\",\"lastBootTime\":\"2018-03-09T22:49:56.6021605Z\",\"allocationTime\":\"2018-03-09T22:45:43.713181Z\",\"ipAddress\":\"100.73.56.76\",\"affinityId\":\"TVM:tvm-3840119875_2-20180309t224543z\",\"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-03-09T22:49:58.7550625Z\",\"endTime\":\"2018-03-09T22:49:58.9254011Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0\r\n },\"isDedicated\":true\r\n },{\r\n \"id\":\"tvm-3840119875_3-20180309t224543z\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-3840119875_3-20180309t224543z\",\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2018-03-09T22:50:04.0199067Z\",\"lastBootTime\":\"2018-03-09T22:50:01.3197051Z\",\"allocationTime\":\"2018-03-09T22:45:43.713181Z\",\"ipAddress\":\"100.73.88.23\",\"affinityId\":\"TVM:tvm-3840119875_3-20180309t224543z\",\"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-03-09T22:50:04.0199067Z\",\"endTime\":\"2018-03-09T22:50:04.1619194Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0\r\n },\"isDedicated\":true\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked', + .get('/pools/nodesdktestpool1/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-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 },{\r\n \"id\":\"tvm-14141481_2-20180821t200555z\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z\",\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2018-08-21T20:11:11.1383506Z\",\"lastBootTime\":\"2018-08-21T20:11:08.5252994Z\",\"allocationTime\":\"2018-08-21T20:05:55.1606562Z\",\"ipAddress\":\"10.0.0.6\",\"affinityId\":\"TVM:tvm-14141481_2-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:11.1383506Z\",\"endTime\":\"2018-08-21T20:11:11.2845899Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0\r\n },\"isDedicated\":true\r\n },{\r\n \"id\":\"tvm-14141481_3-20180821t200555z\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_3-20180821t200555z\",\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2018-08-21T20:11:14.1474938Z\",\"lastBootTime\":\"2018-08-21T20:11:11.1369007Z\",\"allocationTime\":\"2018-08-21T20:05:55.1606562Z\",\"ipAddress\":\"10.0.0.5\",\"affinityId\":\"TVM:tvm-14141481_3-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:14.1474938Z\",\"endTime\":\"2018-08-21T20:11:14.2844393Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0\r\n },\"isDedicated\":true\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '963cffca-bc58-4a3d-8926-699a9c160be7', + 'request-id': 'a9e5fce0-64ea-4e02-8e13-029c46d60d39', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:13 GMT', + date: 'Tue, 21 Aug 2018 20:23:08 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .get('/pools/nodesdktestpool1/nodes?api-version=2018-03-01.6.1') - .reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#nodes\",\"value\":[\r\n {\r\n \"id\":\"tvm-3840119875_1-20180309t224543z\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-3840119875_1-20180309t224543z\",\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2018-03-09T22:49:59.4651008Z\",\"lastBootTime\":\"2018-03-09T22:49:57.0324304Z\",\"allocationTime\":\"2018-03-09T22:45:43.713181Z\",\"ipAddress\":\"100.73.20.110\",\"affinityId\":\"TVM:tvm-3840119875_1-20180309t224543z\",\"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-03-09T22:49:59.4651008Z\",\"endTime\":\"2018-03-09T22:49:59.6071949Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0\r\n },\"isDedicated\":true\r\n },{\r\n \"id\":\"tvm-3840119875_2-20180309t224543z\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-3840119875_2-20180309t224543z\",\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2018-03-09T22:49:58.7550625Z\",\"lastBootTime\":\"2018-03-09T22:49:56.6021605Z\",\"allocationTime\":\"2018-03-09T22:45:43.713181Z\",\"ipAddress\":\"100.73.56.76\",\"affinityId\":\"TVM:tvm-3840119875_2-20180309t224543z\",\"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-03-09T22:49:58.7550625Z\",\"endTime\":\"2018-03-09T22:49:58.9254011Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0\r\n },\"isDedicated\":true\r\n },{\r\n \"id\":\"tvm-3840119875_3-20180309t224543z\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-3840119875_3-20180309t224543z\",\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2018-03-09T22:50:04.0199067Z\",\"lastBootTime\":\"2018-03-09T22:50:01.3197051Z\",\"allocationTime\":\"2018-03-09T22:45:43.713181Z\",\"ipAddress\":\"100.73.88.23\",\"affinityId\":\"TVM:tvm-3840119875_3-20180309t224543z\",\"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-03-09T22:50:04.0199067Z\",\"endTime\":\"2018-03-09T22:50:04.1619194Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0\r\n },\"isDedicated\":true\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked', + .get('/pools/nodesdktestpool1/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-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 },{\r\n \"id\":\"tvm-14141481_2-20180821t200555z\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z\",\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2018-08-21T20:11:11.1383506Z\",\"lastBootTime\":\"2018-08-21T20:11:08.5252994Z\",\"allocationTime\":\"2018-08-21T20:05:55.1606562Z\",\"ipAddress\":\"10.0.0.6\",\"affinityId\":\"TVM:tvm-14141481_2-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:11.1383506Z\",\"endTime\":\"2018-08-21T20:11:11.2845899Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0\r\n },\"isDedicated\":true\r\n },{\r\n \"id\":\"tvm-14141481_3-20180821t200555z\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_3-20180821t200555z\",\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2018-08-21T20:11:14.1474938Z\",\"lastBootTime\":\"2018-08-21T20:11:11.1369007Z\",\"allocationTime\":\"2018-08-21T20:05:55.1606562Z\",\"ipAddress\":\"10.0.0.5\",\"affinityId\":\"TVM:tvm-14141481_3-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:14.1474938Z\",\"endTime\":\"2018-08-21T20:11:14.2844393Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0\r\n },\"isDedicated\":true\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '963cffca-bc58-4a3d-8926-699a9c160be7', + 'request-id': 'a9e5fce0-64ea-4e02-8e13-029c46d60d39', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:13 GMT', + date: 'Tue, 21 Aug 2018 20:23:08 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_list_files_from_compute_node_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_list_files_from_compute_node_successfully.nock.js index c9378bcb2..8c62bcfcc 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_list_files_from_compute_node_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_list_files_from_compute_node_successfully.nock.js @@ -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'; -}; - +// 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') - .get('/pools/nodesdktestpool1/nodes/tvm-3840119875_3-20180309t224543z/files?api-version=2018-03-01.6.1') - .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-3840119875_3-20180309t224543z/files/applications\",\"isDirectory\":true\r\n },{\r\n \"name\":\"shared\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-3840119875_3-20180309t224543z/files/shared\",\"isDirectory\":true\r\n },{\r\n \"name\":\"startup\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-3840119875_3-20180309t224543z/files/startup\",\"isDirectory\":true\r\n },{\r\n \"name\":\"workitems\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-3840119875_3-20180309t224543z/files/workitems\",\"isDirectory\":true\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '200d0573-69aa-44d8-99e6-4260e3633295', + 'request-id': '69646b9b-fb7f-4c17-b5c8-f3f812d2e9c7', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:03:04 GMT', + 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') - .get('/pools/nodesdktestpool1/nodes/tvm-3840119875_3-20180309t224543z/files?api-version=2018-03-01.6.1') - .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-3840119875_3-20180309t224543z/files/applications\",\"isDirectory\":true\r\n },{\r\n \"name\":\"shared\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-3840119875_3-20180309t224543z/files/shared\",\"isDirectory\":true\r\n },{\r\n \"name\":\"startup\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-3840119875_3-20180309t224543z/files/startup\",\"isDirectory\":true\r\n },{\r\n \"name\":\"workitems\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-3840119875_3-20180309t224543z/files/workitems\",\"isDirectory\":true\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '200d0573-69aa-44d8-99e6-4260e3633295', + 'request-id': '69646b9b-fb7f-4c17-b5c8-f3f812d2e9c7', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:03:04 GMT', + date: 'Tue, 21 Aug 2018 20:29:05 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_list_files_from_task_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_list_files_from_task_successfully.nock.js index 4c9a5e564..915ad1692 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_list_files_from_task_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_list_files_from_task_successfully.nock.js @@ -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'; -}; - +// 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') - .get('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2/files?api-version=2018-03-01.6.1') - .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-03-09T22:59:27.6832092Z\",\"lastModified\":\"2018-03-09T22:59:27.6832092Z\",\"contentLength\":\"2684\",\"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-03-09T22:59:27.6122027Z\",\"lastModified\":\"2018-03-09T22:59:27.6122027Z\",\"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-03-09T22:59:27.6122027Z\",\"lastModified\":\"2018-03-09T22:59:27.6986833Z\",\"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', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '15f31740-259b-4c10-847d-be02b07715fc', + 'request-id': '42a49005-97a8-4e6c-a872-4ee8cf6d0b7c', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:01:23 GMT', + date: 'Tue, 21 Aug 2018 20:27:23 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-03-01.6.1') - .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-03-09T22:59:27.6832092Z\",\"lastModified\":\"2018-03-09T22:59:27.6832092Z\",\"contentLength\":\"2684\",\"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-03-09T22:59:27.6122027Z\",\"lastModified\":\"2018-03-09T22:59:27.6122027Z\",\"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-03-09T22:59:27.6122027Z\",\"lastModified\":\"2018-03-09T22:59:27.6986833Z\",\"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', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '15f31740-259b-4c10-847d-be02b07715fc', + 'request-id': '42a49005-97a8-4e6c-a872-4ee8cf6d0b7c', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:01:23 GMT', + date: 'Tue, 21 Aug 2018 20:27:23 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_list_job_schedules_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_list_job_schedules_successfully.nock.js index a200ba7e4..fc49a6474 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_list_job_schedules_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_list_job_schedules_successfully.nock.js @@ -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'; -}; - +// 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') - .get('/jobschedules?api-version=2018-03-01.6.1') - .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\":\"0x8D5861508E222CC\",\"lastModified\":\"2018-03-09T23:25:24.4266188Z\",\"creationTime\":\"2018-03-09T23:25:24.4266188Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T23:25:24.4266188Z\",\"schedule\":{\r\n \"doNotRunUntil\":\"2018-04-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-04-25T07:00:00Z\"\r\n }\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'fb3dc225-ba4d-4806-8f3a-600a726cf327', + 'request-id': 'ac4ef5c1-9da8-4b41-a8d0-3041d4834c50', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:25:24 GMT', + date: 'Tue, 21 Aug 2018 20:31:03 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .get('/jobschedules?api-version=2018-03-01.6.1') - .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\":\"0x8D5861508E222CC\",\"lastModified\":\"2018-03-09T23:25:24.4266188Z\",\"creationTime\":\"2018-03-09T23:25:24.4266188Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T23:25:24.4266188Z\",\"schedule\":{\r\n \"doNotRunUntil\":\"2018-04-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-04-25T07:00:00Z\"\r\n }\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'fb3dc225-ba4d-4806-8f3a-600a726cf327', + 'request-id': 'ac4ef5c1-9da8-4b41-a8d0-3041d4834c50', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:25:24 GMT', + date: 'Tue, 21 Aug 2018 20:31:03 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_list_jobs_from_job_schedule_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_list_jobs_from_job_schedule_successfully.nock.js index a4cbec231..acd08a80c 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_list_jobs_from_job_schedule_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_list_jobs_from_job_schedule_successfully.nock.js @@ -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'; -}; - +// 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') - .get('/jobschedules/NodeSDKTestSchedule/jobs?api-version=2018-03-01.6.1') + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '0ac4ae9e-3753-43e3-a3d2-7a8d07b4116e', + 'request-id': 'a7ed87e9-6378-45e6-b57c-7ae5c287a590', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:25:24 GMT', + date: 'Tue, 21 Aug 2018 20:31:03 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .get('/jobschedules/NodeSDKTestSchedule/jobs?api-version=2018-03-01.6.1') + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '0ac4ae9e-3753-43e3-a3d2-7a8d07b4116e', + 'request-id': 'a7ed87e9-6378-45e6-b57c-7ae5c287a590', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:25:24 GMT', + date: 'Tue, 21 Aug 2018 20:31:03 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_list_jobs_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_list_jobs_successfully.nock.js index 4e7122391..de9f392db 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_list_jobs_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_list_jobs_successfully.nock.js @@ -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'; -}; - +// 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') - .get('/jobs?api-version=2018-03-01.6.1') - .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\":\"0x8D586116694D752\",\"lastModified\":\"2018-03-09T22:59:23.6389714Z\",\"creationTime\":\"2018-03-09T22:59:23.323924Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T22:59:23.3459359Z\",\"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-03-09T22:59:23.3459359Z\",\"poolId\":\"nodesdktestpool1\"\r\n },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"noaction\"\r\n },{\r\n \"id\":\"job1\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/job1\",\"eTag\":\"0x8D57F3A09654449\",\"lastModified\":\"2018-03-01T06:02:38.5255497Z\",\"creationTime\":\"2018-03-01T06:02:38.5075523Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-01T06:02:38.5255497Z\",\"priority\":0,\"usesTaskDependencies\":false,\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\n },\"poolInfo\":{\r\n \"poolId\":\"pool1\"\r\n },\"executionInfo\":{\r\n \"startTime\":\"2018-03-01T06:02:38.5255497Z\",\"poolId\":\"pool1\"\r\n },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"noaction\"\r\n },{\r\n \"id\":\"test\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/test\",\"eTag\":\"0x8D57AF063959F11\",\"lastModified\":\"2018-02-23T19:05:22.4282897Z\",\"creationTime\":\"2018-02-23T19:05:22.4112931Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-02-23T19:05:22.4282897Z\",\"priority\":0,\"usesTaskDependencies\":false,\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\n },\"poolInfo\":{\r\n \"poolId\":\"test\"\r\n },\"executionInfo\":{\r\n \"startTime\":\"2018-02-23T19:05:22.4282897Z\",\"poolId\":\"test\"\r\n },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"noaction\"\r\n },{\r\n \"id\":\"test1\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/test1\",\"eTag\":\"0x8D57B26CB720F6A\",\"lastModified\":\"2018-02-24T01:34:49.501681Z\",\"creationTime\":\"2018-02-24T01:34:49.486677Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-02-24T01:34:49.501681Z\",\"priority\":0,\"usesTaskDependencies\":false,\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\n },\"poolInfo\":{\r\n \"poolId\":\"test1\"\r\n },\"executionInfo\":{\r\n \"startTime\":\"2018-02-24T01:34:49.501681Z\",\"poolId\":\"test1\"\r\n },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"noaction\"\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '042421d8-4454-4cf5-bbaf-c301dcc44ac8', + 'request-id': '7dd3d03b-fda2-4e8d-bb8f-e05bfee639c4', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:09 GMT', + date: 'Tue, 21 Aug 2018 20:31:01 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .get('/jobs?api-version=2018-03-01.6.1') - .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\":\"0x8D586116694D752\",\"lastModified\":\"2018-03-09T22:59:23.6389714Z\",\"creationTime\":\"2018-03-09T22:59:23.323924Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T22:59:23.3459359Z\",\"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-03-09T22:59:23.3459359Z\",\"poolId\":\"nodesdktestpool1\"\r\n },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"noaction\"\r\n },{\r\n \"id\":\"job1\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/job1\",\"eTag\":\"0x8D57F3A09654449\",\"lastModified\":\"2018-03-01T06:02:38.5255497Z\",\"creationTime\":\"2018-03-01T06:02:38.5075523Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-01T06:02:38.5255497Z\",\"priority\":0,\"usesTaskDependencies\":false,\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\n },\"poolInfo\":{\r\n \"poolId\":\"pool1\"\r\n },\"executionInfo\":{\r\n \"startTime\":\"2018-03-01T06:02:38.5255497Z\",\"poolId\":\"pool1\"\r\n },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"noaction\"\r\n },{\r\n \"id\":\"test\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/test\",\"eTag\":\"0x8D57AF063959F11\",\"lastModified\":\"2018-02-23T19:05:22.4282897Z\",\"creationTime\":\"2018-02-23T19:05:22.4112931Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-02-23T19:05:22.4282897Z\",\"priority\":0,\"usesTaskDependencies\":false,\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\n },\"poolInfo\":{\r\n \"poolId\":\"test\"\r\n },\"executionInfo\":{\r\n \"startTime\":\"2018-02-23T19:05:22.4282897Z\",\"poolId\":\"test\"\r\n },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"noaction\"\r\n },{\r\n \"id\":\"test1\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/jobs/test1\",\"eTag\":\"0x8D57B26CB720F6A\",\"lastModified\":\"2018-02-24T01:34:49.501681Z\",\"creationTime\":\"2018-02-24T01:34:49.486677Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-02-24T01:34:49.501681Z\",\"priority\":0,\"usesTaskDependencies\":false,\"constraints\":{\r\n \"maxWallClockTime\":\"P10675199DT2H48M5.4775807S\",\"maxTaskRetryCount\":0\r\n },\"poolInfo\":{\r\n \"poolId\":\"test1\"\r\n },\"executionInfo\":{\r\n \"startTime\":\"2018-02-24T01:34:49.501681Z\",\"poolId\":\"test1\"\r\n },\"onAllTasksComplete\":\"noaction\",\"onTaskFailure\":\"noaction\"\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '042421d8-4454-4cf5-bbaf-c301dcc44ac8', + 'request-id': '7dd3d03b-fda2-4e8d-bb8f-e05bfee639c4', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:05:09 GMT', + date: 'Tue, 21 Aug 2018 20:31:01 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_list_node_agent_sku_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_list_node_agent_sku_successfully.nock.js index ced650185..613c5cddf 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_list_node_agent_sku_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_list_node_agent_sku_successfully.nock.js @@ -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'; -}; - +// 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') - .get('/nodeagentskus?api-version=2018-03-01.6.1') - .reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#nodeagentskus\",\"value\":[\r\n {\r\n \"id\":\"batch.node.centos 7\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"OpenLogic\",\"offer\":\"CentOS\",\"sku\":\"7.4\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"OpenLogic\",\"offer\":\"CentOS-HPC\",\"sku\":\"7.3\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"OpenLogic\",\"offer\":\"CentOS-HPC\",\"sku\":\"7.1\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"Oracle\",\"offer\":\"Oracle-Linux\",\"sku\":\"7.4\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"microsoft-ads\",\"offer\":\"linux-data-science-vm\",\"sku\":\"linuxdsvm\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"batch\",\"offer\":\"rendering-centos73\",\"sku\":\"rendering\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.debian 8\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"Credativ\",\"offer\":\"Debian\",\"sku\":\"8\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.debian 9\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"Credativ\",\"offer\":\"Debian\",\"sku\":\"9\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.opensuse 42.1\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"SUSE\",\"offer\":\"SLES\",\"sku\":\"12-SP2\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.ubuntu 14.04\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"Canonical\",\"offer\":\"UbuntuServer\",\"sku\":\"14.04.5-LTS\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.ubuntu 16.04\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"Canonical\",\"offer\":\"UbuntuServer\",\"sku\":\"16.04-LTS\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.windows amd64\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2008-R2-SP1\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2008-R2-SP1-smalldisk\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2012-Datacenter\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2012-Datacenter-smalldisk\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2012-R2-Datacenter\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2012-R2-Datacenter-smalldisk\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2016-Datacenter\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2016-Datacenter-smalldisk\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2016-Datacenter-with-Containers\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"microsoft-ads\",\"offer\":\"standard-data-science-vm\",\"sku\":\"standard-data-science-vm\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"batch\",\"offer\":\"rendering-windows2016\",\"sku\":\"rendering\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"windows\"\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked', + .get('/nodeagentskus?api-version=2018-08-01.7.0') + .reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#nodeagentskus\",\"value\":[\r\n {\r\n \"id\":\"batch.node.centos 7\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"OpenLogic\",\"offer\":\"CentOS\",\"sku\":\"7.5\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"OpenLogic\",\"offer\":\"CentOS-HPC\",\"sku\":\"7.4\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"OpenLogic\",\"offer\":\"CentOS-HPC\",\"sku\":\"7.3\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"OpenLogic\",\"offer\":\"CentOS-HPC\",\"sku\":\"7.1\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"Oracle\",\"offer\":\"Oracle-Linux\",\"sku\":\"7.4\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"microsoft-ads\",\"offer\":\"linux-data-science-vm\",\"sku\":\"linuxdsvm\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"batch\",\"offer\":\"rendering-centos73\",\"sku\":\"rendering\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"microsoft-azure-batch\",\"offer\":\"centos-container\",\"sku\":\"7-5\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"microsoft-azure-batch\",\"offer\":\"centos-container-rdma\",\"sku\":\"7-4\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.debian 8\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"Credativ\",\"offer\":\"Debian\",\"sku\":\"8\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.debian 9\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"Credativ\",\"offer\":\"Debian\",\"sku\":\"9\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.ubuntu 14.04\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"Canonical\",\"offer\":\"UbuntuServer\",\"sku\":\"14.04.5-LTS\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.ubuntu 16.04\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"Canonical\",\"offer\":\"UbuntuServer\",\"sku\":\"16.04-LTS\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"microsoft-azure-batch\",\"offer\":\"ubuntu-server-container\",\"sku\":\"16-04-lts\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"microsoft-azure-batch\",\"offer\":\"ubuntu-server-container-rdma\",\"sku\":\"16-04-lts\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.ubuntu 18.04\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"Canonical\",\"offer\":\"UbuntuServer\",\"sku\":\"18.04-LTS\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.windows amd64\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2008-R2-SP1\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2008-R2-SP1-smalldisk\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2012-Datacenter\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2012-Datacenter-smalldisk\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2012-R2-Datacenter\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2012-R2-Datacenter-smalldisk\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2016-Datacenter\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2016-Datacenter-smalldisk\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2016-Datacenter-with-Containers\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"microsoft-dsvm\",\"offer\":\"dsvm-windows\",\"sku\":\"server-2016\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"batch\",\"offer\":\"rendering-windows2016\",\"sku\":\"rendering\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"windows\"\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '91368780-d6ce-4464-91e1-ee3041d6219b', + 'request-id': '2b1581ec-c30a-473b-a0e2-d386872d169b', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:44:03 GMT', + date: 'Tue, 21 Aug 2018 20:05:02 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .get('/nodeagentskus?api-version=2018-03-01.6.1') - .reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#nodeagentskus\",\"value\":[\r\n {\r\n \"id\":\"batch.node.centos 7\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"OpenLogic\",\"offer\":\"CentOS\",\"sku\":\"7.4\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"OpenLogic\",\"offer\":\"CentOS-HPC\",\"sku\":\"7.3\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"OpenLogic\",\"offer\":\"CentOS-HPC\",\"sku\":\"7.1\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"Oracle\",\"offer\":\"Oracle-Linux\",\"sku\":\"7.4\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"microsoft-ads\",\"offer\":\"linux-data-science-vm\",\"sku\":\"linuxdsvm\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"batch\",\"offer\":\"rendering-centos73\",\"sku\":\"rendering\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.debian 8\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"Credativ\",\"offer\":\"Debian\",\"sku\":\"8\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.debian 9\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"Credativ\",\"offer\":\"Debian\",\"sku\":\"9\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.opensuse 42.1\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"SUSE\",\"offer\":\"SLES\",\"sku\":\"12-SP2\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.ubuntu 14.04\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"Canonical\",\"offer\":\"UbuntuServer\",\"sku\":\"14.04.5-LTS\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.ubuntu 16.04\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"Canonical\",\"offer\":\"UbuntuServer\",\"sku\":\"16.04-LTS\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.windows amd64\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2008-R2-SP1\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2008-R2-SP1-smalldisk\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2012-Datacenter\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2012-Datacenter-smalldisk\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2012-R2-Datacenter\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2012-R2-Datacenter-smalldisk\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2016-Datacenter\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2016-Datacenter-smalldisk\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2016-Datacenter-with-Containers\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"microsoft-ads\",\"offer\":\"standard-data-science-vm\",\"sku\":\"standard-data-science-vm\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"batch\",\"offer\":\"rendering-windows2016\",\"sku\":\"rendering\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"windows\"\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked', + .get('/nodeagentskus?api-version=2018-08-01.7.0') + .reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#nodeagentskus\",\"value\":[\r\n {\r\n \"id\":\"batch.node.centos 7\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"OpenLogic\",\"offer\":\"CentOS\",\"sku\":\"7.5\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"OpenLogic\",\"offer\":\"CentOS-HPC\",\"sku\":\"7.4\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"OpenLogic\",\"offer\":\"CentOS-HPC\",\"sku\":\"7.3\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"OpenLogic\",\"offer\":\"CentOS-HPC\",\"sku\":\"7.1\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"Oracle\",\"offer\":\"Oracle-Linux\",\"sku\":\"7.4\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"microsoft-ads\",\"offer\":\"linux-data-science-vm\",\"sku\":\"linuxdsvm\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"batch\",\"offer\":\"rendering-centos73\",\"sku\":\"rendering\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"microsoft-azure-batch\",\"offer\":\"centos-container\",\"sku\":\"7-5\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"microsoft-azure-batch\",\"offer\":\"centos-container-rdma\",\"sku\":\"7-4\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.debian 8\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"Credativ\",\"offer\":\"Debian\",\"sku\":\"8\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.debian 9\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"Credativ\",\"offer\":\"Debian\",\"sku\":\"9\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.ubuntu 14.04\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"Canonical\",\"offer\":\"UbuntuServer\",\"sku\":\"14.04.5-LTS\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.ubuntu 16.04\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"Canonical\",\"offer\":\"UbuntuServer\",\"sku\":\"16.04-LTS\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"microsoft-azure-batch\",\"offer\":\"ubuntu-server-container\",\"sku\":\"16-04-lts\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"microsoft-azure-batch\",\"offer\":\"ubuntu-server-container-rdma\",\"sku\":\"16-04-lts\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.ubuntu 18.04\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"Canonical\",\"offer\":\"UbuntuServer\",\"sku\":\"18.04-LTS\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.windows amd64\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2008-R2-SP1\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2008-R2-SP1-smalldisk\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2012-Datacenter\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2012-Datacenter-smalldisk\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2012-R2-Datacenter\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2012-R2-Datacenter-smalldisk\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2016-Datacenter\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2016-Datacenter-smalldisk\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2016-Datacenter-with-Containers\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"microsoft-dsvm\",\"offer\":\"dsvm-windows\",\"sku\":\"server-2016\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"batch\",\"offer\":\"rendering-windows2016\",\"sku\":\"rendering\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"windows\"\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '91368780-d6ce-4464-91e1-ee3041d6219b', + 'request-id': '2b1581ec-c30a-473b-a0e2-d386872d169b', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:44:03 GMT', + date: 'Tue, 21 Aug 2018 20:05:02 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_list_pools_according_to_filter.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_list_pools_according_to_filter.nock.js index 484b205e0..3089c58ca 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_list_pools_according_to_filter.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_list_pools_according_to_filter.nock.js @@ -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'; -}; - +// 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') - .get('/pools?api-version=2018-03-01.6.1&$filter=startswith(id%2C%27nodesdktestpool1%27)&$select=id%2Cstate&$expand=stats') + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '6f95f91d-bdd3-4027-9426-3104c144ed02', + 'request-id': '7c3f99a8-ba01-4ed0-bf2a-cba025c00215', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:22 GMT', + 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') - .get('/pools?api-version=2018-03-01.6.1&$filter=startswith(id%2C%27nodesdktestpool1%27)&$select=id%2Cstate&$expand=stats') + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '6f95f91d-bdd3-4027-9426-3104c144ed02', + 'request-id': '7c3f99a8-ba01-4ed0-bf2a-cba025c00215', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:22 GMT', + date: 'Tue, 21 Aug 2018 20:25:21 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_list_pools_usage_metrics.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_list_pools_usage_metrics.nock.js index ca681ea71..5e154f040 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_list_pools_usage_metrics.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_list_pools_usage_metrics.nock.js @@ -9,28 +9,28 @@ exports.setEnvironment = function() { exports.scopes = [[function (nock) { var result = nock('http://lchency4.westcentralus.batch.azure.com:443') - .get('/poolusagemetrics?api-version=2018-03-01.6.1') - .reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#poolusagemetrics\",\"value\":[\r\n {\r\n \"poolId\":\"nodesdkinboundendpointpool\",\"startTime\":\"2017-07-20T20:00:00Z\",\"endTime\":\"2017-07-20T20:30:00Z\",\"vmSize\":\"standard_a1\",\"totalCoreHours\":0.1919630988611111,\"dataIngressGiB\":0.0,\"dataEgressGiB\":0.0\r\n },{\r\n \"poolId\":\"nodesdktestpool1\",\"startTime\":\"2017-07-20T20:00:00Z\",\"endTime\":\"2017-07-20T20:30:00Z\",\"vmSize\":\"small\",\"totalCoreHours\":0.52656037905555553,\"dataIngressGiB\":0.0,\"dataEgressGiB\":0.0\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'aa257451-4672-4da0-83fa-7fc8ffe8c1c0', + 'request-id': 'd24622e1-96c9-4b99-8f89-cb92bb63bb0b', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:23 GMT', + date: 'Tue, 21 Aug 2018 20:25:23 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .get('/poolusagemetrics?api-version=2018-03-01.6.1') - .reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#poolusagemetrics\",\"value\":[\r\n {\r\n \"poolId\":\"nodesdkinboundendpointpool\",\"startTime\":\"2017-07-20T20:00:00Z\",\"endTime\":\"2017-07-20T20:30:00Z\",\"vmSize\":\"standard_a1\",\"totalCoreHours\":0.1919630988611111,\"dataIngressGiB\":0.0,\"dataEgressGiB\":0.0\r\n },{\r\n \"poolId\":\"nodesdktestpool1\",\"startTime\":\"2017-07-20T20:00:00Z\",\"endTime\":\"2017-07-20T20:30:00Z\",\"vmSize\":\"small\",\"totalCoreHours\":0.52656037905555553,\"dataIngressGiB\":0.0,\"dataEgressGiB\":0.0\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'aa257451-4672-4da0-83fa-7fc8ffe8c1c0', + 'request-id': 'd24622e1-96c9-4b99-8f89-cb92bb63bb0b', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:23 GMT', + date: 'Tue, 21 Aug 2018 20:25:23 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_list_pools_without_filters.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_list_pools_without_filters.nock.js index 29321a422..3ff6f6354 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_list_pools_without_filters.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_list_pools_without_filters.nock.js @@ -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'; -}; - +// 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') - .get('/pools?api-version=2018-03-01.6.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\":\"0x8D58610717C3E16\",\"lastModified\":\"2018-03-09T22:52:32.4359702Z\",\"creationTime\":\"2018-03-09T22:52:32.4359702Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T22:52:32.4359702Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-03-09T22:54:26.965177Z\",\"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\":\"0x8D5861164D233AE\",\"lastModified\":\"2018-03-09T22:59:20.6856622Z\",\"creationTime\":\"2018-03-09T22:44:04.5924827Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T22:44:04.5924827Z\",\"allocationState\":\"stopping\",\"allocationStateTransitionTime\":\"2018-03-09T22:59:20.6856622Z\",\"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\":\"0x8D5861165073065\",\"lastModified\":\"2018-03-09T22:59:21.0329189Z\",\"creationTime\":\"2018-03-09T22:59:20.8462313Z\",\"state\":\"upgrading\",\"stateTransitionTime\":\"2018-03-09T22:59:21.0329189Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-03-09T22:59:20.9292296Z\",\"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', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '8f601033-e6b3-4b4c-8937-7fc0357b1c57', + 'request-id': '95739a3c-e0a1-4c4b-89ce-e57cc8d8682e', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:21 GMT', + 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') - .get('/pools?api-version=2018-03-01.6.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\":\"0x8D58610717C3E16\",\"lastModified\":\"2018-03-09T22:52:32.4359702Z\",\"creationTime\":\"2018-03-09T22:52:32.4359702Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T22:52:32.4359702Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-03-09T22:54:26.965177Z\",\"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\":\"0x8D5861164D233AE\",\"lastModified\":\"2018-03-09T22:59:20.6856622Z\",\"creationTime\":\"2018-03-09T22:44:04.5924827Z\",\"state\":\"active\",\"stateTransitionTime\":\"2018-03-09T22:44:04.5924827Z\",\"allocationState\":\"stopping\",\"allocationStateTransitionTime\":\"2018-03-09T22:59:20.6856622Z\",\"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\":\"0x8D5861165073065\",\"lastModified\":\"2018-03-09T22:59:21.0329189Z\",\"creationTime\":\"2018-03-09T22:59:20.8462313Z\",\"state\":\"upgrading\",\"stateTransitionTime\":\"2018-03-09T22:59:21.0329189Z\",\"allocationState\":\"steady\",\"allocationStateTransitionTime\":\"2018-03-09T22:59:20.9292296Z\",\"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', + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '8f601033-e6b3-4b4c-8937-7fc0357b1c57', + 'request-id': '95739a3c-e0a1-4c4b-89ce-e57cc8d8682e', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:21 GMT', + date: 'Tue, 21 Aug 2018 20:25:21 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_list_sub_tasks_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_list_sub_tasks_successfully.nock.js index 7840b499f..69c0c449b 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_list_sub_tasks_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_list_sub_tasks_successfully.nock.js @@ -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'; -}; - +// 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') - .get('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask/subtasksinfo?api-version=2018-03-01.6.1') + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'c924fd64-2094-4db1-ac26-2ac822c56231', + 'request-id': '683c90ad-5dc0-4c8e-985e-4e4324fa4669', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:01:06 GMT', + date: 'Tue, 21 Aug 2018 20:27:06 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-03-01.6.1') + .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', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'c924fd64-2094-4db1-ac26-2ac822c56231', + 'request-id': '683c90ad-5dc0-4c8e-985e-4e4324fa4669', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:01:06 GMT', + date: 'Tue, 21 Aug 2018 20:27:06 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_patch_a_job_schedule_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_patch_a_job_schedule_successfully.nock.js index bbfc1bb70..29ea6cbf2 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_patch_a_job_schedule_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_patch_a_job_schedule_successfully.nock.js @@ -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'; -}; - +// 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 '*';}) -.patch('/jobschedules/NodeSDKTestSchedule?api-version=2018-03-01.6.1', '*') +.patch('/jobschedules/NodeSDKTestSchedule?api-version=2018-08-01.7.0', '*') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 23:25:25 GMT', - etag: '0x8D58615097D3C3D', + 'last-modified': 'Tue, 21 Aug 2018 20:31:04 GMT', + etag: '0x8D607A5047874D7', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '94586b70-64c3-495c-a1fe-9f4f8c49bebc', + 'request-id': 'd4ef5c86-6370-429a-b416-6df9ab0f466e', '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: 'Fri, 09 Mar 2018 23:25:25 GMT', + date: 'Tue, 21 Aug 2018 20:31:04 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') .filteringRequestBody(function (path) { return '*';}) -.patch('/jobschedules/NodeSDKTestSchedule?api-version=2018-03-01.6.1', '*') +.patch('/jobschedules/NodeSDKTestSchedule?api-version=2018-08-01.7.0', '*') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 23:25:25 GMT', - etag: '0x8D58615097D3C3D', + 'last-modified': 'Tue, 21 Aug 2018 20:31:04 GMT', + etag: '0x8D607A5047874D7', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '94586b70-64c3-495c-a1fe-9f4f8c49bebc', + 'request-id': 'd4ef5c86-6370-429a-b416-6df9ab0f466e', '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: 'Fri, 09 Mar 2018 23:25:25 GMT', + date: 'Tue, 21 Aug 2018 20:31:04 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_patch_a_job_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_patch_a_job_successfully.nock.js index 68d30751e..2d6848389 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_patch_a_job_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_patch_a_job_successfully.nock.js @@ -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'; -}; - +// 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 '*';}) -.put('/jobs/HelloWorldJobNodeSDKTest?api-version=2018-03-01.6.1', '*') +.put('/jobs/HelloWorldJobNodeSDKTest?api-version=2018-08-01.7.0', '*') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:23 GMT', - etag: '0x8D586116694D752', + 'last-modified': 'Tue, 21 Aug 2018 20:25:23 GMT', + etag: '0x8D607A4396C0D8C', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '3f9de728-0ba9-4c6c-941d-72f254990d5d', + 'request-id': 'a8773a06-15e9-4f40-ab7e-28f0246705bd', '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: 'Fri, 09 Mar 2018 22:59:23 GMT', + date: 'Tue, 21 Aug 2018 20:25:23 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') .filteringRequestBody(function (path) { return '*';}) -.put('/jobs/HelloWorldJobNodeSDKTest?api-version=2018-03-01.6.1', '*') +.put('/jobs/HelloWorldJobNodeSDKTest?api-version=2018-08-01.7.0', '*') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:23 GMT', - etag: '0x8D586116694D752', + 'last-modified': 'Tue, 21 Aug 2018 20:25:23 GMT', + etag: '0x8D607A4396C0D8C', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '3f9de728-0ba9-4c6c-941d-72f254990d5d', + 'request-id': 'a8773a06-15e9-4f40-ab7e-28f0246705bd', '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: 'Fri, 09 Mar 2018 22:59:23 GMT', + date: 'Tue, 21 Aug 2018 20:25:23 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_patch_pool_parameters_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_patch_pool_parameters_successfully.nock.js index 720be2872..697542f8b 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_patch_pool_parameters_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_patch_pool_parameters_successfully.nock.js @@ -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'; -}; - +// 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 '*';}) -.patch('/pools/nodesdktestpool1?api-version=2018-03-01.6.1', '*') +.patch('/pools/nodesdktestpool1?api-version=2018-08-01.7.0', '*') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:45:45 GMT', - etag: '0x8D5860F7EF25469', + 'last-modified': 'Tue, 21 Aug 2018 20:09:40 GMT', + etag: '0x8D607A20760C002', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'e1e72aaa-0bc6-4b9d-b101-f9c47c3e0e9c', + 'request-id': 'a3b592cd-74a7-4348-bcee-12efd8d4f562', '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: 'Fri, 09 Mar 2018 22:45:45 GMT', + date: 'Tue, 21 Aug 2018 20:09:40 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') .filteringRequestBody(function (path) { return '*';}) -.patch('/pools/nodesdktestpool1?api-version=2018-03-01.6.1', '*') +.patch('/pools/nodesdktestpool1?api-version=2018-08-01.7.0', '*') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:45:45 GMT', - etag: '0x8D5860F7EF25469', + 'last-modified': 'Tue, 21 Aug 2018 20:09:40 GMT', + etag: '0x8D607A20760C002', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'e1e72aaa-0bc6-4b9d-b101-f9c47c3e0e9c', + 'request-id': 'a3b592cd-74a7-4348-bcee-12efd8d4f562', '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: 'Fri, 09 Mar 2018 22:45:45 GMT', + date: 'Tue, 21 Aug 2018 20:09:40 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_perform_AAD_authentication_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_perform_AAD_authentication_successfully.nock.js index 7c7dd8628..98d1bed70 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_perform_AAD_authentication_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_perform_AAD_authentication_successfully.nock.js @@ -9,28 +9,28 @@ exports.setEnvironment = function() { exports.scopes = [[function (nock) { var result = nock('http://lchency4.westcentralus.batch.azure.com:443') - .get('/nodeagentskus?api-version=2018-03-01.6.1') + .get('/nodeagentskus?api-version=2018-08-01.7.0') .reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#nodeagentskus\",\"value\":[\r\n {\r\n \"id\":\"batch.node.centos 7\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"OpenLogic\",\"offer\":\"CentOS\",\"sku\":\"7.4\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"OpenLogic\",\"offer\":\"CentOS-HPC\",\"sku\":\"7.3\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"OpenLogic\",\"offer\":\"CentOS-HPC\",\"sku\":\"7.1\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"Oracle\",\"offer\":\"Oracle-Linux\",\"sku\":\"7.4\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"microsoft-ads\",\"offer\":\"linux-data-science-vm\",\"sku\":\"linuxdsvm\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"batch\",\"offer\":\"rendering-centos73\",\"sku\":\"rendering\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.debian 8\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"Credativ\",\"offer\":\"Debian\",\"sku\":\"8\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.debian 9\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"Credativ\",\"offer\":\"Debian\",\"sku\":\"9\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.opensuse 42.1\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"SUSE\",\"offer\":\"SLES\",\"sku\":\"12-SP2\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.ubuntu 14.04\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"Canonical\",\"offer\":\"UbuntuServer\",\"sku\":\"14.04.5-LTS\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.ubuntu 16.04\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"Canonical\",\"offer\":\"UbuntuServer\",\"sku\":\"16.04-LTS\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.windows amd64\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2008-R2-SP1\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2008-R2-SP1-smalldisk\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2012-Datacenter\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2012-Datacenter-smalldisk\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2012-R2-Datacenter\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2012-R2-Datacenter-smalldisk\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2016-Datacenter\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2016-Datacenter-smalldisk\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2016-Datacenter-with-Containers\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"microsoft-ads\",\"offer\":\"standard-data-science-vm\",\"sku\":\"standard-data-science-vm\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"batch\",\"offer\":\"rendering-windows2016\",\"sku\":\"rendering\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"windows\"\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'd4362e1f-67cb-4698-9dab-9291fa848a78', + 'request-id': 'd24622e1-96c9-4b99-8f89-cb92bb63bb0b', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:52:32 GMT', + date: 'Tue, 21 Aug 2018 20:25:23 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('http://lchency4.westcentralus.batch.azure.com:443') - .get('/nodeagentskus?api-version=2018-03-01.6.1') + .get('/nodeagentskus?api-version=2018-08-01.7.0') .reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#nodeagentskus\",\"value\":[\r\n {\r\n \"id\":\"batch.node.centos 7\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"OpenLogic\",\"offer\":\"CentOS\",\"sku\":\"7.4\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"OpenLogic\",\"offer\":\"CentOS-HPC\",\"sku\":\"7.3\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"OpenLogic\",\"offer\":\"CentOS-HPC\",\"sku\":\"7.1\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"Oracle\",\"offer\":\"Oracle-Linux\",\"sku\":\"7.4\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"microsoft-ads\",\"offer\":\"linux-data-science-vm\",\"sku\":\"linuxdsvm\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"batch\",\"offer\":\"rendering-centos73\",\"sku\":\"rendering\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.debian 8\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"Credativ\",\"offer\":\"Debian\",\"sku\":\"8\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.debian 9\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"Credativ\",\"offer\":\"Debian\",\"sku\":\"9\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.opensuse 42.1\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"SUSE\",\"offer\":\"SLES\",\"sku\":\"12-SP2\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.ubuntu 14.04\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"Canonical\",\"offer\":\"UbuntuServer\",\"sku\":\"14.04.5-LTS\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.ubuntu 16.04\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"Canonical\",\"offer\":\"UbuntuServer\",\"sku\":\"16.04-LTS\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"linux\"\r\n },{\r\n \"id\":\"batch.node.windows amd64\",\"verifiedImageReferences\":[\r\n {\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2008-R2-SP1\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2008-R2-SP1-smalldisk\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2012-Datacenter\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2012-Datacenter-smalldisk\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2012-R2-Datacenter\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2012-R2-Datacenter-smalldisk\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2016-Datacenter\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2016-Datacenter-smalldisk\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2016-Datacenter-with-Containers\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"microsoft-ads\",\"offer\":\"standard-data-science-vm\",\"sku\":\"standard-data-science-vm\",\"version\":\"latest\"\r\n },{\r\n \"publisher\":\"batch\",\"offer\":\"rendering-windows2016\",\"sku\":\"rendering\",\"version\":\"latest\"\r\n }\r\n ],\"osType\":\"windows\"\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'd4362e1f-67cb-4698-9dab-9291fa848a78', + 'request-id': 'd24622e1-96c9-4b99-8f89-cb92bb63bb0b', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:52:32 GMT', + date: 'Tue, 21 Aug 2018 20:25:23 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_re-list_compute_nodes_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_re-list_compute_nodes_successfully.nock.js index dad65a4c2..04a463bb1 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_re-list_compute_nodes_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_re-list_compute_nodes_successfully.nock.js @@ -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'; -}; - +// 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') - .get('/pools/nodesdktestpool1/nodes?api-version=2018-03-01.6.1') - .reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#nodes\",\"value\":[\r\n {\r\n \"id\":\"tvm-3840119875_2-20180309t224543z\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-3840119875_2-20180309t224543z\",\"state\":\"reimaging\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2018-03-09T22:59:19.6775625Z\",\"lastBootTime\":\"2018-03-09T22:49:56.6021605Z\",\"allocationTime\":\"2018-03-09T22:45:43.713181Z\",\"ipAddress\":\"100.73.56.76\",\"affinityId\":\"TVM:tvm-3840119875_2-20180309t224543z\",\"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-03-09T22:49:58.7550625Z\",\"endTime\":\"2018-03-09T22:49:58.9254011Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0\r\n },\"isDedicated\":true\r\n },{\r\n \"id\":\"tvm-3840119875_3-20180309t224543z\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-3840119875_3-20180309t224543z\",\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2018-03-09T22:50:04.0199067Z\",\"lastBootTime\":\"2018-03-09T22:50:01.3197051Z\",\"allocationTime\":\"2018-03-09T22:45:43.713181Z\",\"ipAddress\":\"100.73.88.23\",\"affinityId\":\"TVM:tvm-3840119875_3-20180309t224543z\",\"vmSize\":\"small\",\"totalTasksRun\":6,\"totalTasksSucceeded\":3,\"runningTasksCount\":0,\"recentTasks\":[\r\n {\r\n \"taskUrl\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/helloworldnodesdktesttask2\",\"jobId\":\"HelloWorldJobNodeSDKTest\",\"taskId\":\"helloworldnodesdktesttask2\",\"subtaskId\":0,\"taskState\":\"completed\",\"executionInfo\":{\r\n \"startTime\":\"2018-03-09T22:59:27.6052016Z\",\"endTime\":\"2018-03-09T22:59:27.7032114Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0,\"requeueCount\":0\r\n }\r\n },{\r\n \"taskUrl\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/helloworldnodesdktesttask\",\"jobId\":\"HelloWorldJobNodeSDKTest\",\"taskId\":\"helloworldnodesdktesttask\",\"subtaskId\":0,\"taskState\":\"completed\",\"executionInfo\":{\r\n \"startTime\":\"2018-03-09T22:59:29.7984964Z\",\"endTime\":\"2018-03-09T22:59:48.9221854Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0,\"requeueCount\":0\r\n }\r\n },{\r\n \"taskUrl\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/taskwithauthtokensettings\",\"jobId\":\"HelloWorldJobNodeSDKTest\",\"taskId\":\"taskwithauthtokensettings\",\"subtaskId\":0,\"taskState\":\"completed\",\"executionInfo\":{\r\n \"startTime\":\"2018-03-09T23:01:09.6248343Z\",\"endTime\":\"2018-03-09T23:01:09.7351819Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0,\"requeueCount\":0\r\n }\r\n },{\r\n \"taskUrl\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/taskwithuseridentity\",\"jobId\":\"HelloWorldJobNodeSDKTest\",\"taskId\":\"taskwithuseridentity\",\"subtaskId\":0,\"taskState\":\"completed\",\"executionInfo\":{\r\n \"startTime\":\"2018-03-09T23:01:14.591505Z\",\"endTime\":\"2018-03-09T23:01:14.663512Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":3,\"lastRetryTime\":\"2018-03-09T23:01:13.1202283Z\",\"requeueCount\":0\r\n }\r\n }\r\n ],\"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-03-09T22:50:04.0199067Z\",\"endTime\":\"2018-03-09T22:50:04.1619194Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0\r\n },\"isDedicated\":true\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked', + .get('/pools/nodesdktestpool1/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-14141481_2-20180821t200555z\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z\",\"state\":\"reimaging\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2018-08-21T20:23:12.2970717Z\",\"lastBootTime\":\"2018-08-21T20:11:08.5252994Z\",\"allocationTime\":\"2018-08-21T20:05:55.1606562Z\",\"ipAddress\":\"10.0.0.6\",\"affinityId\":\"TVM:tvm-14141481_2-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:11.1383506Z\",\"endTime\":\"2018-08-21T20:11:11.2845899Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0\r\n },\"isDedicated\":true\r\n },{\r\n \"id\":\"tvm-14141481_3-20180821t200555z\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_3-20180821t200555z\",\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2018-08-21T20:11:14.1474938Z\",\"lastBootTime\":\"2018-08-21T20:11:11.1369007Z\",\"allocationTime\":\"2018-08-21T20:05:55.1606562Z\",\"ipAddress\":\"10.0.0.5\",\"affinityId\":\"TVM:tvm-14141481_3-20180821t200555z\",\"vmSize\":\"small\",\"totalTasksRun\":6,\"totalTasksSucceeded\":3,\"runningTasksCount\":0,\"recentTasks\":[\r\n {\r\n \"taskUrl\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/helloworldnodesdktesttask2\",\"jobId\":\"HelloWorldJobNodeSDKTest\",\"taskId\":\"helloworldnodesdktesttask2\",\"subtaskId\":0,\"taskState\":\"completed\",\"executionInfo\":{\r\n \"startTime\":\"2018-08-21T20:25:27.6289624Z\",\"endTime\":\"2018-08-21T20:25:27.7293535Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0,\"requeueCount\":0\r\n }\r\n },{\r\n \"taskUrl\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/helloworldnodesdktesttask\",\"jobId\":\"HelloWorldJobNodeSDKTest\",\"taskId\":\"helloworldnodesdktesttask\",\"subtaskId\":0,\"taskState\":\"completed\",\"executionInfo\":{\r\n \"startTime\":\"2018-08-21T20:25:30.2637708Z\",\"endTime\":\"2018-08-21T20:25:49.4037464Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0,\"requeueCount\":0\r\n }\r\n },{\r\n \"taskUrl\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/taskwithauthtokensettings\",\"jobId\":\"HelloWorldJobNodeSDKTest\",\"taskId\":\"taskwithauthtokensettings\",\"subtaskId\":0,\"taskState\":\"completed\",\"executionInfo\":{\r\n \"startTime\":\"2018-08-21T20:27:13.8577921Z\",\"endTime\":\"2018-08-21T20:27:13.9827838Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0,\"requeueCount\":0\r\n }\r\n },{\r\n \"taskUrl\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/taskwithuseridentity\",\"jobId\":\"HelloWorldJobNodeSDKTest\",\"taskId\":\"taskwithuseridentity\",\"subtaskId\":0,\"taskState\":\"completed\",\"executionInfo\":{\r\n \"startTime\":\"2018-08-21T20:27:18.4686303Z\",\"endTime\":\"2018-08-21T20:27:18.5296295Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":3,\"lastRetryTime\":\"2018-08-21T20:27:16.7229929Z\",\"requeueCount\":0\r\n }\r\n }\r\n ],\"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:14.1474938Z\",\"endTime\":\"2018-08-21T20:11:14.2844393Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0\r\n },\"isDedicated\":true\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '3521f178-caa6-4df4-a87b-f59caf2255c8', + 'request-id': '91d46541-a5cf-48d3-9e5a-5a292e3e3ef4', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:01:24 GMT', + date: 'Tue, 21 Aug 2018 20:27:24 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .get('/pools/nodesdktestpool1/nodes?api-version=2018-03-01.6.1') - .reply(200, "{\r\n \"odata.metadata\":\"https://lchency4.westcentralus.batch.azure.com/$metadata#nodes\",\"value\":[\r\n {\r\n \"id\":\"tvm-3840119875_2-20180309t224543z\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-3840119875_2-20180309t224543z\",\"state\":\"reimaging\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2018-03-09T22:59:19.6775625Z\",\"lastBootTime\":\"2018-03-09T22:49:56.6021605Z\",\"allocationTime\":\"2018-03-09T22:45:43.713181Z\",\"ipAddress\":\"100.73.56.76\",\"affinityId\":\"TVM:tvm-3840119875_2-20180309t224543z\",\"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-03-09T22:49:58.7550625Z\",\"endTime\":\"2018-03-09T22:49:58.9254011Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0\r\n },\"isDedicated\":true\r\n },{\r\n \"id\":\"tvm-3840119875_3-20180309t224543z\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-3840119875_3-20180309t224543z\",\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2018-03-09T22:50:04.0199067Z\",\"lastBootTime\":\"2018-03-09T22:50:01.3197051Z\",\"allocationTime\":\"2018-03-09T22:45:43.713181Z\",\"ipAddress\":\"100.73.88.23\",\"affinityId\":\"TVM:tvm-3840119875_3-20180309t224543z\",\"vmSize\":\"small\",\"totalTasksRun\":6,\"totalTasksSucceeded\":3,\"runningTasksCount\":0,\"recentTasks\":[\r\n {\r\n \"taskUrl\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/helloworldnodesdktesttask2\",\"jobId\":\"HelloWorldJobNodeSDKTest\",\"taskId\":\"helloworldnodesdktesttask2\",\"subtaskId\":0,\"taskState\":\"completed\",\"executionInfo\":{\r\n \"startTime\":\"2018-03-09T22:59:27.6052016Z\",\"endTime\":\"2018-03-09T22:59:27.7032114Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0,\"requeueCount\":0\r\n }\r\n },{\r\n \"taskUrl\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/helloworldnodesdktesttask\",\"jobId\":\"HelloWorldJobNodeSDKTest\",\"taskId\":\"helloworldnodesdktesttask\",\"subtaskId\":0,\"taskState\":\"completed\",\"executionInfo\":{\r\n \"startTime\":\"2018-03-09T22:59:29.7984964Z\",\"endTime\":\"2018-03-09T22:59:48.9221854Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0,\"requeueCount\":0\r\n }\r\n },{\r\n \"taskUrl\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/taskwithauthtokensettings\",\"jobId\":\"HelloWorldJobNodeSDKTest\",\"taskId\":\"taskwithauthtokensettings\",\"subtaskId\":0,\"taskState\":\"completed\",\"executionInfo\":{\r\n \"startTime\":\"2018-03-09T23:01:09.6248343Z\",\"endTime\":\"2018-03-09T23:01:09.7351819Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0,\"requeueCount\":0\r\n }\r\n },{\r\n \"taskUrl\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/taskwithuseridentity\",\"jobId\":\"HelloWorldJobNodeSDKTest\",\"taskId\":\"taskwithuseridentity\",\"subtaskId\":0,\"taskState\":\"completed\",\"executionInfo\":{\r\n \"startTime\":\"2018-03-09T23:01:14.591505Z\",\"endTime\":\"2018-03-09T23:01:14.663512Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":3,\"lastRetryTime\":\"2018-03-09T23:01:13.1202283Z\",\"requeueCount\":0\r\n }\r\n }\r\n ],\"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-03-09T22:50:04.0199067Z\",\"endTime\":\"2018-03-09T22:50:04.1619194Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0\r\n },\"isDedicated\":true\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked', + .get('/pools/nodesdktestpool1/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-14141481_2-20180821t200555z\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z\",\"state\":\"reimaging\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2018-08-21T20:23:12.2970717Z\",\"lastBootTime\":\"2018-08-21T20:11:08.5252994Z\",\"allocationTime\":\"2018-08-21T20:05:55.1606562Z\",\"ipAddress\":\"10.0.0.6\",\"affinityId\":\"TVM:tvm-14141481_2-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:11.1383506Z\",\"endTime\":\"2018-08-21T20:11:11.2845899Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0\r\n },\"isDedicated\":true\r\n },{\r\n \"id\":\"tvm-14141481_3-20180821t200555z\",\"url\":\"https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_3-20180821t200555z\",\"state\":\"idle\",\"schedulingState\":\"enabled\",\"stateTransitionTime\":\"2018-08-21T20:11:14.1474938Z\",\"lastBootTime\":\"2018-08-21T20:11:11.1369007Z\",\"allocationTime\":\"2018-08-21T20:05:55.1606562Z\",\"ipAddress\":\"10.0.0.5\",\"affinityId\":\"TVM:tvm-14141481_3-20180821t200555z\",\"vmSize\":\"small\",\"totalTasksRun\":6,\"totalTasksSucceeded\":3,\"runningTasksCount\":0,\"recentTasks\":[\r\n {\r\n \"taskUrl\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/helloworldnodesdktesttask2\",\"jobId\":\"HelloWorldJobNodeSDKTest\",\"taskId\":\"helloworldnodesdktesttask2\",\"subtaskId\":0,\"taskState\":\"completed\",\"executionInfo\":{\r\n \"startTime\":\"2018-08-21T20:25:27.6289624Z\",\"endTime\":\"2018-08-21T20:25:27.7293535Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0,\"requeueCount\":0\r\n }\r\n },{\r\n \"taskUrl\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/helloworldnodesdktesttask\",\"jobId\":\"HelloWorldJobNodeSDKTest\",\"taskId\":\"helloworldnodesdktesttask\",\"subtaskId\":0,\"taskState\":\"completed\",\"executionInfo\":{\r\n \"startTime\":\"2018-08-21T20:25:30.2637708Z\",\"endTime\":\"2018-08-21T20:25:49.4037464Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0,\"requeueCount\":0\r\n }\r\n },{\r\n \"taskUrl\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/taskwithauthtokensettings\",\"jobId\":\"HelloWorldJobNodeSDKTest\",\"taskId\":\"taskwithauthtokensettings\",\"subtaskId\":0,\"taskState\":\"completed\",\"executionInfo\":{\r\n \"startTime\":\"2018-08-21T20:27:13.8577921Z\",\"endTime\":\"2018-08-21T20:27:13.9827838Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0,\"requeueCount\":0\r\n }\r\n },{\r\n \"taskUrl\":\"https://lchency4.westcentralus.batch.azure.com/jobs/HelloWorldJobNodeSDKTest/tasks/taskwithuseridentity\",\"jobId\":\"HelloWorldJobNodeSDKTest\",\"taskId\":\"taskwithuseridentity\",\"subtaskId\":0,\"taskState\":\"completed\",\"executionInfo\":{\r\n \"startTime\":\"2018-08-21T20:27:18.4686303Z\",\"endTime\":\"2018-08-21T20:27:18.5296295Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":3,\"lastRetryTime\":\"2018-08-21T20:27:16.7229929Z\",\"requeueCount\":0\r\n }\r\n }\r\n ],\"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:14.1474938Z\",\"endTime\":\"2018-08-21T20:11:14.2844393Z\",\"exitCode\":0,\"result\":\"Success\",\"retryCount\":0\r\n },\"isDedicated\":true\r\n }\r\n ]\r\n}", { 'transfer-encoding': 'chunked', 'content-type': 'application/json;odata=minimalmetadata', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '3521f178-caa6-4df4-a87b-f59caf2255c8', + 'request-id': '91d46541-a5cf-48d3-9e5a-5a292e3e3ef4', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 23:01:24 GMT', + date: 'Tue, 21 Aug 2018 20:27:24 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_reactivate_a_task_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_reactivate_a_task_successfully.nock.js index 4ce7ce747..7ed6a2f68 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_reactivate_a_task_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_reactivate_a_task_successfully.nock.js @@ -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'; -}; - +// 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') - .post('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask/reactivate?api-version=2018-03-01.6.1') + .post('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask/reactivate?api-version=2018-08-01.7.0') .reply(204, "", { 'content-length': '0', - 'last-modified': 'Fri, 09 Mar 2018 22:59:25 GMT', - etag: '0x8D5861167F3CDFF', + 'last-modified': 'Tue, 21 Aug 2018 20:25:26 GMT', + etag: '0x8D607A43AB500D1', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '1bb5c169-bd56-442e-ba77-7f4adb67984d', + 'request-id': '94b3ebde-7b04-4ef5-8d7e-207831ebc2a4', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:25 GMT', + date: 'Tue, 21 Aug 2018 20:25:26 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-03-01.6.1') + .post('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask/reactivate?api-version=2018-08-01.7.0') .reply(204, "", { 'content-length': '0', - 'last-modified': 'Fri, 09 Mar 2018 22:59:25 GMT', - etag: '0x8D5861167F3CDFF', + 'last-modified': 'Tue, 21 Aug 2018 20:25:26 GMT', + etag: '0x8D607A43AB500D1', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '1bb5c169-bd56-442e-ba77-7f4adb67984d', + 'request-id': '94b3ebde-7b04-4ef5-8d7e-207831ebc2a4', 'strict-transport-security': 'max-age=31536000; includeSubDomains', 'x-content-type-options': 'nosniff', dataserviceversion: '3.0', - date: 'Fri, 09 Mar 2018 22:59:25 GMT', + date: 'Tue, 21 Aug 2018 20:25:26 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_reboot_a_compute_node_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_reboot_a_compute_node_successfully.nock.js index 313f4238b..65734611e 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_reboot_a_compute_node_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_reboot_a_compute_node_successfully.nock.js @@ -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'; -}; - +// 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') - .post('/pools/nodesdktestpool1/nodes/tvm-3840119875_1-20180309t224543z/reboot?api-version=2018-03-01.6.1') + .post('/pools/nodesdktestpool1/nodes/tvm-14141481_1-20180821t200555z/reboot?api-version=2018-08-01.7.0') .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'f341955d-5318-47e7-9302-da9520a4bb3f', + 'request-id': '6151433e-d0df-4043-9c5d-24c489df5986', '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-3840119875_1-20180309t224543z/reboot', - date: 'Fri, 09 Mar 2018 22:59:18 GMT', + dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_1-20180821t200555z/reboot', + date: 'Tue, 21 Aug 2018 20:23:11 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .post('/pools/nodesdktestpool1/nodes/tvm-3840119875_1-20180309t224543z/reboot?api-version=2018-03-01.6.1') + .post('/pools/nodesdktestpool1/nodes/tvm-14141481_1-20180821t200555z/reboot?api-version=2018-08-01.7.0') .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'f341955d-5318-47e7-9302-da9520a4bb3f', + 'request-id': '6151433e-d0df-4043-9c5d-24c489df5986', '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-3840119875_1-20180309t224543z/reboot', - date: 'Fri, 09 Mar 2018 22:59:18 GMT', + dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_1-20180821t200555z/reboot', + date: 'Tue, 21 Aug 2018 20:23:11 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_reimage_a_compute_node_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_reimage_a_compute_node_successfully.nock.js index 530bbcf0a..41206f7c4 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_reimage_a_compute_node_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_reimage_a_compute_node_successfully.nock.js @@ -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'; -}; - +// 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') - .post('/pools/nodesdktestpool1/nodes/tvm-3840119875_2-20180309t224543z/reimage?api-version=2018-03-01.6.1') + .post('/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/reimage?api-version=2018-08-01.7.0') .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'f4ade4ac-c018-4c5e-b82a-8c94cb880ada', + 'request-id': '47dbf3c4-a3ed-4455-ab36-a2323620a271', '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-3840119875_2-20180309t224543z/reimage', - date: 'Fri, 09 Mar 2018 22:59:19 GMT', + dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/reimage', + date: 'Tue, 21 Aug 2018 20:23:12 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .post('/pools/nodesdktestpool1/nodes/tvm-3840119875_2-20180309t224543z/reimage?api-version=2018-03-01.6.1') + .post('/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/reimage?api-version=2018-08-01.7.0') .reply(202, "", { 'transfer-encoding': 'chunked', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'f4ade4ac-c018-4c5e-b82a-8c94cb880ada', + 'request-id': '47dbf3c4-a3ed-4455-ab36-a2323620a271', '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-3840119875_2-20180309t224543z/reimage', - date: 'Fri, 09 Mar 2018 22:59:19 GMT', + dataserviceid: 'https://lchency4.westcentralus.batch.azure.com/pools/nodesdktestpool1/nodes/tvm-14141481_2-20180821t200555z/reimage', + date: 'Tue, 21 Aug 2018 20:23:12 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_remove_nodes_in_pool_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_remove_nodes_in_pool_successfully.nock.js index 51e3115a4..8004e9d42 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_remove_nodes_in_pool_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_remove_nodes_in_pool_successfully.nock.js @@ -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'; -}; - +// 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/nodesdktestpool1/removenodes?api-version=2018-03-01.6.1', '*') +.post('/pools/nodesdktestpool1/removenodes?api-version=2018-08-01.7.0', '*') .reply(202, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 23:05:15 GMT', - etag: '0x8D586123806C3EF', + 'last-modified': 'Tue, 21 Aug 2018 20:31:06 GMT', + etag: '0x8D607A505B3BFE8', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'bd75d5de-be80-4376-8a1b-220531bf2a4f', + 'request-id': '31581979-81c1-472f-a0eb-602a84c68aec', '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: 'Fri, 09 Mar 2018 23:05:14 GMT', + date: 'Tue, 21 Aug 2018 20:31:06 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') .filteringRequestBody(function (path) { return '*';}) -.post('/pools/nodesdktestpool1/removenodes?api-version=2018-03-01.6.1', '*') +.post('/pools/nodesdktestpool1/removenodes?api-version=2018-08-01.7.0', '*') .reply(202, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 23:05:15 GMT', - etag: '0x8D586123806C3EF', + 'last-modified': 'Tue, 21 Aug 2018 20:31:06 GMT', + etag: '0x8D607A505B3BFE8', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'bd75d5de-be80-4376-8a1b-220531bf2a4f', + 'request-id': '31581979-81c1-472f-a0eb-602a84c68aec', '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: 'Fri, 09 Mar 2018 23:05:14 GMT', + date: 'Tue, 21 Aug 2018 20:31:06 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_start_pool_resizing_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_start_pool_resizing_successfully.nock.js index 213822db9..d5c0ab74b 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_start_pool_resizing_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_start_pool_resizing_successfully.nock.js @@ -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'; -}; - +// 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/resize?api-version=2018-03-01.6.1', '*') +.post('/pools/nodesdktestpool2/resize?api-version=2018-08-01.7.0', '*') .reply(202, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:22 GMT', - etag: '0x8D5861165C6B797', + 'last-modified': 'Tue, 21 Aug 2018 20:25:22 GMT', + etag: '0x8D607A4389CE6FD', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '65a71cde-7e2e-458a-93ca-8b04d5f1becb', + 'request-id': 'f2ceedbf-aa0e-4233-8917-ddffaea2e83f', '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: 'Fri, 09 Mar 2018 22:59:22 GMT', + date: 'Tue, 21 Aug 2018 20:25:22 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') .filteringRequestBody(function (path) { return '*';}) -.post('/pools/nodesdktestpool2/resize?api-version=2018-03-01.6.1', '*') +.post('/pools/nodesdktestpool2/resize?api-version=2018-08-01.7.0', '*') .reply(202, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:22 GMT', - etag: '0x8D5861165C6B797', + 'last-modified': 'Tue, 21 Aug 2018 20:25:22 GMT', + etag: '0x8D607A4389CE6FD', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '65a71cde-7e2e-458a-93ca-8b04d5f1becb', + 'request-id': 'f2ceedbf-aa0e-4233-8917-ddffaea2e83f', '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: 'Fri, 09 Mar 2018 22:59:22 GMT', + date: 'Tue, 21 Aug 2018 20:25:22 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_stop_pool_resizing_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_stop_pool_resizing_successfully.nock.js index f38737ad1..43e282e5a 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_stop_pool_resizing_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_stop_pool_resizing_successfully.nock.js @@ -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'; -}; - +// 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') - .post('/pools/nodesdktestpool2/stopresize?api-version=2018-03-01.6.1') + .post('/pools/nodesdktestpool2/stopresize?api-version=2018-08-01.7.0') .reply(202, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:22 GMT', - etag: '0x8D5861165E39D6D', + 'last-modified': 'Tue, 21 Aug 2018 20:25:22 GMT', + etag: '0x8D607A438B8854D', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '5a726c8c-edda-4a35-a7af-2c5e261978ab', + 'request-id': '8fcf26c8-b739-4a0a-91c9-062ebe5f00c1', '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: 'Fri, 09 Mar 2018 22:59:22 GMT', + date: 'Tue, 21 Aug 2018 20:25:22 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .post('/pools/nodesdktestpool2/stopresize?api-version=2018-03-01.6.1') + .post('/pools/nodesdktestpool2/stopresize?api-version=2018-08-01.7.0') .reply(202, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:22 GMT', - etag: '0x8D5861165E39D6D', + 'last-modified': 'Tue, 21 Aug 2018 20:25:22 GMT', + etag: '0x8D607A438B8854D', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '5a726c8c-edda-4a35-a7af-2c5e261978ab', + 'request-id': '8fcf26c8-b739-4a0a-91c9-062ebe5f00c1', '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: 'Fri, 09 Mar 2018 22:59:22 GMT', + date: 'Tue, 21 Aug 2018 20:25:22 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_terminate_a_job_schedule_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_terminate_a_job_schedule_successfully.nock.js index 58e52db2c..29ce9427d 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_terminate_a_job_schedule_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_terminate_a_job_schedule_successfully.nock.js @@ -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'; -}; - +// 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') - .post('/jobschedules/NodeSDKTestSchedule/terminate?api-version=2018-03-01.6.1') + .post('/jobschedules/NodeSDKTestSchedule/terminate?api-version=2018-08-01.7.0') .reply(202, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 23:25:25 GMT', - etag: '0x8D5861509C27E2B', + 'last-modified': 'Tue, 21 Aug 2018 20:31:05 GMT', + etag: '0x8D607A504BD1C2C', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'e9625c9a-1530-4f4a-9a0a-41b10b2bc888', + 'request-id': '5e2afde0-868f-4dad-b2f2-fe480fc9b331', '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: 'Fri, 09 Mar 2018 23:25:25 GMT', + date: 'Tue, 21 Aug 2018 20:31:05 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .post('/jobschedules/NodeSDKTestSchedule/terminate?api-version=2018-03-01.6.1') + .post('/jobschedules/NodeSDKTestSchedule/terminate?api-version=2018-08-01.7.0') .reply(202, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 23:25:25 GMT', - etag: '0x8D5861509C27E2B', + 'last-modified': 'Tue, 21 Aug 2018 20:31:05 GMT', + etag: '0x8D607A504BD1C2C', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'e9625c9a-1530-4f4a-9a0a-41b10b2bc888', + 'request-id': '5e2afde0-868f-4dad-b2f2-fe480fc9b331', '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: 'Fri, 09 Mar 2018 23:25:25 GMT', + date: 'Tue, 21 Aug 2018 20:31:05 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_terminate_a_job_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_terminate_a_job_successfully.nock.js index 90578f9d5..63f91059d 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_terminate_a_job_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_terminate_a_job_successfully.nock.js @@ -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'; -}; - +// 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') - .post('/jobs/HelloWorldJobNodeSDKTest/terminate?api-version=2018-03-01.6.1') + .post('/jobs/HelloWorldJobNodeSDKTest/terminate?api-version=2018-08-01.7.0') .reply(202, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 23:05:10 GMT', - etag: '0x8D58612355BAEF6', + 'last-modified': 'Tue, 21 Aug 2018 20:31:01 GMT', + etag: '0x8D607A502EB8DE1', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '38dad21a-007d-4d3d-ba10-e9833be61f31', + 'request-id': '1bd0af83-bafb-4191-a208-eae2d0037a25', '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: 'Fri, 09 Mar 2018 23:05:09 GMT', + date: 'Tue, 21 Aug 2018 20:31:01 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') - .post('/jobs/HelloWorldJobNodeSDKTest/terminate?api-version=2018-03-01.6.1') + .post('/jobs/HelloWorldJobNodeSDKTest/terminate?api-version=2018-08-01.7.0') .reply(202, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 23:05:10 GMT', - etag: '0x8D58612355BAEF6', + 'last-modified': 'Tue, 21 Aug 2018 20:31:01 GMT', + etag: '0x8D607A502EB8DE1', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '38dad21a-007d-4d3d-ba10-e9833be61f31', + 'request-id': '1bd0af83-bafb-4191-a208-eae2d0037a25', '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: 'Fri, 09 Mar 2018 23:05:09 GMT', + date: 'Tue, 21 Aug 2018 20:31:01 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_terminate_a_task_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_terminate_a_task_successfully.nock.js index 5d1c9aa6a..eb9fb12dd 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_terminate_a_task_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_terminate_a_task_successfully.nock.js @@ -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'; -}; - +// 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') - .post('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask/terminate?api-version=2018-03-01.6.1') + .post('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask/terminate?api-version=2018-08-01.7.0') .reply(204, "", { 'content-length': '0', - 'last-modified': 'Fri, 09 Mar 2018 22:59:25 GMT', - etag: '0x8D5861167B943DE', + 'last-modified': 'Tue, 21 Aug 2018 20:25:25 GMT', + etag: '0x8D607A43A83710D', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '1d457fec-4675-4dc6-aa30-011251b121b7', + 'request-id': '4584a256-f4e5-4a80-b2ca-007e2a5e467f', '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: 'Fri, 09 Mar 2018 22:59:25 GMT', + date: 'Tue, 21 Aug 2018 20:25:25 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-03-01.6.1') + .post('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask/terminate?api-version=2018-08-01.7.0') .reply(204, "", { 'content-length': '0', - 'last-modified': 'Fri, 09 Mar 2018 22:59:25 GMT', - etag: '0x8D5861167B943DE', + 'last-modified': 'Tue, 21 Aug 2018 20:25:25 GMT', + etag: '0x8D607A43A83710D', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '1d457fec-4675-4dc6-aa30-011251b121b7', + 'request-id': '4584a256-f4e5-4a80-b2ca-007e2a5e467f', '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: 'Fri, 09 Mar 2018 22:59:25 GMT', + date: 'Tue, 21 Aug 2018 20:25:25 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_update_a_job_schedule_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_update_a_job_schedule_successfully.nock.js index 58e47d097..b38a3b4d1 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_update_a_job_schedule_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_update_a_job_schedule_successfully.nock.js @@ -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'; -}; - +// 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 '*';}) -.put('/jobschedules/NodeSDKTestSchedule?api-version=2018-03-01.6.1', '*') +.put('/jobschedules/NodeSDKTestSchedule?api-version=2018-08-01.7.0', '*') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 23:25:25 GMT', - etag: '0x8D586150964E4E5', + 'last-modified': 'Tue, 21 Aug 2018 20:31:04 GMT', + etag: '0x8D607A504633F37', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'e9915edd-2f4f-4871-b14a-5a8132dd612f', + 'request-id': 'b46b1796-20e7-4c7a-80fb-9ba2d0ba233c', '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: 'Fri, 09 Mar 2018 23:25:25 GMT', + date: 'Tue, 21 Aug 2018 20:31:04 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') .filteringRequestBody(function (path) { return '*';}) -.put('/jobschedules/NodeSDKTestSchedule?api-version=2018-03-01.6.1', '*') +.put('/jobschedules/NodeSDKTestSchedule?api-version=2018-08-01.7.0', '*') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 23:25:25 GMT', - etag: '0x8D586150964E4E5', + 'last-modified': 'Tue, 21 Aug 2018 20:31:04 GMT', + etag: '0x8D607A504633F37', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'e9915edd-2f4f-4871-b14a-5a8132dd612f', + 'request-id': 'b46b1796-20e7-4c7a-80fb-9ba2d0ba233c', '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: 'Fri, 09 Mar 2018 23:25:25 GMT', + date: 'Tue, 21 Aug 2018 20:31:04 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_update_a_job_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_update_a_job_successfully.nock.js index 3c12711a7..4a43471b6 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_update_a_job_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_update_a_job_successfully.nock.js @@ -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'; -}; - +// 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 '*';}) -.put('/jobs/HelloWorldJobNodeSDKTest?api-version=2018-03-01.6.1', '*') +.put('/jobs/HelloWorldJobNodeSDKTest?api-version=2018-08-01.7.0', '*') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:23 GMT', - etag: '0x8D58611667C6BD6', + 'last-modified': 'Tue, 21 Aug 2018 20:25:23 GMT', + etag: '0x8D607A439556CD8', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '420f988b-32ca-4ab0-a692-a51e5a6616b4', + 'request-id': 'bce42a29-ad74-4a13-8c63-e2fd6e632f70', '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: 'Fri, 09 Mar 2018 22:59:23 GMT', + date: 'Tue, 21 Aug 2018 20:25:23 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') .filteringRequestBody(function (path) { return '*';}) -.put('/jobs/HelloWorldJobNodeSDKTest?api-version=2018-03-01.6.1', '*') +.put('/jobs/HelloWorldJobNodeSDKTest?api-version=2018-08-01.7.0', '*') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:23 GMT', - etag: '0x8D58611667C6BD6', + 'last-modified': 'Tue, 21 Aug 2018 20:25:23 GMT', + etag: '0x8D607A439556CD8', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '420f988b-32ca-4ab0-a692-a51e5a6616b4', + 'request-id': 'bce42a29-ad74-4a13-8c63-e2fd6e632f70', '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: 'Fri, 09 Mar 2018 22:59:23 GMT', + date: 'Tue, 21 Aug 2018 20:25:23 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_update_a_task_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_update_a_task_successfully.nock.js index e979f2d12..c1735db2d 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_update_a_task_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_update_a_task_successfully.nock.js @@ -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'; -}; - +// 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 '*';}) -.put('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2?api-version=2018-03-01.6.1', '*') +.put('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2?api-version=2018-08-01.7.0', '*') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:26 GMT', - etag: '0x8D586116815EE04', + 'last-modified': 'Tue, 21 Aug 2018 20:25:26 GMT', + etag: '0x8D607A43AD67EAE', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'fa7427f2-93e3-4954-bfc6-b3e120ab1c68', + 'request-id': 'a8732646-11ae-4395-b3a1-7f7bd54de8ef', '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: 'Fri, 09 Mar 2018 22:59:26 GMT', + date: 'Tue, 21 Aug 2018 20:25:26 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') .filteringRequestBody(function (path) { return '*';}) -.put('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2?api-version=2018-03-01.6.1', '*') +.put('/jobs/HelloWorldJobNodeSDKTest/tasks/HelloWorldNodeSDKTestTask2?api-version=2018-08-01.7.0', '*') .reply(200, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:26 GMT', - etag: '0x8D586116815EE04', + 'last-modified': 'Tue, 21 Aug 2018 20:25:26 GMT', + etag: '0x8D607A43AD67EAE', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': 'fa7427f2-93e3-4954-bfc6-b3e120ab1c68', + 'request-id': 'a8732646-11ae-4395-b3a1-7f7bd54de8ef', '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: 'Fri, 09 Mar 2018 22:59:26 GMT', + date: 'Tue, 21 Aug 2018 20:25:26 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_update_pool_parameters_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_update_pool_parameters_successfully.nock.js index 0c5a0eaf7..de97ad0d1 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_update_pool_parameters_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_update_pool_parameters_successfully.nock.js @@ -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'; -}; - +// 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/nodesdktestpool1/updateproperties?api-version=2018-03-01.6.1', '*') +.post('/pools/nodesdktestpool1/updateproperties?api-version=2018-08-01.7.0', '*') .reply(204, "", { 'content-length': '0', - 'last-modified': 'Fri, 09 Mar 2018 22:45:45 GMT', - etag: '0x8D5860F7ED3D9B1', + 'last-modified': 'Tue, 21 Aug 2018 20:09:40 GMT', + etag: '0x8D607A207416399', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '211ded10-1a26-4e42-9005-a865280c4de1', + 'request-id': '4374adc2-2e74-4e9c-bfdb-af083f8742fd', '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: 'Fri, 09 Mar 2018 22:45:44 GMT', + date: 'Tue, 21 Aug 2018 20:09:40 GMT', connection: 'close' }); return result; }, function (nock) { var result = nock('https://lchency4.westcentralus.batch.azure.com:443') .filteringRequestBody(function (path) { return '*';}) -.post('/pools/nodesdktestpool1/updateproperties?api-version=2018-03-01.6.1', '*') +.post('/pools/nodesdktestpool1/updateproperties?api-version=2018-08-01.7.0', '*') .reply(204, "", { 'content-length': '0', - 'last-modified': 'Fri, 09 Mar 2018 22:45:45 GMT', - etag: '0x8D5860F7ED3D9B1', + 'last-modified': 'Tue, 21 Aug 2018 20:09:40 GMT', + etag: '0x8D607A207416399', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '211ded10-1a26-4e42-9005-a865280c4de1', + 'request-id': '4374adc2-2e74-4e9c-bfdb-af083f8742fd', '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: 'Fri, 09 Mar 2018 22:45:44 GMT', + date: 'Tue, 21 Aug 2018 20:09:40 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/Batch_Service_operations_should_update_pool_target_OS_version_successfully.nock.js b/test/recordings/batchservice-tests/Batch_Service_operations_should_update_pool_target_OS_version_successfully.nock.js index 2d95f8796..faab85140 100644 --- a/test/recordings/batchservice-tests/Batch_Service_operations_should_update_pool_target_OS_version_successfully.nock.js +++ b/test/recordings/batchservice-tests/Batch_Service_operations_should_update_pool_target_OS_version_successfully.nock.js @@ -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'; -}; - +// 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-03-01.6.1', '*') +.post('/pools/nodesdktestpool2/upgradeos?api-version=2018-08-01.7.0', '*') .reply(202, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:21 GMT', - etag: '0x8D5861165073065', + 'last-modified': 'Tue, 21 Aug 2018 20:25:21 GMT', + etag: '0x8D607A437F1E152', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '2c5bf2a6-4814-4833-a671-c8370a9f2c65', + '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: 'Fri, 09 Mar 2018 22:59:21 GMT', + 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-03-01.6.1', '*') +.post('/pools/nodesdktestpool2/upgradeos?api-version=2018-08-01.7.0', '*') .reply(202, "", { 'transfer-encoding': 'chunked', - 'last-modified': 'Fri, 09 Mar 2018 22:59:21 GMT', - etag: '0x8D5861165073065', + 'last-modified': 'Tue, 21 Aug 2018 20:25:21 GMT', + etag: '0x8D607A437F1E152', server: 'Microsoft-HTTPAPI/2.0', - 'request-id': '2c5bf2a6-4814-4833-a671-c8370a9f2c65', + '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: 'Fri, 09 Mar 2018 22:59:21 GMT', + date: 'Tue, 21 Aug 2018 20:25:21 GMT', connection: 'close' }); return result; }]]; \ No newline at end of file diff --git a/test/recordings/batchservice-tests/suite.batchservice-tests.nock.js b/test/recordings/batchservice-tests/suite.batchservice-tests.nock.js index 0195cdfac..ba44ceb1e 100644 --- a/test/recordings/batchservice-tests/suite.batchservice-tests.nock.js +++ b/test/recordings/batchservice-tests/suite.batchservice-tests.nock.js @@ -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'; -}; - +// 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 = []; diff --git a/test/services/batch/batchClient-tests.js b/test/services/batch/batchClient-tests.js index e293aff83..6e1b851ea 100644 --- a/test/services/batch/batchClient-tests.js +++ b/test/services/batch/batchClient-tests.js @@ -467,7 +467,7 @@ describe('Batch Service', function () { client.account.listPoolNodeCounts( function (err, result, request, response) { should.not.exist(err); should.exist(result); - result.length.should.equal(1); + result.length.should.equal(2); result[0].poolId.should.equal('nodesdkinboundendpointpool'); result[0].dedicated.idle.should.equal(1); result[0].lowPriority.total.should.equal(0); @@ -1287,7 +1287,7 @@ describe('Batch Service', function () { it('should create a job schdule successfully', function (done) { var options = { id: 'NodeSDKTestSchedule', jobSpecification: { id: 'HelloWorldJobNodeSDKTest', poolInfo: { poolId: 'nodesdktestpool1' } }, - schedule: { doNotRunUntil: "2018-04-25T00:00:00.00", startWindow: moment.duration({ minutes: 6 }) } + schedule: { doNotRunUntil: "2018-08-25T00:00:00.00", startWindow: moment.duration({ minutes: 6 }) } }; var requestModelMapper = new client.models['JobScheduleAddParameter']().mapper();