From 4aac0be068415958678b5d025594bf9e4858b4df Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Fri, 19 Oct 2018 23:33:56 +0000 Subject: [PATCH 1/6] Generated from 1c1dddf99919adb6b5507a57163ab9597dc1962a Swagger change for Pre and post script --- packages/@azure/arm-automation/.npmignore | 70 ++++---- packages/@azure/arm-automation/LICENSE.txt | 42 ++--- packages/@azure/arm-automation/README.md | 162 +++++++++--------- .../automationAccountOperationsMappers.ts | 2 + .../models/certificateOperationsMappers.ts | 2 + .../lib/models/connectionOperationsMappers.ts | 2 + .../lib/models/credentialOperationsMappers.ts | 2 + .../dscCompilationJobOperationsMappers.ts | 2 + .../dscConfigurationOperationsMappers.ts | 2 + .../dscNodeConfigurationOperationsMappers.ts | 2 + .../lib/models/dscNodeOperationsMappers.ts | 2 + .../@azure/arm-automation/lib/models/index.ts | 97 ++++++++++- .../lib/models/jobOperationsMappers.ts | 2 + .../arm-automation/lib/models/mappers.ts | 126 +++++++++++++- .../lib/models/moduleOperationsMappers.ts | 2 + .../lib/models/python2PackageMappers.ts | 2 + .../lib/models/runbookOperationsMappers.ts | 2 + .../lib/models/scheduleOperationsMappers.ts | 2 + .../softwareUpdateConfigurationRunsMappers.ts | 2 + .../softwareUpdateConfigurationsMappers.ts | 2 + .../models/sourceControlOperationsMappers.ts | 2 + .../lib/models/variableOperationsMappers.ts | 2 + .../lib/models/watcherOperationsMappers.ts | 2 + .../lib/models/webhookOperationsMappers.ts | 2 + packages/@azure/arm-automation/package.json | 4 +- 25 files changed, 394 insertions(+), 145 deletions(-) diff --git a/packages/@azure/arm-automation/.npmignore b/packages/@azure/arm-automation/.npmignore index 3b46bc6202d8..a07a455ac10c 100644 --- a/packages/@azure/arm-automation/.npmignore +++ b/packages/@azure/arm-automation/.npmignore @@ -1,35 +1,35 @@ -#git -.git -.gitignore -#gulp -gulpfile.js -#documentation -doc/ -docs/ -#dependencies -node_modules/ -#samples -sample/ -samples/ -#tests -test/ -tests/ -coverage/ -#tools and scripts -tools/ -scripts/ -#IDE settings -*.sln -.vscode/ -.idea -.editorconfig -.ntvs_analysis.* -#build tools -.travis.yml -.jenkins.yml -.codeclimate.yml -appveyor.yml -# Nuget packages # -.nuget/ -packages/ -packages.config +#git +.git +.gitignore +#gulp +gulpfile.js +#documentation +doc/ +docs/ +#dependencies +node_modules/ +#samples +sample/ +samples/ +#tests +test/ +tests/ +coverage/ +#tools and scripts +tools/ +scripts/ +#IDE settings +*.sln +.vscode/ +.idea +.editorconfig +.ntvs_analysis.* +#build tools +.travis.yml +.jenkins.yml +.codeclimate.yml +appveyor.yml +# Nuget packages # +.nuget/ +packages/ +packages.config diff --git a/packages/@azure/arm-automation/LICENSE.txt b/packages/@azure/arm-automation/LICENSE.txt index a70e8cf66038..5431ba98b936 100644 --- a/packages/@azure/arm-automation/LICENSE.txt +++ b/packages/@azure/arm-automation/LICENSE.txt @@ -1,21 +1,21 @@ -The MIT License (MIT) - -Copyright (c) 2018 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 -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +The MIT License (MIT) + +Copyright (c) 2018 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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/@azure/arm-automation/README.md b/packages/@azure/arm-automation/README.md index a609260a8a2f..2a78ecd5ebf2 100644 --- a/packages/@azure/arm-automation/README.md +++ b/packages/@azure/arm-automation/README.md @@ -1,81 +1,81 @@ -# Azure AutomationClient SDK for JavaScript -This package contains an isomorphic SDK for AutomationClient. - -## Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript - -## How to Install -``` -npm install @azure/arm-automation -``` - - -## How to use - -### nodejs - Authentication, client creation and get automationAccount as an example written in TypeScript. - -```ts -import * as msRest from "ms-rest-js"; -import * as msRestAzure from "ms-rest-azure-js"; -import * as msRestNodeAuth from "ms-rest-nodeauth"; -import { AutomationClient, AutomationModels, AutomationMappers } from "@azure/arm-automation"; -const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; - -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new AutomationClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const automationAccountName = "testautomationAccountName"; - client.automationAccount.get(resourceGroupName, automationAccountName).then((result) => { - console.log("The result is:"); - console.log(result); - }); -}).catch((err) => { - console.error(err); -}); -``` - -### browser - Authentication, client creation and get automationAccount as an example written in JavaScript. -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - -- index.html -```html - - - - @azure/arm-automation sample - - - - - - - - - -``` - -# Related projects - - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) +# Azure AutomationClient SDK for JavaScript +This package contains an isomorphic SDK for AutomationClient. + +## Currently supported environments +- Node.js version 6.x.x or higher +- Browser JavaScript + +## How to Install +``` +npm install @azure/arm-automation +``` + + +## How to use + +### nodejs - Authentication, client creation and get automationAccount as an example written in TypeScript. + +```ts +import * as msRest from "ms-rest-js"; +import * as msRestAzure from "ms-rest-azure-js"; +import * as msRestNodeAuth from "ms-rest-nodeauth"; +import { AutomationClient, AutomationModels, AutomationMappers } from "@azure/arm-automation"; +const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; + +msRestNodeAuth.interactiveLogin().then((creds) => { + const client = new AutomationClient(creds, subscriptionId); + const resourceGroupName = "testresourceGroupName"; + const automationAccountName = "testautomationAccountName"; + client.automationAccount.get(resourceGroupName, automationAccountName).then((result) => { + console.log("The result is:"); + console.log(result); + }); +}).catch((err) => { + console.error(err); +}); +``` + +### browser - Authentication, client creation and get automationAccount as an example written in JavaScript. +See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. + +- index.html +```html + + + + @azure/arm-automation sample + + + + + + + + + +``` + +# Related projects + - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) diff --git a/packages/@azure/arm-automation/lib/models/automationAccountOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/automationAccountOperationsMappers.ts index 74ced4b10476..f0f8c53a7cc6 100644 --- a/packages/@azure/arm-automation/lib/models/automationAccountOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/automationAccountOperationsMappers.ts @@ -45,6 +45,8 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, + TasksProperties, + TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/certificateOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/certificateOperationsMappers.ts index b7e043c205fd..bd128e26ced7 100644 --- a/packages/@azure/arm-automation/lib/models/certificateOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/certificateOperationsMappers.ts @@ -43,6 +43,8 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, + TasksProperties, + TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/connectionOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/connectionOperationsMappers.ts index 90a007777c4a..756d28550281 100644 --- a/packages/@azure/arm-automation/lib/models/connectionOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/connectionOperationsMappers.ts @@ -43,6 +43,8 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, + TasksProperties, + TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/credentialOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/credentialOperationsMappers.ts index b2aa84633490..41db0a59e168 100644 --- a/packages/@azure/arm-automation/lib/models/credentialOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/credentialOperationsMappers.ts @@ -44,6 +44,8 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, + TasksProperties, + TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/dscCompilationJobOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/dscCompilationJobOperationsMappers.ts index f64115f232e8..a4a0c417828f 100644 --- a/packages/@azure/arm-automation/lib/models/dscCompilationJobOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/dscCompilationJobOperationsMappers.ts @@ -45,6 +45,8 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, + TasksProperties, + TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/dscConfigurationOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/dscConfigurationOperationsMappers.ts index 6d4a8eeeeb8d..c66ddc7be012 100644 --- a/packages/@azure/arm-automation/lib/models/dscConfigurationOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/dscConfigurationOperationsMappers.ts @@ -46,6 +46,8 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, + TasksProperties, + TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/dscNodeConfigurationOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/dscNodeConfigurationOperationsMappers.ts index ba617cab6827..85c1da2a16c2 100644 --- a/packages/@azure/arm-automation/lib/models/dscNodeConfigurationOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/dscNodeConfigurationOperationsMappers.ts @@ -44,6 +44,8 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, + TasksProperties, + TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/dscNodeOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/dscNodeOperationsMappers.ts index f542fea8a9a3..0ab5d72ea3a5 100644 --- a/packages/@azure/arm-automation/lib/models/dscNodeOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/dscNodeOperationsMappers.ts @@ -45,6 +45,8 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, + TasksProperties, + TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/index.ts b/packages/@azure/arm-automation/lib/models/index.ts index c020ae98966b..bdfc2f5584ff 100644 --- a/packages/@azure/arm-automation/lib/models/index.ts +++ b/packages/@azure/arm-automation/lib/models/index.ts @@ -2233,6 +2233,41 @@ export interface UpdateConfiguration { targets?: TargetProperties; } +/** + * @interface + * An interface representing TaskProperties. + * task properties of the software update configuration. + * + */ +export interface TaskProperties { + /** + * @member {{ [propertyName: string]: string }} [parameters] Gets or sets the + * parameters of the task. + */ + parameters?: { [propertyName: string]: string }; + /** + * @member {string} [source] Gets or sets the name of the runbook. + */ + source?: string; +} + +/** + * @interface + * An interface representing TasksProperties. + * task properties of the software update configuration. + * + */ +export interface TasksProperties { + /** + * @member {TaskProperties} [preTask] Pre task object + */ + preTask?: TaskProperties; + /** + * @member {TaskProperties} [postTask] Post task object + */ + postTask?: TaskProperties; +} + /** * @interface * An interface representing SoftwareUpdateConfiguration. @@ -2260,15 +2295,15 @@ export interface SoftwareUpdateConfiguration extends BaseResource { */ readonly type?: string; /** - * @member {UpdateConfiguration} updateConfiguration update specific + * @member {UpdateConfiguration} [updateConfiguration] update specific * properties for the Software update configuration */ - updateConfiguration: UpdateConfiguration; + updateConfiguration?: UpdateConfiguration; /** - * @member {ScheduleProperties} scheduleInfo Schedule information for the + * @member {ScheduleProperties} [scheduleInfo] Schedule information for the * Software update configuration */ - scheduleInfo: ScheduleProperties; + scheduleInfo?: ScheduleProperties; /** * @member {string} [provisioningState] Provisioning state for the software * update configuration, which only appears in the response. @@ -2308,6 +2343,11 @@ export interface SoftwareUpdateConfiguration extends BaseResource { * the server.** */ readonly lastModifiedBy?: string; + /** + * @member {TasksProperties} [tasks] Tasks information for the Software + * update configuration + */ + tasks?: TasksProperties; } /** @@ -2422,6 +2462,46 @@ export interface UpdateConfigurationNavigation { readonly name?: string; } +/** + * @interface + * An interface representing SoftareUpdateConfigurationRunTaskProperties. + * task properties of the software update configuration. + * + */ +export interface SoftareUpdateConfigurationRunTaskProperties { + /** + * @member {string} [status] The status of the task. + */ + status?: string; + /** + * @member {string} [source] The name of the source of the task. + */ + source?: string; + /** + * @member {string} [jobId] The job id of the task. + */ + jobId?: string; +} + +/** + * @interface + * An interface representing SoftareUpdateConfigurationRunTasks. + * Software update configuration run tasks model. + * + */ +export interface SoftareUpdateConfigurationRunTasks { + /** + * @member {SoftareUpdateConfigurationRunTaskProperties} [preTask] Pre task + * object + */ + preTask?: SoftareUpdateConfigurationRunTaskProperties; + /** + * @member {SoftareUpdateConfigurationRunTaskProperties} [postTask] Post task + * object + */ + postTask?: SoftareUpdateConfigurationRunTaskProperties; +} + /** * @interface * An interface representing SoftwareUpdateConfigurationRun. @@ -2521,6 +2601,11 @@ export interface SoftwareUpdateConfigurationRun { * the server.** */ readonly lastModifiedBy?: string; + /** + * @member {SoftareUpdateConfigurationRunTasks} [tasks] software update + * configuration tasks triggered in this run + */ + tasks?: SoftareUpdateConfigurationRunTasks; } /** @@ -2677,6 +2762,10 @@ export interface SoftwareUpdateConfigurationMachineRun { * the server.** */ readonly lastModifiedBy?: string; + /** + * @member {ErrorResponse} [error] detailes of provisioning error + */ + error?: ErrorResponse; } /** diff --git a/packages/@azure/arm-automation/lib/models/jobOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/jobOperationsMappers.ts index 450c49eedf88..cf3da7aaab29 100644 --- a/packages/@azure/arm-automation/lib/models/jobOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/jobOperationsMappers.ts @@ -45,6 +45,8 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, + TasksProperties, + TaskProperties, SourceControl, DscNode, DscNodeExtensionHandlerAssociationProperty, diff --git a/packages/@azure/arm-automation/lib/models/mappers.ts b/packages/@azure/arm-automation/lib/models/mappers.ts index e83453863298..ab926fc69090 100644 --- a/packages/@azure/arm-automation/lib/models/mappers.ts +++ b/packages/@azure/arm-automation/lib/models/mappers.ts @@ -3102,6 +3102,57 @@ export const UpdateConfiguration: msRest.CompositeMapper = { } }; +export const TaskProperties: msRest.CompositeMapper = { + serializedName: "taskProperties", + type: { + name: "Composite", + className: "TaskProperties", + modelProperties: { + parameters: { + serializedName: "parameters", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + source: { + serializedName: "source", + type: { + name: "String" + } + } + } + } +}; + +export const TasksProperties: msRest.CompositeMapper = { + serializedName: "tasksProperties", + type: { + name: "Composite", + className: "TasksProperties", + modelProperties: { + preTask: { + serializedName: "preTask", + type: { + name: "Composite", + className: "TaskProperties" + } + }, + postTask: { + serializedName: "postTask", + type: { + name: "Composite", + className: "TaskProperties" + } + } + } + } +}; + export const SoftwareUpdateConfiguration: msRest.CompositeMapper = { serializedName: "softwareUpdateConfiguration", type: { @@ -3130,7 +3181,6 @@ export const SoftwareUpdateConfiguration: msRest.CompositeMapper = { } }, updateConfiguration: { - required: true, serializedName: "properties.updateConfiguration", type: { name: "Composite", @@ -3138,7 +3188,6 @@ export const SoftwareUpdateConfiguration: msRest.CompositeMapper = { } }, scheduleInfo: { - required: true, serializedName: "properties.scheduleInfo", type: { name: "Composite", @@ -3188,6 +3237,13 @@ export const SoftwareUpdateConfiguration: msRest.CompositeMapper = { type: { name: "String" } + }, + tasks: { + serializedName: "properties.tasks", + type: { + name: "Composite", + className: "TasksProperties" + } } } } @@ -3333,6 +3389,58 @@ export const UpdateConfigurationNavigation: msRest.CompositeMapper = { } }; +export const SoftareUpdateConfigurationRunTaskProperties: msRest.CompositeMapper = { + serializedName: "softareUpdateConfigurationRunTaskProperties", + type: { + name: "Composite", + className: "SoftareUpdateConfigurationRunTaskProperties", + modelProperties: { + status: { + serializedName: "status", + type: { + name: "String" + } + }, + source: { + serializedName: "source", + type: { + name: "String" + } + }, + jobId: { + serializedName: "jobId", + type: { + name: "String" + } + } + } + } +}; + +export const SoftareUpdateConfigurationRunTasks: msRest.CompositeMapper = { + serializedName: "softareUpdateConfigurationRunTasks", + type: { + name: "Composite", + className: "SoftareUpdateConfigurationRunTasks", + modelProperties: { + preTask: { + serializedName: "preTask", + type: { + name: "Composite", + className: "SoftareUpdateConfigurationRunTaskProperties" + } + }, + postTask: { + serializedName: "postTask", + type: { + name: "Composite", + className: "SoftareUpdateConfigurationRunTaskProperties" + } + } + } + } +}; + export const SoftwareUpdateConfigurationRun: msRest.CompositeMapper = { serializedName: "softwareUpdateConfigurationRun", type: { @@ -3440,6 +3548,13 @@ export const SoftwareUpdateConfigurationRun: msRest.CompositeMapper = { type: { name: "String" } + }, + tasks: { + serializedName: "properties.tasks", + type: { + name: "Composite", + className: "SoftareUpdateConfigurationRunTasks" + } } } } @@ -3618,6 +3733,13 @@ export const SoftwareUpdateConfigurationMachineRun: msRest.CompositeMapper = { type: { name: "String" } + }, + error: { + serializedName: "properties.error", + type: { + name: "Composite", + className: "ErrorResponse" + } } } } diff --git a/packages/@azure/arm-automation/lib/models/moduleOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/moduleOperationsMappers.ts index 5ce6d2de0721..fe564e18b37d 100644 --- a/packages/@azure/arm-automation/lib/models/moduleOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/moduleOperationsMappers.ts @@ -45,6 +45,8 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, + TasksProperties, + TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/python2PackageMappers.ts b/packages/@azure/arm-automation/lib/models/python2PackageMappers.ts index 089257ed2e75..658bb75d6313 100644 --- a/packages/@azure/arm-automation/lib/models/python2PackageMappers.ts +++ b/packages/@azure/arm-automation/lib/models/python2PackageMappers.ts @@ -45,6 +45,8 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, + TasksProperties, + TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/runbookOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/runbookOperationsMappers.ts index 6df6815dbbea..6df392a560d5 100644 --- a/packages/@azure/arm-automation/lib/models/runbookOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/runbookOperationsMappers.ts @@ -50,6 +50,8 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, + TasksProperties, + TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/scheduleOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/scheduleOperationsMappers.ts index d9aa4ac6f894..5c9bbc6f7d00 100644 --- a/packages/@azure/arm-automation/lib/models/scheduleOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/scheduleOperationsMappers.ts @@ -43,6 +43,8 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, + TasksProperties, + TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationRunsMappers.ts b/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationRunsMappers.ts index 1b85b7b90a43..e6ddca73be95 100644 --- a/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationRunsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationRunsMappers.ts @@ -11,6 +11,8 @@ export { SoftwareUpdateConfigurationRun, UpdateConfigurationNavigation, + SoftareUpdateConfigurationRunTasks, + SoftareUpdateConfigurationRunTaskProperties, ErrorResponse, SoftwareUpdateConfigurationRunListResult } from "../models/mappers"; diff --git a/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationsMappers.ts b/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationsMappers.ts index fd8bd25eb6e2..541d25687e17 100644 --- a/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationsMappers.ts @@ -21,6 +21,8 @@ export { AdvancedSchedule, AdvancedScheduleMonthlyOccurrence, ErrorResponse, + TasksProperties, + TaskProperties, SoftwareUpdateConfigurationListResult, SoftwareUpdateConfigurationCollectionItem, CollectionItemUpdateConfiguration, diff --git a/packages/@azure/arm-automation/lib/models/sourceControlOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/sourceControlOperationsMappers.ts index 9074eac51f3d..e82aeb9ff9ab 100644 --- a/packages/@azure/arm-automation/lib/models/sourceControlOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/sourceControlOperationsMappers.ts @@ -45,6 +45,8 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, + TasksProperties, + TaskProperties, Job, JobCollectionItem, DscNode, diff --git a/packages/@azure/arm-automation/lib/models/variableOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/variableOperationsMappers.ts index 9bd85d983421..4779749ddd33 100644 --- a/packages/@azure/arm-automation/lib/models/variableOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/variableOperationsMappers.ts @@ -43,6 +43,8 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, + TasksProperties, + TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/watcherOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/watcherOperationsMappers.ts index 960454570e24..39f6459ad14c 100644 --- a/packages/@azure/arm-automation/lib/models/watcherOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/watcherOperationsMappers.ts @@ -44,6 +44,8 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, + TasksProperties, + TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/webhookOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/webhookOperationsMappers.ts index f49e2d7cb2ca..442e5ba7f566 100644 --- a/packages/@azure/arm-automation/lib/models/webhookOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/webhookOperationsMappers.ts @@ -43,6 +43,8 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, + TasksProperties, + TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/package.json b/packages/@azure/arm-automation/package.json index 23b5cead4e45..73cfb07cb34b 100644 --- a/packages/@azure/arm-automation/package.json +++ b/packages/@azure/arm-automation/package.json @@ -4,8 +4,8 @@ "description": "AutomationClient Library with typescript type definitions for node.js and browser.", "version": "1.0.0-preview", "dependencies": { - "ms-rest-azure-js": "^1.0.176", - "ms-rest-js": "^1.0.455", + "ms-rest-azure-js": "^1.0.166", + "ms-rest-js": "^1.0.439", "tslib": "^1.9.3" }, "keywords": [ From 800ae9ee06b6afe00d394d1e5b97c9d11e71fd94 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Mon, 22 Oct 2018 20:14:06 +0000 Subject: [PATCH 2/6] Generated from 0ab8993c8202abd45e54f61082ed13c4cad26e9e fixing the Required filed --- packages/@azure/arm-automation/lib/models/index.ts | 8 ++++---- packages/@azure/arm-automation/lib/models/mappers.ts | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/@azure/arm-automation/lib/models/index.ts b/packages/@azure/arm-automation/lib/models/index.ts index bdfc2f5584ff..ef3b412ea674 100644 --- a/packages/@azure/arm-automation/lib/models/index.ts +++ b/packages/@azure/arm-automation/lib/models/index.ts @@ -2295,15 +2295,15 @@ export interface SoftwareUpdateConfiguration extends BaseResource { */ readonly type?: string; /** - * @member {UpdateConfiguration} [updateConfiguration] update specific + * @member {UpdateConfiguration} updateConfiguration update specific * properties for the Software update configuration */ - updateConfiguration?: UpdateConfiguration; + updateConfiguration: UpdateConfiguration; /** - * @member {ScheduleProperties} [scheduleInfo] Schedule information for the + * @member {ScheduleProperties} scheduleInfo Schedule information for the * Software update configuration */ - scheduleInfo?: ScheduleProperties; + scheduleInfo: ScheduleProperties; /** * @member {string} [provisioningState] Provisioning state for the software * update configuration, which only appears in the response. diff --git a/packages/@azure/arm-automation/lib/models/mappers.ts b/packages/@azure/arm-automation/lib/models/mappers.ts index ab926fc69090..4fbda648e84b 100644 --- a/packages/@azure/arm-automation/lib/models/mappers.ts +++ b/packages/@azure/arm-automation/lib/models/mappers.ts @@ -3181,6 +3181,7 @@ export const SoftwareUpdateConfiguration: msRest.CompositeMapper = { } }, updateConfiguration: { + required: true, serializedName: "properties.updateConfiguration", type: { name: "Composite", @@ -3188,6 +3189,7 @@ export const SoftwareUpdateConfiguration: msRest.CompositeMapper = { } }, scheduleInfo: { + required: true, serializedName: "properties.scheduleInfo", type: { name: "Composite", From 9934fe40ba0d7dd942b6b515706bd0a21e9ed063 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Mon, 22 Oct 2018 21:44:27 +0000 Subject: [PATCH 3/6] Generated from 10c3dc5bd25bd2790fe68a913028082c3f6dbcce changing the capitalization on the description --- .../@azure/arm-automation/lib/models/index.ts | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/packages/@azure/arm-automation/lib/models/index.ts b/packages/@azure/arm-automation/lib/models/index.ts index ef3b412ea674..e83bd524b68d 100644 --- a/packages/@azure/arm-automation/lib/models/index.ts +++ b/packages/@azure/arm-automation/lib/models/index.ts @@ -2236,7 +2236,7 @@ export interface UpdateConfiguration { /** * @interface * An interface representing TaskProperties. - * task properties of the software update configuration. + * Task properties of the software update configuration. * */ export interface TaskProperties { @@ -2254,16 +2254,16 @@ export interface TaskProperties { /** * @interface * An interface representing TasksProperties. - * task properties of the software update configuration. + * Task properties of the software update configuration. * */ export interface TasksProperties { /** - * @member {TaskProperties} [preTask] Pre task object + * @member {TaskProperties} [preTask] Pre task object. */ preTask?: TaskProperties; /** - * @member {TaskProperties} [postTask] Post task object + * @member {TaskProperties} [postTask] Post task object. */ postTask?: TaskProperties; } @@ -2312,18 +2312,18 @@ export interface SoftwareUpdateConfiguration extends BaseResource { */ readonly provisioningState?: string; /** - * @member {ErrorResponse} [error] detailes of provisioning error + * @member {ErrorResponse} [error] Details of provisioning error */ error?: ErrorResponse; /** - * @member {Date} [creationTime] Creation time of theresource, which only + * @member {Date} [creationTime] Creation time of there source, which only * appears in the response. * **NOTE: This property will not be serialized. It can only be populated by * the server.** */ readonly creationTime?: Date; /** - * @member {string} [createdBy] createdBy property, which only appears in the + * @member {string} [createdBy] CreatedBy property, which only appears in the * response. * **NOTE: This property will not be serialized. It can only be populated by * the server.** @@ -2337,7 +2337,7 @@ export interface SoftwareUpdateConfiguration extends BaseResource { */ readonly lastModifiedTime?: Date; /** - * @member {string} [lastModifiedBy] lastModifiedBy property, which only + * @member {string} [lastModifiedBy] LastModifiedBy property, which only * appears in the response. * **NOTE: This property will not be serialized. It can only be populated by * the server.** @@ -2345,7 +2345,7 @@ export interface SoftwareUpdateConfiguration extends BaseResource { readonly lastModifiedBy?: string; /** * @member {TasksProperties} [tasks] Tasks information for the Software - * update configuration + * update configuration. */ tasks?: TasksProperties; } @@ -2465,7 +2465,7 @@ export interface UpdateConfigurationNavigation { /** * @interface * An interface representing SoftareUpdateConfigurationRunTaskProperties. - * task properties of the software update configuration. + * Task properties of the software update configuration. * */ export interface SoftareUpdateConfigurationRunTaskProperties { @@ -2492,12 +2492,12 @@ export interface SoftareUpdateConfigurationRunTaskProperties { export interface SoftareUpdateConfigurationRunTasks { /** * @member {SoftareUpdateConfigurationRunTaskProperties} [preTask] Pre task - * object + * object. */ preTask?: SoftareUpdateConfigurationRunTaskProperties; /** * @member {SoftareUpdateConfigurationRunTaskProperties} [postTask] Post task - * object + * object. */ postTask?: SoftareUpdateConfigurationRunTaskProperties; } @@ -2533,7 +2533,7 @@ export interface SoftwareUpdateConfigurationRun { */ readonly status?: string; /** - * @member {string} [configuredDuration] configured duration for the software + * @member {string} [configuredDuration] Configured duration for the software * update configuration run. * **NOTE: This property will not be serialized. It can only be populated by * the server.** @@ -2547,7 +2547,7 @@ export interface SoftwareUpdateConfigurationRun { */ readonly osType?: string; /** - * @member {Date} [startTime] Etart time of the software update configuration + * @member {Date} [startTime] Start time of the software update configuration * run. * **NOTE: This property will not be serialized. It can only be populated by * the server.** @@ -2581,7 +2581,7 @@ export interface SoftwareUpdateConfigurationRun { */ readonly creationTime?: Date; /** - * @member {string} [createdBy] createdBy property, which only appears in the + * @member {string} [createdBy] CreatedBy property, which only appears in the * response. * **NOTE: This property will not be serialized. It can only be populated by * the server.** @@ -2595,14 +2595,14 @@ export interface SoftwareUpdateConfigurationRun { */ readonly lastModifiedTime?: Date; /** - * @member {string} [lastModifiedBy] lastModifiedBy property, which only + * @member {string} [lastModifiedBy] LastModifiedBy property, which only * appears in the response. * **NOTE: This property will not be serialized. It can only be populated by * the server.** */ readonly lastModifiedBy?: string; /** - * @member {SoftareUpdateConfigurationRunTasks} [tasks] software update + * @member {SoftareUpdateConfigurationRunTasks} [tasks] Software update * configuration tasks triggered in this run */ tasks?: SoftareUpdateConfigurationRunTasks; @@ -4648,7 +4648,7 @@ export interface SoftwareUpdateConfigurationRunsListOptionalParams extends msRes */ filter?: string; /** - * @member {string} [skip] number of entries you skip before returning + * @member {string} [skip] Number of entries you skip before returning * results */ skip?: string; From 4ee982c032a8c3f60bc4ca0d47db7f8f80c61d2f Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Mon, 22 Oct 2018 23:08:47 +0000 Subject: [PATCH 4/6] Generated from 671c1c2eb8251c447517f286ca228df3aea67147 fixing the model validation error --- packages/@azure/arm-automation/lib/models/index.ts | 4 ++-- packages/@azure/arm-automation/lib/models/mappers.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/@azure/arm-automation/lib/models/index.ts b/packages/@azure/arm-automation/lib/models/index.ts index e83bd524b68d..f2feb629bfa4 100644 --- a/packages/@azure/arm-automation/lib/models/index.ts +++ b/packages/@azure/arm-automation/lib/models/index.ts @@ -2166,9 +2166,9 @@ export interface AzureQueryProperties { */ scope?: string[]; /** - * @member {string[]} [location] List of locations to scope the query to. + * @member {string[]} [locations] List of locations to scope the query to. */ - location?: string[]; + locations?: string[]; /** * @member {TagSettingsProperties} [tagSettings] Tag settings for the VM. */ diff --git a/packages/@azure/arm-automation/lib/models/mappers.ts b/packages/@azure/arm-automation/lib/models/mappers.ts index 4fbda648e84b..94f49a1735a6 100644 --- a/packages/@azure/arm-automation/lib/models/mappers.ts +++ b/packages/@azure/arm-automation/lib/models/mappers.ts @@ -2988,8 +2988,8 @@ export const AzureQueryProperties: msRest.CompositeMapper = { } } }, - location: { - serializedName: "location", + locations: { + serializedName: "locations", type: { name: "Sequence", element: { From 734b1e7ad7e464be1fae9ac0fe1dc95f6028a4f4 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Mon, 22 Oct 2018 23:45:03 +0000 Subject: [PATCH 5/6] Generated from b02018f790643acb7d8fc04ee76440563c585f1f addressing PR feedback --- .../automationAccountOperationsMappers.ts | 2 +- .../lib/models/certificateOperationsMappers.ts | 2 +- .../lib/models/connectionOperationsMappers.ts | 2 +- .../lib/models/credentialOperationsMappers.ts | 2 +- .../dscCompilationJobOperationsMappers.ts | 2 +- .../dscConfigurationOperationsMappers.ts | 2 +- .../dscNodeConfigurationOperationsMappers.ts | 2 +- .../lib/models/dscNodeOperationsMappers.ts | 2 +- .../@azure/arm-automation/lib/models/index.ts | 18 +++++++++--------- .../lib/models/jobOperationsMappers.ts | 2 +- .../arm-automation/lib/models/mappers.ts | 8 ++++---- .../lib/models/moduleOperationsMappers.ts | 2 +- .../lib/models/python2PackageMappers.ts | 2 +- .../lib/models/runbookOperationsMappers.ts | 2 +- .../lib/models/scheduleOperationsMappers.ts | 2 +- .../softwareUpdateConfigurationsMappers.ts | 2 +- .../models/sourceControlOperationsMappers.ts | 2 +- .../lib/models/variableOperationsMappers.ts | 2 +- .../lib/models/watcherOperationsMappers.ts | 2 +- .../lib/models/webhookOperationsMappers.ts | 2 +- 20 files changed, 31 insertions(+), 31 deletions(-) diff --git a/packages/@azure/arm-automation/lib/models/automationAccountOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/automationAccountOperationsMappers.ts index f0f8c53a7cc6..072d068c0d81 100644 --- a/packages/@azure/arm-automation/lib/models/automationAccountOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/automationAccountOperationsMappers.ts @@ -45,7 +45,7 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, - TasksProperties, + SoftwareUpdateConfigurationTasks, TaskProperties, SourceControl, Job, diff --git a/packages/@azure/arm-automation/lib/models/certificateOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/certificateOperationsMappers.ts index bd128e26ced7..18d1e9f6f3bd 100644 --- a/packages/@azure/arm-automation/lib/models/certificateOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/certificateOperationsMappers.ts @@ -43,7 +43,7 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, - TasksProperties, + SoftwareUpdateConfigurationTasks, TaskProperties, SourceControl, Job, diff --git a/packages/@azure/arm-automation/lib/models/connectionOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/connectionOperationsMappers.ts index 756d28550281..31e4834dd1f4 100644 --- a/packages/@azure/arm-automation/lib/models/connectionOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/connectionOperationsMappers.ts @@ -43,7 +43,7 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, - TasksProperties, + SoftwareUpdateConfigurationTasks, TaskProperties, SourceControl, Job, diff --git a/packages/@azure/arm-automation/lib/models/credentialOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/credentialOperationsMappers.ts index 41db0a59e168..2973f0dcaa40 100644 --- a/packages/@azure/arm-automation/lib/models/credentialOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/credentialOperationsMappers.ts @@ -44,7 +44,7 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, - TasksProperties, + SoftwareUpdateConfigurationTasks, TaskProperties, SourceControl, Job, diff --git a/packages/@azure/arm-automation/lib/models/dscCompilationJobOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/dscCompilationJobOperationsMappers.ts index a4a0c417828f..92251becb527 100644 --- a/packages/@azure/arm-automation/lib/models/dscCompilationJobOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/dscCompilationJobOperationsMappers.ts @@ -45,7 +45,7 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, - TasksProperties, + SoftwareUpdateConfigurationTasks, TaskProperties, SourceControl, Job, diff --git a/packages/@azure/arm-automation/lib/models/dscConfigurationOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/dscConfigurationOperationsMappers.ts index c66ddc7be012..e142779f7cbe 100644 --- a/packages/@azure/arm-automation/lib/models/dscConfigurationOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/dscConfigurationOperationsMappers.ts @@ -46,7 +46,7 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, - TasksProperties, + SoftwareUpdateConfigurationTasks, TaskProperties, SourceControl, Job, diff --git a/packages/@azure/arm-automation/lib/models/dscNodeConfigurationOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/dscNodeConfigurationOperationsMappers.ts index 85c1da2a16c2..7559b5fb9b02 100644 --- a/packages/@azure/arm-automation/lib/models/dscNodeConfigurationOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/dscNodeConfigurationOperationsMappers.ts @@ -44,7 +44,7 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, - TasksProperties, + SoftwareUpdateConfigurationTasks, TaskProperties, SourceControl, Job, diff --git a/packages/@azure/arm-automation/lib/models/dscNodeOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/dscNodeOperationsMappers.ts index 0ab5d72ea3a5..2d3724b4b957 100644 --- a/packages/@azure/arm-automation/lib/models/dscNodeOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/dscNodeOperationsMappers.ts @@ -45,7 +45,7 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, - TasksProperties, + SoftwareUpdateConfigurationTasks, TaskProperties, SourceControl, Job, diff --git a/packages/@azure/arm-automation/lib/models/index.ts b/packages/@azure/arm-automation/lib/models/index.ts index f2feb629bfa4..b7e2223d48ad 100644 --- a/packages/@azure/arm-automation/lib/models/index.ts +++ b/packages/@azure/arm-automation/lib/models/index.ts @@ -2253,17 +2253,17 @@ export interface TaskProperties { /** * @interface - * An interface representing TasksProperties. + * An interface representing SoftwareUpdateConfigurationTasks. * Task properties of the software update configuration. * */ -export interface TasksProperties { +export interface SoftwareUpdateConfigurationTasks { /** - * @member {TaskProperties} [preTask] Pre task object. + * @member {TaskProperties} [preTask] Pre task properties. */ preTask?: TaskProperties; /** - * @member {TaskProperties} [postTask] Post task object. + * @member {TaskProperties} [postTask] Post task properties. */ postTask?: TaskProperties; } @@ -2316,7 +2316,7 @@ export interface SoftwareUpdateConfiguration extends BaseResource { */ error?: ErrorResponse; /** - * @member {Date} [creationTime] Creation time of there source, which only + * @member {Date} [creationTime] Creation time of the resource, which only * appears in the response. * **NOTE: This property will not be serialized. It can only be populated by * the server.** @@ -2344,10 +2344,10 @@ export interface SoftwareUpdateConfiguration extends BaseResource { */ readonly lastModifiedBy?: string; /** - * @member {TasksProperties} [tasks] Tasks information for the Software - * update configuration. + * @member {SoftwareUpdateConfigurationTasks} [tasks] Tasks information for + * the Software update configuration. */ - tasks?: TasksProperties; + tasks?: SoftwareUpdateConfigurationTasks; } /** @@ -2492,7 +2492,7 @@ export interface SoftareUpdateConfigurationRunTaskProperties { export interface SoftareUpdateConfigurationRunTasks { /** * @member {SoftareUpdateConfigurationRunTaskProperties} [preTask] Pre task - * object. + * properties. */ preTask?: SoftareUpdateConfigurationRunTaskProperties; /** diff --git a/packages/@azure/arm-automation/lib/models/jobOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/jobOperationsMappers.ts index cf3da7aaab29..4a462fcf66a5 100644 --- a/packages/@azure/arm-automation/lib/models/jobOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/jobOperationsMappers.ts @@ -45,7 +45,7 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, - TasksProperties, + SoftwareUpdateConfigurationTasks, TaskProperties, SourceControl, DscNode, diff --git a/packages/@azure/arm-automation/lib/models/mappers.ts b/packages/@azure/arm-automation/lib/models/mappers.ts index 94f49a1735a6..8d2ae4f2efcd 100644 --- a/packages/@azure/arm-automation/lib/models/mappers.ts +++ b/packages/@azure/arm-automation/lib/models/mappers.ts @@ -3129,11 +3129,11 @@ export const TaskProperties: msRest.CompositeMapper = { } }; -export const TasksProperties: msRest.CompositeMapper = { - serializedName: "tasksProperties", +export const SoftwareUpdateConfigurationTasks: msRest.CompositeMapper = { + serializedName: "softwareUpdateConfigurationTasks", type: { name: "Composite", - className: "TasksProperties", + className: "SoftwareUpdateConfigurationTasks", modelProperties: { preTask: { serializedName: "preTask", @@ -3244,7 +3244,7 @@ export const SoftwareUpdateConfiguration: msRest.CompositeMapper = { serializedName: "properties.tasks", type: { name: "Composite", - className: "TasksProperties" + className: "SoftwareUpdateConfigurationTasks" } } } diff --git a/packages/@azure/arm-automation/lib/models/moduleOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/moduleOperationsMappers.ts index fe564e18b37d..330e203beb95 100644 --- a/packages/@azure/arm-automation/lib/models/moduleOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/moduleOperationsMappers.ts @@ -45,7 +45,7 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, - TasksProperties, + SoftwareUpdateConfigurationTasks, TaskProperties, SourceControl, Job, diff --git a/packages/@azure/arm-automation/lib/models/python2PackageMappers.ts b/packages/@azure/arm-automation/lib/models/python2PackageMappers.ts index 658bb75d6313..e9d3f45f08aa 100644 --- a/packages/@azure/arm-automation/lib/models/python2PackageMappers.ts +++ b/packages/@azure/arm-automation/lib/models/python2PackageMappers.ts @@ -45,7 +45,7 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, - TasksProperties, + SoftwareUpdateConfigurationTasks, TaskProperties, SourceControl, Job, diff --git a/packages/@azure/arm-automation/lib/models/runbookOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/runbookOperationsMappers.ts index 6df392a560d5..b1cacfef0343 100644 --- a/packages/@azure/arm-automation/lib/models/runbookOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/runbookOperationsMappers.ts @@ -50,7 +50,7 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, - TasksProperties, + SoftwareUpdateConfigurationTasks, TaskProperties, SourceControl, Job, diff --git a/packages/@azure/arm-automation/lib/models/scheduleOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/scheduleOperationsMappers.ts index 5c9bbc6f7d00..b4cdf77d7461 100644 --- a/packages/@azure/arm-automation/lib/models/scheduleOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/scheduleOperationsMappers.ts @@ -43,7 +43,7 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, - TasksProperties, + SoftwareUpdateConfigurationTasks, TaskProperties, SourceControl, Job, diff --git a/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationsMappers.ts b/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationsMappers.ts index 541d25687e17..5ceae51ce72d 100644 --- a/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationsMappers.ts @@ -21,7 +21,7 @@ export { AdvancedSchedule, AdvancedScheduleMonthlyOccurrence, ErrorResponse, - TasksProperties, + SoftwareUpdateConfigurationTasks, TaskProperties, SoftwareUpdateConfigurationListResult, SoftwareUpdateConfigurationCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/sourceControlOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/sourceControlOperationsMappers.ts index e82aeb9ff9ab..e5ccd3148729 100644 --- a/packages/@azure/arm-automation/lib/models/sourceControlOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/sourceControlOperationsMappers.ts @@ -45,7 +45,7 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, - TasksProperties, + SoftwareUpdateConfigurationTasks, TaskProperties, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/variableOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/variableOperationsMappers.ts index 4779749ddd33..3211e3c01907 100644 --- a/packages/@azure/arm-automation/lib/models/variableOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/variableOperationsMappers.ts @@ -43,7 +43,7 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, - TasksProperties, + SoftwareUpdateConfigurationTasks, TaskProperties, SourceControl, Job, diff --git a/packages/@azure/arm-automation/lib/models/watcherOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/watcherOperationsMappers.ts index 39f6459ad14c..c3ec4b5fefe8 100644 --- a/packages/@azure/arm-automation/lib/models/watcherOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/watcherOperationsMappers.ts @@ -44,7 +44,7 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, - TasksProperties, + SoftwareUpdateConfigurationTasks, TaskProperties, SourceControl, Job, diff --git a/packages/@azure/arm-automation/lib/models/webhookOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/webhookOperationsMappers.ts index 442e5ba7f566..ab8d1864807d 100644 --- a/packages/@azure/arm-automation/lib/models/webhookOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/webhookOperationsMappers.ts @@ -43,7 +43,7 @@ export { AzureQueryProperties, TagSettingsProperties, ScheduleProperties, - TasksProperties, + SoftwareUpdateConfigurationTasks, TaskProperties, SourceControl, Job, From c1ea50724ab45bea15990c6901aa9e249e4a0c75 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Tue, 23 Oct 2018 22:46:16 +0000 Subject: [PATCH 6/6] Generated from 0bc254b75a8f859c2046c4a7710572d90b1262db fix description --- packages/@azure/arm-automation/lib/models/index.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/@azure/arm-automation/lib/models/index.ts b/packages/@azure/arm-automation/lib/models/index.ts index b7e2223d48ad..6d04551faa14 100644 --- a/packages/@azure/arm-automation/lib/models/index.ts +++ b/packages/@azure/arm-automation/lib/models/index.ts @@ -2497,7 +2497,7 @@ export interface SoftareUpdateConfigurationRunTasks { preTask?: SoftareUpdateConfigurationRunTaskProperties; /** * @member {SoftareUpdateConfigurationRunTaskProperties} [postTask] Post task - * object. + * properties. */ postTask?: SoftareUpdateConfigurationRunTaskProperties; } @@ -2996,7 +2996,7 @@ export interface SourceControlSyncJob { readonly endTime?: Date; /** * @member {SyncType} [syncType] The sync type. Possible values include: - * 'IncrementalSync', 'FullSync' + * 'PartialSync', 'FullSync' */ syncType?: SyncType; } @@ -3055,7 +3055,7 @@ export interface SourceControlSyncJobById { readonly endTime?: Date; /** * @member {SyncType} [syncType] The sync type. Possible values include: - * 'IncrementalSync', 'FullSync' + * 'PartialSync', 'FullSync' */ syncType?: SyncType; /** @@ -5772,7 +5772,7 @@ export enum ProvisioningState { /** * Defines values for SyncType. - * Possible values include: 'IncrementalSync', 'FullSync' + * Possible values include: 'PartialSync', 'FullSync' * There could be more values for this enum apart from the ones defined here.If * you want to set a value that is not from the known values then you can do * the following: @@ -5781,7 +5781,7 @@ export enum ProvisioningState { * @enum {string} */ export enum SyncType { - IncrementalSync = 'IncrementalSync', + PartialSync = 'PartialSync', FullSync = 'FullSync', }