From 2b9f933d5576407a8c410de2d01bc5d4a6035882 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 18 Nov 2020 07:00:23 +0000 Subject: [PATCH] CodeGen from PR 11724 in Azure/azure-rest-api-specs Merge a369c8abbdd4fd015265bd713126bd7def7910fa into 76458dd5d43148a171be45c4c404a87292a0bcda --- sdk/devtestlabs/arm-devtestlabs/LICENSE.txt | 2 +- sdk/devtestlabs/arm-devtestlabs/README.md | 15 +- sdk/devtestlabs/arm-devtestlabs/package.json | 20 +- .../arm-devtestlabs/rollup.config.js | 6 +- .../arm-devtestlabs/src/devTestLabsClient.ts | 5 +- .../src/devTestLabsClientContext.ts | 7 +- .../src/models/armTemplatesMappers.ts | 4 +- .../src/models/artifactSourcesMappers.ts | 4 +- .../src/models/artifactsMappers.ts | 4 +- .../src/models/costsMappers.ts | 4 +- .../src/models/customImagesMappers.ts | 4 +- .../src/models/disksMappers.ts | 4 +- .../src/models/environmentsMappers.ts | 4 +- .../src/models/formulasMappers.ts | 4 +- .../src/models/galleryImagesMappers.ts | 4 +- .../src/models/globalSchedulesMappers.ts | 4 +- .../arm-devtestlabs/src/models/index.ts | 568 +++++++++++++++--- .../arm-devtestlabs/src/models/labsMappers.ts | 4 +- .../arm-devtestlabs/src/models/mappers.ts | 32 +- .../src/models/notificationChannelsMappers.ts | 4 +- .../src/models/operationsMappers.ts | 4 +- .../arm-devtestlabs/src/models/parameters.ts | 5 +- .../src/models/policiesMappers.ts | 4 +- .../src/models/policySetsMappers.ts | 4 +- .../src/models/providerOperationsMappers.ts | 4 +- .../src/models/schedulesMappers.ts | 4 +- .../src/models/secretsMappers.ts | 4 +- .../models/serviceFabricSchedulesMappers.ts | 4 +- .../src/models/serviceFabricsMappers.ts | 4 +- .../src/models/serviceRunnersMappers.ts | 5 +- .../src/models/usersMappers.ts | 4 +- .../models/virtualMachineSchedulesMappers.ts | 4 +- .../src/models/virtualMachinesMappers.ts | 4 +- .../src/models/virtualNetworksMappers.ts | 4 +- .../src/operations/armTemplates.ts | 24 +- .../src/operations/artifactSources.ts | 20 +- .../src/operations/artifacts.ts | 18 +- .../arm-devtestlabs/src/operations/costs.ts | 5 +- .../src/operations/customImages.ts | 20 +- .../arm-devtestlabs/src/operations/disks.ts | 20 +- .../src/operations/environments.ts | 20 +- .../src/operations/formulas.ts | 24 +- .../src/operations/galleryImages.ts | 18 +- .../src/operations/globalSchedules.ts | 33 +- .../arm-devtestlabs/src/operations/index.ts | 5 +- .../arm-devtestlabs/src/operations/labs.ts | 36 +- .../src/operations/notificationChannels.ts | 52 +- .../src/operations/operations.ts | 5 +- .../src/operations/policies.ts | 20 +- .../src/operations/policySets.ts | 5 +- .../src/operations/providerOperations.ts | 8 +- .../src/operations/schedules.ts | 23 +- .../arm-devtestlabs/src/operations/secrets.ts | 20 +- .../src/operations/serviceFabricSchedules.ts | 54 +- .../src/operations/serviceFabrics.ts | 58 +- .../src/operations/serviceRunners.ts | 116 +--- .../arm-devtestlabs/src/operations/users.ts | 20 +- .../src/operations/virtualMachineSchedules.ts | 20 +- .../src/operations/virtualMachines.ts | 24 +- .../src/operations/virtualNetworks.ts | 20 +- sdk/devtestlabs/arm-devtestlabs/tsconfig.json | 2 +- 61 files changed, 931 insertions(+), 520 deletions(-) diff --git a/sdk/devtestlabs/arm-devtestlabs/LICENSE.txt b/sdk/devtestlabs/arm-devtestlabs/LICENSE.txt index b73b4a1293c3..ea8fb1516028 100644 --- a/sdk/devtestlabs/arm-devtestlabs/LICENSE.txt +++ b/sdk/devtestlabs/arm-devtestlabs/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2019 Microsoft +Copyright (c) 2020 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/devtestlabs/arm-devtestlabs/README.md b/sdk/devtestlabs/arm-devtestlabs/README.md index f00489748b4a..d4219a3f2d11 100644 --- a/sdk/devtestlabs/arm-devtestlabs/README.md +++ b/sdk/devtestlabs/arm-devtestlabs/README.md @@ -15,21 +15,21 @@ npm install @azure/arm-devtestlabs ### How to use -#### nodejs - Authentication, client creation and list providerOperations as an example written in TypeScript. +#### nodejs - client creation and list providerOperations as an example written in TypeScript. ##### Install @azure/ms-rest-nodeauth +- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. ```bash -npm install @azure/ms-rest-nodeauth +npm install @azure/ms-rest-nodeauth@"^3.0.0" ``` ##### Sample code +While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package ```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { DevTestLabsClient, DevTestLabsModels, DevTestLabsMappers } from "@azure/arm-devtestlabs"; +const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +const { DevTestLabsClient } = require("@azure/arm-devtestlabs"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; msRestNodeAuth.interactiveLogin().then((creds) => { @@ -95,5 +95,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fdevtestlabs%2Farm-devtestlabs%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/devtestlabs/arm-devtestlabs/README.png) diff --git a/sdk/devtestlabs/arm-devtestlabs/package.json b/sdk/devtestlabs/arm-devtestlabs/package.json index bbe78efddd6d..90e6e1c776c5 100644 --- a/sdk/devtestlabs/arm-devtestlabs/package.json +++ b/sdk/devtestlabs/arm-devtestlabs/package.json @@ -4,9 +4,9 @@ "description": "DevTestLabsClient Library with typescript type definitions for node.js and browser.", "version": "3.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.1", - "@azure/ms-rest-js": "^1.2.6", - "tslib": "^1.9.3" + "@azure/ms-rest-azure-js": "^2.0.1", + "@azure/ms-rest-js": "^2.0.4", + "tslib": "^1.10.0" }, "keywords": [ "node", @@ -20,19 +20,19 @@ "module": "./esm/devTestLabsClient.js", "types": "./esm/devTestLabsClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", - "rollup": "^0.66.2", - "rollup-plugin-node-resolve": "^3.4.0", + "typescript": "^3.5.3", + "rollup": "^1.18.0", + "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", - "uglify-js": "^3.4.9" + "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/devtestlabs/arm-devtestlabs", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/devtestlabs/arm-devtestlabs", "repository": { "type": "git", - "url": "https://github.com/azure/azure-sdk-for-js.git" + "url": "https://github.com/Azure/azure-sdk-for-js.git" }, "bugs": { - "url": "https://github.com/azure/azure-sdk-for-js/issues" + "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "files": [ "dist/**/*.js", diff --git a/sdk/devtestlabs/arm-devtestlabs/rollup.config.js b/sdk/devtestlabs/arm-devtestlabs/rollup.config.js index f42a0f237882..bf0329ea4946 100644 --- a/sdk/devtestlabs/arm-devtestlabs/rollup.config.js +++ b/sdk/devtestlabs/arm-devtestlabs/rollup.config.js @@ -21,15 +21,15 @@ const config = { "@azure/ms-rest-azure-js": "msRestAzure" }, banner: `/* - * 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. */` }, plugins: [ - nodeResolve({ module: true }), + nodeResolve({ mainFields: ['module', 'main'] }), sourcemaps() ] }; diff --git a/sdk/devtestlabs/arm-devtestlabs/src/devTestLabsClient.ts b/sdk/devtestlabs/arm-devtestlabs/src/devTestLabsClient.ts index 3661410b1c1e..19fbab1a1aad 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/devTestLabsClient.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/devTestLabsClient.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/devtestlabs/arm-devtestlabs/src/devTestLabsClientContext.ts b/sdk/devtestlabs/arm-devtestlabs/src/devTestLabsClientContext.ts index 4ea49aa18b6a..0b8ca57f2543 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/devTestLabsClientContext.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/devTestLabsClientContext.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 @@ -13,7 +12,7 @@ import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-devtestlabs"; -const packageVersion = "1.0.0"; +const packageVersion = "3.2.0"; export class DevTestLabsClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/armTemplatesMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/armTemplatesMappers.ts index 9029e0573c48..21c83271b6f9 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/armTemplatesMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/armTemplatesMappers.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/devtestlabs/arm-devtestlabs/src/models/artifactSourcesMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/artifactSourcesMappers.ts index 4490f531b049..9cd9eb18cd47 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/artifactSourcesMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/artifactSourcesMappers.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/devtestlabs/arm-devtestlabs/src/models/artifactsMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/artifactsMappers.ts index 4e804b1760d0..ed2d98938eef 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/artifactsMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/artifactsMappers.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/devtestlabs/arm-devtestlabs/src/models/costsMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/costsMappers.ts index f704c7d2f7f3..88dc56285b50 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/costsMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/costsMappers.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/devtestlabs/arm-devtestlabs/src/models/customImagesMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/customImagesMappers.ts index b968e0b63305..daa26464bb2a 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/customImagesMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/customImagesMappers.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/devtestlabs/arm-devtestlabs/src/models/disksMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/disksMappers.ts index 390d1869cee3..1c9db217dd02 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/disksMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/disksMappers.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/devtestlabs/arm-devtestlabs/src/models/environmentsMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/environmentsMappers.ts index bcc0dbf16a0e..3884dbb07c81 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/environmentsMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/environmentsMappers.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/devtestlabs/arm-devtestlabs/src/models/formulasMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/formulasMappers.ts index 3d4ad5e725d4..5207dea41c40 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/formulasMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/formulasMappers.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/devtestlabs/arm-devtestlabs/src/models/galleryImagesMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/galleryImagesMappers.ts index 48dcc74fc425..72263fc4f20f 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/galleryImagesMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/galleryImagesMappers.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/devtestlabs/arm-devtestlabs/src/models/globalSchedulesMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/globalSchedulesMappers.ts index 730b2e7ae174..538cc5a9b1b7 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/globalSchedulesMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/globalSchedulesMappers.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/devtestlabs/arm-devtestlabs/src/models/index.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/index.ts index d3c9ec2db1e7..52ef62d83ee2 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/index.ts +++ b/sdk/devtestlabs/arm-devtestlabs/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. @@ -696,7 +696,7 @@ export interface AttachDiskProperties { */ export interface AttachNewDataDiskOptions { /** - * Size of the disk to be attached in Gibibytes. + * Size of the disk to be attached in GibiBytes. */ diskSizeGiB?: number; /** @@ -705,7 +705,7 @@ export interface AttachNewDataDiskOptions { diskName?: string; /** * The storage type for the disk (i.e. Standard, Premium). Possible values include: 'Standard', - * 'Premium' + * 'Premium', 'StandardSSD' */ diskType?: StorageType; } @@ -715,7 +715,7 @@ export interface AttachNewDataDiskOptions { */ export interface AttachNewDataDiskOptionsFragment { /** - * Size of the disk to be attached in Gibibytes. + * Size of the disk to be attached in GibiBytes. */ diskSizeGiB?: number; /** @@ -724,7 +724,7 @@ export interface AttachNewDataDiskOptionsFragment { diskName?: string; /** * The storage type for the disk (i.e. Standard, Premium). Possible values include: 'Standard', - * 'Premium' + * 'Premium', 'StandardSSD' */ diskType?: StorageType; } @@ -1003,7 +1003,7 @@ export interface DataDiskStorageTypeInfo { */ lun?: string; /** - * Disk Storage Type. Possible values include: 'Standard', 'Premium' + * Disk Storage Type. Possible values include: 'Standard', 'Premium', 'StandardSSD' */ storageType?: StorageType; } @@ -1152,7 +1152,7 @@ export interface DataDiskStorageTypeInfoFragment { */ lun?: string; /** - * Disk Storage Type. Possible values include: 'Standard', 'Premium' + * Disk Storage Type. Possible values include: 'Standard', 'Premium', 'StandardSSD' */ storageType?: StorageType; } @@ -1282,11 +1282,11 @@ export interface DetachDiskProperties { export interface Disk extends Resource { /** * The storage type for the disk (i.e. Standard, Premium). Possible values include: 'Standard', - * 'Premium' + * 'Premium', 'StandardSSD' */ diskType?: StorageType; /** - * The size of the disk in Gibibytes. + * The size of the disk in GibiBytes. */ diskSizeGiB?: number; /** @@ -1332,11 +1332,11 @@ export interface Disk extends Resource { export interface DiskFragment extends UpdateResource { /** * The storage type for the disk (i.e. Standard, Premium). Possible values include: 'Standard', - * 'Premium' + * 'Premium', 'StandardSSD' */ diskType?: StorageType; /** - * The size of the disk in Gibibytes. + * The size of the disk in GibiBytes. */ diskSizeGiB?: number; /** @@ -1838,7 +1838,7 @@ export interface LabVirtualMachineCreationParameter { storageType?: string; /** * Tells source of creation of lab virtual machine. Output property only. Possible values - * include: 'FromCustomImage', 'FromGalleryImage' + * include: 'FromCustomImage', 'FromGalleryImage', 'FromSharedGalleryImage' */ virtualMachineCreationSource?: VirtualMachineCreationSource; /** @@ -2187,7 +2187,7 @@ export interface LabVirtualMachineCreationParameterFragment { storageType?: string; /** * Tells source of creation of lab virtual machine. Output property only. Possible values - * include: 'FromCustomImage', 'FromGalleryImage' + * include: 'FromCustomImage', 'FromGalleryImage', 'FromSharedGalleryImage' */ virtualMachineCreationSource?: VirtualMachineCreationSource; /** @@ -2474,7 +2474,7 @@ export interface Lab extends Resource { readonly vaultName?: string; /** * Type of storage used by the lab. It can be either Premium or Standard. Default is Premium. - * Possible values include: 'Standard', 'Premium' + * Possible values include: 'Standard', 'Premium', 'StandardSSD' */ labStorageType?: StorageType; /** @@ -2513,7 +2513,8 @@ export interface Lab extends Resource { */ support?: LabSupportProperties; /** - * The resource group in which lab virtual machines will be created in. + * The resource group in which all new lab virtual machines will be created. To let DevTest Labs + * manage resource group creation, set this value to null. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly vmCreationResourceGroup?: string; @@ -2749,7 +2750,7 @@ export interface LabSupportPropertiesFragment { export interface LabFragment extends UpdateResource { /** * Type of storage used by the lab. It can be either Premium or Standard. Default is Premium. - * Possible values include: 'Standard', 'Premium' + * Possible values include: 'Standard', 'Premium', 'StandardSSD' */ labStorageType?: StorageType; /** @@ -2918,7 +2919,7 @@ export interface LabVirtualMachine extends Resource { storageType?: string; /** * Tells source of creation of lab virtual machine. Output property only. Possible values - * include: 'FromCustomImage', 'FromGalleryImage' + * include: 'FromCustomImage', 'FromGalleryImage', 'FromSharedGalleryImage' */ virtualMachineCreationSource?: VirtualMachineCreationSource; /** @@ -3059,7 +3060,7 @@ export interface LabVirtualMachineFragment extends UpdateResource { storageType?: string; /** * Tells source of creation of lab virtual machine. Output property only. Possible values - * include: 'FromCustomImage', 'FromGalleryImage' + * include: 'FromCustomImage', 'FromGalleryImage', 'FromSharedGalleryImage' */ virtualMachineCreationSource?: VirtualMachineCreationSource; /** @@ -3896,6 +3897,50 @@ export interface LabsGetOptionalParams extends msRest.RequestOptionsBase { expand?: string; } +/** + * Optional Parameters. + */ +export interface LabsListBySubscriptionNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify the $expand query. Example: 'properties($select=defaultStorageAccount)' + */ + expand?: string; + /** + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') + */ + filter?: string; + /** + * The maximum number of resources to return from the operation. Example: '$top=10' + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' + */ + orderby?: string; +} + +/** + * Optional Parameters. + */ +export interface LabsListByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify the $expand query. Example: 'properties($select=defaultStorageAccount)' + */ + expand?: string; + /** + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') + */ + filter?: string; + /** + * The maximum number of resources to return from the operation. Example: '$top=10' + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' + */ + orderby?: string; +} + /** * Optional Parameters. */ @@ -3950,6 +3995,50 @@ export interface GlobalSchedulesGetOptionalParams extends msRest.RequestOptionsB expand?: string; } +/** + * Optional Parameters. + */ +export interface GlobalSchedulesListBySubscriptionNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify the $expand query. Example: 'properties($select=status)' + */ + expand?: string; + /** + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') + */ + filter?: string; + /** + * The maximum number of resources to return from the operation. Example: '$top=10' + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' + */ + orderby?: string; +} + +/** + * Optional Parameters. + */ +export interface GlobalSchedulesListByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify the $expand query. Example: 'properties($select=status)' + */ + expand?: string; + /** + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') + */ + filter?: string; + /** + * The maximum number of resources to return from the operation. Example: '$top=10' + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' + */ + orderby?: string; +} + /** * Optional Parameters. */ @@ -3982,6 +4071,28 @@ export interface ArtifactSourcesGetOptionalParams extends msRest.RequestOptionsB expand?: string; } +/** + * Optional Parameters. + */ +export interface ArtifactSourcesListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify the $expand query. Example: 'properties($select=displayName)' + */ + expand?: string; + /** + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') + */ + filter?: string; + /** + * The maximum number of resources to return from the operation. Example: '$top=10' + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' + */ + orderby?: string; +} + /** * Optional Parameters. */ @@ -4014,6 +4125,28 @@ export interface ArmTemplatesGetOptionalParams extends msRest.RequestOptionsBase expand?: string; } +/** + * Optional Parameters. + */ +export interface ArmTemplatesListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify the $expand query. Example: 'properties($select=displayName)' + */ + expand?: string; + /** + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') + */ + filter?: string; + /** + * The maximum number of resources to return from the operation. Example: '$top=10' + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' + */ + orderby?: string; +} + /** * Optional Parameters. */ @@ -4046,6 +4179,28 @@ export interface ArtifactsGetOptionalParams extends msRest.RequestOptionsBase { expand?: string; } +/** + * Optional Parameters. + */ +export interface ArtifactsListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify the $expand query. Example: 'properties($select=title)' + */ + expand?: string; + /** + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') + */ + filter?: string; + /** + * The maximum number of resources to return from the operation. Example: '$top=10' + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' + */ + orderby?: string; +} + /** * Optional Parameters. */ @@ -4088,6 +4243,28 @@ export interface CustomImagesGetOptionalParams extends msRest.RequestOptionsBase expand?: string; } +/** + * Optional Parameters. + */ +export interface CustomImagesListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify the $expand query. Example: 'properties($select=vm)' + */ + expand?: string; + /** + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') + */ + filter?: string; + /** + * The maximum number of resources to return from the operation. Example: '$top=10' + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' + */ + orderby?: string; +} + /** * Optional Parameters. */ @@ -4120,6 +4297,28 @@ export interface FormulasGetOptionalParams extends msRest.RequestOptionsBase { expand?: string; } +/** + * Optional Parameters. + */ +export interface FormulasListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify the $expand query. Example: 'properties($select=description)' + */ + expand?: string; + /** + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') + */ + filter?: string; + /** + * The maximum number of resources to return from the operation. Example: '$top=10' + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' + */ + orderby?: string; +} + /** * Optional Parameters. */ @@ -4142,6 +4341,28 @@ export interface GalleryImagesListOptionalParams extends msRest.RequestOptionsBa orderby?: string; } +/** + * Optional Parameters. + */ +export interface GalleryImagesListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify the $expand query. Example: 'properties($select=author)' + */ + expand?: string; + /** + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') + */ + filter?: string; + /** + * The maximum number of resources to return from the operation. Example: '$top=10' + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' + */ + orderby?: string; +} + /** * Optional Parameters. */ @@ -4174,6 +4395,28 @@ export interface NotificationChannelsGetOptionalParams extends msRest.RequestOpt expand?: string; } +/** + * Optional Parameters. + */ +export interface NotificationChannelsListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify the $expand query. Example: 'properties($select=webHookUrl)' + */ + expand?: string; + /** + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') + */ + filter?: string; + /** + * The maximum number of resources to return from the operation. Example: '$top=10' + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' + */ + orderby?: string; +} + /** * Optional Parameters. */ @@ -4206,6 +4449,28 @@ export interface PoliciesGetOptionalParams extends msRest.RequestOptionsBase { expand?: string; } +/** + * Optional Parameters. + */ +export interface PoliciesListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify the $expand query. Example: 'properties($select=description)' + */ + expand?: string; + /** + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') + */ + filter?: string; + /** + * The maximum number of resources to return from the operation. Example: '$top=10' + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' + */ + orderby?: string; +} + /** * Optional Parameters. */ @@ -4241,7 +4506,11 @@ export interface SchedulesGetOptionalParams extends msRest.RequestOptionsBase { /** * Optional Parameters. */ -export interface ServiceRunnersListOptionalParams extends msRest.RequestOptionsBase { +export interface SchedulesListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify the $expand query. Example: 'properties($select=status)' + */ + expand?: string; /** * The filter to apply to the operation. Example: '$filter=contains(name,'myName') */ @@ -4288,6 +4557,28 @@ export interface UsersGetOptionalParams extends msRest.RequestOptionsBase { expand?: string; } +/** + * Optional Parameters. + */ +export interface UsersListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify the $expand query. Example: 'properties($select=identity)' + */ + expand?: string; + /** + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') + */ + filter?: string; + /** + * The maximum number of resources to return from the operation. Example: '$top=10' + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' + */ + orderby?: string; +} + /** * Optional Parameters. */ @@ -4320,6 +4611,28 @@ export interface DisksGetOptionalParams extends msRest.RequestOptionsBase { expand?: string; } +/** + * Optional Parameters. + */ +export interface DisksListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify the $expand query. Example: 'properties($select=diskType)' + */ + expand?: string; + /** + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') + */ + filter?: string; + /** + * The maximum number of resources to return from the operation. Example: '$top=10' + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' + */ + orderby?: string; +} + /** * Optional Parameters. */ @@ -4352,6 +4665,28 @@ export interface EnvironmentsGetOptionalParams extends msRest.RequestOptionsBase expand?: string; } +/** + * Optional Parameters. + */ +export interface EnvironmentsListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify the $expand query. Example: 'properties($select=deploymentProperties)' + */ + expand?: string; + /** + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') + */ + filter?: string; + /** + * The maximum number of resources to return from the operation. Example: '$top=10' + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' + */ + orderby?: string; +} + /** * Optional Parameters. */ @@ -4384,6 +4719,28 @@ export interface SecretsGetOptionalParams extends msRest.RequestOptionsBase { expand?: string; } +/** + * Optional Parameters. + */ +export interface SecretsListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify the $expand query. Example: 'properties($select=value)' + */ + expand?: string; + /** + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') + */ + filter?: string; + /** + * The maximum number of resources to return from the operation. Example: '$top=10' + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' + */ + orderby?: string; +} + /** * Optional Parameters. */ @@ -4416,6 +4773,28 @@ export interface ServiceFabricsGetOptionalParams extends msRest.RequestOptionsBa expand?: string; } +/** + * Optional Parameters. + */ +export interface ServiceFabricsListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify the $expand query. Example: 'properties($expand=applicableSchedule)' + */ + expand?: string; + /** + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') + */ + filter?: string; + /** + * The maximum number of resources to return from the operation. Example: '$top=10' + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' + */ + orderby?: string; +} + /** * Optional Parameters. */ @@ -4448,6 +4827,28 @@ export interface ServiceFabricSchedulesGetOptionalParams extends msRest.RequestO expand?: string; } +/** + * Optional Parameters. + */ +export interface ServiceFabricSchedulesListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify the $expand query. Example: 'properties($select=status)' + */ + expand?: string; + /** + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') + */ + filter?: string; + /** + * The maximum number of resources to return from the operation. Example: '$top=10' + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' + */ + orderby?: string; +} + /** * Optional Parameters. */ @@ -4482,6 +4883,29 @@ export interface VirtualMachinesGetOptionalParams extends msRest.RequestOptionsB expand?: string; } +/** + * Optional Parameters. + */ +export interface VirtualMachinesListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify the $expand query. Example: + * 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)' + */ + expand?: string; + /** + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') + */ + filter?: string; + /** + * The maximum number of resources to return from the operation. Example: '$top=10' + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' + */ + orderby?: string; +} + /** * Optional Parameters. */ @@ -4514,6 +4938,28 @@ export interface VirtualMachineSchedulesGetOptionalParams extends msRest.Request expand?: string; } +/** + * Optional Parameters. + */ +export interface VirtualMachineSchedulesListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify the $expand query. Example: 'properties($select=status)' + */ + expand?: string; + /** + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') + */ + filter?: string; + /** + * The maximum number of resources to return from the operation. Example: '$top=10' + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' + */ + orderby?: string; +} + /** * Optional Parameters. */ @@ -4546,6 +4992,28 @@ export interface VirtualNetworksGetOptionalParams extends msRest.RequestOptionsB expand?: string; } +/** + * Optional Parameters. + */ +export interface VirtualNetworksListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify the $expand query. Example: 'properties($expand=externalSubnets)' + */ + expand?: string; + /** + * The filter to apply to the operation. Example: '$filter=contains(name,'myName') + */ + filter?: string; + /** + * The maximum number of resources to return from the operation. Example: '$top=10' + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. Example: '$orderby=name desc' + */ + orderby?: string; +} + /** * An interface representing DevTestLabsClientOptions. */ @@ -4698,18 +5166,6 @@ export interface PolicyList extends Array { nextLink?: string; } -/** - * @interface - * The response of a list operation. - * @extends Array - */ -export interface ServiceRunnerList extends Array { - /** - * Link for next set of results. - */ - nextLink?: string; -} - /** * @interface * The response of a list operation. @@ -4812,11 +5268,11 @@ export type SourceControlType = 'VsoGit' | 'GitHub'; /** * Defines values for StorageType. - * Possible values include: 'Standard', 'Premium' + * Possible values include: 'Standard', 'Premium', 'StandardSSD' * @readonly * @enum {string} */ -export type StorageType = 'Standard' | 'Premium'; +export type StorageType = 'Standard' | 'Premium' | 'StandardSSD'; /** * Defines values for CostThresholdStatus. @@ -4876,11 +5332,11 @@ export type TransportProtocol = 'Tcp' | 'Udp'; /** * Defines values for VirtualMachineCreationSource. - * Possible values include: 'FromCustomImage', 'FromGalleryImage' + * Possible values include: 'FromCustomImage', 'FromGalleryImage', 'FromSharedGalleryImage' * @readonly * @enum {string} */ -export type VirtualMachineCreationSource = 'FromCustomImage' | 'FromGalleryImage'; +export type VirtualMachineCreationSource = 'FromCustomImage' | 'FromGalleryImage' | 'FromSharedGalleryImage'; /** * Defines values for FileUploadOptions. @@ -6320,26 +6776,6 @@ export type SchedulesListApplicableNextResponse = ScheduleList & { }; }; -/** - * Contains response data for the list operation. - */ -export type ServiceRunnersListResponse = ServiceRunnerList & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: ServiceRunnerList; - }; -}; - /** * Contains response data for the get operation. */ @@ -6380,26 +6816,6 @@ export type ServiceRunnersCreateOrUpdateResponse = ServiceRunner & { }; }; -/** - * Contains response data for the listNext operation. - */ -export type ServiceRunnersListNextResponse = ServiceRunnerList & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: ServiceRunnerList; - }; -}; - /** * Contains response data for the list operation. */ diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/labsMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/labsMappers.ts index 9f61197f5851..7986aecf7088 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/labsMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/labsMappers.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/devtestlabs/arm-devtestlabs/src/models/mappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/mappers.ts index b59f71d75da2..4932554a1186 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/mappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/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. @@ -6493,34 +6493,6 @@ export const PolicyList: msRest.CompositeMapper = { } }; -export const ServiceRunnerList: msRest.CompositeMapper = { - serializedName: "ServiceRunnerList", - type: { - name: "Composite", - className: "ServiceRunnerList", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ServiceRunner" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - export const UserList: msRest.CompositeMapper = { serializedName: "UserList", type: { diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/notificationChannelsMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/notificationChannelsMappers.ts index 0090ea0baf9e..860e550521b0 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/notificationChannelsMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/notificationChannelsMappers.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/devtestlabs/arm-devtestlabs/src/models/operationsMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/operationsMappers.ts index 2ea848782dbd..47d83c598a5e 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/operationsMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/operationsMappers.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/devtestlabs/arm-devtestlabs/src/models/parameters.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/parameters.ts index 3ba8b8e45ccc..c75e0034ebbd 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/parameters.ts +++ b/sdk/devtestlabs/arm-devtestlabs/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/devtestlabs/arm-devtestlabs/src/models/policiesMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/policiesMappers.ts index bfa35688c503..96fd618cce33 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/policiesMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/policiesMappers.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/devtestlabs/arm-devtestlabs/src/models/policySetsMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/policySetsMappers.ts index b504a82a986f..3d3000c8c4d3 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/policySetsMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/policySetsMappers.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/devtestlabs/arm-devtestlabs/src/models/providerOperationsMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/providerOperationsMappers.ts index 0e3a2c313781..922572295e93 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/providerOperationsMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/providerOperationsMappers.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/devtestlabs/arm-devtestlabs/src/models/schedulesMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/schedulesMappers.ts index 857fc155cbef..1702a0b13e1d 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/schedulesMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/schedulesMappers.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/devtestlabs/arm-devtestlabs/src/models/secretsMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/secretsMappers.ts index 423e8cbee700..7bbd67d7fd20 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/secretsMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/secretsMappers.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/devtestlabs/arm-devtestlabs/src/models/serviceFabricSchedulesMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/serviceFabricSchedulesMappers.ts index 857fc155cbef..1702a0b13e1d 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/serviceFabricSchedulesMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/serviceFabricSchedulesMappers.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/devtestlabs/arm-devtestlabs/src/models/serviceFabricsMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/serviceFabricsMappers.ts index d0f3530182c3..ccee3d273deb 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/serviceFabricsMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/serviceFabricsMappers.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/devtestlabs/arm-devtestlabs/src/models/serviceRunnersMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/serviceRunnersMappers.ts index 320d4fa5459e..88dc56285b50 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/serviceRunnersMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/serviceRunnersMappers.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. @@ -65,7 +65,6 @@ export { Secret, ServiceFabric, ServiceRunner, - ServiceRunnerList, SharedPublicIpAddressConfiguration, Subnet, SubnetOverride, diff --git a/sdk/devtestlabs/arm-devtestlabs/src/models/usersMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/usersMappers.ts index 58a07b7aa6e4..117f1fead00c 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/usersMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/usersMappers.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/devtestlabs/arm-devtestlabs/src/models/virtualMachineSchedulesMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/virtualMachineSchedulesMappers.ts index 857fc155cbef..1702a0b13e1d 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/virtualMachineSchedulesMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/virtualMachineSchedulesMappers.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/devtestlabs/arm-devtestlabs/src/models/virtualMachinesMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/virtualMachinesMappers.ts index 01e0bed10615..7c3a11d8c3df 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/virtualMachinesMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/virtualMachinesMappers.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/devtestlabs/arm-devtestlabs/src/models/virtualNetworksMappers.ts b/sdk/devtestlabs/arm-devtestlabs/src/models/virtualNetworksMappers.ts index a7d4f33a1886..77e972a49ed7 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/models/virtualNetworksMappers.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/models/virtualNetworksMappers.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/devtestlabs/arm-devtestlabs/src/operations/armTemplates.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/armTemplates.ts index 321013ad7c50..070937b46278 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/armTemplates.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/armTemplates.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 @@ -67,7 +66,7 @@ export class ArmTemplates { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param artifactSourceName The name of the artifact source. - * @param name The name of the azure Resource Manager template. + * @param name The name of the azure resource manager template. * @param [options] The optional parameters * @returns Promise */ @@ -76,7 +75,7 @@ export class ArmTemplates { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param artifactSourceName The name of the artifact source. - * @param name The name of the azure Resource Manager template. + * @param name The name of the azure resource manager template. * @param callback The callback */ get(resourceGroupName: string, labName: string, artifactSourceName: string, name: string, callback: msRest.ServiceCallback): void; @@ -84,7 +83,7 @@ export class ArmTemplates { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param artifactSourceName The name of the artifact source. - * @param name The name of the azure Resource Manager template. + * @param name The name of the azure resource manager template. * @param options The optional parameters * @param callback The callback */ @@ -108,7 +107,7 @@ export class ArmTemplates { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.ArmTemplatesListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -119,8 +118,8 @@ export class ArmTemplates { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.ArmTemplatesListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.ArmTemplatesListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -198,6 +197,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/artifactSources.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/artifactSources.ts index 0820c40006db..9554e03420be 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/artifactSources.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/artifactSources.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 @@ -171,7 +170,7 @@ export class ArtifactSources { } /** - * Modify properties of artifact sources. + * Allows modifying tags of artifact sources. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param name The name of the artifact source. @@ -216,7 +215,7 @@ export class ArtifactSources { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.ArtifactSourcesListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -227,8 +226,8 @@ export class ArtifactSources { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.ArtifactSourcesListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.ArtifactSourcesListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -398,6 +397,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/artifacts.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/artifacts.ts index 95452d5acfee..69904946a883 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/artifacts.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/artifacts.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 @@ -156,7 +155,7 @@ export class Artifacts { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.ArtifactsListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -167,8 +166,8 @@ export class Artifacts { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.ArtifactsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.ArtifactsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -280,6 +279,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/costs.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/costs.ts index 16fcc5dab183..84c72f84a03b 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/costs.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/costs.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/devtestlabs/arm-devtestlabs/src/operations/customImages.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/customImages.ts index 4e20e6b45d3d..78f4e7d1e9a1 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/customImages.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/customImages.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 @@ -123,7 +122,7 @@ export class CustomImages { } /** - * Modify properties of custom images. + * Allows modifying tags of custom images. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param name The name of the custom image. @@ -210,7 +209,7 @@ export class CustomImages { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.CustomImagesListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -221,8 +220,8 @@ export class CustomImages { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.CustomImagesListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.CustomImagesListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -393,6 +392,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/disks.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/disks.ts index ba32267a81d3..ee6fe5ec3782 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/disks.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/disks.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 @@ -133,7 +132,7 @@ export class Disks { } /** - * Modify properties of disks. + * Allows modifying tags of disks. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. @@ -310,7 +309,7 @@ export class Disks { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.DisksListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -321,8 +320,8 @@ export class Disks { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.DisksListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.DisksListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -564,6 +563,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/environments.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/environments.ts index 2da4b6827c16..ba0b0e95bde3 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/environments.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/environments.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 @@ -133,7 +132,7 @@ export class Environments { } /** - * Modify properties of environments. + * Allows modifying tags of environments. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. @@ -228,7 +227,7 @@ export class Environments { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.EnvironmentsListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -239,8 +238,8 @@ export class Environments { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.EnvironmentsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.EnvironmentsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -416,6 +415,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/formulas.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/formulas.ts index cf109bc2d9ca..e4ce41661bec 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/formulas.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/formulas.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 @@ -96,7 +95,7 @@ export class Formulas { } /** - * Create or replace an existing Formula. This operation can take a while to complete. + * Create or replace an existing formula. This operation can take a while to complete. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param name The name of the formula. @@ -146,7 +145,7 @@ export class Formulas { } /** - * Modify properties of formulas. + * Allows modifying tags of formulas. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param name The name of the formula. @@ -186,7 +185,7 @@ export class Formulas { } /** - * Create or replace an existing Formula. This operation can take a while to complete. + * Create or replace an existing formula. This operation can take a while to complete. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param name The name of the formula. @@ -213,7 +212,7 @@ export class Formulas { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.FormulasListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -224,8 +223,8 @@ export class Formulas { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.FormulasListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.FormulasListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -395,6 +394,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/galleryImages.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/galleryImages.ts index 2e75c0446479..30c2e0165164 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/galleryImages.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/galleryImages.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 @@ -64,7 +63,7 @@ export class GalleryImages { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.GalleryImagesListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -75,8 +74,8 @@ export class GalleryImages { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.GalleryImagesListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.GalleryImagesListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -125,6 +124,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/globalSchedules.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/globalSchedules.ts index 0d21826053d2..4a17b096dbe3 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/globalSchedules.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/globalSchedules.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 @@ -180,7 +179,7 @@ export class GlobalSchedules { } /** - * Modify properties of schedules. + * Allows modifying tags of schedules. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param name The name of the schedule. * @param schedule A schedule. @@ -284,7 +283,7 @@ export class GlobalSchedules { * @param [options] The optional parameters * @returns Promise */ - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listBySubscriptionNext(nextPageLink: string, options?: Models.GlobalSchedulesListBySubscriptionNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -295,8 +294,8 @@ export class GlobalSchedules { * @param options The optional parameters * @param callback The callback */ - listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, options: Models.GlobalSchedulesListBySubscriptionNextOptionalParams, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: Models.GlobalSchedulesListBySubscriptionNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -312,7 +311,7 @@ export class GlobalSchedules { * @param [options] The optional parameters * @returns Promise */ - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByResourceGroupNext(nextPageLink: string, options?: Models.GlobalSchedulesListByResourceGroupNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -323,8 +322,8 @@ export class GlobalSchedules { * @param options The optional parameters * @param callback The callback */ - listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options: Models.GlobalSchedulesListByResourceGroupNextOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: Models.GlobalSchedulesListByResourceGroupNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -571,6 +570,13 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -592,6 +598,13 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/index.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/index.ts index be4417019e72..68b5cfb65cff 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/index.ts +++ b/sdk/devtestlabs/arm-devtestlabs/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/devtestlabs/arm-devtestlabs/src/operations/labs.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/labs.ts index f86dc41739aa..a8889736d5eb 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/labs.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/labs.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 @@ -137,7 +136,7 @@ export class Labs { } /** - * Modify properties of labs. + * Allows modifying tags of labs. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param name The name of the lab. * @param lab A lab. @@ -419,7 +418,7 @@ export class Labs { * @param [options] The optional parameters * @returns Promise */ - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listBySubscriptionNext(nextPageLink: string, options?: Models.LabsListBySubscriptionNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -430,8 +429,8 @@ export class Labs { * @param options The optional parameters * @param callback The callback */ - listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, options: Models.LabsListBySubscriptionNextOptionalParams, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: Models.LabsListBySubscriptionNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -447,7 +446,7 @@ export class Labs { * @param [options] The optional parameters * @returns Promise */ - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByResourceGroupNext(nextPageLink: string, options?: Models.LabsListByResourceGroupNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -458,8 +457,8 @@ export class Labs { * @param options The optional parameters * @param callback The callback */ - listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options: Models.LabsListByResourceGroupNextOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: Models.LabsListByResourceGroupNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -854,6 +853,13 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -875,6 +881,13 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -896,6 +909,9 @@ const listVhdsNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/notificationChannels.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/notificationChannels.ts index 8ce165fb3844..83eb6e25d230 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/notificationChannels.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/notificationChannels.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 @@ -62,7 +61,7 @@ export class NotificationChannels { * Get notification channel. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. - * @param name The name of the notificationChannel. + * @param name The name of the notification channel. * @param [options] The optional parameters * @returns Promise */ @@ -70,14 +69,14 @@ export class NotificationChannels { /** * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. - * @param name The name of the notificationChannel. + * @param name The name of the notification channel. * @param callback The callback */ get(resourceGroupName: string, labName: string, name: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. - * @param name The name of the notificationChannel. + * @param name The name of the notification channel. * @param options The optional parameters * @param callback The callback */ @@ -95,10 +94,10 @@ export class NotificationChannels { } /** - * Create or replace an existing notificationChannel. + * Create or replace an existing notification channel. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. - * @param name The name of the notificationChannel. + * @param name The name of the notification channel. * @param notificationChannel A notification. * @param [options] The optional parameters * @returns Promise @@ -107,7 +106,7 @@ export class NotificationChannels { /** * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. - * @param name The name of the notificationChannel. + * @param name The name of the notification channel. * @param notificationChannel A notification. * @param callback The callback */ @@ -115,7 +114,7 @@ export class NotificationChannels { /** * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. - * @param name The name of the notificationChannel. + * @param name The name of the notification channel. * @param notificationChannel A notification. * @param options The optional parameters * @param callback The callback @@ -138,7 +137,7 @@ export class NotificationChannels { * Delete notification channel. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. - * @param name The name of the notificationChannel. + * @param name The name of the notification channel. * @param [options] The optional parameters * @returns Promise */ @@ -146,14 +145,14 @@ export class NotificationChannels { /** * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. - * @param name The name of the notificationChannel. + * @param name The name of the notification channel. * @param callback The callback */ deleteMethod(resourceGroupName: string, labName: string, name: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. - * @param name The name of the notificationChannel. + * @param name The name of the notification channel. * @param options The optional parameters * @param callback The callback */ @@ -171,10 +170,10 @@ export class NotificationChannels { } /** - * Modify properties of notification channels. + * Allows modifying tags of notification channels. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. - * @param name The name of the notificationChannel. + * @param name The name of the notification channel. * @param notificationChannel A notification. * @param [options] The optional parameters * @returns Promise @@ -183,7 +182,7 @@ export class NotificationChannels { /** * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. - * @param name The name of the notificationChannel. + * @param name The name of the notification channel. * @param notificationChannel A notification. * @param callback The callback */ @@ -191,7 +190,7 @@ export class NotificationChannels { /** * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. - * @param name The name of the notificationChannel. + * @param name The name of the notification channel. * @param notificationChannel A notification. * @param options The optional parameters * @param callback The callback @@ -214,7 +213,7 @@ export class NotificationChannels { * Send notification to provided channel. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. - * @param name The name of the notificationChannel. + * @param name The name of the notification channel. * @param notifyParameters Properties for generating a Notification. * @param [options] The optional parameters * @returns Promise @@ -223,7 +222,7 @@ export class NotificationChannels { /** * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. - * @param name The name of the notificationChannel. + * @param name The name of the notification channel. * @param notifyParameters Properties for generating a Notification. * @param callback The callback */ @@ -231,7 +230,7 @@ export class NotificationChannels { /** * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. - * @param name The name of the notificationChannel. + * @param name The name of the notification channel. * @param notifyParameters Properties for generating a Notification. * @param options The optional parameters * @param callback The callback @@ -256,7 +255,7 @@ export class NotificationChannels { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.NotificationChannelsListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -267,8 +266,8 @@ export class NotificationChannels { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.NotificationChannelsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.NotificationChannelsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -469,6 +468,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/operations.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/operations.ts index e9516fa84bc3..498993c3a48e 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/operations.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/operations.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/devtestlabs/arm-devtestlabs/src/operations/policies.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/policies.ts index 596ef83cabe7..919fa686d62a 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/policies.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/policies.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 @@ -187,7 +186,7 @@ export class Policies { } /** - * Modify properties of policies. + * Allows modifying tags of policies. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param policySetName The name of the policy set. @@ -236,7 +235,7 @@ export class Policies { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.PoliciesListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -247,8 +246,8 @@ export class Policies { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.PoliciesListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.PoliciesListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -423,6 +422,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/policySets.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/policySets.ts index c35da19a1264..f0e01004b44c 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/policySets.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/policySets.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/devtestlabs/arm-devtestlabs/src/operations/providerOperations.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/providerOperations.ts index 163a0eadb7cc..4cf5ce4f8c79 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/providerOperations.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/providerOperations.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 @@ -108,6 +107,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/schedules.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/schedules.ts index 59afb9182540..787b463589ad 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/schedules.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/schedules.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 @@ -172,7 +171,7 @@ export class Schedules { } /** - * Modify properties of schedules. + * Allows modifying tags of schedules. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param name The name of the schedule. @@ -286,7 +285,7 @@ export class Schedules { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.SchedulesListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -297,8 +296,8 @@ export class Schedules { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.SchedulesListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.SchedulesListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -547,6 +546,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -568,6 +574,9 @@ const listApplicableNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/secrets.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/secrets.ts index 2b3a91a3c14c..0d6b98bac13d 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/secrets.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/secrets.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 @@ -159,7 +158,7 @@ export class Secrets { } /** - * Modify properties of secrets. + * Allows modifying tags of secrets. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. @@ -232,7 +231,7 @@ export class Secrets { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.SecretsListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -243,8 +242,8 @@ export class Secrets { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.SecretsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.SecretsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -419,6 +418,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/serviceFabricSchedules.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/serviceFabricSchedules.ts index 5174bf0d28b4..367052720c4f 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/serviceFabricSchedules.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/serviceFabricSchedules.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 @@ -32,7 +31,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param [options] The optional parameters * @returns Promise */ @@ -41,7 +40,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param callback The callback */ list(resourceGroupName: string, labName: string, userName: string, serviceFabricName: string, callback: msRest.ServiceCallback): void; @@ -49,7 +48,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param options The optional parameters * @param callback The callback */ @@ -72,7 +71,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param name The name of the schedule. * @param [options] The optional parameters * @returns Promise @@ -82,7 +81,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param name The name of the schedule. * @param callback The callback */ @@ -91,7 +90,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param name The name of the schedule. * @param options The optional parameters * @param callback The callback @@ -116,7 +115,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param name The name of the schedule. * @param schedule A schedule. * @param [options] The optional parameters @@ -127,7 +126,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param name The name of the schedule. * @param schedule A schedule. * @param callback The callback @@ -137,7 +136,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param name The name of the schedule. * @param schedule A schedule. * @param options The optional parameters @@ -164,7 +163,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param name The name of the schedule. * @param [options] The optional parameters * @returns Promise @@ -174,7 +173,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param name The name of the schedule. * @param callback The callback */ @@ -183,7 +182,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param name The name of the schedule. * @param options The optional parameters * @param callback The callback @@ -204,11 +203,11 @@ export class ServiceFabricSchedules { } /** - * Modify properties of schedules. + * Allows modifying tags of schedules. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param name The name of the schedule. * @param schedule A schedule. * @param [options] The optional parameters @@ -219,7 +218,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param name The name of the schedule. * @param schedule A schedule. * @param callback The callback @@ -229,7 +228,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param name The name of the schedule. * @param schedule A schedule. * @param options The optional parameters @@ -256,7 +255,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param name The name of the schedule. * @param [options] The optional parameters * @returns Promise @@ -271,7 +270,7 @@ export class ServiceFabricSchedules { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param serviceFabricName The name of the service Fabric. + * @param serviceFabricName The name of the service fabric. * @param name The name of the schedule. * @param [options] The optional parameters * @returns Promise @@ -296,7 +295,7 @@ export class ServiceFabricSchedules { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.ServiceFabricSchedulesListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -307,8 +306,8 @@ export class ServiceFabricSchedules { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.ServiceFabricSchedulesListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.ServiceFabricSchedulesListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -515,6 +514,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/serviceFabrics.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/serviceFabrics.ts index 54257f84f509..f23af328acc2 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/serviceFabrics.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/serviceFabrics.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 @@ -68,7 +67,7 @@ export class ServiceFabrics { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param [options] The optional parameters * @returns Promise */ @@ -77,7 +76,7 @@ export class ServiceFabrics { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param callback The callback */ get(resourceGroupName: string, labName: string, userName: string, name: string, callback: msRest.ServiceCallback): void; @@ -85,7 +84,7 @@ export class ServiceFabrics { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param options The optional parameters * @param callback The callback */ @@ -104,11 +103,11 @@ export class ServiceFabrics { } /** - * Create or replace an existing Service Fabric. This operation can take a while to complete. + * Create or replace an existing service fabric. This operation can take a while to complete. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param serviceFabric A Service Fabric. * @param [options] The optional parameters * @returns Promise @@ -123,7 +122,7 @@ export class ServiceFabrics { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param [options] The optional parameters * @returns Promise */ @@ -133,11 +132,11 @@ export class ServiceFabrics { } /** - * Modify properties of service fabrics. + * Allows modifying tags of service fabrics. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param serviceFabric A Service Fabric. * @param [options] The optional parameters * @returns Promise @@ -147,7 +146,7 @@ export class ServiceFabrics { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param serviceFabric A Service Fabric. * @param callback The callback */ @@ -156,7 +155,7 @@ export class ServiceFabrics { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param serviceFabric A Service Fabric. * @param options The optional parameters * @param callback The callback @@ -181,7 +180,7 @@ export class ServiceFabrics { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param [options] The optional parameters * @returns Promise */ @@ -190,7 +189,7 @@ export class ServiceFabrics { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param callback The callback */ listApplicableSchedules(resourceGroupName: string, labName: string, userName: string, name: string, callback: msRest.ServiceCallback): void; @@ -198,7 +197,7 @@ export class ServiceFabrics { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param options The optional parameters * @param callback The callback */ @@ -221,7 +220,7 @@ export class ServiceFabrics { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param [options] The optional parameters * @returns Promise */ @@ -235,7 +234,7 @@ export class ServiceFabrics { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param [options] The optional parameters * @returns Promise */ @@ -245,11 +244,11 @@ export class ServiceFabrics { } /** - * Create or replace an existing Service Fabric. This operation can take a while to complete. + * Create or replace an existing service fabric. This operation can take a while to complete. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param serviceFabric A Service Fabric. * @param [options] The optional parameters * @returns Promise @@ -273,7 +272,7 @@ export class ServiceFabrics { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param [options] The optional parameters * @returns Promise */ @@ -295,7 +294,7 @@ export class ServiceFabrics { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param [options] The optional parameters * @returns Promise */ @@ -317,7 +316,7 @@ export class ServiceFabrics { * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. - * @param name The name of the service Fabric. + * @param name The name of the service fabric. * @param [options] The optional parameters * @returns Promise */ @@ -340,7 +339,7 @@ export class ServiceFabrics { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.ServiceFabricsListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -351,8 +350,8 @@ export class ServiceFabrics { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.ServiceFabricsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.ServiceFabricsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -607,6 +606,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/serviceRunners.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/serviceRunners.ts index c4b933724cd7..23a269f7fb40 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/serviceRunners.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/serviceRunners.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 @@ -26,38 +25,6 @@ export class ServiceRunners { this.client = client; } - /** - * List service runners in a given lab. - * @param resourceGroupName The name of the resource group. - * @param labName The name of the lab. - * @param [options] The optional parameters - * @returns Promise - */ - list(resourceGroupName: string, labName: string, options?: Models.ServiceRunnersListOptionalParams): Promise; - /** - * @param resourceGroupName The name of the resource group. - * @param labName The name of the lab. - * @param callback The callback - */ - list(resourceGroupName: string, labName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. - * @param labName The name of the lab. - * @param options The optional parameters - * @param callback The callback - */ - list(resourceGroupName: string, labName: string, options: Models.ServiceRunnersListOptionalParams, callback: msRest.ServiceCallback): void; - list(resourceGroupName: string, labName: string, options?: Models.ServiceRunnersListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - labName, - options - }, - listOperationSpec, - callback) as Promise; - } - /** * Get service runner. * @param resourceGroupName The name of the resource group. @@ -95,7 +62,7 @@ export class ServiceRunners { } /** - * Create or replace an existing Service runner. + * Create or replace an existing service runner. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param name The name of the service runner. @@ -169,66 +136,10 @@ export class ServiceRunners { deleteMethodOperationSpec, callback); } - - /** - * List service runners in a given lab. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param options The optional parameters - * @param callback The callback - */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listNextOperationSpec, - callback) as Promise; - } } // Operation Specifications const serializer = new msRest.Serializer(Mappers); -const listOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners", - urlParameters: [ - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.labName - ], - queryParameters: [ - Parameters.filter, - Parameters.top, - Parameters.orderby, - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ServiceRunnerList - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners/{name}", @@ -315,24 +226,3 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { }, serializer }; - -const listNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.ServiceRunnerList - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/users.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/users.ts index 01a7d31f246d..de725534c03c 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/users.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/users.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 @@ -123,7 +122,7 @@ export class Users { } /** - * Modify properties of user profiles. + * Allows modifying tags of user profiles. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param name The name of the user profile. @@ -210,7 +209,7 @@ export class Users { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.UsersListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -221,8 +220,8 @@ export class Users { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.UsersListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.UsersListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -393,6 +392,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/virtualMachineSchedules.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/virtualMachineSchedules.ts index 460b610bf6f9..cdcb5e22228c 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/virtualMachineSchedules.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/virtualMachineSchedules.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,7 +187,7 @@ export class VirtualMachineSchedules { } /** - * Modify properties of schedules. + * Allows modifying tags of schedules. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param virtualMachineName The name of the virtual machine. @@ -273,7 +272,7 @@ export class VirtualMachineSchedules { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.VirtualMachineSchedulesListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -284,8 +283,8 @@ export class VirtualMachineSchedules { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.VirtualMachineSchedulesListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.VirtualMachineSchedulesListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -486,6 +485,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/virtualMachines.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/virtualMachines.ts index dbe0b61786d7..a9ae431cd977 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/virtualMachines.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/virtualMachines.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 @@ -96,7 +95,7 @@ export class VirtualMachines { } /** - * Create or replace an existing Virtual machine. This operation can take a while to complete. + * Create or replace an existing virtual machine. This operation can take a while to complete. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param name The name of the virtual machine. @@ -123,7 +122,7 @@ export class VirtualMachines { } /** - * Modify properties of virtual machines. + * Allows modifying tags of virtual machines. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param name The name of the virtual machine. @@ -385,7 +384,7 @@ export class VirtualMachines { } /** - * Create or replace an existing Virtual machine. This operation can take a while to complete. + * Create or replace an existing virtual machine. This operation can take a while to complete. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param name The name of the virtual machine. @@ -663,7 +662,7 @@ export class VirtualMachines { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.VirtualMachinesListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -674,8 +673,8 @@ export class VirtualMachines { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.VirtualMachinesListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.VirtualMachinesListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1201,6 +1200,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/src/operations/virtualNetworks.ts b/sdk/devtestlabs/arm-devtestlabs/src/operations/virtualNetworks.ts index 2529fd5ec8a0..797f0829ede3 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/operations/virtualNetworks.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/operations/virtualNetworks.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 @@ -123,7 +122,7 @@ export class VirtualNetworks { } /** - * Modify properties of virtual networks. + * Allows modifying tags of virtual networks. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param name The name of the virtual network. @@ -210,7 +209,7 @@ export class VirtualNetworks { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.VirtualNetworksListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -221,8 +220,8 @@ export class VirtualNetworks { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.VirtualNetworksListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.VirtualNetworksListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -393,6 +392,13 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/devtestlabs/arm-devtestlabs/tsconfig.json b/sdk/devtestlabs/arm-devtestlabs/tsconfig.json index 87bbf5b5fa49..422b584abd5e 100644 --- a/sdk/devtestlabs/arm-devtestlabs/tsconfig.json +++ b/sdk/devtestlabs/arm-devtestlabs/tsconfig.json @@ -9,7 +9,7 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6"], + "lib": ["es6", "dom"], "declaration": true, "outDir": "./esm", "importHelpers": true