From 1e453d46aa0a66ff10c4ad0dc32a94bd77265a82 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Fri, 20 Apr 2018 06:49:11 +0000 Subject: [PATCH 1/3] Generated from 09707ce51ff1db6cbca968a32e7080d691b9c099 SoftwareUpdateConfiguration Changes to support Inclusion --- .../lib/models/index.d.ts | 28 +++++++++++---- .../lib/models/linuxProperties.js | 18 +++++++++- .../lib/models/softwareUpdateConfiguration.js | 9 +++-- .../lib/models/updateConfiguration.js | 9 +++-- .../lib/models/windowsProperties.js | 18 +++++++++- .../lib/operations/index.d.ts | 24 ++++++++++--- .../softwareUpdateConfigurations.js | 36 +++++++++++++++---- 7 files changed, 120 insertions(+), 22 deletions(-) diff --git a/lib/services/automationManagement/lib/models/index.d.ts b/lib/services/automationManagement/lib/models/index.d.ts index 5659c63477..9c6c248e5a 100644 --- a/lib/services/automationManagement/lib/models/index.d.ts +++ b/lib/services/automationManagement/lib/models/index.d.ts @@ -2392,13 +2392,16 @@ export interface JobCollectionItem extends ProxyResource { * included in the software update configuration. A comma separated string with * required values. Possible values include: 'Unclassified', 'Critical', * 'Security', 'UpdateRollup', 'FeaturePack', 'ServicePack', 'Definition', - * 'Tools', 'Updates' + * 'Tools', 'Updates', 'NotSelected' * @member {array} [excludedKbNumbers] KB numbers excluded from the software * update configuration. + * @member {array} [includedKbNumbers] KB numbers included from the software + * update configuration. */ export interface WindowsProperties { includedUpdateClassifications?: string; excludedKbNumbers?: string[]; + includedKbNumbers?: string[]; } /** @@ -2409,13 +2412,16 @@ export interface WindowsProperties { * * @member {string} [includedPackageClassifications] Update classifications * included in the software update configuration. Possible values include: - * 'Unclassified', 'Critical', 'Security', 'Other' + * 'Unclassified', 'Critical', 'Security', 'Other', 'NotSelected' * @member {array} [excludedPackageNameMasks] packages excluded from the * software update configuration. + * @member {array} [includedPackageNameMasks] packages included from the + * software update configuration. */ export interface LinuxProperties { includedPackageClassifications?: string; excludedPackageNameMasks?: string[]; + includedPackageNameMasks?: string[]; } /** @@ -2431,15 +2437,20 @@ export interface LinuxProperties { * classification included in the software update configuration. A comma * separated string with required values. Possible values include: * 'Unclassified', 'Critical', 'Security', 'UpdateRollup', 'FeaturePack', - * 'ServicePack', 'Definition', 'Tools', 'Updates' + * 'ServicePack', 'Definition', 'Tools', 'Updates', 'NotSelected' * @member {array} [windows.excludedKbNumbers] KB numbers excluded from the * software update configuration. + * @member {array} [windows.includedKbNumbers] KB numbers included from the + * software update configuration. * @member {object} [linux] Linux specific update configuration. * @member {string} [linux.includedPackageClassifications] Update * classifications included in the software update configuration. Possible - * values include: 'Unclassified', 'Critical', 'Security', 'Other' + * values include: 'Unclassified', 'Critical', 'Security', 'Other', + * 'NotSelected' * @member {array} [linux.excludedPackageNameMasks] packages excluded from the * software update configuration. + * @member {array} [linux.includedPackageNameMasks] packages included from the + * software update configuration. * @member {moment.duration} [duration] Maximum time allowed for the software * update configuration run. Duration needs to be specified using the format * PT[n]H[n]M[n]S as per ISO8601 @@ -2476,16 +2487,21 @@ export interface UpdateConfiguration { * Update classification included in the software update configuration. A comma * separated string with required values. Possible values include: * 'Unclassified', 'Critical', 'Security', 'UpdateRollup', 'FeaturePack', - * 'ServicePack', 'Definition', 'Tools', 'Updates' + * 'ServicePack', 'Definition', 'Tools', 'Updates', 'NotSelected' * @member {array} [updateConfiguration.windows.excludedKbNumbers] KB numbers * excluded from the software update configuration. + * @member {array} [updateConfiguration.windows.includedKbNumbers] KB numbers + * included from the software update configuration. * @member {object} [updateConfiguration.linux] Linux specific update * configuration. * @member {string} [updateConfiguration.linux.includedPackageClassifications] * Update classifications included in the software update configuration. - * Possible values include: 'Unclassified', 'Critical', 'Security', 'Other' + * Possible values include: 'Unclassified', 'Critical', 'Security', 'Other', + * 'NotSelected' * @member {array} [updateConfiguration.linux.excludedPackageNameMasks] * packages excluded from the software update configuration. + * @member {array} [updateConfiguration.linux.includedPackageNameMasks] + * packages included from the software update configuration. * @member {moment.duration} [updateConfiguration.duration] Maximum time * allowed for the software update configuration run. Duration needs to be * specified using the format PT[n]H[n]M[n]S as per ISO8601 diff --git a/lib/services/automationManagement/lib/models/linuxProperties.js b/lib/services/automationManagement/lib/models/linuxProperties.js index 3e25b2be22..d424067a2a 100644 --- a/lib/services/automationManagement/lib/models/linuxProperties.js +++ b/lib/services/automationManagement/lib/models/linuxProperties.js @@ -19,9 +19,11 @@ class LinuxProperties { * Create a LinuxProperties. * @member {string} [includedPackageClassifications] Update classifications * included in the software update configuration. Possible values include: - * 'Unclassified', 'Critical', 'Security', 'Other' + * 'Unclassified', 'Critical', 'Security', 'Other', 'NotSelected' * @member {array} [excludedPackageNameMasks] packages excluded from the * software update configuration. + * @member {array} [includedPackageNameMasks] packages included from the + * software update configuration. */ constructor() { } @@ -60,6 +62,20 @@ class LinuxProperties { } } } + }, + includedPackageNameMasks: { + required: false, + serializedName: 'includedPackageNameMasks', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'StringElementType', + type: { + name: 'String' + } + } + } } } } diff --git a/lib/services/automationManagement/lib/models/softwareUpdateConfiguration.js b/lib/services/automationManagement/lib/models/softwareUpdateConfiguration.js index a93fc66152..a0693d3156 100644 --- a/lib/services/automationManagement/lib/models/softwareUpdateConfiguration.js +++ b/lib/services/automationManagement/lib/models/softwareUpdateConfiguration.js @@ -34,17 +34,22 @@ class SoftwareUpdateConfiguration extends models['BaseResource'] { * classification included in the software update configuration. A comma * separated string with required values. Possible values include: * 'Unclassified', 'Critical', 'Security', 'UpdateRollup', 'FeaturePack', - * 'ServicePack', 'Definition', 'Tools', 'Updates' + * 'ServicePack', 'Definition', 'Tools', 'Updates', 'NotSelected' * @member {array} [updateConfiguration.windows.excludedKbNumbers] KB numbers * excluded from the software update configuration. + * @member {array} [updateConfiguration.windows.includedKbNumbers] KB numbers + * included from the software update configuration. * @member {object} [updateConfiguration.linux] Linux specific update * configuration. * @member {string} * [updateConfiguration.linux.includedPackageClassifications] Update * classifications included in the software update configuration. Possible - * values include: 'Unclassified', 'Critical', 'Security', 'Other' + * values include: 'Unclassified', 'Critical', 'Security', 'Other', + * 'NotSelected' * @member {array} [updateConfiguration.linux.excludedPackageNameMasks] * packages excluded from the software update configuration. + * @member {array} [updateConfiguration.linux.includedPackageNameMasks] + * packages included from the software update configuration. * @member {moment.duration} [updateConfiguration.duration] Maximum time * allowed for the software update configuration run. Duration needs to be * specified using the format PT[n]H[n]M[n]S as per ISO8601 diff --git a/lib/services/automationManagement/lib/models/updateConfiguration.js b/lib/services/automationManagement/lib/models/updateConfiguration.js index 49842befcc..7e7e756fe4 100644 --- a/lib/services/automationManagement/lib/models/updateConfiguration.js +++ b/lib/services/automationManagement/lib/models/updateConfiguration.js @@ -26,15 +26,20 @@ class UpdateConfiguration { * classification included in the software update configuration. A comma * separated string with required values. Possible values include: * 'Unclassified', 'Critical', 'Security', 'UpdateRollup', 'FeaturePack', - * 'ServicePack', 'Definition', 'Tools', 'Updates' + * 'ServicePack', 'Definition', 'Tools', 'Updates', 'NotSelected' * @member {array} [windows.excludedKbNumbers] KB numbers excluded from the * software update configuration. + * @member {array} [windows.includedKbNumbers] KB numbers included from the + * software update configuration. * @member {object} [linux] Linux specific update configuration. * @member {string} [linux.includedPackageClassifications] Update * classifications included in the software update configuration. Possible - * values include: 'Unclassified', 'Critical', 'Security', 'Other' + * values include: 'Unclassified', 'Critical', 'Security', 'Other', + * 'NotSelected' * @member {array} [linux.excludedPackageNameMasks] packages excluded from * the software update configuration. + * @member {array} [linux.includedPackageNameMasks] packages included from + * the software update configuration. * @member {moment.duration} [duration] Maximum time allowed for the software * update configuration run. Duration needs to be specified using the format * PT[n]H[n]M[n]S as per ISO8601 diff --git a/lib/services/automationManagement/lib/models/windowsProperties.js b/lib/services/automationManagement/lib/models/windowsProperties.js index d58407607d..aa49608630 100644 --- a/lib/services/automationManagement/lib/models/windowsProperties.js +++ b/lib/services/automationManagement/lib/models/windowsProperties.js @@ -21,9 +21,11 @@ class WindowsProperties { * included in the software update configuration. A comma separated string * with required values. Possible values include: 'Unclassified', 'Critical', * 'Security', 'UpdateRollup', 'FeaturePack', 'ServicePack', 'Definition', - * 'Tools', 'Updates' + * 'Tools', 'Updates', 'NotSelected' * @member {array} [excludedKbNumbers] KB numbers excluded from the software * update configuration. + * @member {array} [includedKbNumbers] KB numbers included from the software + * update configuration. */ constructor() { } @@ -62,6 +64,20 @@ class WindowsProperties { } } } + }, + includedKbNumbers: { + required: false, + serializedName: 'includedKbNumbers', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'StringElementType', + type: { + name: 'String' + } + } + } } } } diff --git a/lib/services/automationManagement/lib/operations/index.d.ts b/lib/services/automationManagement/lib/operations/index.d.ts index 2c974517eb..4bcfba0953 100644 --- a/lib/services/automationManagement/lib/operations/index.d.ts +++ b/lib/services/automationManagement/lib/operations/index.d.ts @@ -7783,23 +7783,31 @@ export interface SoftwareUpdateConfigurations { * Update classification included in the software update configuration. A comma * separated string with required values. Possible values include: * 'Unclassified', 'Critical', 'Security', 'UpdateRollup', 'FeaturePack', - * 'ServicePack', 'Definition', 'Tools', 'Updates' + * 'ServicePack', 'Definition', 'Tools', 'Updates', 'NotSelected' * * @param {array} [parameters.updateConfiguration.windows.excludedKbNumbers] KB * numbers excluded from the software update configuration. * + * @param {array} [parameters.updateConfiguration.windows.includedKbNumbers] KB + * numbers included from the software update configuration. + * * @param {object} [parameters.updateConfiguration.linux] Linux specific update * configuration. * * @param {string} * [parameters.updateConfiguration.linux.includedPackageClassifications] Update * classifications included in the software update configuration. Possible - * values include: 'Unclassified', 'Critical', 'Security', 'Other' + * values include: 'Unclassified', 'Critical', 'Security', 'Other', + * 'NotSelected' * * @param {array} * [parameters.updateConfiguration.linux.excludedPackageNameMasks] packages * excluded from the software update configuration. * + * @param {array} + * [parameters.updateConfiguration.linux.includedPackageNameMasks] packages + * included from the software update configuration. + * * @param {moment.duration} [parameters.updateConfiguration.duration] Maximum * time allowed for the software update configuration run. Duration needs to be * specified using the format PT[n]H[n]M[n]S as per ISO8601 @@ -7913,23 +7921,31 @@ export interface SoftwareUpdateConfigurations { * Update classification included in the software update configuration. A comma * separated string with required values. Possible values include: * 'Unclassified', 'Critical', 'Security', 'UpdateRollup', 'FeaturePack', - * 'ServicePack', 'Definition', 'Tools', 'Updates' + * 'ServicePack', 'Definition', 'Tools', 'Updates', 'NotSelected' * * @param {array} [parameters.updateConfiguration.windows.excludedKbNumbers] KB * numbers excluded from the software update configuration. * + * @param {array} [parameters.updateConfiguration.windows.includedKbNumbers] KB + * numbers included from the software update configuration. + * * @param {object} [parameters.updateConfiguration.linux] Linux specific update * configuration. * * @param {string} * [parameters.updateConfiguration.linux.includedPackageClassifications] Update * classifications included in the software update configuration. Possible - * values include: 'Unclassified', 'Critical', 'Security', 'Other' + * values include: 'Unclassified', 'Critical', 'Security', 'Other', + * 'NotSelected' * * @param {array} * [parameters.updateConfiguration.linux.excludedPackageNameMasks] packages * excluded from the software update configuration. * + * @param {array} + * [parameters.updateConfiguration.linux.includedPackageNameMasks] packages + * included from the software update configuration. + * * @param {moment.duration} [parameters.updateConfiguration.duration] Maximum * time allowed for the software update configuration run. Duration needs to be * specified using the format PT[n]H[n]M[n]S as per ISO8601 diff --git a/lib/services/automationManagement/lib/operations/softwareUpdateConfigurations.js b/lib/services/automationManagement/lib/operations/softwareUpdateConfigurations.js index a23fd6b9da..d9ba123f1e 100644 --- a/lib/services/automationManagement/lib/operations/softwareUpdateConfigurations.js +++ b/lib/services/automationManagement/lib/operations/softwareUpdateConfigurations.js @@ -40,23 +40,31 @@ const WebResource = msRest.WebResource; * Update classification included in the software update configuration. A comma * separated string with required values. Possible values include: * 'Unclassified', 'Critical', 'Security', 'UpdateRollup', 'FeaturePack', - * 'ServicePack', 'Definition', 'Tools', 'Updates' + * 'ServicePack', 'Definition', 'Tools', 'Updates', 'NotSelected' * * @param {array} [parameters.updateConfiguration.windows.excludedKbNumbers] KB * numbers excluded from the software update configuration. * + * @param {array} [parameters.updateConfiguration.windows.includedKbNumbers] KB + * numbers included from the software update configuration. + * * @param {object} [parameters.updateConfiguration.linux] Linux specific update * configuration. * * @param {string} * [parameters.updateConfiguration.linux.includedPackageClassifications] Update * classifications included in the software update configuration. Possible - * values include: 'Unclassified', 'Critical', 'Security', 'Other' + * values include: 'Unclassified', 'Critical', 'Security', 'Other', + * 'NotSelected' * * @param {array} * [parameters.updateConfiguration.linux.excludedPackageNameMasks] packages * excluded from the software update configuration. * + * @param {array} + * [parameters.updateConfiguration.linux.includedPackageNameMasks] packages + * included from the software update configuration. + * * @param {moment.duration} [parameters.updateConfiguration.duration] Maximum * time allowed for the software update configuration run. Duration needs to be * specified using the format PT[n]H[n]M[n]S as per ISO8601 @@ -875,23 +883,31 @@ class SoftwareUpdateConfigurations { * Update classification included in the software update configuration. A comma * separated string with required values. Possible values include: * 'Unclassified', 'Critical', 'Security', 'UpdateRollup', 'FeaturePack', - * 'ServicePack', 'Definition', 'Tools', 'Updates' + * 'ServicePack', 'Definition', 'Tools', 'Updates', 'NotSelected' * * @param {array} [parameters.updateConfiguration.windows.excludedKbNumbers] KB * numbers excluded from the software update configuration. * + * @param {array} [parameters.updateConfiguration.windows.includedKbNumbers] KB + * numbers included from the software update configuration. + * * @param {object} [parameters.updateConfiguration.linux] Linux specific update * configuration. * * @param {string} * [parameters.updateConfiguration.linux.includedPackageClassifications] Update * classifications included in the software update configuration. Possible - * values include: 'Unclassified', 'Critical', 'Security', 'Other' + * values include: 'Unclassified', 'Critical', 'Security', 'Other', + * 'NotSelected' * * @param {array} * [parameters.updateConfiguration.linux.excludedPackageNameMasks] packages * excluded from the software update configuration. * + * @param {array} + * [parameters.updateConfiguration.linux.includedPackageNameMasks] packages + * included from the software update configuration. + * * @param {moment.duration} [parameters.updateConfiguration.duration] Maximum * time allowed for the software update configuration run. Duration needs to be * specified using the format PT[n]H[n]M[n]S as per ISO8601 @@ -1017,23 +1033,31 @@ class SoftwareUpdateConfigurations { * Update classification included in the software update configuration. A comma * separated string with required values. Possible values include: * 'Unclassified', 'Critical', 'Security', 'UpdateRollup', 'FeaturePack', - * 'ServicePack', 'Definition', 'Tools', 'Updates' + * 'ServicePack', 'Definition', 'Tools', 'Updates', 'NotSelected' * * @param {array} [parameters.updateConfiguration.windows.excludedKbNumbers] KB * numbers excluded from the software update configuration. * + * @param {array} [parameters.updateConfiguration.windows.includedKbNumbers] KB + * numbers included from the software update configuration. + * * @param {object} [parameters.updateConfiguration.linux] Linux specific update * configuration. * * @param {string} * [parameters.updateConfiguration.linux.includedPackageClassifications] Update * classifications included in the software update configuration. Possible - * values include: 'Unclassified', 'Critical', 'Security', 'Other' + * values include: 'Unclassified', 'Critical', 'Security', 'Other', + * 'NotSelected' * * @param {array} * [parameters.updateConfiguration.linux.excludedPackageNameMasks] packages * excluded from the software update configuration. * + * @param {array} + * [parameters.updateConfiguration.linux.includedPackageNameMasks] packages + * included from the software update configuration. + * * @param {moment.duration} [parameters.updateConfiguration.duration] Maximum * time allowed for the software update configuration run. Duration needs to be * specified using the format PT[n]H[n]M[n]S as per ISO8601 From ad94f5ff83a59007e688b714d740aaa12d40bffc Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Sat, 21 Apr 2018 13:50:56 +0000 Subject: [PATCH 2/3] Generated from f5aaeaf28f08380d2d58718fdbb31584d0a00c72 Removed NotSelected --- .../lib/models/index.d.ts | 24 +++++++------------ .../automationManagement/lib/models/job.js | 1 + .../lib/models/jobCollectionItem.js | 10 +++----- .../lib/models/linuxProperties.js | 2 +- .../lib/models/softwareUpdateConfiguration.js | 5 ++-- .../lib/models/updateConfiguration.js | 5 ++-- .../lib/models/windowsProperties.js | 2 +- .../lib/operations/index.d.ts | 10 ++++---- .../softwareUpdateConfigurations.js | 15 +++++------- 9 files changed, 29 insertions(+), 45 deletions(-) diff --git a/lib/services/automationManagement/lib/models/index.d.ts b/lib/services/automationManagement/lib/models/index.d.ts index 9c6c248e5a..9bcc660051 100644 --- a/lib/services/automationManagement/lib/models/index.d.ts +++ b/lib/services/automationManagement/lib/models/index.d.ts @@ -1671,7 +1671,7 @@ export interface Job extends ProxyResource { lastModifiedTime?: Date; lastStatusModifiedTime?: Date; parameters?: { [propertyName: string]: string }; - provisioningState?: JobProvisioningStateProperty; + readonly provisioningState?: JobProvisioningStateProperty; } /** @@ -2365,11 +2365,7 @@ export interface WebhookUpdateParameters { * @member {date} [startTime] The start time of the job. * @member {date} [endTime] The end time of the job. * @member {date} [lastModifiedTime] The last modified time of the job. - * @member {object} [provisioningState] The current provisioning state of the - * job. - * @member {string} [provisioningState.provisioningState] The provisioning - * state of the resource. Possible values include: 'Failed', 'Succeeded', - * 'Suspended', 'Processing' + * @member {string} [provisioningState] The provisioning state of a resource. */ export interface JobCollectionItem extends ProxyResource { readonly runbook?: RunbookAssociationProperty; @@ -2379,7 +2375,7 @@ export interface JobCollectionItem extends ProxyResource { readonly startTime?: Date; readonly endTime?: Date; readonly lastModifiedTime?: Date; - provisioningState?: JobProvisioningStateProperty; + readonly provisioningState?: string; } /** @@ -2392,7 +2388,7 @@ export interface JobCollectionItem extends ProxyResource { * included in the software update configuration. A comma separated string with * required values. Possible values include: 'Unclassified', 'Critical', * 'Security', 'UpdateRollup', 'FeaturePack', 'ServicePack', 'Definition', - * 'Tools', 'Updates', 'NotSelected' + * 'Tools', 'Updates' * @member {array} [excludedKbNumbers] KB numbers excluded from the software * update configuration. * @member {array} [includedKbNumbers] KB numbers included from the software @@ -2412,7 +2408,7 @@ export interface WindowsProperties { * * @member {string} [includedPackageClassifications] Update classifications * included in the software update configuration. Possible values include: - * 'Unclassified', 'Critical', 'Security', 'Other', 'NotSelected' + * 'Unclassified', 'Critical', 'Security', 'Other' * @member {array} [excludedPackageNameMasks] packages excluded from the * software update configuration. * @member {array} [includedPackageNameMasks] packages included from the @@ -2437,7 +2433,7 @@ export interface LinuxProperties { * classification included in the software update configuration. A comma * separated string with required values. Possible values include: * 'Unclassified', 'Critical', 'Security', 'UpdateRollup', 'FeaturePack', - * 'ServicePack', 'Definition', 'Tools', 'Updates', 'NotSelected' + * 'ServicePack', 'Definition', 'Tools', 'Updates' * @member {array} [windows.excludedKbNumbers] KB numbers excluded from the * software update configuration. * @member {array} [windows.includedKbNumbers] KB numbers included from the @@ -2445,8 +2441,7 @@ export interface LinuxProperties { * @member {object} [linux] Linux specific update configuration. * @member {string} [linux.includedPackageClassifications] Update * classifications included in the software update configuration. Possible - * values include: 'Unclassified', 'Critical', 'Security', 'Other', - * 'NotSelected' + * values include: 'Unclassified', 'Critical', 'Security', 'Other' * @member {array} [linux.excludedPackageNameMasks] packages excluded from the * software update configuration. * @member {array} [linux.includedPackageNameMasks] packages included from the @@ -2487,7 +2482,7 @@ export interface UpdateConfiguration { * Update classification included in the software update configuration. A comma * separated string with required values. Possible values include: * 'Unclassified', 'Critical', 'Security', 'UpdateRollup', 'FeaturePack', - * 'ServicePack', 'Definition', 'Tools', 'Updates', 'NotSelected' + * 'ServicePack', 'Definition', 'Tools', 'Updates' * @member {array} [updateConfiguration.windows.excludedKbNumbers] KB numbers * excluded from the software update configuration. * @member {array} [updateConfiguration.windows.includedKbNumbers] KB numbers @@ -2496,8 +2491,7 @@ export interface UpdateConfiguration { * configuration. * @member {string} [updateConfiguration.linux.includedPackageClassifications] * Update classifications included in the software update configuration. - * Possible values include: 'Unclassified', 'Critical', 'Security', 'Other', - * 'NotSelected' + * Possible values include: 'Unclassified', 'Critical', 'Security', 'Other' * @member {array} [updateConfiguration.linux.excludedPackageNameMasks] * packages excluded from the software update configuration. * @member {array} [updateConfiguration.linux.includedPackageNameMasks] diff --git a/lib/services/automationManagement/lib/models/job.js b/lib/services/automationManagement/lib/models/job.js index b75467cfad..dfe14d9a78 100644 --- a/lib/services/automationManagement/lib/models/job.js +++ b/lib/services/automationManagement/lib/models/job.js @@ -189,6 +189,7 @@ class Job extends models['ProxyResource'] { }, provisioningState: { required: false, + readOnly: true, serializedName: 'properties.provisioningState', type: { name: 'Composite', diff --git a/lib/services/automationManagement/lib/models/jobCollectionItem.js b/lib/services/automationManagement/lib/models/jobCollectionItem.js index cec5e91389..5b3ddee38f 100644 --- a/lib/services/automationManagement/lib/models/jobCollectionItem.js +++ b/lib/services/automationManagement/lib/models/jobCollectionItem.js @@ -31,11 +31,7 @@ class JobCollectionItem extends models['ProxyResource'] { * @member {date} [startTime] The start time of the job. * @member {date} [endTime] The end time of the job. * @member {date} [lastModifiedTime] The last modified time of the job. - * @member {object} [provisioningState] The current provisioning state of the - * job. - * @member {string} [provisioningState.provisioningState] The provisioning - * state of the resource. Possible values include: 'Failed', 'Succeeded', - * 'Suspended', 'Processing' + * @member {string} [provisioningState] The provisioning state of a resource. */ constructor() { super(); @@ -138,10 +134,10 @@ class JobCollectionItem extends models['ProxyResource'] { }, provisioningState: { required: false, + readOnly: true, serializedName: 'properties.provisioningState', type: { - name: 'Composite', - className: 'JobProvisioningStateProperty' + name: 'String' } } } diff --git a/lib/services/automationManagement/lib/models/linuxProperties.js b/lib/services/automationManagement/lib/models/linuxProperties.js index d424067a2a..82e7421b85 100644 --- a/lib/services/automationManagement/lib/models/linuxProperties.js +++ b/lib/services/automationManagement/lib/models/linuxProperties.js @@ -19,7 +19,7 @@ class LinuxProperties { * Create a LinuxProperties. * @member {string} [includedPackageClassifications] Update classifications * included in the software update configuration. Possible values include: - * 'Unclassified', 'Critical', 'Security', 'Other', 'NotSelected' + * 'Unclassified', 'Critical', 'Security', 'Other' * @member {array} [excludedPackageNameMasks] packages excluded from the * software update configuration. * @member {array} [includedPackageNameMasks] packages included from the diff --git a/lib/services/automationManagement/lib/models/softwareUpdateConfiguration.js b/lib/services/automationManagement/lib/models/softwareUpdateConfiguration.js index a0693d3156..cfb5e0141d 100644 --- a/lib/services/automationManagement/lib/models/softwareUpdateConfiguration.js +++ b/lib/services/automationManagement/lib/models/softwareUpdateConfiguration.js @@ -34,7 +34,7 @@ class SoftwareUpdateConfiguration extends models['BaseResource'] { * classification included in the software update configuration. A comma * separated string with required values. Possible values include: * 'Unclassified', 'Critical', 'Security', 'UpdateRollup', 'FeaturePack', - * 'ServicePack', 'Definition', 'Tools', 'Updates', 'NotSelected' + * 'ServicePack', 'Definition', 'Tools', 'Updates' * @member {array} [updateConfiguration.windows.excludedKbNumbers] KB numbers * excluded from the software update configuration. * @member {array} [updateConfiguration.windows.includedKbNumbers] KB numbers @@ -44,8 +44,7 @@ class SoftwareUpdateConfiguration extends models['BaseResource'] { * @member {string} * [updateConfiguration.linux.includedPackageClassifications] Update * classifications included in the software update configuration. Possible - * values include: 'Unclassified', 'Critical', 'Security', 'Other', - * 'NotSelected' + * values include: 'Unclassified', 'Critical', 'Security', 'Other' * @member {array} [updateConfiguration.linux.excludedPackageNameMasks] * packages excluded from the software update configuration. * @member {array} [updateConfiguration.linux.includedPackageNameMasks] diff --git a/lib/services/automationManagement/lib/models/updateConfiguration.js b/lib/services/automationManagement/lib/models/updateConfiguration.js index 7e7e756fe4..ba72805c21 100644 --- a/lib/services/automationManagement/lib/models/updateConfiguration.js +++ b/lib/services/automationManagement/lib/models/updateConfiguration.js @@ -26,7 +26,7 @@ class UpdateConfiguration { * classification included in the software update configuration. A comma * separated string with required values. Possible values include: * 'Unclassified', 'Critical', 'Security', 'UpdateRollup', 'FeaturePack', - * 'ServicePack', 'Definition', 'Tools', 'Updates', 'NotSelected' + * 'ServicePack', 'Definition', 'Tools', 'Updates' * @member {array} [windows.excludedKbNumbers] KB numbers excluded from the * software update configuration. * @member {array} [windows.includedKbNumbers] KB numbers included from the @@ -34,8 +34,7 @@ class UpdateConfiguration { * @member {object} [linux] Linux specific update configuration. * @member {string} [linux.includedPackageClassifications] Update * classifications included in the software update configuration. Possible - * values include: 'Unclassified', 'Critical', 'Security', 'Other', - * 'NotSelected' + * values include: 'Unclassified', 'Critical', 'Security', 'Other' * @member {array} [linux.excludedPackageNameMasks] packages excluded from * the software update configuration. * @member {array} [linux.includedPackageNameMasks] packages included from diff --git a/lib/services/automationManagement/lib/models/windowsProperties.js b/lib/services/automationManagement/lib/models/windowsProperties.js index aa49608630..70d8281493 100644 --- a/lib/services/automationManagement/lib/models/windowsProperties.js +++ b/lib/services/automationManagement/lib/models/windowsProperties.js @@ -21,7 +21,7 @@ class WindowsProperties { * included in the software update configuration. A comma separated string * with required values. Possible values include: 'Unclassified', 'Critical', * 'Security', 'UpdateRollup', 'FeaturePack', 'ServicePack', 'Definition', - * 'Tools', 'Updates', 'NotSelected' + * 'Tools', 'Updates' * @member {array} [excludedKbNumbers] KB numbers excluded from the software * update configuration. * @member {array} [includedKbNumbers] KB numbers included from the software diff --git a/lib/services/automationManagement/lib/operations/index.d.ts b/lib/services/automationManagement/lib/operations/index.d.ts index 4bcfba0953..779c5c2bd5 100644 --- a/lib/services/automationManagement/lib/operations/index.d.ts +++ b/lib/services/automationManagement/lib/operations/index.d.ts @@ -7783,7 +7783,7 @@ export interface SoftwareUpdateConfigurations { * Update classification included in the software update configuration. A comma * separated string with required values. Possible values include: * 'Unclassified', 'Critical', 'Security', 'UpdateRollup', 'FeaturePack', - * 'ServicePack', 'Definition', 'Tools', 'Updates', 'NotSelected' + * 'ServicePack', 'Definition', 'Tools', 'Updates' * * @param {array} [parameters.updateConfiguration.windows.excludedKbNumbers] KB * numbers excluded from the software update configuration. @@ -7797,8 +7797,7 @@ export interface SoftwareUpdateConfigurations { * @param {string} * [parameters.updateConfiguration.linux.includedPackageClassifications] Update * classifications included in the software update configuration. Possible - * values include: 'Unclassified', 'Critical', 'Security', 'Other', - * 'NotSelected' + * values include: 'Unclassified', 'Critical', 'Security', 'Other' * * @param {array} * [parameters.updateConfiguration.linux.excludedPackageNameMasks] packages @@ -7921,7 +7920,7 @@ export interface SoftwareUpdateConfigurations { * Update classification included in the software update configuration. A comma * separated string with required values. Possible values include: * 'Unclassified', 'Critical', 'Security', 'UpdateRollup', 'FeaturePack', - * 'ServicePack', 'Definition', 'Tools', 'Updates', 'NotSelected' + * 'ServicePack', 'Definition', 'Tools', 'Updates' * * @param {array} [parameters.updateConfiguration.windows.excludedKbNumbers] KB * numbers excluded from the software update configuration. @@ -7935,8 +7934,7 @@ export interface SoftwareUpdateConfigurations { * @param {string} * [parameters.updateConfiguration.linux.includedPackageClassifications] Update * classifications included in the software update configuration. Possible - * values include: 'Unclassified', 'Critical', 'Security', 'Other', - * 'NotSelected' + * values include: 'Unclassified', 'Critical', 'Security', 'Other' * * @param {array} * [parameters.updateConfiguration.linux.excludedPackageNameMasks] packages diff --git a/lib/services/automationManagement/lib/operations/softwareUpdateConfigurations.js b/lib/services/automationManagement/lib/operations/softwareUpdateConfigurations.js index d9ba123f1e..f4e310731e 100644 --- a/lib/services/automationManagement/lib/operations/softwareUpdateConfigurations.js +++ b/lib/services/automationManagement/lib/operations/softwareUpdateConfigurations.js @@ -40,7 +40,7 @@ const WebResource = msRest.WebResource; * Update classification included in the software update configuration. A comma * separated string with required values. Possible values include: * 'Unclassified', 'Critical', 'Security', 'UpdateRollup', 'FeaturePack', - * 'ServicePack', 'Definition', 'Tools', 'Updates', 'NotSelected' + * 'ServicePack', 'Definition', 'Tools', 'Updates' * * @param {array} [parameters.updateConfiguration.windows.excludedKbNumbers] KB * numbers excluded from the software update configuration. @@ -54,8 +54,7 @@ const WebResource = msRest.WebResource; * @param {string} * [parameters.updateConfiguration.linux.includedPackageClassifications] Update * classifications included in the software update configuration. Possible - * values include: 'Unclassified', 'Critical', 'Security', 'Other', - * 'NotSelected' + * values include: 'Unclassified', 'Critical', 'Security', 'Other' * * @param {array} * [parameters.updateConfiguration.linux.excludedPackageNameMasks] packages @@ -883,7 +882,7 @@ class SoftwareUpdateConfigurations { * Update classification included in the software update configuration. A comma * separated string with required values. Possible values include: * 'Unclassified', 'Critical', 'Security', 'UpdateRollup', 'FeaturePack', - * 'ServicePack', 'Definition', 'Tools', 'Updates', 'NotSelected' + * 'ServicePack', 'Definition', 'Tools', 'Updates' * * @param {array} [parameters.updateConfiguration.windows.excludedKbNumbers] KB * numbers excluded from the software update configuration. @@ -897,8 +896,7 @@ class SoftwareUpdateConfigurations { * @param {string} * [parameters.updateConfiguration.linux.includedPackageClassifications] Update * classifications included in the software update configuration. Possible - * values include: 'Unclassified', 'Critical', 'Security', 'Other', - * 'NotSelected' + * values include: 'Unclassified', 'Critical', 'Security', 'Other' * * @param {array} * [parameters.updateConfiguration.linux.excludedPackageNameMasks] packages @@ -1033,7 +1031,7 @@ class SoftwareUpdateConfigurations { * Update classification included in the software update configuration. A comma * separated string with required values. Possible values include: * 'Unclassified', 'Critical', 'Security', 'UpdateRollup', 'FeaturePack', - * 'ServicePack', 'Definition', 'Tools', 'Updates', 'NotSelected' + * 'ServicePack', 'Definition', 'Tools', 'Updates' * * @param {array} [parameters.updateConfiguration.windows.excludedKbNumbers] KB * numbers excluded from the software update configuration. @@ -1047,8 +1045,7 @@ class SoftwareUpdateConfigurations { * @param {string} * [parameters.updateConfiguration.linux.includedPackageClassifications] Update * classifications included in the software update configuration. Possible - * values include: 'Unclassified', 'Critical', 'Security', 'Other', - * 'NotSelected' + * values include: 'Unclassified', 'Critical', 'Security', 'Other' * * @param {array} * [parameters.updateConfiguration.linux.excludedPackageNameMasks] packages From 8d694ca03dd9fbb5b62389d2aa49b76c0cc49304 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 26 Apr 2018 05:23:02 +0000 Subject: [PATCH 3/3] Generated from f5aaeaf28f08380d2d58718fdbb31584d0a00c72 Removed NotSelected --- .../automationManagement/lib/models/index.d.ts | 10 +++++++--- lib/services/automationManagement/lib/models/job.js | 1 - .../lib/models/jobCollectionItem.js | 10 +++++++--- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/lib/services/automationManagement/lib/models/index.d.ts b/lib/services/automationManagement/lib/models/index.d.ts index 9bcc660051..51e81883da 100644 --- a/lib/services/automationManagement/lib/models/index.d.ts +++ b/lib/services/automationManagement/lib/models/index.d.ts @@ -1671,7 +1671,7 @@ export interface Job extends ProxyResource { lastModifiedTime?: Date; lastStatusModifiedTime?: Date; parameters?: { [propertyName: string]: string }; - readonly provisioningState?: JobProvisioningStateProperty; + provisioningState?: JobProvisioningStateProperty; } /** @@ -2365,7 +2365,11 @@ export interface WebhookUpdateParameters { * @member {date} [startTime] The start time of the job. * @member {date} [endTime] The end time of the job. * @member {date} [lastModifiedTime] The last modified time of the job. - * @member {string} [provisioningState] The provisioning state of a resource. + * @member {object} [provisioningState] The current provisioning state of the + * job. + * @member {string} [provisioningState.provisioningState] The provisioning + * state of the resource. Possible values include: 'Failed', 'Succeeded', + * 'Suspended', 'Processing' */ export interface JobCollectionItem extends ProxyResource { readonly runbook?: RunbookAssociationProperty; @@ -2375,7 +2379,7 @@ export interface JobCollectionItem extends ProxyResource { readonly startTime?: Date; readonly endTime?: Date; readonly lastModifiedTime?: Date; - readonly provisioningState?: string; + provisioningState?: JobProvisioningStateProperty; } /** diff --git a/lib/services/automationManagement/lib/models/job.js b/lib/services/automationManagement/lib/models/job.js index dfe14d9a78..b75467cfad 100644 --- a/lib/services/automationManagement/lib/models/job.js +++ b/lib/services/automationManagement/lib/models/job.js @@ -189,7 +189,6 @@ class Job extends models['ProxyResource'] { }, provisioningState: { required: false, - readOnly: true, serializedName: 'properties.provisioningState', type: { name: 'Composite', diff --git a/lib/services/automationManagement/lib/models/jobCollectionItem.js b/lib/services/automationManagement/lib/models/jobCollectionItem.js index 5b3ddee38f..cec5e91389 100644 --- a/lib/services/automationManagement/lib/models/jobCollectionItem.js +++ b/lib/services/automationManagement/lib/models/jobCollectionItem.js @@ -31,7 +31,11 @@ class JobCollectionItem extends models['ProxyResource'] { * @member {date} [startTime] The start time of the job. * @member {date} [endTime] The end time of the job. * @member {date} [lastModifiedTime] The last modified time of the job. - * @member {string} [provisioningState] The provisioning state of a resource. + * @member {object} [provisioningState] The current provisioning state of the + * job. + * @member {string} [provisioningState.provisioningState] The provisioning + * state of the resource. Possible values include: 'Failed', 'Succeeded', + * 'Suspended', 'Processing' */ constructor() { super(); @@ -134,10 +138,10 @@ class JobCollectionItem extends models['ProxyResource'] { }, provisioningState: { required: false, - readOnly: true, serializedName: 'properties.provisioningState', type: { - name: 'String' + name: 'Composite', + className: 'JobProvisioningStateProperty' } } }