From ee2104142dd15eb2febd23f562bdb41fba766662 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 4 Jan 2021 08:20:57 +0000 Subject: [PATCH] CodeGen from PR 11628 in Azure/azure-rest-api-specs add automation track2 config (#11628) * add automation track2 config * update config --- sdk/automation/arm-automation/LICENSE.txt | 2 +- sdk/automation/arm-automation/README.md | 9 +- .../arm-automation/rollup.config.js | 4 +- .../arm-automation/src/automationClient.ts | 11 +- .../src/automationClientContext.ts | 14 +- .../src/models/activityOperationsMappers.ts | 4 +- .../agentRegistrationInformationMappers.ts | 4 +- .../automationAccountOperationsMappers.ts | 4 +- .../models/certificateOperationsMappers.ts | 4 +- .../src/models/connectionOperationsMappers.ts | 4 +- .../models/connectionTypeOperationsMappers.ts | 4 +- .../src/models/credentialOperationsMappers.ts | 4 +- .../dscCompilationJobOperationsMappers.ts | 4 +- .../models/dscCompilationJobStreamMappers.ts | 4 +- .../dscConfigurationOperationsMappers.ts | 4 +- .../dscNodeConfigurationOperationsMappers.ts | 4 +- .../src/models/dscNodeOperationsMappers.ts | 4 +- .../src/models/fieldsMappers.ts | 4 +- ...bridRunbookWorkerGroupOperationsMappers.ts | 4 +- .../arm-automation/src/models/index.ts | 197 +++++++++++++++++- .../src/models/jobOperationsMappers.ts | 4 +- .../models/jobScheduleOperationsMappers.ts | 4 +- .../src/models/jobStreamOperationsMappers.ts | 4 +- .../arm-automation/src/models/keysMappers.ts | 4 +- .../linkedWorkspaceOperationsMappers.ts | 4 +- .../arm-automation/src/models/mappers.ts | 4 +- .../src/models/moduleOperationsMappers.ts | 4 +- .../src/models/nodeCountInformationMappers.ts | 4 +- .../src/models/nodeReportsMappers.ts | 4 +- .../src/models/objectDataTypesMappers.ts | 4 +- .../src/models/operationsMappers.ts | 4 +- .../arm-automation/src/models/parameters.ts | 5 +- .../src/models/python2PackageMappers.ts | 4 +- .../models/runbookDraftOperationsMappers.ts | 4 +- .../src/models/runbookOperationsMappers.ts | 4 +- .../src/models/scheduleOperationsMappers.ts | 4 +- ...reUpdateConfigurationMachineRunsMappers.ts | 4 +- .../softwareUpdateConfigurationRunsMappers.ts | 4 +- .../softwareUpdateConfigurationsMappers.ts | 4 +- .../models/sourceControlOperationsMappers.ts | 4 +- .../sourceControlSyncJobOperationsMappers.ts | 4 +- .../sourceControlSyncJobStreamsMappers.ts | 4 +- .../src/models/statisticsOperationsMappers.ts | 4 +- .../src/models/testJobOperationsMappers.ts | 4 +- .../src/models/testJobStreamsMappers.ts | 4 +- .../src/models/usagesMappers.ts | 4 +- .../src/models/variableOperationsMappers.ts | 4 +- .../src/models/watcherOperationsMappers.ts | 4 +- .../src/models/webhookOperationsMappers.ts | 4 +- .../src/operations/activityOperations.ts | 8 +- .../agentRegistrationInformation.ts | 5 +- .../operations/automationAccountOperations.ts | 11 +- .../src/operations/certificateOperations.ts | 8 +- .../src/operations/connectionOperations.ts | 8 +- .../operations/connectionTypeOperations.ts | 8 +- .../src/operations/credentialOperations.ts | 8 +- .../operations/dscCompilationJobOperations.ts | 25 ++- .../src/operations/dscCompilationJobStream.ts | 5 +- .../operations/dscConfigurationOperations.ts | 18 +- .../dscNodeConfigurationOperations.ts | 18 +- .../src/operations/dscNodeOperations.ts | 18 +- .../arm-automation/src/operations/fields.ts | 5 +- .../hybridRunbookWorkerGroupOperations.ts | 15 +- .../arm-automation/src/operations/index.ts | 5 +- .../src/operations/jobOperations.ts | 9 +- .../src/operations/jobScheduleOperations.ts | 15 +- .../src/operations/jobStreamOperations.ts | 9 +- .../arm-automation/src/operations/keys.ts | 5 +- .../operations/linkedWorkspaceOperations.ts | 5 +- .../src/operations/moduleOperations.ts | 8 +- .../src/operations/nodeCountInformation.ts | 20 +- .../src/operations/nodeReports.ts | 15 +- .../src/operations/objectDataTypes.ts | 5 +- .../src/operations/operations.ts | 5 +- .../src/operations/python2Package.ts | 8 +- .../src/operations/runbookDraftOperations.ts | 8 +- .../src/operations/runbookOperations.ts | 11 +- .../src/operations/scheduleOperations.ts | 8 +- .../softwareUpdateConfigurationMachineRuns.ts | 5 +- .../softwareUpdateConfigurationRuns.ts | 5 +- .../softwareUpdateConfigurations.ts | 5 +- .../src/operations/sourceControlOperations.ts | 15 +- .../sourceControlSyncJobOperations.ts | 15 +- .../operations/sourceControlSyncJobStreams.ts | 15 +- .../src/operations/statisticsOperations.ts | 5 +- .../src/operations/testJobOperations.ts | 5 +- .../src/operations/testJobStreams.ts | 15 +- .../arm-automation/src/operations/usages.ts | 5 +- .../src/operations/variableOperations.ts | 8 +- .../src/operations/watcherOperations.ts | 15 +- .../src/operations/webhookOperations.ts | 15 +- 91 files changed, 534 insertions(+), 300 deletions(-) diff --git a/sdk/automation/arm-automation/LICENSE.txt b/sdk/automation/arm-automation/LICENSE.txt index ea8fb1516028..2d3163745319 100644 --- a/sdk/automation/arm-automation/LICENSE.txt +++ b/sdk/automation/arm-automation/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/automation/arm-automation/README.md b/sdk/automation/arm-automation/README.md index 50b1d40caaa1..15fee982401a 100644 --- a/sdk/automation/arm-automation/README.md +++ b/sdk/automation/arm-automation/README.md @@ -15,7 +15,7 @@ npm install @azure/arm-automation ### How to use -#### nodejs - Authentication, client creation and get automationAccount as an example written in TypeScript. +#### nodejs - client creation and get automationAccount 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 { AutomationClient, AutomationModels, AutomationMappers } from "@azure/arm-automation"; +const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +const { AutomationClient } = require("@azure/arm-automation"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; msRestNodeAuth.interactiveLogin().then((creds) => { diff --git a/sdk/automation/arm-automation/rollup.config.js b/sdk/automation/arm-automation/rollup.config.js index 7097ac2c5479..a99734ee4013 100644 --- a/sdk/automation/arm-automation/rollup.config.js +++ b/sdk/automation/arm-automation/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/automation/arm-automation/src/automationClient.ts b/sdk/automation/arm-automation/src/automationClient.ts index 4290b4b4a1c7..379c4d8c57f8 100644 --- a/sdk/automation/arm-automation/src/automationClient.ts +++ b/sdk/automation/arm-automation/src/automationClient.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,12 +63,10 @@ class AutomationClient extends AutomationClientContext { * @param credentials Credentials needed for the client to connect to Azure. * @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. - * @param countType1 The type of counts to retrieve. Possible values include: 'status', - * 'nodeconfiguration' * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, countType1: Models.CountType, options?: Models.AutomationClientOptions) { - super(credentials, subscriptionId, countType1, options); + constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AutomationClientOptions) { + super(credentials, subscriptionId, options); this.automationAccount = new operations.AutomationAccountOperations(this); this.operations = new operations.Operations(this); this.statistics = new operations.StatisticsOperations(this); diff --git a/sdk/automation/arm-automation/src/automationClientContext.ts b/sdk/automation/arm-automation/src/automationClientContext.ts index 52193c535a17..dfd49fd6a802 100644 --- a/sdk/automation/arm-automation/src/automationClientContext.ts +++ b/sdk/automation/arm-automation/src/automationClientContext.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 @@ -18,27 +17,21 @@ const packageVersion = "10.0.0"; export class AutomationClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; subscriptionId: string; - countType1: Models.CountType; /** * Initializes a new instance of the AutomationClient class. * @param credentials Credentials needed for the client to connect to Azure. * @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. - * @param countType1 The type of counts to retrieve. Possible values include: 'status', - * 'nodeconfiguration' * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, countType1: Models.CountType, options?: Models.AutomationClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AutomationClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } if (subscriptionId == undefined) { throw new Error('\'subscriptionId\' cannot be null.'); } - if (countType1 == undefined) { - throw new Error('\'countType1\' cannot be null.'); - } if (!options) { options = {}; @@ -56,7 +49,6 @@ export class AutomationClientContext extends msRestAzure.AzureServiceClient { this.requestContentType = "application/json; charset=utf-8"; this.credentials = credentials; this.subscriptionId = subscriptionId; - this.countType1 = countType1; if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; diff --git a/sdk/automation/arm-automation/src/models/activityOperationsMappers.ts b/sdk/automation/arm-automation/src/models/activityOperationsMappers.ts index bb6adcb61b3a..d9c1a4fe58b5 100644 --- a/sdk/automation/arm-automation/src/models/activityOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/activityOperationsMappers.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/automation/arm-automation/src/models/agentRegistrationInformationMappers.ts b/sdk/automation/arm-automation/src/models/agentRegistrationInformationMappers.ts index a818750efdea..15af9d036bdd 100644 --- a/sdk/automation/arm-automation/src/models/agentRegistrationInformationMappers.ts +++ b/sdk/automation/arm-automation/src/models/agentRegistrationInformationMappers.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/automation/arm-automation/src/models/automationAccountOperationsMappers.ts b/sdk/automation/arm-automation/src/models/automationAccountOperationsMappers.ts index 9db210f872d7..c28324d670a5 100644 --- a/sdk/automation/arm-automation/src/models/automationAccountOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/automationAccountOperationsMappers.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/automation/arm-automation/src/models/certificateOperationsMappers.ts b/sdk/automation/arm-automation/src/models/certificateOperationsMappers.ts index 45e0e9b28568..4e66fc165149 100644 --- a/sdk/automation/arm-automation/src/models/certificateOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/certificateOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/automation/arm-automation/src/models/connectionOperationsMappers.ts b/sdk/automation/arm-automation/src/models/connectionOperationsMappers.ts index 59ddcbcc2d76..95fedec54e8e 100644 --- a/sdk/automation/arm-automation/src/models/connectionOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/connectionOperationsMappers.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/automation/arm-automation/src/models/connectionTypeOperationsMappers.ts b/sdk/automation/arm-automation/src/models/connectionTypeOperationsMappers.ts index 1898c204b472..ddc4456877ee 100644 --- a/sdk/automation/arm-automation/src/models/connectionTypeOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/connectionTypeOperationsMappers.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/automation/arm-automation/src/models/credentialOperationsMappers.ts b/sdk/automation/arm-automation/src/models/credentialOperationsMappers.ts index 822830b5526a..75eff1210da2 100644 --- a/sdk/automation/arm-automation/src/models/credentialOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/credentialOperationsMappers.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/automation/arm-automation/src/models/dscCompilationJobOperationsMappers.ts b/sdk/automation/arm-automation/src/models/dscCompilationJobOperationsMappers.ts index 34bf9bd707cc..f76714e7d660 100644 --- a/sdk/automation/arm-automation/src/models/dscCompilationJobOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/dscCompilationJobOperationsMappers.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/automation/arm-automation/src/models/dscCompilationJobStreamMappers.ts b/sdk/automation/arm-automation/src/models/dscCompilationJobStreamMappers.ts index f1dfce049084..43103a1124b7 100644 --- a/sdk/automation/arm-automation/src/models/dscCompilationJobStreamMappers.ts +++ b/sdk/automation/arm-automation/src/models/dscCompilationJobStreamMappers.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/automation/arm-automation/src/models/dscConfigurationOperationsMappers.ts b/sdk/automation/arm-automation/src/models/dscConfigurationOperationsMappers.ts index e47dd3138098..a20d55cdf04c 100644 --- a/sdk/automation/arm-automation/src/models/dscConfigurationOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/dscConfigurationOperationsMappers.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/automation/arm-automation/src/models/dscNodeConfigurationOperationsMappers.ts b/sdk/automation/arm-automation/src/models/dscNodeConfigurationOperationsMappers.ts index 3639503eafb1..283f399eae66 100644 --- a/sdk/automation/arm-automation/src/models/dscNodeConfigurationOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/dscNodeConfigurationOperationsMappers.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/automation/arm-automation/src/models/dscNodeOperationsMappers.ts b/sdk/automation/arm-automation/src/models/dscNodeOperationsMappers.ts index a460c95c74da..1759ff163950 100644 --- a/sdk/automation/arm-automation/src/models/dscNodeOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/dscNodeOperationsMappers.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/automation/arm-automation/src/models/fieldsMappers.ts b/sdk/automation/arm-automation/src/models/fieldsMappers.ts index c7bfc9962409..8e53ef7ca338 100644 --- a/sdk/automation/arm-automation/src/models/fieldsMappers.ts +++ b/sdk/automation/arm-automation/src/models/fieldsMappers.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/automation/arm-automation/src/models/hybridRunbookWorkerGroupOperationsMappers.ts b/sdk/automation/arm-automation/src/models/hybridRunbookWorkerGroupOperationsMappers.ts index 970994a2278e..3fe453005fdb 100644 --- a/sdk/automation/arm-automation/src/models/hybridRunbookWorkerGroupOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/hybridRunbookWorkerGroupOperationsMappers.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/automation/arm-automation/src/models/index.ts b/sdk/automation/arm-automation/src/models/index.ts index 82d6caabc48f..5b889eccdb59 100644 --- a/sdk/automation/arm-automation/src/models/index.ts +++ b/sdk/automation/arm-automation/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. @@ -1286,7 +1286,8 @@ export interface ScheduleCreateOrUpdateParameters { */ interval?: any; /** - * Possible values include: 'OneTime', 'Day', 'Hour', 'Week', 'Month' + * Gets or sets the frequency of the schedule. Possible values include: 'OneTime', 'Day', 'Hour', + * 'Week', 'Month', 'Minute' */ frequency: ScheduleFrequency; /** @@ -1338,7 +1339,7 @@ export interface ScheduleProperties { interval?: number; /** * Gets or sets the frequency of the schedule. Possible values include: 'OneTime', 'Day', 'Hour', - * 'Week', 'Month' + * 'Week', 'Month', 'Minute' */ frequency?: ScheduleFrequency; /** @@ -1402,7 +1403,7 @@ export interface Schedule extends ProxyResource { interval?: number; /** * Gets or sets the frequency of the schedule. Possible values include: 'OneTime', 'Day', 'Hour', - * 'Week', 'Month' + * 'Week', 'Month', 'Minute' */ frequency?: ScheduleFrequency; /** @@ -1956,7 +1957,7 @@ export interface SoftwareUpdateConfigurationCollectionItem { updateConfiguration?: CollectionItemUpdateConfiguration; /** * execution frequency of the schedule associated with the software update configuration. - * Possible values include: 'OneTime', 'Day', 'Hour', 'Week', 'Month' + * Possible values include: 'OneTime', 'Day', 'Hour', 'Week', 'Month', 'Minute' */ frequency?: ScheduleFrequency; /** @@ -3633,7 +3634,29 @@ export interface DscConfigurationListByAutomationAccountOptionalParams extends m */ skip?: number; /** - * The the number of rows to take. + * The number of rows to take. + */ + top?: number; + /** + * Return total rows. + */ + inlinecount?: string; +} + +/** + * Optional Parameters. + */ +export interface DscConfigurationListByAutomationAccountNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The filter to apply on the operation. + */ + filter?: string; + /** + * The number of rows to skip. + */ + skip?: number; + /** + * The number of rows to take. */ top?: number; /** @@ -3652,6 +3675,16 @@ export interface HybridRunbookWorkerGroupListByAutomationAccountOptionalParams e filter?: string; } +/** + * Optional Parameters. + */ +export interface HybridRunbookWorkerGroupListByAutomationAccountNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The filter to apply on the operation. + */ + filter?: string; +} + /** * Optional Parameters. */ @@ -3662,6 +3695,16 @@ export interface JobScheduleListByAutomationAccountOptionalParams extends msRest filter?: string; } +/** + * Optional Parameters. + */ +export interface JobScheduleListByAutomationAccountNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The filter to apply on the operation. + */ + filter?: string; +} + /** * Optional Parameters. */ @@ -3672,6 +3715,16 @@ export interface WebhookListByAutomationAccountOptionalParams extends msRest.Req filter?: string; } +/** + * Optional Parameters. + */ +export interface WebhookListByAutomationAccountNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The filter to apply on the operation. + */ + filter?: string; +} + /** * Optional Parameters. */ @@ -3682,6 +3735,16 @@ export interface WatcherListByAutomationAccountOptionalParams extends msRest.Req filter?: string; } +/** + * Optional Parameters. + */ +export interface WatcherListByAutomationAccountNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The filter to apply on the operation. + */ + filter?: string; +} + /** * Optional Parameters. */ @@ -3802,6 +3865,16 @@ export interface SourceControlListByAutomationAccountOptionalParams extends msRe filter?: string; } +/** + * Optional Parameters. + */ +export interface SourceControlListByAutomationAccountNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The filter to apply on the operation. + */ + filter?: string; +} + /** * Optional Parameters. */ @@ -3812,6 +3885,16 @@ export interface SourceControlSyncJobListByAutomationAccountOptionalParams exten filter?: string; } +/** + * Optional Parameters. + */ +export interface SourceControlSyncJobListByAutomationAccountNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The filter to apply on the operation. + */ + filter?: string; +} + /** * Optional Parameters. */ @@ -3822,6 +3905,16 @@ export interface SourceControlSyncJobStreamsListBySyncJobOptionalParams extends filter?: string; } +/** + * Optional Parameters. + */ +export interface SourceControlSyncJobStreamsListBySyncJobNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The filter to apply on the operation. + */ + filter?: string; +} + /** * Optional Parameters. */ @@ -3910,6 +4003,10 @@ export interface JobResumeOptionalParams extends msRest.RequestOptionsBase { * Optional Parameters. */ export interface JobListByAutomationAccountNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The filter to apply on the operation. + */ + filter?: string; /** * Identifies this specific client request. */ @@ -3944,6 +4041,10 @@ export interface JobStreamListByJobOptionalParams extends msRest.RequestOptionsB * Optional Parameters. */ export interface JobStreamListByJobNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The filter to apply on the operation. + */ + filter?: string; /** * Identifies this specific client request. */ @@ -3963,7 +4064,29 @@ export interface DscNodeListByAutomationAccountOptionalParams extends msRest.Req */ skip?: number; /** - * The the number of rows to take. + * The number of rows to take. + */ + top?: number; + /** + * Return total rows. + */ + inlinecount?: string; +} + +/** + * Optional Parameters. + */ +export interface DscNodeListByAutomationAccountNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The filter to apply on the operation. + */ + filter?: string; + /** + * The number of rows to skip. + */ + skip?: number; + /** + * The number of rows to take. */ top?: number; /** @@ -3982,6 +4105,16 @@ export interface NodeReportsListByNodeOptionalParams extends msRest.RequestOptio filter?: string; } +/** + * Optional Parameters. + */ +export interface NodeReportsListByNodeNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The filter to apply on the operation. + */ + filter?: string; +} + /** * Optional Parameters. */ @@ -3992,6 +4125,16 @@ export interface DscCompilationJobListByAutomationAccountOptionalParams extends filter?: string; } +/** + * Optional Parameters. + */ +export interface DscCompilationJobListByAutomationAccountNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The filter to apply on the operation. + */ + filter?: string; +} + /** * Optional Parameters. */ @@ -4005,7 +4148,29 @@ export interface DscNodeConfigurationListByAutomationAccountOptionalParams exten */ skip?: number; /** - * The the number of rows to take. + * The number of rows to take. + */ + top?: number; + /** + * Return total rows. + */ + inlinecount?: string; +} + +/** + * Optional Parameters. + */ +export interface DscNodeConfigurationListByAutomationAccountNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The filter to apply on the operation. + */ + filter?: string; + /** + * The number of rows to skip. + */ + skip?: number; + /** + * The number of rows to take. */ top?: number; /** @@ -4024,6 +4189,16 @@ export interface TestJobStreamsListByTestJobOptionalParams extends msRest.Reques filter?: string; } +/** + * Optional Parameters. + */ +export interface TestJobStreamsListByTestJobNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The filter to apply on the operation. + */ + filter?: string; +} + /** * An interface representing AutomationClientOptions. */ @@ -4471,11 +4646,11 @@ export type ScheduleDay = 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Fri /** * Defines values for ScheduleFrequency. - * Possible values include: 'OneTime', 'Day', 'Hour', 'Week', 'Month' + * Possible values include: 'OneTime', 'Day', 'Hour', 'Week', 'Month', 'Minute' * @readonly * @enum {string} */ -export type ScheduleFrequency = 'OneTime' | 'Day' | 'Hour' | 'Week' | 'Month'; +export type ScheduleFrequency = 'OneTime' | 'Day' | 'Hour' | 'Week' | 'Month' | 'Minute'; /** * Defines values for OperatingSystemType. diff --git a/sdk/automation/arm-automation/src/models/jobOperationsMappers.ts b/sdk/automation/arm-automation/src/models/jobOperationsMappers.ts index c454aab004a3..771fbc46424c 100644 --- a/sdk/automation/arm-automation/src/models/jobOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/jobOperationsMappers.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/automation/arm-automation/src/models/jobScheduleOperationsMappers.ts b/sdk/automation/arm-automation/src/models/jobScheduleOperationsMappers.ts index d34c750a6e68..35a51de3c099 100644 --- a/sdk/automation/arm-automation/src/models/jobScheduleOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/jobScheduleOperationsMappers.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/automation/arm-automation/src/models/jobStreamOperationsMappers.ts b/sdk/automation/arm-automation/src/models/jobStreamOperationsMappers.ts index f1dfce049084..43103a1124b7 100644 --- a/sdk/automation/arm-automation/src/models/jobStreamOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/jobStreamOperationsMappers.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/automation/arm-automation/src/models/keysMappers.ts b/sdk/automation/arm-automation/src/models/keysMappers.ts index 0e67095af658..09f41e06e5fb 100644 --- a/sdk/automation/arm-automation/src/models/keysMappers.ts +++ b/sdk/automation/arm-automation/src/models/keysMappers.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/automation/arm-automation/src/models/linkedWorkspaceOperationsMappers.ts b/sdk/automation/arm-automation/src/models/linkedWorkspaceOperationsMappers.ts index 95e9f276fc47..b4af1249df2d 100644 --- a/sdk/automation/arm-automation/src/models/linkedWorkspaceOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/linkedWorkspaceOperationsMappers.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/automation/arm-automation/src/models/mappers.ts b/sdk/automation/arm-automation/src/models/mappers.ts index 476881218cdf..00e40b8618c0 100644 --- a/sdk/automation/arm-automation/src/models/mappers.ts +++ b/sdk/automation/arm-automation/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/automation/arm-automation/src/models/moduleOperationsMappers.ts b/sdk/automation/arm-automation/src/models/moduleOperationsMappers.ts index 2753e228b7a2..547a549d5b53 100644 --- a/sdk/automation/arm-automation/src/models/moduleOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/moduleOperationsMappers.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/automation/arm-automation/src/models/nodeCountInformationMappers.ts b/sdk/automation/arm-automation/src/models/nodeCountInformationMappers.ts index f4c0b55bdb86..f1165ef6ed2f 100644 --- a/sdk/automation/arm-automation/src/models/nodeCountInformationMappers.ts +++ b/sdk/automation/arm-automation/src/models/nodeCountInformationMappers.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/automation/arm-automation/src/models/nodeReportsMappers.ts b/sdk/automation/arm-automation/src/models/nodeReportsMappers.ts index 82fbc726d4d6..eb45d2cb8341 100644 --- a/sdk/automation/arm-automation/src/models/nodeReportsMappers.ts +++ b/sdk/automation/arm-automation/src/models/nodeReportsMappers.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/automation/arm-automation/src/models/objectDataTypesMappers.ts b/sdk/automation/arm-automation/src/models/objectDataTypesMappers.ts index c7bfc9962409..8e53ef7ca338 100644 --- a/sdk/automation/arm-automation/src/models/objectDataTypesMappers.ts +++ b/sdk/automation/arm-automation/src/models/objectDataTypesMappers.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/automation/arm-automation/src/models/operationsMappers.ts b/sdk/automation/arm-automation/src/models/operationsMappers.ts index b8de8606cf9d..3e8e33c6f2bd 100644 --- a/sdk/automation/arm-automation/src/models/operationsMappers.ts +++ b/sdk/automation/arm-automation/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/automation/arm-automation/src/models/parameters.ts b/sdk/automation/arm-automation/src/models/parameters.ts index 48dbbc8df44f..36a1f189e27d 100644 --- a/sdk/automation/arm-automation/src/models/parameters.ts +++ b/sdk/automation/arm-automation/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/automation/arm-automation/src/models/python2PackageMappers.ts b/sdk/automation/arm-automation/src/models/python2PackageMappers.ts index aaa3208acc4c..2a8bcf083001 100644 --- a/sdk/automation/arm-automation/src/models/python2PackageMappers.ts +++ b/sdk/automation/arm-automation/src/models/python2PackageMappers.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/automation/arm-automation/src/models/runbookDraftOperationsMappers.ts b/sdk/automation/arm-automation/src/models/runbookDraftOperationsMappers.ts index 68582951b026..435ada905220 100644 --- a/sdk/automation/arm-automation/src/models/runbookDraftOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/runbookDraftOperationsMappers.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/automation/arm-automation/src/models/runbookOperationsMappers.ts b/sdk/automation/arm-automation/src/models/runbookOperationsMappers.ts index 2f5f76a1bf92..d52a26cc1748 100644 --- a/sdk/automation/arm-automation/src/models/runbookOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/runbookOperationsMappers.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/automation/arm-automation/src/models/scheduleOperationsMappers.ts b/sdk/automation/arm-automation/src/models/scheduleOperationsMappers.ts index c8932eee0df6..028b944085bc 100644 --- a/sdk/automation/arm-automation/src/models/scheduleOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/scheduleOperationsMappers.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/automation/arm-automation/src/models/softwareUpdateConfigurationMachineRunsMappers.ts b/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationMachineRunsMappers.ts index fded41e478a2..8d5d26d5d195 100644 --- a/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationMachineRunsMappers.ts +++ b/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationMachineRunsMappers.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/automation/arm-automation/src/models/softwareUpdateConfigurationRunsMappers.ts b/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationRunsMappers.ts index b10b45a54021..d8b8d5114c29 100644 --- a/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationRunsMappers.ts +++ b/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationRunsMappers.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/automation/arm-automation/src/models/softwareUpdateConfigurationsMappers.ts b/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationsMappers.ts index 4b50eb050c5a..333756afe79b 100644 --- a/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/softwareUpdateConfigurationsMappers.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/automation/arm-automation/src/models/sourceControlOperationsMappers.ts b/sdk/automation/arm-automation/src/models/sourceControlOperationsMappers.ts index 23592d2f9549..cd57f4ffac50 100644 --- a/sdk/automation/arm-automation/src/models/sourceControlOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/sourceControlOperationsMappers.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/automation/arm-automation/src/models/sourceControlSyncJobOperationsMappers.ts b/sdk/automation/arm-automation/src/models/sourceControlSyncJobOperationsMappers.ts index 7df3a65e1921..9ae7fa0a4156 100644 --- a/sdk/automation/arm-automation/src/models/sourceControlSyncJobOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/sourceControlSyncJobOperationsMappers.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/automation/arm-automation/src/models/sourceControlSyncJobStreamsMappers.ts b/sdk/automation/arm-automation/src/models/sourceControlSyncJobStreamsMappers.ts index cf8212b1a3e5..0ac75dcefaaa 100644 --- a/sdk/automation/arm-automation/src/models/sourceControlSyncJobStreamsMappers.ts +++ b/sdk/automation/arm-automation/src/models/sourceControlSyncJobStreamsMappers.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/automation/arm-automation/src/models/statisticsOperationsMappers.ts b/sdk/automation/arm-automation/src/models/statisticsOperationsMappers.ts index d1f78f9ba706..bc9afe6e694b 100644 --- a/sdk/automation/arm-automation/src/models/statisticsOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/statisticsOperationsMappers.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/automation/arm-automation/src/models/testJobOperationsMappers.ts b/sdk/automation/arm-automation/src/models/testJobOperationsMappers.ts index 760583cab1f9..94d80c6f669b 100644 --- a/sdk/automation/arm-automation/src/models/testJobOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/testJobOperationsMappers.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/automation/arm-automation/src/models/testJobStreamsMappers.ts b/sdk/automation/arm-automation/src/models/testJobStreamsMappers.ts index f1dfce049084..43103a1124b7 100644 --- a/sdk/automation/arm-automation/src/models/testJobStreamsMappers.ts +++ b/sdk/automation/arm-automation/src/models/testJobStreamsMappers.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/automation/arm-automation/src/models/usagesMappers.ts b/sdk/automation/arm-automation/src/models/usagesMappers.ts index ca940ec4574c..a71a719fe3a5 100644 --- a/sdk/automation/arm-automation/src/models/usagesMappers.ts +++ b/sdk/automation/arm-automation/src/models/usagesMappers.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/automation/arm-automation/src/models/variableOperationsMappers.ts b/sdk/automation/arm-automation/src/models/variableOperationsMappers.ts index 0e452c95ee88..8fe96626549d 100644 --- a/sdk/automation/arm-automation/src/models/variableOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/variableOperationsMappers.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/automation/arm-automation/src/models/watcherOperationsMappers.ts b/sdk/automation/arm-automation/src/models/watcherOperationsMappers.ts index a03786e905b4..f8df9b05bb52 100644 --- a/sdk/automation/arm-automation/src/models/watcherOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/watcherOperationsMappers.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/automation/arm-automation/src/models/webhookOperationsMappers.ts b/sdk/automation/arm-automation/src/models/webhookOperationsMappers.ts index 13ae6b8395bc..1278d8a2b11a 100644 --- a/sdk/automation/arm-automation/src/models/webhookOperationsMappers.ts +++ b/sdk/automation/arm-automation/src/models/webhookOperationsMappers.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/automation/arm-automation/src/operations/activityOperations.ts b/sdk/automation/arm-automation/src/operations/activityOperations.ts index b16aca872a0e..6ea54476880f 100644 --- a/sdk/automation/arm-automation/src/operations/activityOperations.ts +++ b/sdk/automation/arm-automation/src/operations/activityOperations.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 @@ -193,6 +192,9 @@ const listByModuleNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/agentRegistrationInformation.ts b/sdk/automation/arm-automation/src/operations/agentRegistrationInformation.ts index af022ffab9c3..c78776303481 100644 --- a/sdk/automation/arm-automation/src/operations/agentRegistrationInformation.ts +++ b/sdk/automation/arm-automation/src/operations/agentRegistrationInformation.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/automation/arm-automation/src/operations/automationAccountOperations.ts b/sdk/automation/arm-automation/src/operations/automationAccountOperations.ts index 20af8407706b..5c559cfeabae 100644 --- a/sdk/automation/arm-automation/src/operations/automationAccountOperations.ts +++ b/sdk/automation/arm-automation/src/operations/automationAccountOperations.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 @@ -445,6 +444,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -466,6 +468,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/certificateOperations.ts b/sdk/automation/arm-automation/src/operations/certificateOperations.ts index b4ac9f68db1d..3e12a1423824 100644 --- a/sdk/automation/arm-automation/src/operations/certificateOperations.ts +++ b/sdk/automation/arm-automation/src/operations/certificateOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -392,6 +391,9 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/connectionOperations.ts b/sdk/automation/arm-automation/src/operations/connectionOperations.ts index 532be8f4c0c9..5835fcaef899 100644 --- a/sdk/automation/arm-automation/src/operations/connectionOperations.ts +++ b/sdk/automation/arm-automation/src/operations/connectionOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -395,6 +394,9 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/connectionTypeOperations.ts b/sdk/automation/arm-automation/src/operations/connectionTypeOperations.ts index 47d2620dcaed..950b12afa1e5 100644 --- a/sdk/automation/arm-automation/src/operations/connectionTypeOperations.ts +++ b/sdk/automation/arm-automation/src/operations/connectionTypeOperations.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 @@ -323,6 +322,9 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/credentialOperations.ts b/sdk/automation/arm-automation/src/operations/credentialOperations.ts index f29d9387ed0e..487da7e7ed0f 100644 --- a/sdk/automation/arm-automation/src/operations/credentialOperations.ts +++ b/sdk/automation/arm-automation/src/operations/credentialOperations.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 @@ -392,6 +391,9 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/dscCompilationJobOperations.ts b/sdk/automation/arm-automation/src/operations/dscCompilationJobOperations.ts index 2c064e8e8073..80f6f7a805c2 100644 --- a/sdk/automation/arm-automation/src/operations/dscCompilationJobOperations.ts +++ b/sdk/automation/arm-automation/src/operations/dscCompilationJobOperations.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 @@ -31,7 +30,7 @@ export class DscCompilationJobOperations { * Creates the Dsc compilation job of the configuration. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param compilationJobName The the DSC configuration Id. + * @param compilationJobName The DSC configuration Id. * @param parameters The parameters supplied to the create compilation job operation. * @param [options] The optional parameters * @returns Promise @@ -45,7 +44,7 @@ export class DscCompilationJobOperations { * Retrieve the Dsc configuration compilation job identified by job id. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param compilationJobName The the DSC configuration Id. + * @param compilationJobName The DSC configuration Id. * @param [options] The optional parameters * @returns Promise */ @@ -53,14 +52,14 @@ export class DscCompilationJobOperations { /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param compilationJobName The the DSC configuration Id. + * @param compilationJobName The DSC configuration Id. * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, compilationJobName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param compilationJobName The the DSC configuration Id. + * @param compilationJobName The DSC configuration Id. * @param options The optional parameters * @param callback The callback */ @@ -153,7 +152,7 @@ export class DscCompilationJobOperations { * Creates the Dsc compilation job of the configuration. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param compilationJobName The the DSC configuration Id. + * @param compilationJobName The DSC configuration Id. * @param parameters The parameters supplied to the create compilation job operation. * @param [options] The optional parameters * @returns Promise @@ -177,7 +176,7 @@ export class DscCompilationJobOperations { * @param [options] The optional parameters * @returns Promise */ - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByAutomationAccountNext(nextPageLink: string, options?: Models.DscCompilationJobListByAutomationAccountNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -188,8 +187,8 @@ export class DscCompilationJobOperations { * @param options The optional parameters * @param callback The callback */ - listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options: Models.DscCompilationJobListByAutomationAccountNextOptionalParams, callback: msRest.ServiceCallback): void; + listByAutomationAccountNext(nextPageLink: string, options?: Models.DscCompilationJobListByAutomationAccountNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -321,6 +320,10 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/dscCompilationJobStream.ts b/sdk/automation/arm-automation/src/operations/dscCompilationJobStream.ts index cde9e1a4cf3c..66550d5c7da5 100644 --- a/sdk/automation/arm-automation/src/operations/dscCompilationJobStream.ts +++ b/sdk/automation/arm-automation/src/operations/dscCompilationJobStream.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/automation/arm-automation/src/operations/dscConfigurationOperations.ts b/sdk/automation/arm-automation/src/operations/dscConfigurationOperations.ts index 799831f77333..c14cd35f1560 100644 --- a/sdk/automation/arm-automation/src/operations/dscConfigurationOperations.ts +++ b/sdk/automation/arm-automation/src/operations/dscConfigurationOperations.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 @@ -248,7 +247,7 @@ export class DscConfigurationOperations { * @param [options] The optional parameters * @returns Promise */ - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByAutomationAccountNext(nextPageLink: string, options?: Models.DscConfigurationListByAutomationAccountNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -259,8 +258,8 @@ export class DscConfigurationOperations { * @param options The optional parameters * @param callback The callback */ - listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options: Models.DscConfigurationListByAutomationAccountNextOptionalParams, callback: msRest.ServiceCallback): void; + listByAutomationAccountNext(nextPageLink: string, options?: Models.DscConfigurationListByAutomationAccountNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -460,6 +459,13 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0, + Parameters.filter, + Parameters.skip0, + Parameters.top0, + Parameters.inlinecount + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/dscNodeConfigurationOperations.ts b/sdk/automation/arm-automation/src/operations/dscNodeConfigurationOperations.ts index a0fa04010776..016985ed0fd3 100644 --- a/sdk/automation/arm-automation/src/operations/dscNodeConfigurationOperations.ts +++ b/sdk/automation/arm-automation/src/operations/dscNodeConfigurationOperations.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 @@ -173,7 +172,7 @@ export class DscNodeConfigurationOperations { * @param [options] The optional parameters * @returns Promise */ - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByAutomationAccountNext(nextPageLink: string, options?: Models.DscNodeConfigurationListByAutomationAccountNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -184,8 +183,8 @@ export class DscNodeConfigurationOperations { * @param options The optional parameters * @param callback The callback */ - listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options: Models.DscNodeConfigurationListByAutomationAccountNextOptionalParams, callback: msRest.ServiceCallback): void; + listByAutomationAccountNext(nextPageLink: string, options?: Models.DscNodeConfigurationListByAutomationAccountNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -318,6 +317,13 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion2, + Parameters.filter, + Parameters.skip0, + Parameters.top0, + Parameters.inlinecount + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/dscNodeOperations.ts b/sdk/automation/arm-automation/src/operations/dscNodeOperations.ts index ab066926cb94..e36d2051d759 100644 --- a/sdk/automation/arm-automation/src/operations/dscNodeOperations.ts +++ b/sdk/automation/arm-automation/src/operations/dscNodeOperations.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 @@ -176,7 +175,7 @@ export class DscNodeOperations { * @param [options] The optional parameters * @returns Promise */ - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByAutomationAccountNext(nextPageLink: string, options?: Models.DscNodeListByAutomationAccountNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -187,8 +186,8 @@ export class DscNodeOperations { * @param options The optional parameters * @param callback The callback */ - listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options: Models.DscNodeListByAutomationAccountNextOptionalParams, callback: msRest.ServiceCallback): void; + listByAutomationAccountNext(nextPageLink: string, options?: Models.DscNodeListByAutomationAccountNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -322,6 +321,13 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.skip0, + Parameters.top0, + Parameters.inlinecount, + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/fields.ts b/sdk/automation/arm-automation/src/operations/fields.ts index f3b93bf1adf2..51d92a45febf 100644 --- a/sdk/automation/arm-automation/src/operations/fields.ts +++ b/sdk/automation/arm-automation/src/operations/fields.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/automation/arm-automation/src/operations/hybridRunbookWorkerGroupOperations.ts b/sdk/automation/arm-automation/src/operations/hybridRunbookWorkerGroupOperations.ts index 5239c26bb1f5..04dbf9c5aa4d 100644 --- a/sdk/automation/arm-automation/src/operations/hybridRunbookWorkerGroupOperations.ts +++ b/sdk/automation/arm-automation/src/operations/hybridRunbookWorkerGroupOperations.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 @@ -176,7 +175,7 @@ export class HybridRunbookWorkerGroupOperations { * @param [options] The optional parameters * @returns Promise */ - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByAutomationAccountNext(nextPageLink: string, options?: Models.HybridRunbookWorkerGroupListByAutomationAccountNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -187,8 +186,8 @@ export class HybridRunbookWorkerGroupOperations { * @param options The optional parameters * @param callback The callback */ - listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options: Models.HybridRunbookWorkerGroupListByAutomationAccountNextOptionalParams, callback: msRest.ServiceCallback): void; + listByAutomationAccountNext(nextPageLink: string, options?: Models.HybridRunbookWorkerGroupListByAutomationAccountNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -317,6 +316,10 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/index.ts b/sdk/automation/arm-automation/src/operations/index.ts index fff8baafa93a..cf748589d1d5 100644 --- a/sdk/automation/arm-automation/src/operations/index.ts +++ b/sdk/automation/arm-automation/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/automation/arm-automation/src/operations/jobOperations.ts b/sdk/automation/arm-automation/src/operations/jobOperations.ts index 7f7428c00135..3f5a6dda3af1 100644 --- a/sdk/automation/arm-automation/src/operations/jobOperations.ts +++ b/sdk/automation/arm-automation/src/operations/jobOperations.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 @@ -579,6 +578,10 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion1 + ], headerParameters: [ Parameters.clientRequestId, Parameters.acceptLanguage diff --git a/sdk/automation/arm-automation/src/operations/jobScheduleOperations.ts b/sdk/automation/arm-automation/src/operations/jobScheduleOperations.ts index ba8d0be47f54..8785afe35582 100644 --- a/sdk/automation/arm-automation/src/operations/jobScheduleOperations.ts +++ b/sdk/automation/arm-automation/src/operations/jobScheduleOperations.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 @@ -176,7 +175,7 @@ export class JobScheduleOperations { * @param [options] The optional parameters * @returns Promise */ - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByAutomationAccountNext(nextPageLink: string, options?: Models.JobScheduleListByAutomationAccountNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -187,8 +186,8 @@ export class JobScheduleOperations { * @param options The optional parameters * @param callback The callback */ - listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options: Models.JobScheduleListByAutomationAccountNextOptionalParams, callback: msRest.ServiceCallback): void; + listByAutomationAccountNext(nextPageLink: string, options?: Models.JobScheduleListByAutomationAccountNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -317,6 +316,10 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/jobStreamOperations.ts b/sdk/automation/arm-automation/src/operations/jobStreamOperations.ts index 181c17593a9c..58e987aa8d52 100644 --- a/sdk/automation/arm-automation/src/operations/jobStreamOperations.ts +++ b/sdk/automation/arm-automation/src/operations/jobStreamOperations.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 @@ -196,6 +195,10 @@ const listByJobNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion1 + ], headerParameters: [ Parameters.clientRequestId, Parameters.acceptLanguage diff --git a/sdk/automation/arm-automation/src/operations/keys.ts b/sdk/automation/arm-automation/src/operations/keys.ts index f81ba745ef47..1ea88b98af1f 100644 --- a/sdk/automation/arm-automation/src/operations/keys.ts +++ b/sdk/automation/arm-automation/src/operations/keys.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/automation/arm-automation/src/operations/linkedWorkspaceOperations.ts b/sdk/automation/arm-automation/src/operations/linkedWorkspaceOperations.ts index 4702ef0f4e0a..81021cf01594 100644 --- a/sdk/automation/arm-automation/src/operations/linkedWorkspaceOperations.ts +++ b/sdk/automation/arm-automation/src/operations/linkedWorkspaceOperations.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/automation/arm-automation/src/operations/moduleOperations.ts b/sdk/automation/arm-automation/src/operations/moduleOperations.ts index 553a71a43f4c..508b08093b37 100644 --- a/sdk/automation/arm-automation/src/operations/moduleOperations.ts +++ b/sdk/automation/arm-automation/src/operations/moduleOperations.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 @@ -392,6 +391,9 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/nodeCountInformation.ts b/sdk/automation/arm-automation/src/operations/nodeCountInformation.ts index 56ae77124bb1..4ca539ad54ba 100644 --- a/sdk/automation/arm-automation/src/operations/nodeCountInformation.ts +++ b/sdk/automation/arm-automation/src/operations/nodeCountInformation.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 @@ -30,28 +29,35 @@ export class NodeCountInformation { * Retrieve counts for Dsc Nodes. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. + * @param countType The type of counts to retrieve. Possible values include: 'status', + * 'nodeconfiguration' * @param [options] The optional parameters * @returns Promise */ - get(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase): Promise; + get(resourceGroupName: string, automationAccountName: string, countType: Models.CountType, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. + * @param countType The type of counts to retrieve. Possible values include: 'status', + * 'nodeconfiguration' * @param callback The callback */ - get(resourceGroupName: string, automationAccountName: string, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, automationAccountName: string, countType: Models.CountType, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. + * @param countType The type of counts to retrieve. Possible values include: 'status', + * 'nodeconfiguration' * @param options The optional parameters * @param callback The callback */ - get(resourceGroupName: string, automationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get(resourceGroupName: string, automationAccountName: string, countType: Models.CountType, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, automationAccountName: string, countType: Models.CountType, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, automationAccountName, + countType, options }, getOperationSpec, diff --git a/sdk/automation/arm-automation/src/operations/nodeReports.ts b/sdk/automation/arm-automation/src/operations/nodeReports.ts index 10aafafc2807..768a26bdd01b 100644 --- a/sdk/automation/arm-automation/src/operations/nodeReports.ts +++ b/sdk/automation/arm-automation/src/operations/nodeReports.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 @@ -148,7 +147,7 @@ export class NodeReports { * @param [options] The optional parameters * @returns Promise */ - listByNodeNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByNodeNext(nextPageLink: string, options?: Models.NodeReportsListByNodeNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -159,8 +158,8 @@ export class NodeReports { * @param options The optional parameters * @param callback The callback */ - listByNodeNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByNodeNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByNodeNext(nextPageLink: string, options: Models.NodeReportsListByNodeNextOptionalParams, callback: msRest.ServiceCallback): void; + listByNodeNext(nextPageLink: string, options?: Models.NodeReportsListByNodeNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -266,6 +265,10 @@ const listByNodeNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion2 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/objectDataTypes.ts b/sdk/automation/arm-automation/src/operations/objectDataTypes.ts index a7e698a4e0f0..cd5f1d7138ba 100644 --- a/sdk/automation/arm-automation/src/operations/objectDataTypes.ts +++ b/sdk/automation/arm-automation/src/operations/objectDataTypes.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/automation/arm-automation/src/operations/operations.ts b/sdk/automation/arm-automation/src/operations/operations.ts index 4f3a7acb2ee5..9a542c597be7 100644 --- a/sdk/automation/arm-automation/src/operations/operations.ts +++ b/sdk/automation/arm-automation/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/automation/arm-automation/src/operations/python2Package.ts b/sdk/automation/arm-automation/src/operations/python2Package.ts index 723c4a64632d..bc465f41441a 100644 --- a/sdk/automation/arm-automation/src/operations/python2Package.ts +++ b/sdk/automation/arm-automation/src/operations/python2Package.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 @@ -392,6 +391,9 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion3 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/runbookDraftOperations.ts b/sdk/automation/arm-automation/src/operations/runbookDraftOperations.ts index 81f21d916fa8..ad6ee780069c 100644 --- a/sdk/automation/arm-automation/src/operations/runbookDraftOperations.ts +++ b/sdk/automation/arm-automation/src/operations/runbookDraftOperations.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 @@ -297,7 +296,8 @@ const beginReplaceContentOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.RunbookDraftReplaceContentHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.RunbookDraftReplaceContentHeaders } }, serializer diff --git a/sdk/automation/arm-automation/src/operations/runbookOperations.ts b/sdk/automation/arm-automation/src/operations/runbookOperations.ts index 9487990a30c3..59b82a0ec5e5 100644 --- a/sdk/automation/arm-automation/src/operations/runbookOperations.ts +++ b/sdk/automation/arm-automation/src/operations/runbookOperations.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 @@ -510,7 +509,8 @@ const beginPublishOperationSpec: msRest.OperationSpec = { headersMapper: Mappers.RunbookPublishHeaders }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.ErrorResponse, + headersMapper: Mappers.RunbookPublishHeaders } }, serializer @@ -523,6 +523,9 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion3 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/scheduleOperations.ts b/sdk/automation/arm-automation/src/operations/scheduleOperations.ts index 00bd3bcbaf89..83ddbabbe249 100644 --- a/sdk/automation/arm-automation/src/operations/scheduleOperations.ts +++ b/sdk/automation/arm-automation/src/operations/scheduleOperations.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 @@ -393,6 +392,9 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurationMachineRuns.ts b/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurationMachineRuns.ts index ba14b36fda12..f057d508df1d 100644 --- a/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurationMachineRuns.ts +++ b/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurationMachineRuns.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/automation/arm-automation/src/operations/softwareUpdateConfigurationRuns.ts b/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurationRuns.ts index 643115941fde..564ed3a24bd0 100644 --- a/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurationRuns.ts +++ b/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurationRuns.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/automation/arm-automation/src/operations/softwareUpdateConfigurations.ts b/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurations.ts index ca41bd378623..b514136e7ee2 100644 --- a/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurations.ts +++ b/sdk/automation/arm-automation/src/operations/softwareUpdateConfigurations.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/automation/arm-automation/src/operations/sourceControlOperations.ts b/sdk/automation/arm-automation/src/operations/sourceControlOperations.ts index 8add3158d3b4..f95f4829632a 100644 --- a/sdk/automation/arm-automation/src/operations/sourceControlOperations.ts +++ b/sdk/automation/arm-automation/src/operations/sourceControlOperations.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 SourceControlOperations { * @param [options] The optional parameters * @returns Promise */ - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByAutomationAccountNext(nextPageLink: string, options?: Models.SourceControlListByAutomationAccountNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -227,8 +226,8 @@ export class SourceControlOperations { * @param options The optional parameters * @param callback The callback */ - listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options: Models.SourceControlListByAutomationAccountNextOptionalParams, callback: msRest.ServiceCallback): void; + listByAutomationAccountNext(nextPageLink: string, options?: Models.SourceControlListByAutomationAccountNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -393,6 +392,10 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion1 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/sourceControlSyncJobOperations.ts b/sdk/automation/arm-automation/src/operations/sourceControlSyncJobOperations.ts index 56f61910d119..ea47651aa5f2 100644 --- a/sdk/automation/arm-automation/src/operations/sourceControlSyncJobOperations.ts +++ b/sdk/automation/arm-automation/src/operations/sourceControlSyncJobOperations.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 @@ -152,7 +151,7 @@ export class SourceControlSyncJobOperations { * @param [options] The optional parameters * @returns Promise */ - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByAutomationAccountNext(nextPageLink: string, options?: Models.SourceControlSyncJobListByAutomationAccountNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -163,8 +162,8 @@ export class SourceControlSyncJobOperations { * @param options The optional parameters * @param callback The callback */ - listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options: Models.SourceControlSyncJobListByAutomationAccountNextOptionalParams, callback: msRest.ServiceCallback): void; + listByAutomationAccountNext(nextPageLink: string, options?: Models.SourceControlSyncJobListByAutomationAccountNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -272,6 +271,10 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion1 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/sourceControlSyncJobStreams.ts b/sdk/automation/arm-automation/src/operations/sourceControlSyncJobStreams.ts index c82ce65ba537..6caebc67eee5 100644 --- a/sdk/automation/arm-automation/src/operations/sourceControlSyncJobStreams.ts +++ b/sdk/automation/arm-automation/src/operations/sourceControlSyncJobStreams.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 @@ -116,7 +115,7 @@ export class SourceControlSyncJobStreams { * @param [options] The optional parameters * @returns Promise */ - listBySyncJobNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listBySyncJobNext(nextPageLink: string, options?: Models.SourceControlSyncJobStreamsListBySyncJobNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -127,8 +126,8 @@ export class SourceControlSyncJobStreams { * @param options The optional parameters * @param callback The callback */ - listBySyncJobNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySyncJobNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listBySyncJobNext(nextPageLink: string, options: Models.SourceControlSyncJobStreamsListBySyncJobNextOptionalParams, callback: msRest.ServiceCallback): void; + listBySyncJobNext(nextPageLink: string, options?: Models.SourceControlSyncJobStreamsListBySyncJobNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -204,6 +203,10 @@ const listBySyncJobNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion1 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/statisticsOperations.ts b/sdk/automation/arm-automation/src/operations/statisticsOperations.ts index 4b13c7bd2d17..af14cc8e9b6d 100644 --- a/sdk/automation/arm-automation/src/operations/statisticsOperations.ts +++ b/sdk/automation/arm-automation/src/operations/statisticsOperations.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/automation/arm-automation/src/operations/testJobOperations.ts b/sdk/automation/arm-automation/src/operations/testJobOperations.ts index d367307b61b4..d7952e4777b1 100644 --- a/sdk/automation/arm-automation/src/operations/testJobOperations.ts +++ b/sdk/automation/arm-automation/src/operations/testJobOperations.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/automation/arm-automation/src/operations/testJobStreams.ts b/sdk/automation/arm-automation/src/operations/testJobStreams.ts index 584e3c1691dc..d5e9e8714f53 100644 --- a/sdk/automation/arm-automation/src/operations/testJobStreams.ts +++ b/sdk/automation/arm-automation/src/operations/testJobStreams.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,7 +107,7 @@ export class TestJobStreams { * @param [options] The optional parameters * @returns Promise */ - listByTestJobNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByTestJobNext(nextPageLink: string, options?: Models.TestJobStreamsListByTestJobNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -119,8 +118,8 @@ export class TestJobStreams { * @param options The optional parameters * @param callback The callback */ - listByTestJobNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByTestJobNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByTestJobNext(nextPageLink: string, options: Models.TestJobStreamsListByTestJobNextOptionalParams, callback: msRest.ServiceCallback): void; + listByTestJobNext(nextPageLink: string, options?: Models.TestJobStreamsListByTestJobNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -194,6 +193,10 @@ const listByTestJobNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion3 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/usages.ts b/sdk/automation/arm-automation/src/operations/usages.ts index c89d3269d746..a33bf84d3584 100644 --- a/sdk/automation/arm-automation/src/operations/usages.ts +++ b/sdk/automation/arm-automation/src/operations/usages.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/automation/arm-automation/src/operations/variableOperations.ts b/sdk/automation/arm-automation/src/operations/variableOperations.ts index 6fb1178baab5..d96516033aca 100644 --- a/sdk/automation/arm-automation/src/operations/variableOperations.ts +++ b/sdk/automation/arm-automation/src/operations/variableOperations.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 @@ -392,6 +391,9 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/watcherOperations.ts b/sdk/automation/arm-automation/src/operations/watcherOperations.ts index e1da24ef350b..28ab2b895341 100644 --- a/sdk/automation/arm-automation/src/operations/watcherOperations.ts +++ b/sdk/automation/arm-automation/src/operations/watcherOperations.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 @@ -288,7 +287,7 @@ export class WatcherOperations { * @param [options] The optional parameters * @returns Promise */ - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByAutomationAccountNext(nextPageLink: string, options?: Models.WatcherListByAutomationAccountNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -299,8 +298,8 @@ export class WatcherOperations { * @param options The optional parameters * @param callback The callback */ - listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options: Models.WatcherListByAutomationAccountNextOptionalParams, callback: msRest.ServiceCallback): void; + listByAutomationAccountNext(nextPageLink: string, options?: Models.WatcherListByAutomationAccountNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -513,6 +512,10 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/automation/arm-automation/src/operations/webhookOperations.ts b/sdk/automation/arm-automation/src/operations/webhookOperations.ts index e7ac9a9eef26..697849b862ab 100644 --- a/sdk/automation/arm-automation/src/operations/webhookOperations.ts +++ b/sdk/automation/arm-automation/src/operations/webhookOperations.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 @@ -248,7 +247,7 @@ export class WebhookOperations { * @param [options] The optional parameters * @returns Promise */ - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByAutomationAccountNext(nextPageLink: string, options?: Models.WebhookListByAutomationAccountNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -259,8 +258,8 @@ export class WebhookOperations { * @param options The optional parameters * @param callback The callback */ - listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByAutomationAccountNext(nextPageLink: string, options: Models.WebhookListByAutomationAccountNextOptionalParams, callback: msRest.ServiceCallback): void; + listByAutomationAccountNext(nextPageLink: string, options?: Models.WebhookListByAutomationAccountNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -455,6 +454,10 @@ const listByAutomationAccountNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ],