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..072d068c0d81 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,
+ SoftwareUpdateConfigurationTasks,
+ 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..18d1e9f6f3bd 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,
+ SoftwareUpdateConfigurationTasks,
+ 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..31e4834dd1f4 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,
+ SoftwareUpdateConfigurationTasks,
+ 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..2973f0dcaa40 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,
+ SoftwareUpdateConfigurationTasks,
+ 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..92251becb527 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,
+ SoftwareUpdateConfigurationTasks,
+ 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..e142779f7cbe 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,
+ SoftwareUpdateConfigurationTasks,
+ 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..7559b5fb9b02 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,
+ SoftwareUpdateConfigurationTasks,
+ 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..2d3724b4b957 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,
+ SoftwareUpdateConfigurationTasks,
+ 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..6d04551faa14 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.
*/
@@ -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 SoftwareUpdateConfigurationTasks.
+ * Task properties of the software update configuration.
+ *
+ */
+export interface SoftwareUpdateConfigurationTasks {
+ /**
+ * @member {TaskProperties} [preTask] Pre task properties.
+ */
+ preTask?: TaskProperties;
+ /**
+ * @member {TaskProperties} [postTask] Post task properties.
+ */
+ postTask?: TaskProperties;
+}
+
/**
* @interface
* An interface representing SoftwareUpdateConfiguration.
@@ -2277,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 the resource, 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.**
@@ -2302,12 +2337,17 @@ 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.**
*/
readonly lastModifiedBy?: string;
+ /**
+ * @member {SoftwareUpdateConfigurationTasks} [tasks] Tasks information for
+ * the Software update configuration.
+ */
+ tasks?: SoftwareUpdateConfigurationTasks;
}
/**
@@ -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
+ * properties.
+ */
+ preTask?: SoftareUpdateConfigurationRunTaskProperties;
+ /**
+ * @member {SoftareUpdateConfigurationRunTaskProperties} [postTask] Post task
+ * properties.
+ */
+ postTask?: SoftareUpdateConfigurationRunTaskProperties;
+}
+
/**
* @interface
* An interface representing SoftwareUpdateConfigurationRun.
@@ -2453,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.**
@@ -2467,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.**
@@ -2501,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.**
@@ -2515,12 +2595,17 @@ 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
+ * 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;
}
/**
@@ -2907,7 +2996,7 @@ export interface SourceControlSyncJob {
readonly endTime?: Date;
/**
* @member {SyncType} [syncType] The sync type. Possible values include:
- * 'IncrementalSync', 'FullSync'
+ * 'PartialSync', 'FullSync'
*/
syncType?: SyncType;
}
@@ -2966,7 +3055,7 @@ export interface SourceControlSyncJobById {
readonly endTime?: Date;
/**
* @member {SyncType} [syncType] The sync type. Possible values include:
- * 'IncrementalSync', 'FullSync'
+ * 'PartialSync', 'FullSync'
*/
syncType?: SyncType;
/**
@@ -4559,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;
@@ -5683,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:
@@ -5692,7 +5781,7 @@ export enum ProvisioningState {
* @enum {string}
*/
export enum SyncType {
- IncrementalSync = 'IncrementalSync',
+ PartialSync = 'PartialSync',
FullSync = 'FullSync',
}
diff --git a/packages/@azure/arm-automation/lib/models/jobOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/jobOperationsMappers.ts
index 450c49eedf88..4a462fcf66a5 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,
+ SoftwareUpdateConfigurationTasks,
+ 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..8d2ae4f2efcd 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: {
@@ -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 SoftwareUpdateConfigurationTasks: msRest.CompositeMapper = {
+ serializedName: "softwareUpdateConfigurationTasks",
+ type: {
+ name: "Composite",
+ className: "SoftwareUpdateConfigurationTasks",
+ 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: {
@@ -3188,6 +3239,13 @@ export const SoftwareUpdateConfiguration: msRest.CompositeMapper = {
type: {
name: "String"
}
+ },
+ tasks: {
+ serializedName: "properties.tasks",
+ type: {
+ name: "Composite",
+ className: "SoftwareUpdateConfigurationTasks"
+ }
}
}
}
@@ -3333,6 +3391,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 +3550,13 @@ export const SoftwareUpdateConfigurationRun: msRest.CompositeMapper = {
type: {
name: "String"
}
+ },
+ tasks: {
+ serializedName: "properties.tasks",
+ type: {
+ name: "Composite",
+ className: "SoftareUpdateConfigurationRunTasks"
+ }
}
}
}
@@ -3618,6 +3735,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..330e203beb95 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,
+ SoftwareUpdateConfigurationTasks,
+ 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..e9d3f45f08aa 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,
+ SoftwareUpdateConfigurationTasks,
+ 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..b1cacfef0343 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,
+ SoftwareUpdateConfigurationTasks,
+ 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..b4cdf77d7461 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,
+ SoftwareUpdateConfigurationTasks,
+ 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..5ceae51ce72d 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,
+ SoftwareUpdateConfigurationTasks,
+ 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..e5ccd3148729 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,
+ SoftwareUpdateConfigurationTasks,
+ 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..3211e3c01907 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,
+ SoftwareUpdateConfigurationTasks,
+ 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..c3ec4b5fefe8 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,
+ SoftwareUpdateConfigurationTasks,
+ 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..ab8d1864807d 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,
+ SoftwareUpdateConfigurationTasks,
+ 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": [