From 20b697f23ca4982f79f1f1cfc80ba621bd336987 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Sat, 20 Feb 2021 15:13:29 +0000 Subject: [PATCH] CodeGen from PR 13065 in Azure/azure-rest-api-specs Merge 3ea6a1291e6858e8fc833f44e5e3cb7db0f3f646 into bfbbca417537b86565c1f0434f6b0e34d0601811 --- sdk/databoxedge/arm-databoxedge/LICENSE.txt | 2 +- sdk/databoxedge/arm-databoxedge/README.md | 9 ++-- .../arm-databoxedge/rollup.config.js | 4 +- .../src/dataBoxEdgeManagementClient.ts | 5 +- .../src/dataBoxEdgeManagementClientContext.ts | 5 +- .../src/models/alertsMappers.ts | 4 +- .../src/models/bandwidthSchedulesMappers.ts | 4 +- .../src/models/containersMappers.ts | 4 +- .../src/models/devicesMappers.ts | 4 +- .../arm-databoxedge/src/models/index.ts | 46 ++++++++++++++++++- .../arm-databoxedge/src/models/jobsMappers.ts | 4 +- .../arm-databoxedge/src/models/mappers.ts | 4 +- .../src/models/nodesMappers.ts | 4 +- .../src/models/operationsMappers.ts | 4 +- .../src/models/operationsStatusMappers.ts | 4 +- .../src/models/ordersMappers.ts | 4 +- .../arm-databoxedge/src/models/parameters.ts | 5 +- .../src/models/rolesMappers.ts | 4 +- .../src/models/sharesMappers.ts | 4 +- .../arm-databoxedge/src/models/skusMappers.ts | 4 +- .../storageAccountCredentialsMappers.ts | 4 +- .../src/models/storageAccountsMappers.ts | 4 +- .../src/models/triggersMappers.ts | 4 +- .../src/models/usersMappers.ts | 4 +- .../arm-databoxedge/src/operations/alerts.ts | 8 ++-- .../src/operations/bandwidthSchedules.ts | 8 ++-- .../src/operations/containers.ts | 8 ++-- .../arm-databoxedge/src/operations/devices.ts | 25 ++++++---- .../arm-databoxedge/src/operations/index.ts | 5 +- .../arm-databoxedge/src/operations/jobs.ts | 5 +- .../arm-databoxedge/src/operations/nodes.ts | 5 +- .../src/operations/operations.ts | 8 ++-- .../src/operations/operationsStatus.ts | 5 +- .../arm-databoxedge/src/operations/orders.ts | 8 ++-- .../arm-databoxedge/src/operations/roles.ts | 8 ++-- .../arm-databoxedge/src/operations/shares.ts | 8 ++-- .../arm-databoxedge/src/operations/skus.ts | 5 +- .../operations/storageAccountCredentials.ts | 8 ++-- .../src/operations/storageAccounts.ts | 8 ++-- .../src/operations/triggers.ts | 15 +++--- .../arm-databoxedge/src/operations/users.ts | 15 +++--- 41 files changed, 180 insertions(+), 116 deletions(-) diff --git a/sdk/databoxedge/arm-databoxedge/LICENSE.txt b/sdk/databoxedge/arm-databoxedge/LICENSE.txt index ea8fb1516028..2d3163745319 100644 --- a/sdk/databoxedge/arm-databoxedge/LICENSE.txt +++ b/sdk/databoxedge/arm-databoxedge/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2020 Microsoft +Copyright (c) 2021 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/databoxedge/arm-databoxedge/README.md b/sdk/databoxedge/arm-databoxedge/README.md index a577fd2649c4..31c750c6b8f5 100644 --- a/sdk/databoxedge/arm-databoxedge/README.md +++ b/sdk/databoxedge/arm-databoxedge/README.md @@ -15,7 +15,7 @@ npm install @azure/arm-databoxedge ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +#### nodejs - client creation and list operations as an example written in TypeScript. ##### Install @azure/ms-rest-nodeauth @@ -26,11 +26,10 @@ 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 { DataBoxEdgeManagementClient, DataBoxEdgeManagementModels, DataBoxEdgeManagementMappers } from "@azure/arm-databoxedge"; +const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +const { DataBoxEdgeManagementClient } = require("@azure/arm-databoxedge"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; msRestNodeAuth.interactiveLogin().then((creds) => { diff --git a/sdk/databoxedge/arm-databoxedge/rollup.config.js b/sdk/databoxedge/arm-databoxedge/rollup.config.js index 2076ead7e852..b182f3e911be 100644 --- a/sdk/databoxedge/arm-databoxedge/rollup.config.js +++ b/sdk/databoxedge/arm-databoxedge/rollup.config.js @@ -21,8 +21,8 @@ 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. diff --git a/sdk/databoxedge/arm-databoxedge/src/dataBoxEdgeManagementClient.ts b/sdk/databoxedge/arm-databoxedge/src/dataBoxEdgeManagementClient.ts index eb7d557efa73..a95d9e93d23e 100644 --- a/sdk/databoxedge/arm-databoxedge/src/dataBoxEdgeManagementClient.ts +++ b/sdk/databoxedge/arm-databoxedge/src/dataBoxEdgeManagementClient.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/databoxedge/arm-databoxedge/src/dataBoxEdgeManagementClientContext.ts b/sdk/databoxedge/arm-databoxedge/src/dataBoxEdgeManagementClientContext.ts index 64e905bd34e6..69819cd0fb2d 100644 --- a/sdk/databoxedge/arm-databoxedge/src/dataBoxEdgeManagementClientContext.ts +++ b/sdk/databoxedge/arm-databoxedge/src/dataBoxEdgeManagementClientContext.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/databoxedge/arm-databoxedge/src/models/alertsMappers.ts b/sdk/databoxedge/arm-databoxedge/src/models/alertsMappers.ts index fd3bcdf1b586..2e3f33600298 100644 --- a/sdk/databoxedge/arm-databoxedge/src/models/alertsMappers.ts +++ b/sdk/databoxedge/arm-databoxedge/src/models/alertsMappers.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/databoxedge/arm-databoxedge/src/models/bandwidthSchedulesMappers.ts b/sdk/databoxedge/arm-databoxedge/src/models/bandwidthSchedulesMappers.ts index f915bde43738..2b418d7533a1 100644 --- a/sdk/databoxedge/arm-databoxedge/src/models/bandwidthSchedulesMappers.ts +++ b/sdk/databoxedge/arm-databoxedge/src/models/bandwidthSchedulesMappers.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/databoxedge/arm-databoxedge/src/models/containersMappers.ts b/sdk/databoxedge/arm-databoxedge/src/models/containersMappers.ts index 8540a4f43389..93909d1ead83 100644 --- a/sdk/databoxedge/arm-databoxedge/src/models/containersMappers.ts +++ b/sdk/databoxedge/arm-databoxedge/src/models/containersMappers.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/databoxedge/arm-databoxedge/src/models/devicesMappers.ts b/sdk/databoxedge/arm-databoxedge/src/models/devicesMappers.ts index e4686b1116a5..a5f3392bf299 100644 --- a/sdk/databoxedge/arm-databoxedge/src/models/devicesMappers.ts +++ b/sdk/databoxedge/arm-databoxedge/src/models/devicesMappers.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/databoxedge/arm-databoxedge/src/models/index.ts b/sdk/databoxedge/arm-databoxedge/src/models/index.ts index 32d02574968f..0fc7662a5065 100644 --- a/sdk/databoxedge/arm-databoxedge/src/models/index.ts +++ b/sdk/databoxedge/arm-databoxedge/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. @@ -1800,6 +1800,28 @@ export interface DevicesListByResourceGroupOptionalParams extends msRest.Request expand?: string; } +/** + * Optional Parameters. + */ +export interface DevicesListBySubscriptionNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify $expand=details to populate additional fields related to the resource or Specify + * $skipToken= to populate the next page in the list. + */ + expand?: string; +} + +/** + * Optional Parameters. + */ +export interface DevicesListByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify $expand=details to populate additional fields related to the resource or Specify + * $skipToken= to populate the next page in the list. + */ + expand?: string; +} + /** * Optional Parameters. */ @@ -1810,6 +1832,16 @@ export interface TriggersListByDataBoxEdgeDeviceOptionalParams extends msRest.Re filter?: string; } +/** + * Optional Parameters. + */ +export interface TriggersListByDataBoxEdgeDeviceNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify $filter='CustomContextTag eq ' to filter on custom context tag property + */ + filter?: string; +} + /** * Optional Parameters. */ @@ -1820,6 +1852,16 @@ export interface UsersListByDataBoxEdgeDeviceOptionalParams extends msRest.Reque filter?: string; } +/** + * Optional Parameters. + */ +export interface UsersListByDataBoxEdgeDeviceNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Specify $filter='UserType eq ' to filter on user type property + */ + filter?: string; +} + /** * Optional Parameters. */ diff --git a/sdk/databoxedge/arm-databoxedge/src/models/jobsMappers.ts b/sdk/databoxedge/arm-databoxedge/src/models/jobsMappers.ts index 0f195ce2be53..18867e1da432 100644 --- a/sdk/databoxedge/arm-databoxedge/src/models/jobsMappers.ts +++ b/sdk/databoxedge/arm-databoxedge/src/models/jobsMappers.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/databoxedge/arm-databoxedge/src/models/mappers.ts b/sdk/databoxedge/arm-databoxedge/src/models/mappers.ts index 3cfe52b682f2..0368dacebf8b 100644 --- a/sdk/databoxedge/arm-databoxedge/src/models/mappers.ts +++ b/sdk/databoxedge/arm-databoxedge/src/models/mappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/databoxedge/arm-databoxedge/src/models/nodesMappers.ts b/sdk/databoxedge/arm-databoxedge/src/models/nodesMappers.ts index f03b310a1e46..bec4ee3ff772 100644 --- a/sdk/databoxedge/arm-databoxedge/src/models/nodesMappers.ts +++ b/sdk/databoxedge/arm-databoxedge/src/models/nodesMappers.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/databoxedge/arm-databoxedge/src/models/operationsMappers.ts b/sdk/databoxedge/arm-databoxedge/src/models/operationsMappers.ts index af4a5e3a1bf6..2848e6d84029 100644 --- a/sdk/databoxedge/arm-databoxedge/src/models/operationsMappers.ts +++ b/sdk/databoxedge/arm-databoxedge/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/databoxedge/arm-databoxedge/src/models/operationsStatusMappers.ts b/sdk/databoxedge/arm-databoxedge/src/models/operationsStatusMappers.ts index 0f195ce2be53..18867e1da432 100644 --- a/sdk/databoxedge/arm-databoxedge/src/models/operationsStatusMappers.ts +++ b/sdk/databoxedge/arm-databoxedge/src/models/operationsStatusMappers.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/databoxedge/arm-databoxedge/src/models/ordersMappers.ts b/sdk/databoxedge/arm-databoxedge/src/models/ordersMappers.ts index f11141788b6e..3c61b28208ea 100644 --- a/sdk/databoxedge/arm-databoxedge/src/models/ordersMappers.ts +++ b/sdk/databoxedge/arm-databoxedge/src/models/ordersMappers.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/databoxedge/arm-databoxedge/src/models/parameters.ts b/sdk/databoxedge/arm-databoxedge/src/models/parameters.ts index 4dbe31a0c020..b39db8092cd1 100644 --- a/sdk/databoxedge/arm-databoxedge/src/models/parameters.ts +++ b/sdk/databoxedge/arm-databoxedge/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/databoxedge/arm-databoxedge/src/models/rolesMappers.ts b/sdk/databoxedge/arm-databoxedge/src/models/rolesMappers.ts index cba36ea7003a..7ab42593e57f 100644 --- a/sdk/databoxedge/arm-databoxedge/src/models/rolesMappers.ts +++ b/sdk/databoxedge/arm-databoxedge/src/models/rolesMappers.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/databoxedge/arm-databoxedge/src/models/sharesMappers.ts b/sdk/databoxedge/arm-databoxedge/src/models/sharesMappers.ts index 603f3c72edac..67f83a7fee93 100644 --- a/sdk/databoxedge/arm-databoxedge/src/models/sharesMappers.ts +++ b/sdk/databoxedge/arm-databoxedge/src/models/sharesMappers.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/databoxedge/arm-databoxedge/src/models/skusMappers.ts b/sdk/databoxedge/arm-databoxedge/src/models/skusMappers.ts index bde0673c7017..43ed0d98fec1 100644 --- a/sdk/databoxedge/arm-databoxedge/src/models/skusMappers.ts +++ b/sdk/databoxedge/arm-databoxedge/src/models/skusMappers.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/databoxedge/arm-databoxedge/src/models/storageAccountCredentialsMappers.ts b/sdk/databoxedge/arm-databoxedge/src/models/storageAccountCredentialsMappers.ts index fe70da1500f3..29454d1ded8a 100644 --- a/sdk/databoxedge/arm-databoxedge/src/models/storageAccountCredentialsMappers.ts +++ b/sdk/databoxedge/arm-databoxedge/src/models/storageAccountCredentialsMappers.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/databoxedge/arm-databoxedge/src/models/storageAccountsMappers.ts b/sdk/databoxedge/arm-databoxedge/src/models/storageAccountsMappers.ts index 75464d8d0b4f..8453374abc84 100644 --- a/sdk/databoxedge/arm-databoxedge/src/models/storageAccountsMappers.ts +++ b/sdk/databoxedge/arm-databoxedge/src/models/storageAccountsMappers.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/databoxedge/arm-databoxedge/src/models/triggersMappers.ts b/sdk/databoxedge/arm-databoxedge/src/models/triggersMappers.ts index 6851ac5d88ac..1c0f1eed0d3a 100644 --- a/sdk/databoxedge/arm-databoxedge/src/models/triggersMappers.ts +++ b/sdk/databoxedge/arm-databoxedge/src/models/triggersMappers.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/databoxedge/arm-databoxedge/src/models/usersMappers.ts b/sdk/databoxedge/arm-databoxedge/src/models/usersMappers.ts index f0d6bae872b2..5f4ba0bc8e3c 100644 --- a/sdk/databoxedge/arm-databoxedge/src/models/usersMappers.ts +++ b/sdk/databoxedge/arm-databoxedge/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/databoxedge/arm-databoxedge/src/operations/alerts.ts b/sdk/databoxedge/arm-databoxedge/src/operations/alerts.ts index efee17c9614d..7e1eaa5f1f20 100644 --- a/sdk/databoxedge/arm-databoxedge/src/operations/alerts.ts +++ b/sdk/databoxedge/arm-databoxedge/src/operations/alerts.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 @@ -183,6 +182,9 @@ const listByDataBoxEdgeDeviceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/databoxedge/arm-databoxedge/src/operations/bandwidthSchedules.ts b/sdk/databoxedge/arm-databoxedge/src/operations/bandwidthSchedules.ts index 7c4b6aea7abd..57a41a58cb40 100644 --- a/sdk/databoxedge/arm-databoxedge/src/operations/bandwidthSchedules.ts +++ b/sdk/databoxedge/arm-databoxedge/src/operations/bandwidthSchedules.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 @@ -313,6 +312,9 @@ const listByDataBoxEdgeDeviceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/databoxedge/arm-databoxedge/src/operations/containers.ts b/sdk/databoxedge/arm-databoxedge/src/operations/containers.ts index 95e47ec04154..8767c4b61e32 100644 --- a/sdk/databoxedge/arm-databoxedge/src/operations/containers.ts +++ b/sdk/databoxedge/arm-databoxedge/src/operations/containers.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,6 +393,9 @@ const listByStorageAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/databoxedge/arm-databoxedge/src/operations/devices.ts b/sdk/databoxedge/arm-databoxedge/src/operations/devices.ts index e90235ad40f6..0f6a3876940a 100644 --- a/sdk/databoxedge/arm-databoxedge/src/operations/devices.ts +++ b/sdk/databoxedge/arm-databoxedge/src/operations/devices.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 @@ -472,7 +471,7 @@ export class Devices { * @param [options] The optional parameters * @returns Promise */ - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listBySubscriptionNext(nextPageLink: string, options?: Models.DevicesListBySubscriptionNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -483,8 +482,8 @@ export class Devices { * @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.DevicesListBySubscriptionNextOptionalParams, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: Models.DevicesListBySubscriptionNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -500,7 +499,7 @@ export class Devices { * @param [options] The optional parameters * @returns Promise */ - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByResourceGroupNext(nextPageLink: string, options?: Models.DevicesListByResourceGroupNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -511,8 +510,8 @@ export class Devices { * @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.DevicesListByResourceGroupNextOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: Models.DevicesListByResourceGroupNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -905,6 +904,10 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.expand + ], headerParameters: [ Parameters.acceptLanguage ], @@ -926,6 +929,10 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.expand + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/databoxedge/arm-databoxedge/src/operations/index.ts b/sdk/databoxedge/arm-databoxedge/src/operations/index.ts index 70c72cf33126..ff8cd85bb112 100644 --- a/sdk/databoxedge/arm-databoxedge/src/operations/index.ts +++ b/sdk/databoxedge/arm-databoxedge/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/databoxedge/arm-databoxedge/src/operations/jobs.ts b/sdk/databoxedge/arm-databoxedge/src/operations/jobs.ts index c5ce0b5b04bd..62743e305c3c 100644 --- a/sdk/databoxedge/arm-databoxedge/src/operations/jobs.ts +++ b/sdk/databoxedge/arm-databoxedge/src/operations/jobs.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/databoxedge/arm-databoxedge/src/operations/nodes.ts b/sdk/databoxedge/arm-databoxedge/src/operations/nodes.ts index 1ec2ea69128f..cb9c8479962e 100644 --- a/sdk/databoxedge/arm-databoxedge/src/operations/nodes.ts +++ b/sdk/databoxedge/arm-databoxedge/src/operations/nodes.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/databoxedge/arm-databoxedge/src/operations/operations.ts b/sdk/databoxedge/arm-databoxedge/src/operations/operations.ts index 2b80ef77c415..2d93a6b1515b 100644 --- a/sdk/databoxedge/arm-databoxedge/src/operations/operations.ts +++ b/sdk/databoxedge/arm-databoxedge/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 @@ -108,6 +107,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/databoxedge/arm-databoxedge/src/operations/operationsStatus.ts b/sdk/databoxedge/arm-databoxedge/src/operations/operationsStatus.ts index d8a2994ebc5b..8ae899e87b5a 100644 --- a/sdk/databoxedge/arm-databoxedge/src/operations/operationsStatus.ts +++ b/sdk/databoxedge/arm-databoxedge/src/operations/operationsStatus.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/databoxedge/arm-databoxedge/src/operations/orders.ts b/sdk/databoxedge/arm-databoxedge/src/operations/orders.ts index 42da15c6a1d1..a8dbb013fe88 100644 --- a/sdk/databoxedge/arm-databoxedge/src/operations/orders.ts +++ b/sdk/databoxedge/arm-databoxedge/src/operations/orders.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 @@ -300,6 +299,9 @@ const listByDataBoxEdgeDeviceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/databoxedge/arm-databoxedge/src/operations/roles.ts b/sdk/databoxedge/arm-databoxedge/src/operations/roles.ts index bbde415fc14f..dc43262d677f 100644 --- a/sdk/databoxedge/arm-databoxedge/src/operations/roles.ts +++ b/sdk/databoxedge/arm-databoxedge/src/operations/roles.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 @@ -313,6 +312,9 @@ const listByDataBoxEdgeDeviceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/databoxedge/arm-databoxedge/src/operations/shares.ts b/sdk/databoxedge/arm-databoxedge/src/operations/shares.ts index 39d13d53d5b5..cc0aaecde16f 100644 --- a/sdk/databoxedge/arm-databoxedge/src/operations/shares.ts +++ b/sdk/databoxedge/arm-databoxedge/src/operations/shares.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 @@ -371,6 +370,9 @@ const listByDataBoxEdgeDeviceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/databoxedge/arm-databoxedge/src/operations/skus.ts b/sdk/databoxedge/arm-databoxedge/src/operations/skus.ts index 0978d6df11a6..f3037e4603ea 100644 --- a/sdk/databoxedge/arm-databoxedge/src/operations/skus.ts +++ b/sdk/databoxedge/arm-databoxedge/src/operations/skus.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/databoxedge/arm-databoxedge/src/operations/storageAccountCredentials.ts b/sdk/databoxedge/arm-databoxedge/src/operations/storageAccountCredentials.ts index da22d4710ab4..0e85c61945c5 100644 --- a/sdk/databoxedge/arm-databoxedge/src/operations/storageAccountCredentials.ts +++ b/sdk/databoxedge/arm-databoxedge/src/operations/storageAccountCredentials.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 @@ -313,6 +312,9 @@ const listByDataBoxEdgeDeviceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/databoxedge/arm-databoxedge/src/operations/storageAccounts.ts b/sdk/databoxedge/arm-databoxedge/src/operations/storageAccounts.ts index 3bb7576b410c..fe54b67bdd6c 100644 --- a/sdk/databoxedge/arm-databoxedge/src/operations/storageAccounts.ts +++ b/sdk/databoxedge/arm-databoxedge/src/operations/storageAccounts.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 @@ -312,6 +311,9 @@ const listByDataBoxEdgeDeviceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/databoxedge/arm-databoxedge/src/operations/triggers.ts b/sdk/databoxedge/arm-databoxedge/src/operations/triggers.ts index eac6491364c7..c8e40cd00c2f 100644 --- a/sdk/databoxedge/arm-databoxedge/src/operations/triggers.ts +++ b/sdk/databoxedge/arm-databoxedge/src/operations/triggers.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 @@ -170,7 +169,7 @@ export class Triggers { * @param [options] The optional parameters * @returns Promise */ - listByDataBoxEdgeDeviceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByDataBoxEdgeDeviceNext(nextPageLink: string, options?: Models.TriggersListByDataBoxEdgeDeviceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -181,8 +180,8 @@ export class Triggers { * @param options The optional parameters * @param callback The callback */ - listByDataBoxEdgeDeviceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByDataBoxEdgeDeviceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByDataBoxEdgeDeviceNext(nextPageLink: string, options: Models.TriggersListByDataBoxEdgeDeviceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByDataBoxEdgeDeviceNext(nextPageLink: string, options?: Models.TriggersListByDataBoxEdgeDeviceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -314,6 +313,10 @@ const listByDataBoxEdgeDeviceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.filter + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/databoxedge/arm-databoxedge/src/operations/users.ts b/sdk/databoxedge/arm-databoxedge/src/operations/users.ts index 4cb6ad492aa5..56c768866c1c 100644 --- a/sdk/databoxedge/arm-databoxedge/src/operations/users.ts +++ b/sdk/databoxedge/arm-databoxedge/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 @@ -172,7 +171,7 @@ export class Users { * @param [options] The optional parameters * @returns Promise */ - listByDataBoxEdgeDeviceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByDataBoxEdgeDeviceNext(nextPageLink: string, options?: Models.UsersListByDataBoxEdgeDeviceNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -183,8 +182,8 @@ export class Users { * @param options The optional parameters * @param callback The callback */ - listByDataBoxEdgeDeviceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByDataBoxEdgeDeviceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByDataBoxEdgeDeviceNext(nextPageLink: string, options: Models.UsersListByDataBoxEdgeDeviceNextOptionalParams, callback: msRest.ServiceCallback): void; + listByDataBoxEdgeDeviceNext(nextPageLink: string, options?: Models.UsersListByDataBoxEdgeDeviceNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -316,6 +315,10 @@ const listByDataBoxEdgeDeviceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.filter + ], headerParameters: [ Parameters.acceptLanguage ],