Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
[AutoPR automation/resource-manager] [UpdateManagement] SoftwareUpdat…
Browse files Browse the repository at this point in the history
…eConfiguration changes to support Inclusion (#2795)

* Generated from 09707ce51ff1db6cbca968a32e7080d691b9c099

SoftwareUpdateConfiguration Changes to support Inclusion

* Generated from f5aaeaf28f08380d2d58718fdbb31584d0a00c72

Removed NotSelected

* Generated from f5aaeaf28f08380d2d58718fdbb31584d0a00c72

Removed NotSelected
  • Loading branch information
AutorestCI authored Apr 26, 2018
1 parent d2efefb commit 4a506ca
Show file tree
Hide file tree
Showing 7 changed files with 89 additions and 0 deletions.
14 changes: 14 additions & 0 deletions lib/services/automationManagement/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2391,10 +2391,13 @@ export interface JobCollectionItem extends ProxyResource {
* 'Tools', 'Updates'
* @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[];
}

/**
Expand All @@ -2408,10 +2411,13 @@ export interface WindowsProperties {
* 'Unclassified', 'Critical', 'Security', 'Other'
* @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[];
}

/**
Expand All @@ -2430,12 +2436,16 @@ export interface LinuxProperties {
* '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
* 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'
* @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
Expand Down Expand Up @@ -2475,13 +2485,17 @@ export interface UpdateConfiguration {
* 'ServicePack', 'Definition', 'Tools', 'Updates'
* @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'
* @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
Expand Down
16 changes: 16 additions & 0 deletions lib/services/automationManagement/lib/models/linuxProperties.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ class LinuxProperties {
* 'Unclassified', 'Critical', 'Security', 'Other'
* @member {array} [excludedPackageNameMasks] packages excluded from the
* software update configuration.
* @member {array} [includedPackageNameMasks] packages included from the
* software update configuration.
*/
constructor() {
}
Expand Down Expand Up @@ -60,6 +62,20 @@ class LinuxProperties {
}
}
}
},
includedPackageNameMasks: {
required: false,
serializedName: 'includedPackageNameMasks',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ class SoftwareUpdateConfiguration extends models['BaseResource'] {
* 'ServicePack', 'Definition', 'Tools', 'Updates'
* @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}
Expand All @@ -45,6 +47,8 @@ class SoftwareUpdateConfiguration extends models['BaseResource'] {
* values include: 'Unclassified', 'Critical', 'Security', 'Other'
* @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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,16 @@ class UpdateConfiguration {
* '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
* 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'
* @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
Expand Down
16 changes: 16 additions & 0 deletions lib/services/automationManagement/lib/models/windowsProperties.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ class WindowsProperties {
* 'Tools', 'Updates'
* @member {array} [excludedKbNumbers] KB numbers excluded from the software
* update configuration.
* @member {array} [includedKbNumbers] KB numbers included from the software
* update configuration.
*/
constructor() {
}
Expand Down Expand Up @@ -62,6 +64,20 @@ class WindowsProperties {
}
}
}
},
includedKbNumbers: {
required: false,
serializedName: 'includedKbNumbers',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
}
}
}
Expand Down
14 changes: 14 additions & 0 deletions lib/services/automationManagement/lib/operations/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7788,6 +7788,9 @@ export interface SoftwareUpdateConfigurations {
* @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.
*
Expand All @@ -7800,6 +7803,10 @@ export interface SoftwareUpdateConfigurations {
* [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
Expand Down Expand Up @@ -7918,6 +7925,9 @@ export interface SoftwareUpdateConfigurations {
* @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.
*
Expand All @@ -7930,6 +7940,10 @@ export interface SoftwareUpdateConfigurations {
* [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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ const WebResource = msRest.WebResource;
* @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.
*
Expand All @@ -57,6 +60,10 @@ const WebResource = msRest.WebResource;
* [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
Expand Down Expand Up @@ -880,6 +887,9 @@ class SoftwareUpdateConfigurations {
* @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.
*
Expand All @@ -892,6 +902,10 @@ class SoftwareUpdateConfigurations {
* [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
Expand Down Expand Up @@ -1022,6 +1036,9 @@ class SoftwareUpdateConfigurations {
* @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.
*
Expand All @@ -1034,6 +1051,10 @@ class SoftwareUpdateConfigurations {
* [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
Expand Down

0 comments on commit 4a506ca

Please sign in to comment.