diff --git a/sdk/batch/batch/LICENSE.txt b/sdk/batch/batch/LICENSE.txt index ea8fb1516028..2d3163745319 100644 --- a/sdk/batch/batch/LICENSE.txt +++ b/sdk/batch/batch/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2020 Microsoft +Copyright (c) 2021 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 diff --git a/sdk/batch/batch/src/batchServiceClient.ts b/sdk/batch/batch/src/batchServiceClient.ts index 8e4fb1f453ad..d1bcb6ffa846 100644 --- a/sdk/batch/batch/src/batchServiceClient.ts +++ b/sdk/batch/batch/src/batchServiceClient.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -34,7 +33,7 @@ class BatchServiceClient extends BatchServiceClientContext { * @param batchUrl The base URL for all Azure Batch service requests. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, batchUrl: string, options?: msRestAzure.AzureServiceClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials, batchUrl: string, options?: msRest.AzureServiceClientOptions) { super(credentials, batchUrl, options); this.application = new operations.Application(this); this.pool = new operations.Pool(this); diff --git a/sdk/batch/batch/src/batchServiceClientContext.ts b/sdk/batch/batch/src/batchServiceClientContext.ts index b522242929f9..2ed750c8da3c 100644 --- a/sdk/batch/batch/src/batchServiceClientContext.ts +++ b/sdk/batch/batch/src/batchServiceClientContext.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/batch/batch/src/models/accountMappers.ts b/sdk/batch/batch/src/models/accountMappers.ts index 42c721b464b3..3b57da9e56a4 100644 --- a/sdk/batch/batch/src/models/accountMappers.ts +++ b/sdk/batch/batch/src/models/accountMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * 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/sdk/batch/batch/src/models/applicationMappers.ts b/sdk/batch/batch/src/models/applicationMappers.ts index 63ed8a7bc26d..4df8f7d59e1b 100644 --- a/sdk/batch/batch/src/models/applicationMappers.ts +++ b/sdk/batch/batch/src/models/applicationMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * 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/sdk/batch/batch/src/models/certificateOperationsMappers.ts b/sdk/batch/batch/src/models/certificateOperationsMappers.ts index a9c098e7567e..2e14bc9a8cd6 100644 --- a/sdk/batch/batch/src/models/certificateOperationsMappers.ts +++ b/sdk/batch/batch/src/models/certificateOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * 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/sdk/batch/batch/src/models/computeNodeOperationsMappers.ts b/sdk/batch/batch/src/models/computeNodeOperationsMappers.ts index 244abfabbddc..539c3f3fd750 100644 --- a/sdk/batch/batch/src/models/computeNodeOperationsMappers.ts +++ b/sdk/batch/batch/src/models/computeNodeOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * 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/sdk/batch/batch/src/models/fileMappers.ts b/sdk/batch/batch/src/models/fileMappers.ts index 3f165a649309..312d43efdd61 100644 --- a/sdk/batch/batch/src/models/fileMappers.ts +++ b/sdk/batch/batch/src/models/fileMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * 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/sdk/batch/batch/src/models/index.ts b/sdk/batch/batch/src/models/index.ts index 1e1e9bfbc33f..12c4371445e1 100644 --- a/sdk/batch/batch/src/models/index.ts +++ b/sdk/batch/batch/src/models/index.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -4963,7 +4963,8 @@ export interface NodeDisableSchedulingParameter { */ export interface NodeRemoveParameter { /** - * A list containing the IDs of the Compute Nodes to be removed from the specified Pool. + * A list containing the IDs of the Compute Nodes to be removed from the specified Pool. A + * maximum of 100 nodes may be removed per request. */ nodeList: string[]; /** @@ -8832,6 +8833,11 @@ export interface FileListFromComputeNodeOptionalParams extends msRest.RequestOpt * Optional Parameters. */ export interface FileListFromTaskNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether to list children of the Task directory. This parameter can be used in combination with + * the filter parameter to list specific type of files. + */ + recursive?: boolean; /** * Additional parameters for the operation */ @@ -8842,6 +8848,10 @@ export interface FileListFromTaskNextOptionalParams extends msRest.RequestOption * Optional Parameters. */ export interface FileListFromComputeNodeNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Whether to list children of a directory. + */ + recursive?: boolean; /** * Additional parameters for the operation */ diff --git a/sdk/batch/batch/src/models/jobMappers.ts b/sdk/batch/batch/src/models/jobMappers.ts index 6c1dc2928ea5..86cf348a544d 100644 --- a/sdk/batch/batch/src/models/jobMappers.ts +++ b/sdk/batch/batch/src/models/jobMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * 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/sdk/batch/batch/src/models/jobScheduleMappers.ts b/sdk/batch/batch/src/models/jobScheduleMappers.ts index 7f9ccf9fe3ca..9a7b069ef918 100644 --- a/sdk/batch/batch/src/models/jobScheduleMappers.ts +++ b/sdk/batch/batch/src/models/jobScheduleMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * 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/sdk/batch/batch/src/models/mappers.ts b/sdk/batch/batch/src/models/mappers.ts index 0b27ccc84ca7..2d8a41215129 100644 --- a/sdk/batch/batch/src/models/mappers.ts +++ b/sdk/batch/batch/src/models/mappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * 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/sdk/batch/batch/src/models/parameters.ts b/sdk/batch/batch/src/models/parameters.ts index a7e7cf030f6f..5e08d3eb6e64 100644 --- a/sdk/batch/batch/src/models/parameters.ts +++ b/sdk/batch/batch/src/models/parameters.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/batch/batch/src/models/poolMappers.ts b/sdk/batch/batch/src/models/poolMappers.ts index 3b5505c8315e..61ab888509af 100644 --- a/sdk/batch/batch/src/models/poolMappers.ts +++ b/sdk/batch/batch/src/models/poolMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * 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/sdk/batch/batch/src/models/taskMappers.ts b/sdk/batch/batch/src/models/taskMappers.ts index 84ef079bc951..8f53ad545901 100644 --- a/sdk/batch/batch/src/models/taskMappers.ts +++ b/sdk/batch/batch/src/models/taskMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * 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/sdk/batch/batch/src/operations/account.ts b/sdk/batch/batch/src/operations/account.ts index eea384325c0e..80186fdde1a1 100644 --- a/sdk/batch/batch/src/operations/account.ts +++ b/sdk/batch/batch/src/operations/account.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -204,6 +203,9 @@ const listSupportedImagesNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage, Parameters.clientRequestId22, @@ -230,6 +232,9 @@ const listPoolNodeCountsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage, Parameters.clientRequestId23, diff --git a/sdk/batch/batch/src/operations/application.ts b/sdk/batch/batch/src/operations/application.ts index ec8b45d115d8..aeeea76475c7 100644 --- a/sdk/batch/batch/src/operations/application.ts +++ b/sdk/batch/batch/src/operations/application.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -188,6 +187,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage, Parameters.clientRequestId2, diff --git a/sdk/batch/batch/src/operations/certificateOperations.ts b/sdk/batch/batch/src/operations/certificateOperations.ts index f54f868a87a6..4cdbccb307d8 100644 --- a/sdk/batch/batch/src/operations/certificateOperations.ts +++ b/sdk/batch/batch/src/operations/certificateOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -395,6 +394,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage, Parameters.clientRequestId45, diff --git a/sdk/batch/batch/src/operations/computeNodeOperations.ts b/sdk/batch/batch/src/operations/computeNodeOperations.ts index 47c3f08e468f..ce2901373435 100644 --- a/sdk/batch/batch/src/operations/computeNodeOperations.ts +++ b/sdk/batch/batch/src/operations/computeNodeOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -929,6 +928,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage, Parameters.clientRequestId89, diff --git a/sdk/batch/batch/src/operations/file.ts b/sdk/batch/batch/src/operations/file.ts index 4c5829f84f12..b273620ad4f3 100644 --- a/sdk/batch/batch/src/operations/file.ts +++ b/sdk/batch/batch/src/operations/file.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -650,6 +649,10 @@ const listFromTaskNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.recursive, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage, Parameters.clientRequestId54, @@ -676,6 +679,10 @@ const listFromComputeNodeNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.recursive, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage, Parameters.clientRequestId55, diff --git a/sdk/batch/batch/src/operations/index.ts b/sdk/batch/batch/src/operations/index.ts index ab28bd75785c..2c51305e432b 100644 --- a/sdk/batch/batch/src/operations/index.ts +++ b/sdk/batch/batch/src/operations/index.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/batch/batch/src/operations/job.ts b/sdk/batch/batch/src/operations/job.ts index b59c6a5bde79..0ceb032cd54c 100644 --- a/sdk/batch/batch/src/operations/job.ts +++ b/sdk/batch/batch/src/operations/job.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -1013,6 +1012,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage, Parameters.clientRequestId37, @@ -1039,6 +1041,9 @@ const listFromJobScheduleNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage, Parameters.clientRequestId38, @@ -1065,6 +1070,9 @@ const listPreparationAndReleaseTaskStatusNextOperationSpec: msRest.OperationSpec urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage, Parameters.clientRequestId39, diff --git a/sdk/batch/batch/src/operations/jobSchedule.ts b/sdk/batch/batch/src/operations/jobSchedule.ts index e686ef685453..5dfe34a9f368 100644 --- a/sdk/batch/batch/src/operations/jobSchedule.ts +++ b/sdk/batch/batch/src/operations/jobSchedule.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -717,6 +716,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage, Parameters.clientRequestId66, diff --git a/sdk/batch/batch/src/operations/pool.ts b/sdk/batch/batch/src/operations/pool.ts index f78aa95f014c..33bf1294b8cd 100644 --- a/sdk/batch/batch/src/operations/pool.ts +++ b/sdk/batch/batch/src/operations/pool.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -488,7 +487,8 @@ export class Pool { /** * This operation can only run when the allocation state of the Pool is steady. When this operation - * runs, the allocation state changes from steady to resizing. + * runs, the allocation state changes from steady to resizing. Each request may remove up to 100 + * nodes. * @summary Removes Compute Nodes from the specified Pool. * @param poolId The ID of the Pool from which you want to remove Compute Nodes. * @param nodeRemoveParameter The parameters for the request. @@ -1131,6 +1131,9 @@ const listUsageMetricsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage, Parameters.clientRequestId18, @@ -1157,6 +1160,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage, Parameters.clientRequestId19, diff --git a/sdk/batch/batch/src/operations/task.ts b/sdk/batch/batch/src/operations/task.ts index f5e171bf1a18..c0d583c4a2f2 100644 --- a/sdk/batch/batch/src/operations/task.ts +++ b/sdk/batch/batch/src/operations/task.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -722,6 +721,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage, Parameters.clientRequestId76,