From e66ce37fa91b4c36b25026f344df589c9a54a7ef Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 11 Oct 2018 02:49:47 +0000 Subject: [PATCH 1/5] Generated from da88a237aa03b5de9cc7e5e0081c0f25bbb720dc Swagger change for Update configuration dynamic group --- .../lib/models/azureQueryProperties.js | 87 +++++++++++++++++++ .../lib/models/index.d.ts | 56 ++++++++++++ .../automationManagement/lib/models/index.js | 3 + .../lib/models/softwareUpdateConfiguration.js | 4 + .../lib/models/tagSettingsProperties.js | 74 ++++++++++++++++ .../lib/models/targetProperties.js | 61 +++++++++++++ .../lib/models/updateConfiguration.js | 12 +++ .../lib/operations/index.d.ts | 12 +++ .../softwareUpdateConfigurations.js | 18 ++++ 9 files changed, 327 insertions(+) create mode 100644 lib/services/automationManagement/lib/models/azureQueryProperties.js create mode 100644 lib/services/automationManagement/lib/models/tagSettingsProperties.js create mode 100644 lib/services/automationManagement/lib/models/targetProperties.js diff --git a/lib/services/automationManagement/lib/models/azureQueryProperties.js b/lib/services/automationManagement/lib/models/azureQueryProperties.js new file mode 100644 index 0000000000..d8bc1e103e --- /dev/null +++ b/lib/services/automationManagement/lib/models/azureQueryProperties.js @@ -0,0 +1,87 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +'use strict'; + +/** + * Azure query specific to the group of machines for update configuration. + * + */ +class AzureQueryProperties { + /** + * Create a AzureQueryProperties. + * @member {array} [scope] List of Subscription or Resource group arm Id. + * @member {array} [location] list of locations for the VM filter . + * @member {object} [tagSettings] tag filter information of the Vm. + * @member {object} [tagSettings.tags] dictionary of tags with its list of + * value + * @member {string} [tagSettings.filterOperator] Possible values include: + * 'All', 'Any' + */ + constructor() { + } + + /** + * Defines the metadata of AzureQueryProperties + * + * @returns {object} metadata of AzureQueryProperties + * + */ + mapper() { + return { + required: false, + serializedName: 'AzureQueryProperties', + type: { + name: 'Composite', + className: 'AzureQueryProperties', + modelProperties: { + scope: { + required: false, + serializedName: 'scope', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + location: { + required: false, + serializedName: 'location', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'StringElementType', + type: { + name: 'String' + } + } + } + }, + tagSettings: { + required: false, + serializedName: 'tagSettings', + type: { + name: 'Composite', + className: 'TagSettingsProperties' + } + } + } + } + }; + } +} + +module.exports = AzureQueryProperties; diff --git a/lib/services/automationManagement/lib/models/index.d.ts b/lib/services/automationManagement/lib/models/index.d.ts index 636a0014c2..dd93d6085c 100644 --- a/lib/services/automationManagement/lib/models/index.d.ts +++ b/lib/services/automationManagement/lib/models/index.d.ts @@ -1570,6 +1570,53 @@ export interface LinuxProperties { rebootSetting?: string; } +/** + * @class + * Initializes a new instance of the TagSettingsProperties class. + * @constructor + * Tag filter Information of the VM. + * + * @member {object} [tags] dictionary of tags with its list of value + * @member {string} [filterOperator] Possible values include: 'All', 'Any' + */ +export interface TagSettingsProperties { + tags?: { [propertyName: string]: string[] }; + filterOperator?: string; +} + +/** + * @class + * Initializes a new instance of the AzureQueryProperties class. + * @constructor + * Azure query specific to the group of machines for update configuration. + * + * @member {array} [scope] List of Subscription or Resource group arm Id. + * @member {array} [location] list of locations for the VM filter . + * @member {object} [tagSettings] tag filter information of the Vm. + * @member {object} [tagSettings.tags] dictionary of tags with its list of + * value + * @member {string} [tagSettings.filterOperator] Possible values include: + * 'All', 'Any' + */ +export interface AzureQueryProperties { + scope?: string[]; + location?: string[]; + tagSettings?: TagSettingsProperties; +} + +/** + * @class + * Initializes a new instance of the TargetProperties class. + * @constructor + * Group specific of update configuration. + * + * @member {array} [azureQueries] List of Azure queries in software update + * configuration. + */ +export interface TargetProperties { + azureQueries?: AzureQueryProperties[]; +} + /** * @class * Initializes a new instance of the UpdateConfiguration class. @@ -1607,6 +1654,10 @@ export interface LinuxProperties { * virtual machines targeted by the software update configuration. * @member {array} [nonAzureComputerNames] List of names of non-azure machines * targeted by the software update configuration. + * @member {object} [targets] group informations that will be patched during + * run time. + * @member {array} [targets.azureQueries] List of Azure queries in software + * update configuration. */ export interface UpdateConfiguration { operatingSystem: string; @@ -1615,6 +1666,7 @@ export interface UpdateConfiguration { duration?: moment.Duration; azureVirtualMachines?: string[]; nonAzureComputerNames?: string[]; + targets?: TargetProperties; } /** @@ -1662,6 +1714,10 @@ export interface UpdateConfiguration { * configuration. * @member {array} [updateConfiguration.nonAzureComputerNames] List of names of * non-azure machines targeted by the software update configuration. + * @member {object} [updateConfiguration.targets] group informations that will + * be patched during run time. + * @member {array} [updateConfiguration.targets.azureQueries] List of Azure + * queries in software update configuration. * @member {object} scheduleInfo Schedule information for the Software update * configuration * @member {date} [scheduleInfo.startTime] Gets or sets the start time of the diff --git a/lib/services/automationManagement/lib/models/index.js b/lib/services/automationManagement/lib/models/index.js index d58720acf3..c5ae1ffd9a 100644 --- a/lib/services/automationManagement/lib/models/index.js +++ b/lib/services/automationManagement/lib/models/index.js @@ -88,6 +88,9 @@ exports.Watcher = require('./watcher'); exports.WatcherUpdateParameters = require('./watcherUpdateParameters'); exports.WindowsProperties = require('./windowsProperties'); exports.LinuxProperties = require('./linuxProperties'); +exports.TagSettingsProperties = require('./tagSettingsProperties'); +exports.AzureQueryProperties = require('./azureQueryProperties'); +exports.TargetProperties = require('./targetProperties'); exports.UpdateConfiguration = require('./updateConfiguration'); exports.SoftwareUpdateConfiguration = require('./softwareUpdateConfiguration'); exports.CollectionItemUpdateConfiguration = require('./collectionItemUpdateConfiguration'); diff --git a/lib/services/automationManagement/lib/models/softwareUpdateConfiguration.js b/lib/services/automationManagement/lib/models/softwareUpdateConfiguration.js index 47ee95120a..2494d47c21 100644 --- a/lib/services/automationManagement/lib/models/softwareUpdateConfiguration.js +++ b/lib/services/automationManagement/lib/models/softwareUpdateConfiguration.js @@ -61,6 +61,10 @@ class SoftwareUpdateConfiguration extends models['BaseResource'] { * configuration. * @member {array} [updateConfiguration.nonAzureComputerNames] List of names * of non-azure machines targeted by the software update configuration. + * @member {object} [updateConfiguration.targets] group informations that + * will be patched during run time. + * @member {array} [updateConfiguration.targets.azureQueries] List of Azure + * queries in software update configuration. * @member {object} scheduleInfo Schedule information for the Software update * configuration * @member {date} [scheduleInfo.startTime] Gets or sets the start time of the diff --git a/lib/services/automationManagement/lib/models/tagSettingsProperties.js b/lib/services/automationManagement/lib/models/tagSettingsProperties.js new file mode 100644 index 0000000000..3ad1e6ea0a --- /dev/null +++ b/lib/services/automationManagement/lib/models/tagSettingsProperties.js @@ -0,0 +1,74 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +'use strict'; + +/** + * Tag filter Information of the VM. + * + */ +class TagSettingsProperties { + /** + * Create a TagSettingsProperties. + * @member {object} [tags] dictionary of tags with its list of value + * @member {string} [filterOperator] Possible values include: 'All', 'Any' + */ + constructor() { + } + + /** + * Defines the metadata of TagSettingsProperties + * + * @returns {object} metadata of TagSettingsProperties + * + */ + mapper() { + return { + required: false, + serializedName: 'TagSettingsProperties', + type: { + name: 'Composite', + className: 'TagSettingsProperties', + modelProperties: { + tags: { + required: false, + serializedName: 'tags', + type: { + name: 'Dictionary', + value: { + required: false, + serializedName: 'ArrayElementType', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'StringElementType', + type: { + name: 'String' + } + } + } + } + } + }, + filterOperator: { + required: false, + serializedName: 'filterOperator', + type: { + name: 'String' + } + } + } + } + }; + } +} + +module.exports = TagSettingsProperties; diff --git a/lib/services/automationManagement/lib/models/targetProperties.js b/lib/services/automationManagement/lib/models/targetProperties.js new file mode 100644 index 0000000000..77ada213d2 --- /dev/null +++ b/lib/services/automationManagement/lib/models/targetProperties.js @@ -0,0 +1,61 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +'use strict'; + +/** + * Group specific of update configuration. + * + */ +class TargetProperties { + /** + * Create a TargetProperties. + * @member {array} [azureQueries] List of Azure queries in software update + * configuration. + */ + constructor() { + } + + /** + * Defines the metadata of TargetProperties + * + * @returns {object} metadata of TargetProperties + * + */ + mapper() { + return { + required: false, + serializedName: 'TargetProperties', + type: { + name: 'Composite', + className: 'TargetProperties', + modelProperties: { + azureQueries: { + required: false, + serializedName: 'azureQueries', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'AzureQueryPropertiesElementType', + type: { + name: 'Composite', + className: 'AzureQueryProperties' + } + } + } + } + } + } + }; + } +} + +module.exports = TargetProperties; diff --git a/lib/services/automationManagement/lib/models/updateConfiguration.js b/lib/services/automationManagement/lib/models/updateConfiguration.js index e2624ad4b5..7bb3187deb 100644 --- a/lib/services/automationManagement/lib/models/updateConfiguration.js +++ b/lib/services/automationManagement/lib/models/updateConfiguration.js @@ -48,6 +48,10 @@ class UpdateConfiguration { * azure virtual machines targeted by the software update configuration. * @member {array} [nonAzureComputerNames] List of names of non-azure * machines targeted by the software update configuration. + * @member {object} [targets] group informations that will be patched during + * run time. + * @member {array} [targets.azureQueries] List of Azure queries in software + * update configuration. */ constructor() { } @@ -124,6 +128,14 @@ class UpdateConfiguration { } } } + }, + targets: { + required: false, + serializedName: 'targets', + type: { + name: 'Composite', + className: 'TargetProperties' + } } } } diff --git a/lib/services/automationManagement/lib/operations/index.d.ts b/lib/services/automationManagement/lib/operations/index.d.ts index 06b0f956f9..e55c6a1cf9 100644 --- a/lib/services/automationManagement/lib/operations/index.d.ts +++ b/lib/services/automationManagement/lib/operations/index.d.ts @@ -6805,6 +6805,12 @@ export interface SoftwareUpdateConfigurations { * of names of non-azure machines targeted by the software update * configuration. * + * @param {object} [parameters.updateConfiguration.targets] group informations + * that will be patched during run time. + * + * @param {array} [parameters.updateConfiguration.targets.azureQueries] List of + * Azure queries in software update configuration. + * * @param {object} parameters.scheduleInfo Schedule information for the * Software update configuration * @@ -6948,6 +6954,12 @@ export interface SoftwareUpdateConfigurations { * of names of non-azure machines targeted by the software update * configuration. * + * @param {object} [parameters.updateConfiguration.targets] group informations + * that will be patched during run time. + * + * @param {array} [parameters.updateConfiguration.targets.azureQueries] List of + * Azure queries in software update configuration. + * * @param {object} parameters.scheduleInfo Schedule information for the * Software update configuration * diff --git a/lib/services/automationManagement/lib/operations/softwareUpdateConfigurations.js b/lib/services/automationManagement/lib/operations/softwareUpdateConfigurations.js index f22d9985d7..6c19e33766 100644 --- a/lib/services/automationManagement/lib/operations/softwareUpdateConfigurations.js +++ b/lib/services/automationManagement/lib/operations/softwareUpdateConfigurations.js @@ -82,6 +82,12 @@ const WebResource = msRest.WebResource; * of names of non-azure machines targeted by the software update * configuration. * + * @param {object} [parameters.updateConfiguration.targets] group informations + * that will be patched during run time. + * + * @param {array} [parameters.updateConfiguration.targets.azureQueries] List of + * Azure queries in software update configuration. + * * @param {object} parameters.scheduleInfo Schedule information for the * Software update configuration * @@ -934,6 +940,12 @@ class SoftwareUpdateConfigurations { * of names of non-azure machines targeted by the software update * configuration. * + * @param {object} [parameters.updateConfiguration.targets] group informations + * that will be patched during run time. + * + * @param {array} [parameters.updateConfiguration.targets.azureQueries] List of + * Azure queries in software update configuration. + * * @param {object} parameters.scheduleInfo Schedule information for the * Software update configuration * @@ -1089,6 +1101,12 @@ class SoftwareUpdateConfigurations { * of names of non-azure machines targeted by the software update * configuration. * + * @param {object} [parameters.updateConfiguration.targets] group informations + * that will be patched during run time. + * + * @param {array} [parameters.updateConfiguration.targets.azureQueries] List of + * Azure queries in software update configuration. + * * @param {object} parameters.scheduleInfo Schedule information for the * Software update configuration * From bec7c581f58f119c2df3df22ad206386bee3ab68 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Fri, 12 Oct 2018 19:07:10 +0000 Subject: [PATCH 2/5] Generated from fc491695edaba989b6f14e4a7541852d0e98b780 Addressing the feedback and adding the sample examples --- .../automationManagement/lib/models/azureQueryProperties.js | 2 +- lib/services/automationManagement/lib/models/index.d.ts | 4 ++-- .../automationManagement/lib/models/tagSettingsProperties.js | 5 +++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/services/automationManagement/lib/models/azureQueryProperties.js b/lib/services/automationManagement/lib/models/azureQueryProperties.js index d8bc1e103e..c14699ed39 100644 --- a/lib/services/automationManagement/lib/models/azureQueryProperties.js +++ b/lib/services/automationManagement/lib/models/azureQueryProperties.js @@ -17,7 +17,7 @@ class AzureQueryProperties { /** * Create a AzureQueryProperties. - * @member {array} [scope] List of Subscription or Resource group arm Id. + * @member {array} [scope] List of Subscription or Resource Group ARM Id. * @member {array} [location] list of locations for the VM filter . * @member {object} [tagSettings] tag filter information of the Vm. * @member {object} [tagSettings.tags] dictionary of tags with its list of diff --git a/lib/services/automationManagement/lib/models/index.d.ts b/lib/services/automationManagement/lib/models/index.d.ts index dd93d6085c..b94eedd50f 100644 --- a/lib/services/automationManagement/lib/models/index.d.ts +++ b/lib/services/automationManagement/lib/models/index.d.ts @@ -1574,7 +1574,7 @@ export interface LinuxProperties { * @class * Initializes a new instance of the TagSettingsProperties class. * @constructor - * Tag filter Information of the VM. + * Tag filter information of the VM. * * @member {object} [tags] dictionary of tags with its list of value * @member {string} [filterOperator] Possible values include: 'All', 'Any' @@ -1590,7 +1590,7 @@ export interface TagSettingsProperties { * @constructor * Azure query specific to the group of machines for update configuration. * - * @member {array} [scope] List of Subscription or Resource group arm Id. + * @member {array} [scope] List of Subscription or Resource Group ARM Id. * @member {array} [location] list of locations for the VM filter . * @member {object} [tagSettings] tag filter information of the Vm. * @member {object} [tagSettings.tags] dictionary of tags with its list of diff --git a/lib/services/automationManagement/lib/models/tagSettingsProperties.js b/lib/services/automationManagement/lib/models/tagSettingsProperties.js index 3ad1e6ea0a..8792030d9a 100644 --- a/lib/services/automationManagement/lib/models/tagSettingsProperties.js +++ b/lib/services/automationManagement/lib/models/tagSettingsProperties.js @@ -11,7 +11,7 @@ 'use strict'; /** - * Tag filter Information of the VM. + * Tag filter information of the VM. * */ class TagSettingsProperties { @@ -62,7 +62,8 @@ class TagSettingsProperties { required: false, serializedName: 'filterOperator', type: { - name: 'String' + name: 'Enum', + allowedValues: [ 'All', 'Any' ] } } } From dc24637b2a8ccac1092fae45297c3984ba2e6ee6 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Mon, 15 Oct 2018 21:47:21 +0000 Subject: [PATCH 3/5] Generated from 010387285df8d64aa4d2a36593fce01cd95e2efe fixing the capitalization and grammer on the description --- .../lib/models/azureQueryProperties.js | 16 +++++----- .../lib/models/index.d.ts | 31 ++++++++++--------- .../lib/models/softwareUpdateConfiguration.js | 4 +-- .../lib/models/tagSettingsProperties.js | 7 +++-- .../lib/models/targetProperties.js | 2 +- .../lib/models/updateConfiguration.js | 2 +- .../lib/operations/index.d.ts | 4 +-- .../softwareUpdateConfigurations.js | 6 ++-- 8 files changed, 37 insertions(+), 35 deletions(-) diff --git a/lib/services/automationManagement/lib/models/azureQueryProperties.js b/lib/services/automationManagement/lib/models/azureQueryProperties.js index c14699ed39..9afc1df17a 100644 --- a/lib/services/automationManagement/lib/models/azureQueryProperties.js +++ b/lib/services/automationManagement/lib/models/azureQueryProperties.js @@ -11,19 +11,19 @@ 'use strict'; /** - * Azure query specific to the group of machines for update configuration. + * Azure query for the update configuration. * */ class AzureQueryProperties { /** * Create a AzureQueryProperties. - * @member {array} [scope] List of Subscription or Resource Group ARM Id. - * @member {array} [location] list of locations for the VM filter . - * @member {object} [tagSettings] tag filter information of the Vm. - * @member {object} [tagSettings.tags] dictionary of tags with its list of - * value - * @member {string} [tagSettings.filterOperator] Possible values include: - * 'All', 'Any' + * @member {array} [scope] List of Subscription or Resource Group ARM Ids. + * @member {array} [location] List of locations for the VM. + * @member {object} [tagSettings] Tag settings for the VM. + * @member {object} [tagSettings.tags] Dictionary of tags with its list of + * values + * @member {string} [tagSettings.filterOperator] Filter VMs by Any or All + * specified tags. Possible values include: 'All', 'Any' */ constructor() { } diff --git a/lib/services/automationManagement/lib/models/index.d.ts b/lib/services/automationManagement/lib/models/index.d.ts index b94eedd50f..b85da0d07f 100644 --- a/lib/services/automationManagement/lib/models/index.d.ts +++ b/lib/services/automationManagement/lib/models/index.d.ts @@ -1574,10 +1574,11 @@ export interface LinuxProperties { * @class * Initializes a new instance of the TagSettingsProperties class. * @constructor - * Tag filter information of the VM. + * Tag filter information for the VM. * - * @member {object} [tags] dictionary of tags with its list of value - * @member {string} [filterOperator] Possible values include: 'All', 'Any' + * @member {object} [tags] Dictionary of tags with its list of values + * @member {string} [filterOperator] Filter VMs by Any or All specified tags. + * Possible values include: 'All', 'Any' */ export interface TagSettingsProperties { tags?: { [propertyName: string]: string[] }; @@ -1588,15 +1589,15 @@ export interface TagSettingsProperties { * @class * Initializes a new instance of the AzureQueryProperties class. * @constructor - * Azure query specific to the group of machines for update configuration. + * Azure query for the update configuration. * - * @member {array} [scope] List of Subscription or Resource Group ARM Id. - * @member {array} [location] list of locations for the VM filter . - * @member {object} [tagSettings] tag filter information of the Vm. - * @member {object} [tagSettings.tags] dictionary of tags with its list of - * value - * @member {string} [tagSettings.filterOperator] Possible values include: - * 'All', 'Any' + * @member {array} [scope] List of Subscription or Resource Group ARM Ids. + * @member {array} [location] List of locations for the VM. + * @member {object} [tagSettings] Tag settings for the VM. + * @member {object} [tagSettings.tags] Dictionary of tags with its list of + * values + * @member {string} [tagSettings.filterOperator] Filter VMs by Any or All + * specified tags. Possible values include: 'All', 'Any' */ export interface AzureQueryProperties { scope?: string[]; @@ -1608,7 +1609,7 @@ export interface AzureQueryProperties { * @class * Initializes a new instance of the TargetProperties class. * @constructor - * Group specific of update configuration. + * Group specific to the update configuration. * * @member {array} [azureQueries] List of Azure queries in software update * configuration. @@ -1654,8 +1655,8 @@ export interface TargetProperties { * virtual machines targeted by the software update configuration. * @member {array} [nonAzureComputerNames] List of names of non-azure machines * targeted by the software update configuration. - * @member {object} [targets] group informations that will be patched during - * run time. + * @member {object} [targets] Group information that will be patched during run + * time. * @member {array} [targets.azureQueries] List of Azure queries in software * update configuration. */ @@ -1714,7 +1715,7 @@ export interface UpdateConfiguration { * configuration. * @member {array} [updateConfiguration.nonAzureComputerNames] List of names of * non-azure machines targeted by the software update configuration. - * @member {object} [updateConfiguration.targets] group informations that will + * @member {object} [updateConfiguration.targets] Group information that will * be patched during run time. * @member {array} [updateConfiguration.targets.azureQueries] List of Azure * queries in software update configuration. diff --git a/lib/services/automationManagement/lib/models/softwareUpdateConfiguration.js b/lib/services/automationManagement/lib/models/softwareUpdateConfiguration.js index 2494d47c21..5f089bc219 100644 --- a/lib/services/automationManagement/lib/models/softwareUpdateConfiguration.js +++ b/lib/services/automationManagement/lib/models/softwareUpdateConfiguration.js @@ -61,8 +61,8 @@ class SoftwareUpdateConfiguration extends models['BaseResource'] { * configuration. * @member {array} [updateConfiguration.nonAzureComputerNames] List of names * of non-azure machines targeted by the software update configuration. - * @member {object} [updateConfiguration.targets] group informations that - * will be patched during run time. + * @member {object} [updateConfiguration.targets] Group information that will + * be patched during run time. * @member {array} [updateConfiguration.targets.azureQueries] List of Azure * queries in software update configuration. * @member {object} scheduleInfo Schedule information for the Software update diff --git a/lib/services/automationManagement/lib/models/tagSettingsProperties.js b/lib/services/automationManagement/lib/models/tagSettingsProperties.js index 8792030d9a..327186e6af 100644 --- a/lib/services/automationManagement/lib/models/tagSettingsProperties.js +++ b/lib/services/automationManagement/lib/models/tagSettingsProperties.js @@ -11,14 +11,15 @@ 'use strict'; /** - * Tag filter information of the VM. + * Tag filter information for the VM. * */ class TagSettingsProperties { /** * Create a TagSettingsProperties. - * @member {object} [tags] dictionary of tags with its list of value - * @member {string} [filterOperator] Possible values include: 'All', 'Any' + * @member {object} [tags] Dictionary of tags with its list of values + * @member {string} [filterOperator] Filter VMs by Any or All specified tags. + * Possible values include: 'All', 'Any' */ constructor() { } diff --git a/lib/services/automationManagement/lib/models/targetProperties.js b/lib/services/automationManagement/lib/models/targetProperties.js index 77ada213d2..520a2c348f 100644 --- a/lib/services/automationManagement/lib/models/targetProperties.js +++ b/lib/services/automationManagement/lib/models/targetProperties.js @@ -11,7 +11,7 @@ 'use strict'; /** - * Group specific of update configuration. + * Group specific to the update configuration. * */ class TargetProperties { diff --git a/lib/services/automationManagement/lib/models/updateConfiguration.js b/lib/services/automationManagement/lib/models/updateConfiguration.js index 7bb3187deb..74ef6939f7 100644 --- a/lib/services/automationManagement/lib/models/updateConfiguration.js +++ b/lib/services/automationManagement/lib/models/updateConfiguration.js @@ -48,7 +48,7 @@ class UpdateConfiguration { * azure virtual machines targeted by the software update configuration. * @member {array} [nonAzureComputerNames] List of names of non-azure * machines targeted by the software update configuration. - * @member {object} [targets] group informations that will be patched during + * @member {object} [targets] Group information that will be patched during * run time. * @member {array} [targets.azureQueries] List of Azure queries in software * update configuration. diff --git a/lib/services/automationManagement/lib/operations/index.d.ts b/lib/services/automationManagement/lib/operations/index.d.ts index e55c6a1cf9..ab06952277 100644 --- a/lib/services/automationManagement/lib/operations/index.d.ts +++ b/lib/services/automationManagement/lib/operations/index.d.ts @@ -6805,7 +6805,7 @@ export interface SoftwareUpdateConfigurations { * of names of non-azure machines targeted by the software update * configuration. * - * @param {object} [parameters.updateConfiguration.targets] group informations + * @param {object} [parameters.updateConfiguration.targets] Group information * that will be patched during run time. * * @param {array} [parameters.updateConfiguration.targets.azureQueries] List of @@ -6954,7 +6954,7 @@ export interface SoftwareUpdateConfigurations { * of names of non-azure machines targeted by the software update * configuration. * - * @param {object} [parameters.updateConfiguration.targets] group informations + * @param {object} [parameters.updateConfiguration.targets] Group information * that will be patched during run time. * * @param {array} [parameters.updateConfiguration.targets.azureQueries] List of diff --git a/lib/services/automationManagement/lib/operations/softwareUpdateConfigurations.js b/lib/services/automationManagement/lib/operations/softwareUpdateConfigurations.js index 6c19e33766..247b0f15ac 100644 --- a/lib/services/automationManagement/lib/operations/softwareUpdateConfigurations.js +++ b/lib/services/automationManagement/lib/operations/softwareUpdateConfigurations.js @@ -82,7 +82,7 @@ const WebResource = msRest.WebResource; * of names of non-azure machines targeted by the software update * configuration. * - * @param {object} [parameters.updateConfiguration.targets] group informations + * @param {object} [parameters.updateConfiguration.targets] Group information * that will be patched during run time. * * @param {array} [parameters.updateConfiguration.targets.azureQueries] List of @@ -940,7 +940,7 @@ class SoftwareUpdateConfigurations { * of names of non-azure machines targeted by the software update * configuration. * - * @param {object} [parameters.updateConfiguration.targets] group informations + * @param {object} [parameters.updateConfiguration.targets] Group information * that will be patched during run time. * * @param {array} [parameters.updateConfiguration.targets.azureQueries] List of @@ -1101,7 +1101,7 @@ class SoftwareUpdateConfigurations { * of names of non-azure machines targeted by the software update * configuration. * - * @param {object} [parameters.updateConfiguration.targets] group informations + * @param {object} [parameters.updateConfiguration.targets] Group information * that will be patched during run time. * * @param {array} [parameters.updateConfiguration.targets.azureQueries] List of From f32cc98998e2a0acc171f841fdb3bb77f525f2db Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Mon, 15 Oct 2018 23:49:48 +0000 Subject: [PATCH 4/5] Generated from 915d19ed0f6a41d54a20040b8166514b5c9ef7f8 Changes after reviewing the descriptions --- .../lib/models/azureQueryProperties.js | 2 +- .../automationManagement/lib/models/index.d.ts | 18 +++++++++--------- .../lib/models/softwareUpdateConfiguration.js | 6 +++--- .../lib/models/tagSettingsProperties.js | 2 +- .../lib/models/targetProperties.js | 4 ++-- .../lib/models/updateConfiguration.js | 8 ++++---- .../lib/operations/index.d.ts | 12 ++++++------ .../operations/softwareUpdateConfigurations.js | 18 +++++++++--------- 8 files changed, 35 insertions(+), 35 deletions(-) diff --git a/lib/services/automationManagement/lib/models/azureQueryProperties.js b/lib/services/automationManagement/lib/models/azureQueryProperties.js index 9afc1df17a..491b920a10 100644 --- a/lib/services/automationManagement/lib/models/azureQueryProperties.js +++ b/lib/services/automationManagement/lib/models/azureQueryProperties.js @@ -21,7 +21,7 @@ class AzureQueryProperties { * @member {array} [location] List of locations for the VM. * @member {object} [tagSettings] Tag settings for the VM. * @member {object} [tagSettings.tags] Dictionary of tags with its list of - * values + * values. * @member {string} [tagSettings.filterOperator] Filter VMs by Any or All * specified tags. Possible values include: 'All', 'Any' */ diff --git a/lib/services/automationManagement/lib/models/index.d.ts b/lib/services/automationManagement/lib/models/index.d.ts index b85da0d07f..1e0ffa9034 100644 --- a/lib/services/automationManagement/lib/models/index.d.ts +++ b/lib/services/automationManagement/lib/models/index.d.ts @@ -1576,7 +1576,7 @@ export interface LinuxProperties { * @constructor * Tag filter information for the VM. * - * @member {object} [tags] Dictionary of tags with its list of values + * @member {object} [tags] Dictionary of tags with its list of values. * @member {string} [filterOperator] Filter VMs by Any or All specified tags. * Possible values include: 'All', 'Any' */ @@ -1595,7 +1595,7 @@ export interface TagSettingsProperties { * @member {array} [location] List of locations for the VM. * @member {object} [tagSettings] Tag settings for the VM. * @member {object} [tagSettings.tags] Dictionary of tags with its list of - * values + * values. * @member {string} [tagSettings.filterOperator] Filter VMs by Any or All * specified tags. Possible values include: 'All', 'Any' */ @@ -1611,7 +1611,7 @@ export interface AzureQueryProperties { * @constructor * Group specific to the update configuration. * - * @member {array} [azureQueries] List of Azure queries in software update + * @member {array} [azureQueries] List of Azure queries in the software update * configuration. */ export interface TargetProperties { @@ -1655,9 +1655,9 @@ export interface TargetProperties { * virtual machines targeted by the software update configuration. * @member {array} [nonAzureComputerNames] List of names of non-azure machines * targeted by the software update configuration. - * @member {object} [targets] Group information that will be patched during run - * time. - * @member {array} [targets.azureQueries] List of Azure queries in software + * @member {object} [targets] Group targets for the software update + * configuration. + * @member {array} [targets.azureQueries] List of Azure queries in the software * update configuration. */ export interface UpdateConfiguration { @@ -1715,10 +1715,10 @@ export interface UpdateConfiguration { * configuration. * @member {array} [updateConfiguration.nonAzureComputerNames] List of names of * non-azure machines targeted by the software update configuration. - * @member {object} [updateConfiguration.targets] Group information that will - * be patched during run time. + * @member {object} [updateConfiguration.targets] Group targets for the + * software update configuration. * @member {array} [updateConfiguration.targets.azureQueries] List of Azure - * queries in software update configuration. + * queries in the software update configuration. * @member {object} scheduleInfo Schedule information for the Software update * configuration * @member {date} [scheduleInfo.startTime] Gets or sets the start time of the diff --git a/lib/services/automationManagement/lib/models/softwareUpdateConfiguration.js b/lib/services/automationManagement/lib/models/softwareUpdateConfiguration.js index 5f089bc219..c115a62c0e 100644 --- a/lib/services/automationManagement/lib/models/softwareUpdateConfiguration.js +++ b/lib/services/automationManagement/lib/models/softwareUpdateConfiguration.js @@ -61,10 +61,10 @@ class SoftwareUpdateConfiguration extends models['BaseResource'] { * configuration. * @member {array} [updateConfiguration.nonAzureComputerNames] List of names * of non-azure machines targeted by the software update configuration. - * @member {object} [updateConfiguration.targets] Group information that will - * be patched during run time. + * @member {object} [updateConfiguration.targets] Group targets for the + * software update configuration. * @member {array} [updateConfiguration.targets.azureQueries] List of Azure - * queries in software update configuration. + * queries in the software update configuration. * @member {object} scheduleInfo Schedule information for the Software update * configuration * @member {date} [scheduleInfo.startTime] Gets or sets the start time of the diff --git a/lib/services/automationManagement/lib/models/tagSettingsProperties.js b/lib/services/automationManagement/lib/models/tagSettingsProperties.js index 327186e6af..6caf46de7e 100644 --- a/lib/services/automationManagement/lib/models/tagSettingsProperties.js +++ b/lib/services/automationManagement/lib/models/tagSettingsProperties.js @@ -17,7 +17,7 @@ class TagSettingsProperties { /** * Create a TagSettingsProperties. - * @member {object} [tags] Dictionary of tags with its list of values + * @member {object} [tags] Dictionary of tags with its list of values. * @member {string} [filterOperator] Filter VMs by Any or All specified tags. * Possible values include: 'All', 'Any' */ diff --git a/lib/services/automationManagement/lib/models/targetProperties.js b/lib/services/automationManagement/lib/models/targetProperties.js index 520a2c348f..f7ecd24f08 100644 --- a/lib/services/automationManagement/lib/models/targetProperties.js +++ b/lib/services/automationManagement/lib/models/targetProperties.js @@ -17,8 +17,8 @@ class TargetProperties { /** * Create a TargetProperties. - * @member {array} [azureQueries] List of Azure queries in software update - * configuration. + * @member {array} [azureQueries] List of Azure queries in the software + * update configuration. */ constructor() { } diff --git a/lib/services/automationManagement/lib/models/updateConfiguration.js b/lib/services/automationManagement/lib/models/updateConfiguration.js index 74ef6939f7..1c6e6bc95e 100644 --- a/lib/services/automationManagement/lib/models/updateConfiguration.js +++ b/lib/services/automationManagement/lib/models/updateConfiguration.js @@ -48,10 +48,10 @@ class UpdateConfiguration { * azure virtual machines targeted by the software update configuration. * @member {array} [nonAzureComputerNames] List of names of non-azure * machines targeted by the software update configuration. - * @member {object} [targets] Group information that will be patched during - * run time. - * @member {array} [targets.azureQueries] List of Azure queries in software - * update configuration. + * @member {object} [targets] Group targets for the software update + * configuration. + * @member {array} [targets.azureQueries] List of Azure queries in the + * software update configuration. */ constructor() { } diff --git a/lib/services/automationManagement/lib/operations/index.d.ts b/lib/services/automationManagement/lib/operations/index.d.ts index ab06952277..3af7e176c9 100644 --- a/lib/services/automationManagement/lib/operations/index.d.ts +++ b/lib/services/automationManagement/lib/operations/index.d.ts @@ -6805,11 +6805,11 @@ export interface SoftwareUpdateConfigurations { * of names of non-azure machines targeted by the software update * configuration. * - * @param {object} [parameters.updateConfiguration.targets] Group information - * that will be patched during run time. + * @param {object} [parameters.updateConfiguration.targets] Group targets for + * the software update configuration. * * @param {array} [parameters.updateConfiguration.targets.azureQueries] List of - * Azure queries in software update configuration. + * Azure queries in the software update configuration. * * @param {object} parameters.scheduleInfo Schedule information for the * Software update configuration @@ -6954,11 +6954,11 @@ export interface SoftwareUpdateConfigurations { * of names of non-azure machines targeted by the software update * configuration. * - * @param {object} [parameters.updateConfiguration.targets] Group information - * that will be patched during run time. + * @param {object} [parameters.updateConfiguration.targets] Group targets for + * the software update configuration. * * @param {array} [parameters.updateConfiguration.targets.azureQueries] List of - * Azure queries in software update configuration. + * Azure queries in the software update configuration. * * @param {object} parameters.scheduleInfo Schedule information for the * Software update configuration diff --git a/lib/services/automationManagement/lib/operations/softwareUpdateConfigurations.js b/lib/services/automationManagement/lib/operations/softwareUpdateConfigurations.js index 247b0f15ac..d54b2a451d 100644 --- a/lib/services/automationManagement/lib/operations/softwareUpdateConfigurations.js +++ b/lib/services/automationManagement/lib/operations/softwareUpdateConfigurations.js @@ -82,11 +82,11 @@ const WebResource = msRest.WebResource; * of names of non-azure machines targeted by the software update * configuration. * - * @param {object} [parameters.updateConfiguration.targets] Group information - * that will be patched during run time. + * @param {object} [parameters.updateConfiguration.targets] Group targets for + * the software update configuration. * * @param {array} [parameters.updateConfiguration.targets.azureQueries] List of - * Azure queries in software update configuration. + * Azure queries in the software update configuration. * * @param {object} parameters.scheduleInfo Schedule information for the * Software update configuration @@ -940,11 +940,11 @@ class SoftwareUpdateConfigurations { * of names of non-azure machines targeted by the software update * configuration. * - * @param {object} [parameters.updateConfiguration.targets] Group information - * that will be patched during run time. + * @param {object} [parameters.updateConfiguration.targets] Group targets for + * the software update configuration. * * @param {array} [parameters.updateConfiguration.targets.azureQueries] List of - * Azure queries in software update configuration. + * Azure queries in the software update configuration. * * @param {object} parameters.scheduleInfo Schedule information for the * Software update configuration @@ -1101,11 +1101,11 @@ class SoftwareUpdateConfigurations { * of names of non-azure machines targeted by the software update * configuration. * - * @param {object} [parameters.updateConfiguration.targets] Group information - * that will be patched during run time. + * @param {object} [parameters.updateConfiguration.targets] Group targets for + * the software update configuration. * * @param {array} [parameters.updateConfiguration.targets.azureQueries] List of - * Azure queries in software update configuration. + * Azure queries in the software update configuration. * * @param {object} parameters.scheduleInfo Schedule information for the * Software update configuration From 561f39530989f4820f1af5f950d7497bec050014 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Mon, 15 Oct 2018 23:55:15 +0000 Subject: [PATCH 5/5] Generated from 915d19ed0f6a41d54a20040b8166514b5c9ef7f8 Changes after reviewing the descriptions --- .../automationManagement/lib/models/azureQueryProperties.js | 2 +- lib/services/automationManagement/lib/models/index.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/services/automationManagement/lib/models/azureQueryProperties.js b/lib/services/automationManagement/lib/models/azureQueryProperties.js index 491b920a10..d856eb6ce2 100644 --- a/lib/services/automationManagement/lib/models/azureQueryProperties.js +++ b/lib/services/automationManagement/lib/models/azureQueryProperties.js @@ -18,7 +18,7 @@ class AzureQueryProperties { /** * Create a AzureQueryProperties. * @member {array} [scope] List of Subscription or Resource Group ARM Ids. - * @member {array} [location] List of locations for the VM. + * @member {array} [location] List of locations to scope the query to. * @member {object} [tagSettings] Tag settings for the VM. * @member {object} [tagSettings.tags] Dictionary of tags with its list of * values. diff --git a/lib/services/automationManagement/lib/models/index.d.ts b/lib/services/automationManagement/lib/models/index.d.ts index 1e0ffa9034..3a5278d0e2 100644 --- a/lib/services/automationManagement/lib/models/index.d.ts +++ b/lib/services/automationManagement/lib/models/index.d.ts @@ -1592,7 +1592,7 @@ export interface TagSettingsProperties { * Azure query for the update configuration. * * @member {array} [scope] List of Subscription or Resource Group ARM Ids. - * @member {array} [location] List of locations for the VM. + * @member {array} [location] List of locations to scope the query to. * @member {object} [tagSettings] Tag settings for the VM. * @member {object} [tagSettings.tags] Dictionary of tags with its list of * values.