diff --git a/sdk/labservices/arm-labservices/LICENSE.txt b/sdk/labservices/arm-labservices/LICENSE.txt index b73b4a1293c3..ea8fb1516028 100644 --- a/sdk/labservices/arm-labservices/LICENSE.txt +++ b/sdk/labservices/arm-labservices/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/labservices/arm-labservices/README.md b/sdk/labservices/arm-labservices/README.md index 0ae4beb85ea4..16bc4e811a90 100644 --- a/sdk/labservices/arm-labservices/README.md +++ b/sdk/labservices/arm-labservices/README.md @@ -15,21 +15,21 @@ npm install @azure/arm-labservices ### 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 { ManagedLabsClient, ManagedLabsModels, ManagedLabsMappers } from "@azure/arm-labservices"; +const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +const { ManagedLabsClient } = require("@azure/arm-labservices"); 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%2Flabservices%2Farm-labservices%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/labservices/arm-labservices/README.png) diff --git a/sdk/labservices/arm-labservices/package.json b/sdk/labservices/arm-labservices/package.json index 5ad34162ddf0..3c3f03bc4401 100644 --- a/sdk/labservices/arm-labservices/package.json +++ b/sdk/labservices/arm-labservices/package.json @@ -4,9 +4,9 @@ "description": "ManagedLabsClient Library with typescript type definitions for node.js and browser.", "version": "1.0.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/managedLabsClient.js", "types": "./esm/managedLabsClient.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/labservices/arm-labservices", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/labservices/arm-labservices", "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/labservices/arm-labservices/rollup.config.js b/sdk/labservices/arm-labservices/rollup.config.js index 33758796e69a..067dfcc38755 100644 --- a/sdk/labservices/arm-labservices/rollup.config.js +++ b/sdk/labservices/arm-labservices/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/labservices/arm-labservices/src/managedLabsClient.ts b/sdk/labservices/arm-labservices/src/managedLabsClient.ts index 868f64b914bb..a6996364badd 100644 --- a/sdk/labservices/arm-labservices/src/managedLabsClient.ts +++ b/sdk/labservices/arm-labservices/src/managedLabsClient.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/labservices/arm-labservices/src/managedLabsClientContext.ts b/sdk/labservices/arm-labservices/src/managedLabsClientContext.ts index cc87576b4330..5860a4c3ce62 100644 --- a/sdk/labservices/arm-labservices/src/managedLabsClientContext.ts +++ b/sdk/labservices/arm-labservices/src/managedLabsClientContext.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/labservices/arm-labservices/src/models/environmentSettingsMappers.ts b/sdk/labservices/arm-labservices/src/models/environmentSettingsMappers.ts index 31b5158a2a0f..b37511cf273b 100644 --- a/sdk/labservices/arm-labservices/src/models/environmentSettingsMappers.ts +++ b/sdk/labservices/arm-labservices/src/models/environmentSettingsMappers.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/labservices/arm-labservices/src/models/environmentsMappers.ts b/sdk/labservices/arm-labservices/src/models/environmentsMappers.ts index e0c43ba75e80..2d59fc0d33fc 100644 --- a/sdk/labservices/arm-labservices/src/models/environmentsMappers.ts +++ b/sdk/labservices/arm-labservices/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/labservices/arm-labservices/src/models/galleryImagesMappers.ts b/sdk/labservices/arm-labservices/src/models/galleryImagesMappers.ts index 111fe6ae3134..dd2ee721c9ce 100644 --- a/sdk/labservices/arm-labservices/src/models/galleryImagesMappers.ts +++ b/sdk/labservices/arm-labservices/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/labservices/arm-labservices/src/models/globalUsersMappers.ts b/sdk/labservices/arm-labservices/src/models/globalUsersMappers.ts index b7cfc29c9540..5f437e4a2432 100644 --- a/sdk/labservices/arm-labservices/src/models/globalUsersMappers.ts +++ b/sdk/labservices/arm-labservices/src/models/globalUsersMappers.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/labservices/arm-labservices/src/models/index.ts b/sdk/labservices/arm-labservices/src/models/index.ts index 14e20a4d1bbf..76ddac1900d2 100644 --- a/sdk/labservices/arm-labservices/src/models/index.ts +++ b/sdk/labservices/arm-labservices/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. @@ -1272,16 +1272,6 @@ export interface ResetPasswordPayload { password?: string; } -/** - * Represents the size configuration under the lab account - */ -export interface SizeConfigurationPropertiesFragment { - /** - * Represents a list of size categories supported by this Lab Account (Small, Medium, Large) - */ - environmentSizes?: EnvironmentSizeFragment[]; -} - /** * The User registered to a lab */ @@ -1326,6 +1316,16 @@ export interface User extends Resource { readonly latestOperationResult?: LatestOperationResult; } +/** + * Represents the size configuration under the lab account + */ +export interface SizeConfigurationPropertiesFragment { + /** + * Represents a list of size categories supported by this Lab Account (Small, Medium, Large) + */ + environmentSizes?: EnvironmentSizeFragment[]; +} + /** * The User registered to a lab */ @@ -1404,6 +1404,50 @@ export interface LabAccountsGetOptionalParams extends msRest.RequestOptionsBase expand?: string; } +/** + * Optional Parameters. + */ +export interface LabAccountsListBySubscriptionNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify the $expand query. Example: 'properties($expand=sizeConfiguration)' + */ + expand?: string; + /** + * The filter to apply to the operation. + */ + filter?: string; + /** + * The maximum number of resources to return from the operation. + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. + */ + orderby?: string; +} + +/** + * Optional Parameters. + */ +export interface LabAccountsListByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify the $expand query. Example: 'properties($expand=sizeConfiguration)' + */ + expand?: string; + /** + * The filter to apply to the operation. + */ + filter?: string; + /** + * The maximum number of resources to return from the operation. + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. + */ + orderby?: string; +} + /** * Optional Parameters. */ @@ -1436,6 +1480,28 @@ export interface GalleryImagesGetOptionalParams extends msRest.RequestOptionsBas expand?: 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. + */ + filter?: string; + /** + * The maximum number of resources to return from the operation. + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. + */ + orderby?: string; +} + /** * Optional Parameters. */ @@ -1468,6 +1534,28 @@ export interface LabsGetOptionalParams extends msRest.RequestOptionsBase { expand?: string; } +/** + * Optional Parameters. + */ +export interface LabsListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify the $expand query. Example: 'properties($select=maxUsersInLab)' + */ + expand?: string; + /** + * The filter to apply to the operation. + */ + filter?: string; + /** + * The maximum number of resources to return from the operation. + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. + */ + orderby?: string; +} + /** * Optional Parameters. */ @@ -1500,6 +1588,28 @@ export interface EnvironmentSettingsGetOptionalParams extends msRest.RequestOpti expand?: string; } +/** + * Optional Parameters. + */ +export interface EnvironmentSettingsListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify the $expand query. Example: 'properties($select=publishingState)' + */ + expand?: string; + /** + * The filter to apply to the operation. + */ + filter?: string; + /** + * The maximum number of resources to return from the operation. + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. + */ + orderby?: string; +} + /** * Optional Parameters. */ @@ -1532,6 +1642,28 @@ export interface EnvironmentsGetOptionalParams extends msRest.RequestOptionsBase expand?: string; } +/** + * Optional Parameters. + */ +export interface EnvironmentsListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify the $expand query. Example: 'properties($expand=networkInterface)' + */ + expand?: string; + /** + * The filter to apply to the operation. + */ + filter?: string; + /** + * The maximum number of resources to return from the operation. + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. + */ + orderby?: string; +} + /** * Optional Parameters. */ @@ -1564,6 +1696,28 @@ export interface UsersGetOptionalParams extends msRest.RequestOptionsBase { expand?: string; } +/** + * Optional Parameters. + */ +export interface UsersListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify the $expand query. Example: 'properties($select=email)' + */ + expand?: string; + /** + * The filter to apply to the operation. + */ + filter?: string; + /** + * The maximum number of resources to return from the operation. + */ + top?: number; + /** + * The ordering expression for the results, using OData notation. + */ + orderby?: string; +} + /** * An interface representing ManagedLabsClientOptions. */ diff --git a/sdk/labservices/arm-labservices/src/models/labAccountsMappers.ts b/sdk/labservices/arm-labservices/src/models/labAccountsMappers.ts index 52e28b9dc8cb..6364e0f46d82 100644 --- a/sdk/labservices/arm-labservices/src/models/labAccountsMappers.ts +++ b/sdk/labservices/arm-labservices/src/models/labAccountsMappers.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/labservices/arm-labservices/src/models/labsMappers.ts b/sdk/labservices/arm-labservices/src/models/labsMappers.ts index 002177ba4a9b..c7072cc77995 100644 --- a/sdk/labservices/arm-labservices/src/models/labsMappers.ts +++ b/sdk/labservices/arm-labservices/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/labservices/arm-labservices/src/models/mappers.ts b/sdk/labservices/arm-labservices/src/models/mappers.ts index 69719c5f97b8..021a5ac29875 100644 --- a/sdk/labservices/arm-labservices/src/models/mappers.ts +++ b/sdk/labservices/arm-labservices/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. @@ -2024,28 +2024,6 @@ export const ResetPasswordPayload: msRest.CompositeMapper = { } }; -export const SizeConfigurationPropertiesFragment: msRest.CompositeMapper = { - serializedName: "SizeConfigurationPropertiesFragment", - type: { - name: "Composite", - className: "SizeConfigurationPropertiesFragment", - modelProperties: { - environmentSizes: { - serializedName: "environmentSizes", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EnvironmentSizeFragment" - } - } - } - } - } - } -}; - export const User: msRest.CompositeMapper = { serializedName: "User", type: { @@ -2112,6 +2090,28 @@ export const User: msRest.CompositeMapper = { } }; +export const SizeConfigurationPropertiesFragment: msRest.CompositeMapper = { + serializedName: "SizeConfigurationPropertiesFragment", + type: { + name: "Composite", + className: "SizeConfigurationPropertiesFragment", + modelProperties: { + environmentSizes: { + serializedName: "environmentSizes", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EnvironmentSizeFragment" + } + } + } + } + } + } +}; + export const UserFragment: msRest.CompositeMapper = { serializedName: "UserFragment", type: { diff --git a/sdk/labservices/arm-labservices/src/models/operationsMappers.ts b/sdk/labservices/arm-labservices/src/models/operationsMappers.ts index 2ea848782dbd..47d83c598a5e 100644 --- a/sdk/labservices/arm-labservices/src/models/operationsMappers.ts +++ b/sdk/labservices/arm-labservices/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/labservices/arm-labservices/src/models/parameters.ts b/sdk/labservices/arm-labservices/src/models/parameters.ts index 741ed96caa31..097e58398c33 100644 --- a/sdk/labservices/arm-labservices/src/models/parameters.ts +++ b/sdk/labservices/arm-labservices/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/labservices/arm-labservices/src/models/providerOperationsMappers.ts b/sdk/labservices/arm-labservices/src/models/providerOperationsMappers.ts index 0e3a2c313781..922572295e93 100644 --- a/sdk/labservices/arm-labservices/src/models/providerOperationsMappers.ts +++ b/sdk/labservices/arm-labservices/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/labservices/arm-labservices/src/models/usersMappers.ts b/sdk/labservices/arm-labservices/src/models/usersMappers.ts index c0e823467f0f..6b6c7c2e8092 100644 --- a/sdk/labservices/arm-labservices/src/models/usersMappers.ts +++ b/sdk/labservices/arm-labservices/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/labservices/arm-labservices/src/operations/environmentSettings.ts b/sdk/labservices/arm-labservices/src/operations/environmentSettings.ts index 9909699599b4..e08db901c6e9 100644 --- a/sdk/labservices/arm-labservices/src/operations/environmentSettings.ts +++ b/sdk/labservices/arm-labservices/src/operations/environmentSettings.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 @@ -394,7 +393,7 @@ export class EnvironmentSettings { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.EnvironmentSettingsListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -405,8 +404,8 @@ export class EnvironmentSettings { * @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.EnvironmentSettingsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.EnvironmentSettingsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -690,6 +689,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/labservices/arm-labservices/src/operations/environments.ts b/sdk/labservices/arm-labservices/src/operations/environments.ts index 3bd7120e3321..eed3a9024758 100644 --- a/sdk/labservices/arm-labservices/src/operations/environments.ts +++ b/sdk/labservices/arm-labservices/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 @@ -420,7 +419,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 @@ -431,8 +430,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, @@ -726,6 +725,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/labservices/arm-labservices/src/operations/galleryImages.ts b/sdk/labservices/arm-labservices/src/operations/galleryImages.ts index 159c602d4e15..cbfa6e980697 100644 --- a/sdk/labservices/arm-labservices/src/operations/galleryImages.ts +++ b/sdk/labservices/arm-labservices/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 @@ -216,7 +215,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 @@ -227,8 +226,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, @@ -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/labservices/arm-labservices/src/operations/globalUsers.ts b/sdk/labservices/arm-labservices/src/operations/globalUsers.ts index c0b05b1b6dac..62fa6ef21ef3 100644 --- a/sdk/labservices/arm-labservices/src/operations/globalUsers.ts +++ b/sdk/labservices/arm-labservices/src/operations/globalUsers.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/labservices/arm-labservices/src/operations/index.ts b/sdk/labservices/arm-labservices/src/operations/index.ts index 26e4c8332ff5..877082040f55 100644 --- a/sdk/labservices/arm-labservices/src/operations/index.ts +++ b/sdk/labservices/arm-labservices/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/labservices/arm-labservices/src/operations/labAccounts.ts b/sdk/labservices/arm-labservices/src/operations/labAccounts.ts index 100c9feb2eda..209ff86b459a 100644 --- a/sdk/labservices/arm-labservices/src/operations/labAccounts.ts +++ b/sdk/labservices/arm-labservices/src/operations/labAccounts.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 @@ -290,7 +289,7 @@ export class LabAccounts { * @param [options] The optional parameters * @returns Promise */ - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listBySubscriptionNext(nextPageLink: string, options?: Models.LabAccountsListBySubscriptionNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -301,8 +300,8 @@ export class LabAccounts { * @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.LabAccountsListBySubscriptionNextOptionalParams, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: Models.LabAccountsListBySubscriptionNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -318,7 +317,7 @@ export class LabAccounts { * @param [options] The optional parameters * @returns Promise */ - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByResourceGroupNext(nextPageLink: string, options?: Models.LabAccountsListByResourceGroupNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -329,8 +328,8 @@ export class LabAccounts { * @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.LabAccountsListByResourceGroupNextOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: Models.LabAccountsListByResourceGroupNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -577,6 +576,13 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.expand, + Parameters.filter, + Parameters.top, + Parameters.orderby, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -598,6 +604,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/labservices/arm-labservices/src/operations/labs.ts b/sdk/labservices/arm-labservices/src/operations/labs.ts index dd3bb4748e15..2faf1e037da7 100644 --- a/sdk/labservices/arm-labservices/src/operations/labs.ts +++ b/sdk/labservices/arm-labservices/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 @@ -290,7 +289,7 @@ export class Labs { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.LabsListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -301,8 +300,8 @@ export class Labs { * @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.LabsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.LabsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -527,6 +526,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/labservices/arm-labservices/src/operations/operations.ts b/sdk/labservices/arm-labservices/src/operations/operations.ts index 3b36d72f6699..7b6d47181626 100644 --- a/sdk/labservices/arm-labservices/src/operations/operations.ts +++ b/sdk/labservices/arm-labservices/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/labservices/arm-labservices/src/operations/providerOperations.ts b/sdk/labservices/arm-labservices/src/operations/providerOperations.ts index a05ca2cf6a02..c8205eefb312 100644 --- a/sdk/labservices/arm-labservices/src/operations/providerOperations.ts +++ b/sdk/labservices/arm-labservices/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/labservices/arm-labservices/src/operations/users.ts b/sdk/labservices/arm-labservices/src/operations/users.ts index 26a244f6129e..5fcc3f9a0258 100644 --- a/sdk/labservices/arm-labservices/src/operations/users.ts +++ b/sdk/labservices/arm-labservices/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 @@ -233,7 +232,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 @@ -244,8 +243,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, @@ -420,6 +419,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/labservices/arm-labservices/tsconfig.json b/sdk/labservices/arm-labservices/tsconfig.json index 87bbf5b5fa49..422b584abd5e 100644 --- a/sdk/labservices/arm-labservices/tsconfig.json +++ b/sdk/labservices/arm-labservices/tsconfig.json @@ -9,7 +9,7 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6"], + "lib": ["es6", "dom"], "declaration": true, "outDir": "./esm", "importHelpers": true