diff --git a/lib/services/automationManagement/lib/models/activityParameter.js b/lib/services/automationManagement/lib/models/activityParameter.js index f11092053b..59a28437a5 100644 --- a/lib/services/automationManagement/lib/models/activityParameter.js +++ b/lib/services/automationManagement/lib/models/activityParameter.js @@ -10,6 +10,8 @@ 'use strict'; +const models = require('./index'); + /** * Definition of the activity parameter. * @@ -41,6 +43,10 @@ class ActivityParameter { * remaining command-line arguments that are associated with this parameter * in the form of an array. false if the cmdlet parameter does not accept all * the remaining argument values. + * @member {string} [description] Gets or sets the description of the + * activity parameter. + * @member {array} [validationSet] Gets or sets the validation set of + * activity parameter. */ constructor() { } @@ -114,6 +120,28 @@ class ActivityParameter { type: { name: 'Boolean' } + }, + description: { + required: false, + serializedName: 'description', + type: { + name: 'String' + } + }, + validationSet: { + required: false, + serializedName: 'validationSet', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'ActivityParameterValidationSetElementType', + type: { + name: 'Composite', + className: 'ActivityParameterValidationSet' + } + } + } } } } diff --git a/lib/services/automationManagement/lib/models/activityParameterValidationSet.js b/lib/services/automationManagement/lib/models/activityParameterValidationSet.js new file mode 100644 index 0000000000..d2a33fcf58 --- /dev/null +++ b/lib/services/automationManagement/lib/models/activityParameterValidationSet.js @@ -0,0 +1,53 @@ +/* + * 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'; + +/** + * Definition of the activity parameter validation set. + * + */ +class ActivityParameterValidationSet { + /** + * Create a ActivityParameterValidationSet. + * @member {string} [memberValue] Gets or sets the name of the activity + * parameter validation set member. + */ + constructor() { + } + + /** + * Defines the metadata of ActivityParameterValidationSet + * + * @returns {object} metadata of ActivityParameterValidationSet + * + */ + mapper() { + return { + required: false, + serializedName: 'ActivityParameterValidationSet', + type: { + name: 'Composite', + className: 'ActivityParameterValidationSet', + modelProperties: { + memberValue: { + required: false, + serializedName: 'memberValue', + type: { + name: 'String' + } + } + } + } + }; + } +} + +module.exports = ActivityParameterValidationSet; diff --git a/lib/services/automationManagement/lib/models/index.d.ts b/lib/services/automationManagement/lib/models/index.d.ts index 778b24f201..09653aae3f 100644 --- a/lib/services/automationManagement/lib/models/index.d.ts +++ b/lib/services/automationManagement/lib/models/index.d.ts @@ -876,6 +876,19 @@ export interface LinkedWorkspace { readonly id?: string; } +/** + * @class + * Initializes a new instance of the ActivityParameterValidationSet class. + * @constructor + * Definition of the activity parameter validation set. + * + * @member {string} [memberValue] Gets or sets the name of the activity + * parameter validation set member. + */ +export interface ActivityParameterValidationSet { + memberValue?: string; +} + /** * @class * Initializes a new instance of the ActivityParameter class. @@ -906,6 +919,10 @@ export interface LinkedWorkspace { * command-line arguments that are associated with this parameter in the form * of an array. false if the cmdlet parameter does not accept all the remaining * argument values. + * @member {string} [description] Gets or sets the description of the activity + * parameter. + * @member {array} [validationSet] Gets or sets the validation set of activity + * parameter. */ export interface ActivityParameter { name?: string; @@ -916,6 +933,8 @@ export interface ActivityParameter { valueFromPipeline?: boolean; valueFromPipelineByPropertyName?: boolean; valueFromRemainingArguments?: boolean; + description?: string; + validationSet?: ActivityParameterValidationSet[]; } /** @@ -1042,6 +1061,8 @@ export interface ContentLink { * @member {date} [creationTime] Gets or sets the creation time. * @member {date} [lastModifiedTime] Gets or sets the last modified time. * @member {string} [description] Gets or sets the description. + * @member {boolean} [isComposite] Gets or sets type of module, if its + * composite or not. * @member {string} [etag] Gets or sets the etag of the resource. */ export interface Module extends TrackedResource { @@ -1055,6 +1076,7 @@ export interface Module extends TrackedResource { creationTime?: Date; lastModifiedTime?: Date; description?: string; + isComposite?: boolean; etag?: string; } diff --git a/lib/services/automationManagement/lib/models/index.js b/lib/services/automationManagement/lib/models/index.js index ee2fa5525b..8563572b4d 100644 --- a/lib/services/automationManagement/lib/models/index.js +++ b/lib/services/automationManagement/lib/models/index.js @@ -61,6 +61,7 @@ exports.RunbookAssociationProperty = require('./runbookAssociationProperty'); exports.JobSchedule = require('./jobSchedule'); exports.JobScheduleCreateParameters = require('./jobScheduleCreateParameters'); exports.LinkedWorkspace = require('./linkedWorkspace'); +exports.ActivityParameterValidationSet = require('./activityParameterValidationSet'); exports.ActivityParameter = require('./activityParameter'); exports.ActivityParameterSet = require('./activityParameterSet'); exports.ActivityOutputType = require('./activityOutputType'); diff --git a/lib/services/automationManagement/lib/models/module.js b/lib/services/automationManagement/lib/models/module.js index 0aab08f1df..49fcc6178b 100644 --- a/lib/services/automationManagement/lib/models/module.js +++ b/lib/services/automationManagement/lib/models/module.js @@ -49,6 +49,8 @@ class Module extends models['TrackedResource'] { * @member {date} [creationTime] Gets or sets the creation time. * @member {date} [lastModifiedTime] Gets or sets the last modified time. * @member {string} [description] Gets or sets the description. + * @member {boolean} [isComposite] Gets or sets type of module, if its + * composite or not. * @member {string} [etag] Gets or sets the etag of the resource. */ constructor() { @@ -187,6 +189,13 @@ class Module extends models['TrackedResource'] { name: 'String' } }, + isComposite: { + required: false, + serializedName: 'properties.isComposite', + type: { + name: 'Boolean' + } + }, etag: { required: false, serializedName: 'etag',