From d53f1eae35bbf536a709d95584e6f7e1b2e15d2a Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 27 Dec 2018 00:57:25 +0000 Subject: [PATCH 1/2] Generated from 5c9b5836b2067fd623c49b79bd15ff36d4d8aebb Swagger change for Update configuration dynamic group Saved Search Query --- .../lib/models/agentRegistration.js | 2 +- .../lib/models/azureQueryProperties.js | 6 +- .../lib/models/dscConfigurationParameter.js | 2 +- .../lib/models/dscNode.js | 4 +- .../lib/models/dscNodeConfiguration.js | 2 +- .../lib/models/dscNodeUpdateParameters.js | 4 +- .../dscNodeUpdateParametersProperties.js | 4 +- .../lib/models/index.d.ts | 179 +++++------------- .../automationManagement/lib/models/index.js | 5 +- .../lib/models/nonAzureQueryProperties.js | 61 ++++++ .../runAsCredentialAssociationProperty.js | 2 +- .../runbookCreateOrUpdateDraftProperties.js | 2 +- .../lib/models/runbookDraftUndoEditResult.js | 2 +- .../lib/models/runbookParameter.js | 2 +- .../lib/models/softwareUpdateConfiguration.js | 30 +-- .../softwareUpdateConfigurationMachineRun.js | 14 +- .../models/softwareUpdateConfigurationRun.js | 30 +-- .../lib/models/sourceControlSyncJob.js | 2 +- .../lib/models/sourceControlSyncJobById.js | 6 +- .../lib/models/targetProperties.js | 17 ++ .../lib/models/updateConfiguration.js | 4 +- .../lib/models/variable.js | 2 +- .../operations/connectionTypeOperations.js | 54 +++--- .../lib/operations/dscNodeOperations.js | 6 +- .../lib/operations/index.d.ts | 80 +++----- .../softwareUpdateConfigurationRuns.js | 6 +- .../softwareUpdateConfigurations.js | 54 ++---- 27 files changed, 241 insertions(+), 341 deletions(-) create mode 100644 lib/services/automationManagement/lib/models/nonAzureQueryProperties.js diff --git a/lib/services/automationManagement/lib/models/agentRegistration.js b/lib/services/automationManagement/lib/models/agentRegistration.js index 24e623ba79..cb4922904e 100644 --- a/lib/services/automationManagement/lib/models/agentRegistration.js +++ b/lib/services/automationManagement/lib/models/agentRegistration.js @@ -11,7 +11,7 @@ 'use strict'; /** - * Definition of the agent registration information type. + * Definition of the agent registration infomration type. * */ class AgentRegistration { diff --git a/lib/services/automationManagement/lib/models/azureQueryProperties.js b/lib/services/automationManagement/lib/models/azureQueryProperties.js index bb3695d9ef..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} [locations] List of locations to scope the query to. + * @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. @@ -56,9 +56,9 @@ class AzureQueryProperties { } } }, - locations: { + location: { required: false, - serializedName: 'locations', + serializedName: 'location', type: { name: 'Sequence', element: { diff --git a/lib/services/automationManagement/lib/models/dscConfigurationParameter.js b/lib/services/automationManagement/lib/models/dscConfigurationParameter.js index 153ee63fce..909e7f3db9 100644 --- a/lib/services/automationManagement/lib/models/dscConfigurationParameter.js +++ b/lib/services/automationManagement/lib/models/dscConfigurationParameter.js @@ -19,7 +19,7 @@ class DscConfigurationParameter { * Create a DscConfigurationParameter. * @member {string} [type] Gets or sets the type of the parameter. * @member {boolean} [isMandatory] Gets or sets a Boolean value to indicate - * whether the parameter is mandatory or not. + * whether the parameter is madatory or not. * @member {number} [position] Get or sets the position of the parameter. * @member {string} [defaultValue] Gets or sets the default value of * parameter. diff --git a/lib/services/automationManagement/lib/models/dscNode.js b/lib/services/automationManagement/lib/models/dscNode.js index 28a0c4a2e1..0f9e4e5f52 100644 --- a/lib/services/automationManagement/lib/models/dscNode.js +++ b/lib/services/automationManagement/lib/models/dscNode.js @@ -25,8 +25,8 @@ class DscNode extends models['ProxyResource'] { * the node. * @member {string} [ip] Gets or sets the ip of the node. * @member {string} [accountId] Gets or sets the account id of the node. - * @member {string} [dscNodeName] Gets or sets the name of the dsc node - * configuration. + * @member {string} [dscNodeName] Gets or sets the name of the dsc + * nodeconfiguration. * @member {string} [status] Gets or sets the status of the node. * @member {string} [nodeId] Gets or sets the node id. * @member {string} [etag] Gets or sets the etag of the resource. diff --git a/lib/services/automationManagement/lib/models/dscNodeConfiguration.js b/lib/services/automationManagement/lib/models/dscNodeConfiguration.js index e39d5f7863..282c4c88fd 100644 --- a/lib/services/automationManagement/lib/models/dscNodeConfiguration.js +++ b/lib/services/automationManagement/lib/models/dscNodeConfiguration.js @@ -27,7 +27,7 @@ class DscNodeConfiguration extends models['ProxyResource'] { * @member {string} [configuration.name] Gets or sets the name of the Dsc * configuration. * @member {string} [source] Source of node configuration. - * @member {number} [nodeCount] Number of nodes with this node configuration + * @member {number} [nodeCount] Number of nodes with this nodeconfiguration * assigned * @member {boolean} [incrementNodeConfigurationBuild] If a new build version * of NodeConfiguration is required. diff --git a/lib/services/automationManagement/lib/models/dscNodeUpdateParameters.js b/lib/services/automationManagement/lib/models/dscNodeUpdateParameters.js index 2ffc84e87d..b8af3806af 100644 --- a/lib/services/automationManagement/lib/models/dscNodeUpdateParameters.js +++ b/lib/services/automationManagement/lib/models/dscNodeUpdateParameters.js @@ -19,8 +19,8 @@ class DscNodeUpdateParameters { * Create a DscNodeUpdateParameters. * @member {string} [nodeId] Gets or sets the id of the dsc node. * @member {object} [properties] - * @member {string} [properties.name] Gets or sets the name of the dsc node - * configuration. + * @member {string} [properties.name] Gets or sets the name of the dsc + * nodeconfiguration. */ constructor() { } diff --git a/lib/services/automationManagement/lib/models/dscNodeUpdateParametersProperties.js b/lib/services/automationManagement/lib/models/dscNodeUpdateParametersProperties.js index 769e120d77..98c1f8dc94 100644 --- a/lib/services/automationManagement/lib/models/dscNodeUpdateParametersProperties.js +++ b/lib/services/automationManagement/lib/models/dscNodeUpdateParametersProperties.js @@ -16,8 +16,8 @@ class DscNodeUpdateParametersProperties { /** * Create a DscNodeUpdateParametersProperties. - * @member {string} [name] Gets or sets the name of the dsc node - * configuration. + * @member {string} [name] Gets or sets the name of the dsc + * nodeconfiguration. */ constructor() { } diff --git a/lib/services/automationManagement/lib/models/index.d.ts b/lib/services/automationManagement/lib/models/index.d.ts index d009886ed9..5a80683156 100644 --- a/lib/services/automationManagement/lib/models/index.d.ts +++ b/lib/services/automationManagement/lib/models/index.d.ts @@ -594,7 +594,7 @@ export interface ContentSource { * * @member {string} [type] Gets or sets the type of the parameter. * @member {boolean} [isMandatory] Gets or sets a Boolean value to indicate - * whether the parameter is mandatory or not. + * whether the parameter is madatory or not. * @member {number} [position] Get or sets the position of the parameter. * @member {string} [defaultValue] Gets or sets the default value of parameter. */ @@ -726,7 +726,7 @@ export interface DscConfigurationUpdateParameters { * @class * Initializes a new instance of the RunAsCredentialAssociationProperty class. * @constructor - * Definition of RunAs credential to use for hybrid worker. + * Definition of runas credential to use for hybrid worker. * * @member {string} [name] Gets or sets the name of the credential. */ @@ -1354,7 +1354,7 @@ export interface VariableCreateOrUpdateParameters { * @class * Initializes a new instance of the Variable class. * @constructor - * Definition of the variable. + * Definition of the varible. * * @member {string} [value] Gets or sets the value of the variable. * @member {boolean} [isEncrypted] Gets or sets the encrypted flag of the @@ -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} [locations] List of locations to scope the query to. + * @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. @@ -1601,10 +1601,25 @@ export interface TagSettingsProperties { */ export interface AzureQueryProperties { scope?: string[]; - locations?: string[]; + location?: string[]; tagSettings?: TagSettingsProperties; } +/** + * @class + * Initializes a new instance of the NonAzureQueryProperties class. + * @constructor + * Non Azure query for the update configuration. + * + * @member {string} [functionAlias] Log Analytics Saved Search name. + * @member {string} [workspaceId] Workspace Id for Log Analytics in which the + * saved Search is resided. + */ +export interface NonAzureQueryProperties { + functionAlias?: string; + workspaceId?: string; +} + /** * @class * Initializes a new instance of the TargetProperties class. @@ -1613,16 +1628,19 @@ export interface AzureQueryProperties { * * @member {array} [azureQueries] List of Azure queries in the software update * configuration. + * @member {array} [nonAzureQueries] List of non Azure queries in the software + * update configuration. */ export interface TargetProperties { azureQueries?: AzureQueryProperties[]; + nonAzureQueries?: NonAzureQueryProperties[]; } /** * @class * Initializes a new instance of the UpdateConfiguration class. * @constructor - * Update specific properties of the software update configuration. + * Update specifc properties of the software update configuration. * * @member {string} operatingSystem operating system of target machines. * Possible values include: 'Windows', 'Linux' @@ -1659,6 +1677,8 @@ export interface TargetProperties { * configuration. * @member {array} [targets.azureQueries] List of Azure queries in the software * update configuration. + * @member {array} [targets.nonAzureQueries] List of non Azure queries in the + * software update configuration. */ export interface UpdateConfiguration { operatingSystem: string; @@ -1670,40 +1690,6 @@ export interface UpdateConfiguration { targets?: TargetProperties; } -/** - * @class - * Initializes a new instance of the TaskProperties class. - * @constructor - * Task properties of the software update configuration. - * - * @member {object} [parameters] Gets or sets the parameters of the task. - * @member {string} [source] Gets or sets the name of the runbook. - */ -export interface TaskProperties { - parameters?: { [propertyName: string]: string }; - source?: string; -} - -/** - * @class - * Initializes a new instance of the SoftwareUpdateConfigurationTasks class. - * @constructor - * Task properties of the software update configuration. - * - * @member {object} [preTask] Pre task properties. - * @member {object} [preTask.parameters] Gets or sets the parameters of the - * task. - * @member {string} [preTask.source] Gets or sets the name of the runbook. - * @member {object} [postTask] Post task properties. - * @member {object} [postTask.parameters] Gets or sets the parameters of the - * task. - * @member {string} [postTask.source] Gets or sets the name of the runbook. - */ -export interface SoftwareUpdateConfigurationTasks { - preTask?: TaskProperties; - postTask?: TaskProperties; -} - /** * @class * Initializes a new instance of the SoftwareUpdateConfiguration class. @@ -1753,6 +1739,8 @@ export interface SoftwareUpdateConfigurationTasks { * software update configuration. * @member {array} [updateConfiguration.targets.azureQueries] List of Azure * queries in the software update configuration. + * @member {array} [updateConfiguration.targets.nonAzureQueries] List of non + * Azure 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 @@ -1789,30 +1777,18 @@ export interface SoftwareUpdateConfigurationTasks { * @member {string} [scheduleInfo.description] Gets or sets the description. * @member {string} [provisioningState] Provisioning state for the software * update configuration, which only appears in the response. - * @member {object} [error] Details of provisioning error + * @member {object} [error] detailes of provisioning error * @member {string} [error.code] Error code * @member {string} [error.message] Error message indicating why the operation * failed. - * @member {date} [creationTime] Creation time of the resource, which only + * @member {date} [creationTime] Creation time of theresource, which only * appears in the response. - * @member {string} [createdBy] CreatedBy property, which only appears in the + * @member {string} [createdBy] createdBy property, which only appears in the * response. * @member {date} [lastModifiedTime] Last time resource was modified, which * only appears in the response. - * @member {string} [lastModifiedBy] LastModifiedBy property, which only + * @member {string} [lastModifiedBy] lastModifiedBy property, which only * appears in the response. - * @member {object} [tasks] Tasks information for the Software update - * configuration. - * @member {object} [tasks.preTask] Pre task properties. - * @member {object} [tasks.preTask.parameters] Gets or sets the parameters of - * the task. - * @member {string} [tasks.preTask.source] Gets or sets the name of the - * runbook. - * @member {object} [tasks.postTask] Post task properties. - * @member {object} [tasks.postTask.parameters] Gets or sets the parameters of - * the task. - * @member {string} [tasks.postTask.source] Gets or sets the name of the - * runbook. */ export interface SoftwareUpdateConfiguration extends BaseResource { readonly name?: string; @@ -1826,7 +1802,6 @@ export interface SoftwareUpdateConfiguration extends BaseResource { readonly createdBy?: string; readonly lastModifiedTime?: Date; readonly lastModifiedBy?: string; - tasks?: SoftwareUpdateConfigurationTasks; } /** @@ -1913,42 +1888,6 @@ export interface UpdateConfigurationNavigation { readonly name?: string; } -/** - * @class - * Initializes a new instance of the SoftareUpdateConfigurationRunTaskProperties class. - * @constructor - * Task properties of the software update configuration. - * - * @member {string} [status] The status of the task. - * @member {string} [source] The name of the source of the task. - * @member {string} [jobId] The job id of the task. - */ -export interface SoftareUpdateConfigurationRunTaskProperties { - status?: string; - source?: string; - jobId?: string; -} - -/** - * @class - * Initializes a new instance of the SoftareUpdateConfigurationRunTasks class. - * @constructor - * Software update configuration run tasks model. - * - * @member {object} [preTask] Pre task properties. - * @member {string} [preTask.status] The status of the task. - * @member {string} [preTask.source] The name of the source of the task. - * @member {string} [preTask.jobId] The job id of the task. - * @member {object} [postTask] Post task properties. - * @member {string} [postTask.status] The status of the task. - * @member {string} [postTask.source] The name of the source of the task. - * @member {string} [postTask.jobId] The job id of the task. - */ -export interface SoftareUpdateConfigurationRunTasks { - preTask?: SoftareUpdateConfigurationRunTaskProperties; - postTask?: SoftareUpdateConfigurationRunTaskProperties; -} - /** * @class * Initializes a new instance of the SoftwareUpdateConfigurationRun class. @@ -1962,34 +1901,24 @@ export interface SoftareUpdateConfigurationRunTasks { * @member {string} [softwareUpdateConfiguration.name] Name of the software * update configuration triggered the software update configuration run * @member {string} [status] Status of the software update configuration run. - * @member {string} [configuredDuration] Configured duration for the software + * @member {string} [configuredDuration] configured duration for the software * update configuration run. * @member {string} [osType] Operating system target of the software update * configuration triggered this run - * @member {date} [startTime] Start time of the software update configuration + * @member {date} [startTime] Etart time of the software update configuration * run. * @member {date} [endTime] End time of the software update configuration run. * @member {number} [computerCount] Number of computers in the software update * configuration run. * @member {number} [failedCount] Number of computers with failed status. - * @member {date} [creationTime] Creation time of the resource, which only + * @member {date} [creationTime] Creation time of theresource, which only * appears in the response. - * @member {string} [createdBy] CreatedBy property, which only appears in the + * @member {string} [createdBy] createdBy property, which only appears in the * response. * @member {date} [lastModifiedTime] Last time resource was modified, which * only appears in the response. - * @member {string} [lastModifiedBy] LastModifiedBy property, which only + * @member {string} [lastModifiedBy] lastModifiedBy property, which only * appears in the response. - * @member {object} [tasks] Software update configuration tasks triggered in - * this run - * @member {object} [tasks.preTask] Pre task properties. - * @member {string} [tasks.preTask.status] The status of the task. - * @member {string} [tasks.preTask.source] The name of the source of the task. - * @member {string} [tasks.preTask.jobId] The job id of the task. - * @member {object} [tasks.postTask] Post task properties. - * @member {string} [tasks.postTask.status] The status of the task. - * @member {string} [tasks.postTask.source] The name of the source of the task. - * @member {string} [tasks.postTask.jobId] The job id of the task. */ export interface SoftwareUpdateConfigurationRun { readonly name?: string; @@ -2006,7 +1935,6 @@ export interface SoftwareUpdateConfigurationRun { readonly createdBy?: string; readonly lastModifiedTime?: Date; readonly lastModifiedBy?: string; - tasks?: SoftareUpdateConfigurationRunTasks; } /** @@ -2071,7 +1999,7 @@ export interface JobNavigation { * machine run * @member {string} [job.id] Id of the job associated with the software update * configuration run - * @member {date} [creationTime] Creation time of the resource, which only + * @member {date} [creationTime] Creation time of theresource, which only * appears in the response. * @member {string} [createdBy] createdBy property, which only appears in the * response. @@ -2079,10 +2007,6 @@ export interface JobNavigation { * only appears in the response. * @member {string} [lastModifiedBy] lastModifiedBy property, which only * appears in the response. - * @member {object} [error] Details of provisioning error - * @member {string} [error.code] Error code - * @member {string} [error.message] Error message indicating why the operation - * failed. */ export interface SoftwareUpdateConfigurationMachineRun { readonly name?: string; @@ -2102,7 +2026,6 @@ export interface SoftwareUpdateConfigurationMachineRun { readonly createdBy?: string; readonly lastModifiedTime?: Date; readonly lastModifiedBy?: string; - error?: ErrorResponse; } /** @@ -2253,7 +2176,7 @@ export interface SourceControlCreateOrUpdateParameters { * @member {date} [startTime] The start time of the job. * @member {date} [endTime] The end time of the job. * @member {string} [syncType] The sync type. Possible values include: - * 'PartialSync', 'FullSync' + * 'IncrementalSync', 'FullSync' */ export interface SourceControlSyncJob { readonly name?: string; @@ -2294,8 +2217,8 @@ export interface SourceControlSyncJobCreateParameters { * @member {date} [startTime] The start time of the job. * @member {date} [endTime] The end time of the job. * @member {string} [syncType] The sync type. Possible values include: - * 'PartialSync', 'FullSync' - * @member {string} [exception] The exceptions that occurred while running the + * 'IncrementalSync', 'FullSync' + * @member {string} [exception] The exceptions that occured while running the * sync job. */ export interface SourceControlSyncJobById { @@ -2669,7 +2592,7 @@ export interface AgentRegistrationKeys { * @class * Initializes a new instance of the AgentRegistration class. * @constructor - * Definition of the agent registration information type. + * Definition of the agent registration infomration type. * * @member {string} [dscMetaConfiguration] Gets or sets the dsc meta * configuration. @@ -2712,8 +2635,8 @@ export interface DscNodeExtensionHandlerAssociationProperty { * node. * @member {string} [ip] Gets or sets the ip of the node. * @member {string} [accountId] Gets or sets the account id of the node. - * @member {string} [dscNodeName] Gets or sets the name of the dsc node - * configuration. + * @member {string} [dscNodeName] Gets or sets the name of the dsc + * nodeconfiguration. * @member {string} [status] Gets or sets the status of the node. * @member {string} [nodeId] Gets or sets the node id. * @member {string} [etag] Gets or sets the etag of the resource. @@ -2752,7 +2675,7 @@ export interface AgentRegistrationRegenerateKeyParameter { * @class * Initializes a new instance of the DscNodeUpdateParametersProperties class. * @constructor - * @member {string} [name] Gets or sets the name of the dsc node configuration. + * @member {string} [name] Gets or sets the name of the dsc nodeconfiguration. */ export interface DscNodeUpdateParametersProperties { name?: string; @@ -2766,8 +2689,8 @@ export interface DscNodeUpdateParametersProperties { * * @member {string} [nodeId] Gets or sets the id of the dsc node. * @member {object} [properties] - * @member {string} [properties.name] Gets or sets the name of the dsc node - * configuration. + * @member {string} [properties.name] Gets or sets the name of the dsc + * nodeconfiguration. */ export interface DscNodeUpdateParameters { nodeId?: string; @@ -2870,7 +2793,7 @@ export interface DscCompilationJobCreateParameters { * @member {string} [configuration.name] Gets or sets the name of the Dsc * configuration. * @member {string} [source] Source of node configuration. - * @member {number} [nodeCount] Number of nodes with this node configuration + * @member {number} [nodeCount] Number of nodes with this nodeconfiguration * assigned * @member {boolean} [incrementNodeConfigurationBuild] If a new build version * of NodeConfiguration is required. @@ -2966,7 +2889,7 @@ export interface NodeCounts { * * @member {string} [type] Gets or sets the type of the parameter. * @member {boolean} [isMandatory] Gets or sets a Boolean value to indicate - * whether the parameter is mandatory or not. + * whether the parameter is madatory or not. * @member {number} [position] Get or sets the position of the parameter. * @member {string} [defaultValue] Gets or sets the default value of parameter. */ @@ -3178,7 +3101,7 @@ export interface RunbookUpdateParameters { * @class * Initializes a new instance of the RunbookDraftUndoEditResult class. * @constructor - * The response model for the undo edit runbook operation. + * The response model for the undoedit runbook operation. * * @member {string} [statusCode] Possible values include: 'Continue', * 'SwitchingProtocols', 'OK', 'Created', 'Accepted', @@ -3257,7 +3180,7 @@ export interface TestJob { * @class * Initializes a new instance of the RunbookCreateOrUpdateDraftProperties class. * @constructor - * The parameters supplied to the create or update draft runbook properties. + * The parameters supplied to the create or update dratft runbook properties. * * @member {boolean} [logVerbose] Gets or sets verbose log option. * @member {boolean} [logProgress] Gets or sets progress log option. diff --git a/lib/services/automationManagement/lib/models/index.js b/lib/services/automationManagement/lib/models/index.js index 85c4b02cba..48360780e6 100644 --- a/lib/services/automationManagement/lib/models/index.js +++ b/lib/services/automationManagement/lib/models/index.js @@ -90,17 +90,14 @@ exports.WindowsProperties = require('./windowsProperties'); exports.LinuxProperties = require('./linuxProperties'); exports.TagSettingsProperties = require('./tagSettingsProperties'); exports.AzureQueryProperties = require('./azureQueryProperties'); +exports.NonAzureQueryProperties = require('./nonAzureQueryProperties'); exports.TargetProperties = require('./targetProperties'); exports.UpdateConfiguration = require('./updateConfiguration'); -exports.TaskProperties = require('./taskProperties'); -exports.SoftwareUpdateConfigurationTasks = require('./softwareUpdateConfigurationTasks'); exports.SoftwareUpdateConfiguration = require('./softwareUpdateConfiguration'); exports.CollectionItemUpdateConfiguration = require('./collectionItemUpdateConfiguration'); exports.SoftwareUpdateConfigurationCollectionItem = require('./softwareUpdateConfigurationCollectionItem'); exports.SoftwareUpdateConfigurationListResult = require('./softwareUpdateConfigurationListResult'); exports.UpdateConfigurationNavigation = require('./updateConfigurationNavigation'); -exports.SoftareUpdateConfigurationRunTaskProperties = require('./softareUpdateConfigurationRunTaskProperties'); -exports.SoftareUpdateConfigurationRunTasks = require('./softareUpdateConfigurationRunTasks'); exports.SoftwareUpdateConfigurationRun = require('./softwareUpdateConfigurationRun'); exports.SoftwareUpdateConfigurationRunListResult = require('./softwareUpdateConfigurationRunListResult'); exports.JobNavigation = require('./jobNavigation'); diff --git a/lib/services/automationManagement/lib/models/nonAzureQueryProperties.js b/lib/services/automationManagement/lib/models/nonAzureQueryProperties.js new file mode 100644 index 0000000000..177a1111c3 --- /dev/null +++ b/lib/services/automationManagement/lib/models/nonAzureQueryProperties.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'; + +/** + * Non Azure query for the update configuration. + * + */ +class NonAzureQueryProperties { + /** + * Create a NonAzureQueryProperties. + * @member {string} [functionAlias] Log Analytics Saved Search name. + * @member {string} [workspaceId] Workspace Id for Log Analytics in which the + * saved Search is resided. + */ + constructor() { + } + + /** + * Defines the metadata of NonAzureQueryProperties + * + * @returns {object} metadata of NonAzureQueryProperties + * + */ + mapper() { + return { + required: false, + serializedName: 'NonAzureQueryProperties', + type: { + name: 'Composite', + className: 'NonAzureQueryProperties', + modelProperties: { + functionAlias: { + required: false, + serializedName: 'functionAlias', + type: { + name: 'String' + } + }, + workspaceId: { + required: false, + serializedName: 'workspaceId', + type: { + name: 'String' + } + } + } + } + }; + } +} + +module.exports = NonAzureQueryProperties; diff --git a/lib/services/automationManagement/lib/models/runAsCredentialAssociationProperty.js b/lib/services/automationManagement/lib/models/runAsCredentialAssociationProperty.js index e680c29cda..f1ffdce024 100644 --- a/lib/services/automationManagement/lib/models/runAsCredentialAssociationProperty.js +++ b/lib/services/automationManagement/lib/models/runAsCredentialAssociationProperty.js @@ -11,7 +11,7 @@ 'use strict'; /** - * Definition of RunAs credential to use for hybrid worker. + * Definition of runas credential to use for hybrid worker. * */ class RunAsCredentialAssociationProperty { diff --git a/lib/services/automationManagement/lib/models/runbookCreateOrUpdateDraftProperties.js b/lib/services/automationManagement/lib/models/runbookCreateOrUpdateDraftProperties.js index 36128742da..0b3023bf7a 100644 --- a/lib/services/automationManagement/lib/models/runbookCreateOrUpdateDraftProperties.js +++ b/lib/services/automationManagement/lib/models/runbookCreateOrUpdateDraftProperties.js @@ -11,7 +11,7 @@ 'use strict'; /** - * The parameters supplied to the create or update draft runbook properties. + * The parameters supplied to the create or update dratft runbook properties. * */ class RunbookCreateOrUpdateDraftProperties { diff --git a/lib/services/automationManagement/lib/models/runbookDraftUndoEditResult.js b/lib/services/automationManagement/lib/models/runbookDraftUndoEditResult.js index 9404b8ad1f..ab43491b03 100644 --- a/lib/services/automationManagement/lib/models/runbookDraftUndoEditResult.js +++ b/lib/services/automationManagement/lib/models/runbookDraftUndoEditResult.js @@ -11,7 +11,7 @@ 'use strict'; /** - * The response model for the undo edit runbook operation. + * The response model for the undoedit runbook operation. * */ class RunbookDraftUndoEditResult { diff --git a/lib/services/automationManagement/lib/models/runbookParameter.js b/lib/services/automationManagement/lib/models/runbookParameter.js index b39f8c1516..8ff078647b 100644 --- a/lib/services/automationManagement/lib/models/runbookParameter.js +++ b/lib/services/automationManagement/lib/models/runbookParameter.js @@ -19,7 +19,7 @@ class RunbookParameter { * Create a RunbookParameter. * @member {string} [type] Gets or sets the type of the parameter. * @member {boolean} [isMandatory] Gets or sets a Boolean value to indicate - * whether the parameter is mandatory or not. + * whether the parameter is madatory or not. * @member {number} [position] Get or sets the position of the parameter. * @member {string} [defaultValue] Gets or sets the default value of * parameter. diff --git a/lib/services/automationManagement/lib/models/softwareUpdateConfiguration.js b/lib/services/automationManagement/lib/models/softwareUpdateConfiguration.js index bd43fae64e..84bec63ae7 100644 --- a/lib/services/automationManagement/lib/models/softwareUpdateConfiguration.js +++ b/lib/services/automationManagement/lib/models/softwareUpdateConfiguration.js @@ -65,6 +65,8 @@ class SoftwareUpdateConfiguration extends models['BaseResource'] { * software update configuration. * @member {array} [updateConfiguration.targets.azureQueries] List of Azure * queries in the software update configuration. + * @member {array} [updateConfiguration.targets.nonAzureQueries] List of non + * Azure 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 @@ -102,30 +104,18 @@ class SoftwareUpdateConfiguration extends models['BaseResource'] { * @member {string} [scheduleInfo.description] Gets or sets the description. * @member {string} [provisioningState] Provisioning state for the software * update configuration, which only appears in the response. - * @member {object} [error] Details of provisioning error + * @member {object} [error] detailes of provisioning error * @member {string} [error.code] Error code * @member {string} [error.message] Error message indicating why the * operation failed. - * @member {date} [creationTime] Creation time of the resource, which only + * @member {date} [creationTime] Creation time of theresource, which only * appears in the response. - * @member {string} [createdBy] CreatedBy property, which only appears in the + * @member {string} [createdBy] createdBy property, which only appears in the * response. * @member {date} [lastModifiedTime] Last time resource was modified, which * only appears in the response. - * @member {string} [lastModifiedBy] LastModifiedBy property, which only + * @member {string} [lastModifiedBy] lastModifiedBy property, which only * appears in the response. - * @member {object} [tasks] Tasks information for the Software update - * configuration. - * @member {object} [tasks.preTask] Pre task properties. - * @member {object} [tasks.preTask.parameters] Gets or sets the parameters of - * the task. - * @member {string} [tasks.preTask.source] Gets or sets the name of the - * runbook. - * @member {object} [tasks.postTask] Post task properties. - * @member {object} [tasks.postTask.parameters] Gets or sets the parameters - * of the task. - * @member {string} [tasks.postTask.source] Gets or sets the name of the - * runbook. */ constructor() { super(); @@ -234,14 +224,6 @@ class SoftwareUpdateConfiguration extends models['BaseResource'] { type: { name: 'String' } - }, - tasks: { - required: false, - serializedName: 'properties.tasks', - type: { - name: 'Composite', - className: 'SoftwareUpdateConfigurationTasks' - } } } } diff --git a/lib/services/automationManagement/lib/models/softwareUpdateConfigurationMachineRun.js b/lib/services/automationManagement/lib/models/softwareUpdateConfigurationMachineRun.js index 9bebd85d51..487ab39571 100644 --- a/lib/services/automationManagement/lib/models/softwareUpdateConfigurationMachineRun.js +++ b/lib/services/automationManagement/lib/models/softwareUpdateConfigurationMachineRun.js @@ -45,7 +45,7 @@ class SoftwareUpdateConfigurationMachineRun { * configuration machine run * @member {string} [job.id] Id of the job associated with the software * update configuration run - * @member {date} [creationTime] Creation time of the resource, which only + * @member {date} [creationTime] Creation time of theresource, which only * appears in the response. * @member {string} [createdBy] createdBy property, which only appears in the * response. @@ -53,10 +53,6 @@ class SoftwareUpdateConfigurationMachineRun { * only appears in the response. * @member {string} [lastModifiedBy] lastModifiedBy property, which only * appears in the response. - * @member {object} [error] Details of provisioning error - * @member {string} [error.code] Error code - * @member {string} [error.message] Error message indicating why the - * operation failed. */ constructor() { } @@ -214,14 +210,6 @@ class SoftwareUpdateConfigurationMachineRun { type: { name: 'String' } - }, - error: { - required: false, - serializedName: 'properties.error', - type: { - name: 'Composite', - className: 'ErrorResponse' - } } } } diff --git a/lib/services/automationManagement/lib/models/softwareUpdateConfigurationRun.js b/lib/services/automationManagement/lib/models/softwareUpdateConfigurationRun.js index c2313b0803..f3a93db89d 100644 --- a/lib/services/automationManagement/lib/models/softwareUpdateConfigurationRun.js +++ b/lib/services/automationManagement/lib/models/softwareUpdateConfigurationRun.js @@ -24,37 +24,25 @@ class SoftwareUpdateConfigurationRun { * @member {string} [softwareUpdateConfiguration.name] Name of the software * update configuration triggered the software update configuration run * @member {string} [status] Status of the software update configuration run. - * @member {string} [configuredDuration] Configured duration for the software + * @member {string} [configuredDuration] configured duration for the software * update configuration run. * @member {string} [osType] Operating system target of the software update * configuration triggered this run - * @member {date} [startTime] Start time of the software update configuration + * @member {date} [startTime] Etart time of the software update configuration * run. * @member {date} [endTime] End time of the software update configuration * run. * @member {number} [computerCount] Number of computers in the software * update configuration run. * @member {number} [failedCount] Number of computers with failed status. - * @member {date} [creationTime] Creation time of the resource, which only + * @member {date} [creationTime] Creation time of theresource, which only * appears in the response. - * @member {string} [createdBy] CreatedBy property, which only appears in the + * @member {string} [createdBy] createdBy property, which only appears in the * response. * @member {date} [lastModifiedTime] Last time resource was modified, which * only appears in the response. - * @member {string} [lastModifiedBy] LastModifiedBy property, which only + * @member {string} [lastModifiedBy] lastModifiedBy property, which only * appears in the response. - * @member {object} [tasks] Software update configuration tasks triggered in - * this run - * @member {object} [tasks.preTask] Pre task properties. - * @member {string} [tasks.preTask.status] The status of the task. - * @member {string} [tasks.preTask.source] The name of the source of the - * task. - * @member {string} [tasks.preTask.jobId] The job id of the task. - * @member {object} [tasks.postTask] Post task properties. - * @member {string} [tasks.postTask.status] The status of the task. - * @member {string} [tasks.postTask.source] The name of the source of the - * task. - * @member {string} [tasks.postTask.jobId] The job id of the task. */ constructor() { } @@ -188,14 +176,6 @@ class SoftwareUpdateConfigurationRun { type: { name: 'String' } - }, - tasks: { - required: false, - serializedName: 'properties.tasks', - type: { - name: 'Composite', - className: 'SoftareUpdateConfigurationRunTasks' - } } } } diff --git a/lib/services/automationManagement/lib/models/sourceControlSyncJob.js b/lib/services/automationManagement/lib/models/sourceControlSyncJob.js index 1804c497a0..56bd2433a4 100644 --- a/lib/services/automationManagement/lib/models/sourceControlSyncJob.js +++ b/lib/services/automationManagement/lib/models/sourceControlSyncJob.js @@ -27,7 +27,7 @@ class SourceControlSyncJob { * @member {date} [startTime] The start time of the job. * @member {date} [endTime] The end time of the job. * @member {string} [syncType] The sync type. Possible values include: - * 'PartialSync', 'FullSync' + * 'IncrementalSync', 'FullSync' */ constructor() { } diff --git a/lib/services/automationManagement/lib/models/sourceControlSyncJobById.js b/lib/services/automationManagement/lib/models/sourceControlSyncJobById.js index ef9aa707d1..7bae89431e 100644 --- a/lib/services/automationManagement/lib/models/sourceControlSyncJobById.js +++ b/lib/services/automationManagement/lib/models/sourceControlSyncJobById.js @@ -25,9 +25,9 @@ class SourceControlSyncJobById { * @member {date} [startTime] The start time of the job. * @member {date} [endTime] The end time of the job. * @member {string} [syncType] The sync type. Possible values include: - * 'PartialSync', 'FullSync' - * @member {string} [exception] The exceptions that occurred while running - * the sync job. + * 'IncrementalSync', 'FullSync' + * @member {string} [exception] The exceptions that occured while running the + * sync job. */ constructor() { } diff --git a/lib/services/automationManagement/lib/models/targetProperties.js b/lib/services/automationManagement/lib/models/targetProperties.js index f7ecd24f08..531247f87b 100644 --- a/lib/services/automationManagement/lib/models/targetProperties.js +++ b/lib/services/automationManagement/lib/models/targetProperties.js @@ -19,6 +19,8 @@ class TargetProperties { * Create a TargetProperties. * @member {array} [azureQueries] List of Azure queries in the software * update configuration. + * @member {array} [nonAzureQueries] List of non Azure queries in the + * software update configuration. */ constructor() { } @@ -51,6 +53,21 @@ class TargetProperties { } } } + }, + nonAzureQueries: { + required: false, + serializedName: 'nonAzureQueries', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'NonAzureQueryPropertiesElementType', + type: { + name: 'Composite', + className: 'NonAzureQueryProperties' + } + } + } } } } diff --git a/lib/services/automationManagement/lib/models/updateConfiguration.js b/lib/services/automationManagement/lib/models/updateConfiguration.js index 968d6bf540..89ddb17de1 100644 --- a/lib/services/automationManagement/lib/models/updateConfiguration.js +++ b/lib/services/automationManagement/lib/models/updateConfiguration.js @@ -11,7 +11,7 @@ 'use strict'; /** - * Update specific properties of the software update configuration. + * Update specifc properties of the software update configuration. * */ class UpdateConfiguration { @@ -52,6 +52,8 @@ class UpdateConfiguration { * configuration. * @member {array} [targets.azureQueries] List of Azure queries in the * software update configuration. + * @member {array} [targets.nonAzureQueries] List of non Azure queries in the + * software update configuration. */ constructor() { } diff --git a/lib/services/automationManagement/lib/models/variable.js b/lib/services/automationManagement/lib/models/variable.js index ab200b2676..02610dc34d 100644 --- a/lib/services/automationManagement/lib/models/variable.js +++ b/lib/services/automationManagement/lib/models/variable.js @@ -13,7 +13,7 @@ const models = require('./index'); /** - * Definition of the variable. + * Definition of the varible. * * @extends models['ProxyResource'] */ diff --git a/lib/services/automationManagement/lib/operations/connectionTypeOperations.js b/lib/services/automationManagement/lib/operations/connectionTypeOperations.js index 48c6b2cfa2..33fa0617b0 100644 --- a/lib/services/automationManagement/lib/operations/connectionTypeOperations.js +++ b/lib/services/automationManagement/lib/operations/connectionTypeOperations.js @@ -15,13 +15,13 @@ const msRestAzure = require('ms-rest-azure'); const WebResource = msRest.WebResource; /** - * Delete the connection type. + * Delete the connectiontype. * * @param {string} resourceGroupName Name of an Azure Resource group. * * @param {string} automationAccountName The name of the automation account. * - * @param {string} connectionTypeName The name of connection type. + * @param {string} connectionTypeName The name of connectiontype. * * @param {object} [options] Optional Parameters. * @@ -161,13 +161,13 @@ function _deleteMethod(resourceGroupName, automationAccountName, connectionTypeN } /** - * Retrieve the connection type identified by connection type name. + * Retrieve the connectiontype identified by connectiontype name. * * @param {string} resourceGroupName Name of an Azure Resource group. * * @param {string} automationAccountName The name of the automation account. * - * @param {string} connectionTypeName The name of connection type. + * @param {string} connectionTypeName The name of connectiontype. * * @param {object} [options] Optional Parameters. * @@ -325,17 +325,17 @@ function _get(resourceGroupName, automationAccountName, connectionTypeName, opti } /** - * Create a connection type. + * Create a connectiontype. * * @param {string} resourceGroupName Name of an Azure Resource group. * * @param {string} automationAccountName The name of the automation account. * * @param {string} connectionTypeName The parameters supplied to the create or - * update connection type operation. + * update connectiontype operation. * * @param {object} parameters The parameters supplied to the create or update - * connection type operation. + * connectiontype operation. * * @param {string} parameters.name Gets or sets the name of the connection * type. @@ -536,7 +536,7 @@ function _createOrUpdate(resourceGroupName, automationAccountName, connectionTyp } /** - * Retrieve a list of connection types. + * Retrieve a list of connectiontypes. * * @param {string} resourceGroupName Name of an Azure Resource group. * @@ -695,7 +695,7 @@ function _listByAutomationAccount(resourceGroupName, automationAccountName, opti } /** - * Retrieve a list of connection types. + * Retrieve a list of connectiontypes. * * @param {string} nextPageLink The NextLink from the previous successful call * to List operation. @@ -839,13 +839,13 @@ class ConnectionTypeOperations { } /** - * Delete the connection type. + * Delete the connectiontype. * * @param {string} resourceGroupName Name of an Azure Resource group. * * @param {string} automationAccountName The name of the automation account. * - * @param {string} connectionTypeName The name of connection type. + * @param {string} connectionTypeName The name of connectiontype. * * @param {object} [options] Optional Parameters. * @@ -873,13 +873,13 @@ class ConnectionTypeOperations { } /** - * Delete the connection type. + * Delete the connectiontype. * * @param {string} resourceGroupName Name of an Azure Resource group. * * @param {string} automationAccountName The name of the automation account. * - * @param {string} connectionTypeName The name of connection type. + * @param {string} connectionTypeName The name of connectiontype. * * @param {object} [options] Optional Parameters. * @@ -928,13 +928,13 @@ class ConnectionTypeOperations { } /** - * Retrieve the connection type identified by connection type name. + * Retrieve the connectiontype identified by connectiontype name. * * @param {string} resourceGroupName Name of an Azure Resource group. * * @param {string} automationAccountName The name of the automation account. * - * @param {string} connectionTypeName The name of connection type. + * @param {string} connectionTypeName The name of connectiontype. * * @param {object} [options] Optional Parameters. * @@ -962,13 +962,13 @@ class ConnectionTypeOperations { } /** - * Retrieve the connection type identified by connection type name. + * Retrieve the connectiontype identified by connectiontype name. * * @param {string} resourceGroupName Name of an Azure Resource group. * * @param {string} automationAccountName The name of the automation account. * - * @param {string} connectionTypeName The name of connection type. + * @param {string} connectionTypeName The name of connectiontype. * * @param {object} [options] Optional Parameters. * @@ -1018,17 +1018,17 @@ class ConnectionTypeOperations { } /** - * Create a connection type. + * Create a connectiontype. * * @param {string} resourceGroupName Name of an Azure Resource group. * * @param {string} automationAccountName The name of the automation account. * * @param {string} connectionTypeName The parameters supplied to the create or - * update connection type operation. + * update connectiontype operation. * * @param {object} parameters The parameters supplied to the create or update - * connection type operation. + * connectiontype operation. * * @param {string} parameters.name Gets or sets the name of the connection * type. @@ -1065,17 +1065,17 @@ class ConnectionTypeOperations { } /** - * Create a connection type. + * Create a connectiontype. * * @param {string} resourceGroupName Name of an Azure Resource group. * * @param {string} automationAccountName The name of the automation account. * * @param {string} connectionTypeName The parameters supplied to the create or - * update connection type operation. + * update connectiontype operation. * * @param {object} parameters The parameters supplied to the create or update - * connection type operation. + * connectiontype operation. * * @param {string} parameters.name Gets or sets the name of the connection * type. @@ -1134,7 +1134,7 @@ class ConnectionTypeOperations { } /** - * Retrieve a list of connection types. + * Retrieve a list of connectiontypes. * * @param {string} resourceGroupName Name of an Azure Resource group. * @@ -1166,7 +1166,7 @@ class ConnectionTypeOperations { } /** - * Retrieve a list of connection types. + * Retrieve a list of connectiontypes. * * @param {string} resourceGroupName Name of an Azure Resource group. * @@ -1221,7 +1221,7 @@ class ConnectionTypeOperations { } /** - * Retrieve a list of connection types. + * Retrieve a list of connectiontypes. * * @param {string} nextPageLink The NextLink from the previous successful call * to List operation. @@ -1252,7 +1252,7 @@ class ConnectionTypeOperations { } /** - * Retrieve a list of connection types. + * Retrieve a list of connectiontypes. * * @param {string} nextPageLink The NextLink from the previous successful call * to List operation. diff --git a/lib/services/automationManagement/lib/operations/dscNodeOperations.js b/lib/services/automationManagement/lib/operations/dscNodeOperations.js index 1d39daf1eb..ed3b22b190 100644 --- a/lib/services/automationManagement/lib/operations/dscNodeOperations.js +++ b/lib/services/automationManagement/lib/operations/dscNodeOperations.js @@ -360,7 +360,7 @@ function _get(resourceGroupName, automationAccountName, nodeId, options, callbac * @param {object} [dscNodeUpdateParameters.properties] * * @param {string} [dscNodeUpdateParameters.properties.name] Gets or sets the - * name of the dsc node configuration. + * name of the dsc nodeconfiguration. * * @param {object} [options] Optional Parameters. * @@ -1069,7 +1069,7 @@ class DscNodeOperations { * @param {object} [dscNodeUpdateParameters.properties] * * @param {string} [dscNodeUpdateParameters.properties.name] Gets or sets the - * name of the dsc node configuration. + * name of the dsc nodeconfiguration. * * @param {object} [options] Optional Parameters. * @@ -1114,7 +1114,7 @@ class DscNodeOperations { * @param {object} [dscNodeUpdateParameters.properties] * * @param {string} [dscNodeUpdateParameters.properties.name] Gets or sets the - * name of the dsc node configuration. + * name of the dsc nodeconfiguration. * * @param {object} [options] Optional Parameters. * diff --git a/lib/services/automationManagement/lib/operations/index.d.ts b/lib/services/automationManagement/lib/operations/index.d.ts index 18e715f896..e919050701 100644 --- a/lib/services/automationManagement/lib/operations/index.d.ts +++ b/lib/services/automationManagement/lib/operations/index.d.ts @@ -1714,13 +1714,13 @@ export interface ConnectionTypeOperations { /** - * Delete the connection type. + * Delete the connectiontype. * * @param {string} resourceGroupName Name of an Azure Resource group. * * @param {string} automationAccountName The name of the automation account. * - * @param {string} connectionTypeName The name of connection type. + * @param {string} connectionTypeName The name of connectiontype. * * @param {object} [options] Optional Parameters. * @@ -1736,13 +1736,13 @@ export interface ConnectionTypeOperations { deleteMethodWithHttpOperationResponse(resourceGroupName: string, automationAccountName: string, connectionTypeName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; /** - * Delete the connection type. + * Delete the connectiontype. * * @param {string} resourceGroupName Name of an Azure Resource group. * * @param {string} automationAccountName The name of the automation account. * - * @param {string} connectionTypeName The name of connection type. + * @param {string} connectionTypeName The name of connectiontype. * * @param {object} [options] Optional Parameters. * @@ -1776,13 +1776,13 @@ export interface ConnectionTypeOperations { /** - * Retrieve the connection type identified by connection type name. + * Retrieve the connectiontype identified by connectiontype name. * * @param {string} resourceGroupName Name of an Azure Resource group. * * @param {string} automationAccountName The name of the automation account. * - * @param {string} connectionTypeName The name of connection type. + * @param {string} connectionTypeName The name of connectiontype. * * @param {object} [options] Optional Parameters. * @@ -1798,13 +1798,13 @@ export interface ConnectionTypeOperations { getWithHttpOperationResponse(resourceGroupName: string, automationAccountName: string, connectionTypeName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; /** - * Retrieve the connection type identified by connection type name. + * Retrieve the connectiontype identified by connectiontype name. * * @param {string} resourceGroupName Name of an Azure Resource group. * * @param {string} automationAccountName The name of the automation account. * - * @param {string} connectionTypeName The name of connection type. + * @param {string} connectionTypeName The name of connectiontype. * * @param {object} [options] Optional Parameters. * @@ -1839,17 +1839,17 @@ export interface ConnectionTypeOperations { /** - * Create a connection type. + * Create a connectiontype. * * @param {string} resourceGroupName Name of an Azure Resource group. * * @param {string} automationAccountName The name of the automation account. * * @param {string} connectionTypeName The parameters supplied to the create or - * update connection type operation. + * update connectiontype operation. * * @param {object} parameters The parameters supplied to the create or update - * connection type operation. + * connectiontype operation. * * @param {string} parameters.name Gets or sets the name of the connection * type. @@ -1874,17 +1874,17 @@ export interface ConnectionTypeOperations { createOrUpdateWithHttpOperationResponse(resourceGroupName: string, automationAccountName: string, connectionTypeName: string, parameters: models.ConnectionTypeCreateOrUpdateParameters, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; /** - * Create a connection type. + * Create a connectiontype. * * @param {string} resourceGroupName Name of an Azure Resource group. * * @param {string} automationAccountName The name of the automation account. * * @param {string} connectionTypeName The parameters supplied to the create or - * update connection type operation. + * update connectiontype operation. * * @param {object} parameters The parameters supplied to the create or update - * connection type operation. + * connectiontype operation. * * @param {string} parameters.name Gets or sets the name of the connection * type. @@ -1928,7 +1928,7 @@ export interface ConnectionTypeOperations { /** - * Retrieve a list of connection types. + * Retrieve a list of connectiontypes. * * @param {string} resourceGroupName Name of an Azure Resource group. * @@ -1948,7 +1948,7 @@ export interface ConnectionTypeOperations { listByAutomationAccountWithHttpOperationResponse(resourceGroupName: string, automationAccountName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; /** - * Retrieve a list of connection types. + * Retrieve a list of connectiontypes. * * @param {string} resourceGroupName Name of an Azure Resource group. * @@ -1988,7 +1988,7 @@ export interface ConnectionTypeOperations { /** - * Retrieve a list of connection types. + * Retrieve a list of connectiontypes. * * @param {string} nextPageLink The NextLink from the previous successful call * to List operation. @@ -2007,7 +2007,7 @@ export interface ConnectionTypeOperations { listByAutomationAccountNextWithHttpOperationResponse(nextPageLink: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; /** - * Retrieve a list of connection types. + * Retrieve a list of connectiontypes. * * @param {string} nextPageLink The NextLink from the previous successful call * to List operation. @@ -6811,6 +6811,9 @@ export interface SoftwareUpdateConfigurations { * @param {array} [parameters.updateConfiguration.targets.azureQueries] List of * Azure queries in the software update configuration. * + * @param {array} [parameters.updateConfiguration.targets.nonAzureQueries] List + * of non Azure queries in the software update configuration. + * * @param {object} parameters.scheduleInfo Schedule information for the * Software update configuration * @@ -6863,26 +6866,13 @@ export interface SoftwareUpdateConfigurations { * @param {string} [parameters.scheduleInfo.description] Gets or sets the * description. * - * @param {object} [parameters.error] Details of provisioning error + * @param {object} [parameters.error] detailes of provisioning error * * @param {string} [parameters.error.code] Error code * * @param {string} [parameters.error.message] Error message indicating why the * operation failed. * - * @param {object} [parameters.tasks] Tasks information for the Software update - * configuration. - * - * @param {object} [parameters.tasks.preTask] Pre task properties. - * - * @param {object} [parameters.tasks.postTask] Post task properties. - * - * @param {object} [parameters.tasks.postTask.parameters] Gets or sets the - * parameters of the task. - * - * @param {string} [parameters.tasks.postTask.source] Gets or sets the name of - * the runbook. - * * @param {object} [options] Optional Parameters. * * @param {string} [options.clientRequestId] Identifies this specific client @@ -6973,6 +6963,9 @@ export interface SoftwareUpdateConfigurations { * @param {array} [parameters.updateConfiguration.targets.azureQueries] List of * Azure queries in the software update configuration. * + * @param {array} [parameters.updateConfiguration.targets.nonAzureQueries] List + * of non Azure queries in the software update configuration. + * * @param {object} parameters.scheduleInfo Schedule information for the * Software update configuration * @@ -7025,26 +7018,13 @@ export interface SoftwareUpdateConfigurations { * @param {string} [parameters.scheduleInfo.description] Gets or sets the * description. * - * @param {object} [parameters.error] Details of provisioning error + * @param {object} [parameters.error] detailes of provisioning error * * @param {string} [parameters.error.code] Error code * * @param {string} [parameters.error.message] Error message indicating why the * operation failed. * - * @param {object} [parameters.tasks] Tasks information for the Software update - * configuration. - * - * @param {object} [parameters.tasks.preTask] Pre task properties. - * - * @param {object} [parameters.tasks.postTask] Post task properties. - * - * @param {object} [parameters.tasks.postTask.parameters] Gets or sets the - * parameters of the task. - * - * @param {string} [parameters.tasks.postTask.source] Gets or sets the name of - * the runbook. - * * @param {object} [options] Optional Parameters. * * @param {string} [options.clientRequestId] Identifies this specific client @@ -7390,7 +7370,7 @@ export interface SoftwareUpdateConfigurationRuns { * can use the following filters: 'properties/osType', 'properties/status', * 'properties/startTime', and 'properties/softwareUpdateConfiguration/name' * - * @param {string} [options.skip] Number of entries you skip before returning + * @param {string} [options.skip] number of entries you skip before returning * results * * @param {string} [options.top] Maximum number of entries returned in the @@ -7423,7 +7403,7 @@ export interface SoftwareUpdateConfigurationRuns { * can use the following filters: 'properties/osType', 'properties/status', * 'properties/startTime', and 'properties/softwareUpdateConfiguration/name' * - * @param {string} [options.skip] Number of entries you skip before returning + * @param {string} [options.skip] number of entries you skip before returning * results * * @param {string} [options.top] Maximum number of entries returned in the @@ -9786,7 +9766,7 @@ export interface DscNodeOperations { * @param {object} [dscNodeUpdateParameters.properties] * * @param {string} [dscNodeUpdateParameters.properties.name] Gets or sets the - * name of the dsc node configuration. + * name of the dsc nodeconfiguration. * * @param {object} [options] Optional Parameters. * @@ -9819,7 +9799,7 @@ export interface DscNodeOperations { * @param {object} [dscNodeUpdateParameters.properties] * * @param {string} [dscNodeUpdateParameters.properties.name] Gets or sets the - * name of the dsc node configuration. + * name of the dsc nodeconfiguration. * * @param {object} [options] Optional Parameters. * diff --git a/lib/services/automationManagement/lib/operations/softwareUpdateConfigurationRuns.js b/lib/services/automationManagement/lib/operations/softwareUpdateConfigurationRuns.js index 3d53b77bd5..ae6f3084d5 100644 --- a/lib/services/automationManagement/lib/operations/softwareUpdateConfigurationRuns.js +++ b/lib/services/automationManagement/lib/operations/softwareUpdateConfigurationRuns.js @@ -206,7 +206,7 @@ function _getById(resourceGroupName, automationAccountName, softwareUpdateConfig * can use the following filters: 'properties/osType', 'properties/status', * 'properties/startTime', and 'properties/softwareUpdateConfiguration/name' * - * @param {string} [options.skip] Number of entries you skip before returning + * @param {string} [options.skip] number of entries you skip before returning * results * * @param {string} [options.top] Maximum number of entries returned in the @@ -517,7 +517,7 @@ class SoftwareUpdateConfigurationRuns { * can use the following filters: 'properties/osType', 'properties/status', * 'properties/startTime', and 'properties/softwareUpdateConfiguration/name' * - * @param {string} [options.skip] Number of entries you skip before returning + * @param {string} [options.skip] number of entries you skip before returning * results * * @param {string} [options.top] Maximum number of entries returned in the @@ -562,7 +562,7 @@ class SoftwareUpdateConfigurationRuns { * can use the following filters: 'properties/osType', 'properties/status', * 'properties/startTime', and 'properties/softwareUpdateConfiguration/name' * - * @param {string} [options.skip] Number of entries you skip before returning + * @param {string} [options.skip] number of entries you skip before returning * results * * @param {string} [options.top] Maximum number of entries returned in the diff --git a/lib/services/automationManagement/lib/operations/softwareUpdateConfigurations.js b/lib/services/automationManagement/lib/operations/softwareUpdateConfigurations.js index 47a4d23a64..cc7135a990 100644 --- a/lib/services/automationManagement/lib/operations/softwareUpdateConfigurations.js +++ b/lib/services/automationManagement/lib/operations/softwareUpdateConfigurations.js @@ -88,6 +88,9 @@ const WebResource = msRest.WebResource; * @param {array} [parameters.updateConfiguration.targets.azureQueries] List of * Azure queries in the software update configuration. * + * @param {array} [parameters.updateConfiguration.targets.nonAzureQueries] List + * of non Azure queries in the software update configuration. + * * @param {object} parameters.scheduleInfo Schedule information for the * Software update configuration * @@ -140,26 +143,13 @@ const WebResource = msRest.WebResource; * @param {string} [parameters.scheduleInfo.description] Gets or sets the * description. * - * @param {object} [parameters.error] Details of provisioning error + * @param {object} [parameters.error] detailes of provisioning error * * @param {string} [parameters.error.code] Error code * * @param {string} [parameters.error.message] Error message indicating why the * operation failed. * - * @param {object} [parameters.tasks] Tasks information for the Software update - * configuration. - * - * @param {object} [parameters.tasks.preTask] Pre task properties. - * - * @param {object} [parameters.tasks.postTask] Post task properties. - * - * @param {object} [parameters.tasks.postTask.parameters] Gets or sets the - * parameters of the task. - * - * @param {string} [parameters.tasks.postTask.source] Gets or sets the name of - * the runbook. - * * @param {object} [options] Optional Parameters. * * @param {string} [options.clientRequestId] Identifies this specific client @@ -959,6 +949,9 @@ class SoftwareUpdateConfigurations { * @param {array} [parameters.updateConfiguration.targets.azureQueries] List of * Azure queries in the software update configuration. * + * @param {array} [parameters.updateConfiguration.targets.nonAzureQueries] List + * of non Azure queries in the software update configuration. + * * @param {object} parameters.scheduleInfo Schedule information for the * Software update configuration * @@ -1011,26 +1004,13 @@ class SoftwareUpdateConfigurations { * @param {string} [parameters.scheduleInfo.description] Gets or sets the * description. * - * @param {object} [parameters.error] Details of provisioning error + * @param {object} [parameters.error] detailes of provisioning error * * @param {string} [parameters.error.code] Error code * * @param {string} [parameters.error.message] Error message indicating why the * operation failed. * - * @param {object} [parameters.tasks] Tasks information for the Software update - * configuration. - * - * @param {object} [parameters.tasks.preTask] Pre task properties. - * - * @param {object} [parameters.tasks.postTask] Post task properties. - * - * @param {object} [parameters.tasks.postTask.parameters] Gets or sets the - * parameters of the task. - * - * @param {string} [parameters.tasks.postTask.source] Gets or sets the name of - * the runbook. - * * @param {object} [options] Optional Parameters. * * @param {string} [options.clientRequestId] Identifies this specific client @@ -1133,6 +1113,9 @@ class SoftwareUpdateConfigurations { * @param {array} [parameters.updateConfiguration.targets.azureQueries] List of * Azure queries in the software update configuration. * + * @param {array} [parameters.updateConfiguration.targets.nonAzureQueries] List + * of non Azure queries in the software update configuration. + * * @param {object} parameters.scheduleInfo Schedule information for the * Software update configuration * @@ -1185,26 +1168,13 @@ class SoftwareUpdateConfigurations { * @param {string} [parameters.scheduleInfo.description] Gets or sets the * description. * - * @param {object} [parameters.error] Details of provisioning error + * @param {object} [parameters.error] detailes of provisioning error * * @param {string} [parameters.error.code] Error code * * @param {string} [parameters.error.message] Error message indicating why the * operation failed. * - * @param {object} [parameters.tasks] Tasks information for the Software update - * configuration. - * - * @param {object} [parameters.tasks.preTask] Pre task properties. - * - * @param {object} [parameters.tasks.postTask] Post task properties. - * - * @param {object} [parameters.tasks.postTask.parameters] Gets or sets the - * parameters of the task. - * - * @param {string} [parameters.tasks.postTask.source] Gets or sets the name of - * the runbook. - * * @param {object} [options] Optional Parameters. * * @param {string} [options.clientRequestId] Identifies this specific client From 0c822d84da36a1df6e3b80a94e39b1165cd83069 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 27 Dec 2018 01:13:42 +0000 Subject: [PATCH 2/2] Generated from f3813d89e619417184a43e8a56ab00452f8ee204 Merge branch 'master' into SavedSearchSwagger --- .../lib/models/agentRegistration.js | 2 +- .../lib/models/azureQueryProperties.js | 6 +- .../lib/models/dscConfigurationParameter.js | 2 +- .../lib/models/dscNode.js | 4 +- .../lib/models/dscNodeConfiguration.js | 2 +- .../lib/models/dscNodeUpdateParameters.js | 4 +- .../dscNodeUpdateParametersProperties.js | 4 +- .../lib/models/index.d.ts | 157 ++++++++++++++---- .../automationManagement/lib/models/index.js | 4 + .../runAsCredentialAssociationProperty.js | 2 +- .../runbookCreateOrUpdateDraftProperties.js | 2 +- .../lib/models/runbookDraftUndoEditResult.js | 2 +- .../lib/models/runbookParameter.js | 2 +- .../lib/models/softwareUpdateConfiguration.js | 28 +++- .../softwareUpdateConfigurationMachineRun.js | 14 +- .../models/softwareUpdateConfigurationRun.js | 30 +++- .../lib/models/sourceControlSyncJob.js | 2 +- .../lib/models/sourceControlSyncJobById.js | 6 +- .../lib/models/updateConfiguration.js | 2 +- .../lib/models/variable.js | 2 +- .../operations/connectionTypeOperations.js | 54 +++--- .../lib/operations/dscNodeOperations.js | 6 +- .../lib/operations/index.d.ts | 74 ++++++--- .../softwareUpdateConfigurationRuns.js | 6 +- .../softwareUpdateConfigurations.js | 45 ++++- 25 files changed, 341 insertions(+), 121 deletions(-) diff --git a/lib/services/automationManagement/lib/models/agentRegistration.js b/lib/services/automationManagement/lib/models/agentRegistration.js index cb4922904e..24e623ba79 100644 --- a/lib/services/automationManagement/lib/models/agentRegistration.js +++ b/lib/services/automationManagement/lib/models/agentRegistration.js @@ -11,7 +11,7 @@ 'use strict'; /** - * Definition of the agent registration infomration type. + * Definition of the agent registration information type. * */ class AgentRegistration { diff --git a/lib/services/automationManagement/lib/models/azureQueryProperties.js b/lib/services/automationManagement/lib/models/azureQueryProperties.js index d856eb6ce2..bb3695d9ef 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 to scope the query to. + * @member {array} [locations] 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. @@ -56,9 +56,9 @@ class AzureQueryProperties { } } }, - location: { + locations: { required: false, - serializedName: 'location', + serializedName: 'locations', type: { name: 'Sequence', element: { diff --git a/lib/services/automationManagement/lib/models/dscConfigurationParameter.js b/lib/services/automationManagement/lib/models/dscConfigurationParameter.js index 909e7f3db9..153ee63fce 100644 --- a/lib/services/automationManagement/lib/models/dscConfigurationParameter.js +++ b/lib/services/automationManagement/lib/models/dscConfigurationParameter.js @@ -19,7 +19,7 @@ class DscConfigurationParameter { * Create a DscConfigurationParameter. * @member {string} [type] Gets or sets the type of the parameter. * @member {boolean} [isMandatory] Gets or sets a Boolean value to indicate - * whether the parameter is madatory or not. + * whether the parameter is mandatory or not. * @member {number} [position] Get or sets the position of the parameter. * @member {string} [defaultValue] Gets or sets the default value of * parameter. diff --git a/lib/services/automationManagement/lib/models/dscNode.js b/lib/services/automationManagement/lib/models/dscNode.js index 0f9e4e5f52..28a0c4a2e1 100644 --- a/lib/services/automationManagement/lib/models/dscNode.js +++ b/lib/services/automationManagement/lib/models/dscNode.js @@ -25,8 +25,8 @@ class DscNode extends models['ProxyResource'] { * the node. * @member {string} [ip] Gets or sets the ip of the node. * @member {string} [accountId] Gets or sets the account id of the node. - * @member {string} [dscNodeName] Gets or sets the name of the dsc - * nodeconfiguration. + * @member {string} [dscNodeName] Gets or sets the name of the dsc node + * configuration. * @member {string} [status] Gets or sets the status of the node. * @member {string} [nodeId] Gets or sets the node id. * @member {string} [etag] Gets or sets the etag of the resource. diff --git a/lib/services/automationManagement/lib/models/dscNodeConfiguration.js b/lib/services/automationManagement/lib/models/dscNodeConfiguration.js index 282c4c88fd..e39d5f7863 100644 --- a/lib/services/automationManagement/lib/models/dscNodeConfiguration.js +++ b/lib/services/automationManagement/lib/models/dscNodeConfiguration.js @@ -27,7 +27,7 @@ class DscNodeConfiguration extends models['ProxyResource'] { * @member {string} [configuration.name] Gets or sets the name of the Dsc * configuration. * @member {string} [source] Source of node configuration. - * @member {number} [nodeCount] Number of nodes with this nodeconfiguration + * @member {number} [nodeCount] Number of nodes with this node configuration * assigned * @member {boolean} [incrementNodeConfigurationBuild] If a new build version * of NodeConfiguration is required. diff --git a/lib/services/automationManagement/lib/models/dscNodeUpdateParameters.js b/lib/services/automationManagement/lib/models/dscNodeUpdateParameters.js index b8af3806af..2ffc84e87d 100644 --- a/lib/services/automationManagement/lib/models/dscNodeUpdateParameters.js +++ b/lib/services/automationManagement/lib/models/dscNodeUpdateParameters.js @@ -19,8 +19,8 @@ class DscNodeUpdateParameters { * Create a DscNodeUpdateParameters. * @member {string} [nodeId] Gets or sets the id of the dsc node. * @member {object} [properties] - * @member {string} [properties.name] Gets or sets the name of the dsc - * nodeconfiguration. + * @member {string} [properties.name] Gets or sets the name of the dsc node + * configuration. */ constructor() { } diff --git a/lib/services/automationManagement/lib/models/dscNodeUpdateParametersProperties.js b/lib/services/automationManagement/lib/models/dscNodeUpdateParametersProperties.js index 98c1f8dc94..769e120d77 100644 --- a/lib/services/automationManagement/lib/models/dscNodeUpdateParametersProperties.js +++ b/lib/services/automationManagement/lib/models/dscNodeUpdateParametersProperties.js @@ -16,8 +16,8 @@ class DscNodeUpdateParametersProperties { /** * Create a DscNodeUpdateParametersProperties. - * @member {string} [name] Gets or sets the name of the dsc - * nodeconfiguration. + * @member {string} [name] Gets or sets the name of the dsc node + * configuration. */ constructor() { } diff --git a/lib/services/automationManagement/lib/models/index.d.ts b/lib/services/automationManagement/lib/models/index.d.ts index 5a80683156..cbbcbf1ba8 100644 --- a/lib/services/automationManagement/lib/models/index.d.ts +++ b/lib/services/automationManagement/lib/models/index.d.ts @@ -594,7 +594,7 @@ export interface ContentSource { * * @member {string} [type] Gets or sets the type of the parameter. * @member {boolean} [isMandatory] Gets or sets a Boolean value to indicate - * whether the parameter is madatory or not. + * whether the parameter is mandatory or not. * @member {number} [position] Get or sets the position of the parameter. * @member {string} [defaultValue] Gets or sets the default value of parameter. */ @@ -726,7 +726,7 @@ export interface DscConfigurationUpdateParameters { * @class * Initializes a new instance of the RunAsCredentialAssociationProperty class. * @constructor - * Definition of runas credential to use for hybrid worker. + * Definition of RunAs credential to use for hybrid worker. * * @member {string} [name] Gets or sets the name of the credential. */ @@ -1354,7 +1354,7 @@ export interface VariableCreateOrUpdateParameters { * @class * Initializes a new instance of the Variable class. * @constructor - * Definition of the varible. + * Definition of the variable. * * @member {string} [value] Gets or sets the value of the variable. * @member {boolean} [isEncrypted] Gets or sets the encrypted flag of the @@ -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 to scope the query to. + * @member {array} [locations] 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. @@ -1601,7 +1601,7 @@ export interface TagSettingsProperties { */ export interface AzureQueryProperties { scope?: string[]; - location?: string[]; + locations?: string[]; tagSettings?: TagSettingsProperties; } @@ -1640,7 +1640,7 @@ export interface TargetProperties { * @class * Initializes a new instance of the UpdateConfiguration class. * @constructor - * Update specifc properties of the software update configuration. + * Update specific properties of the software update configuration. * * @member {string} operatingSystem operating system of target machines. * Possible values include: 'Windows', 'Linux' @@ -1690,6 +1690,40 @@ export interface UpdateConfiguration { targets?: TargetProperties; } +/** + * @class + * Initializes a new instance of the TaskProperties class. + * @constructor + * Task properties of the software update configuration. + * + * @member {object} [parameters] Gets or sets the parameters of the task. + * @member {string} [source] Gets or sets the name of the runbook. + */ +export interface TaskProperties { + parameters?: { [propertyName: string]: string }; + source?: string; +} + +/** + * @class + * Initializes a new instance of the SoftwareUpdateConfigurationTasks class. + * @constructor + * Task properties of the software update configuration. + * + * @member {object} [preTask] Pre task properties. + * @member {object} [preTask.parameters] Gets or sets the parameters of the + * task. + * @member {string} [preTask.source] Gets or sets the name of the runbook. + * @member {object} [postTask] Post task properties. + * @member {object} [postTask.parameters] Gets or sets the parameters of the + * task. + * @member {string} [postTask.source] Gets or sets the name of the runbook. + */ +export interface SoftwareUpdateConfigurationTasks { + preTask?: TaskProperties; + postTask?: TaskProperties; +} + /** * @class * Initializes a new instance of the SoftwareUpdateConfiguration class. @@ -1777,18 +1811,30 @@ export interface UpdateConfiguration { * @member {string} [scheduleInfo.description] Gets or sets the description. * @member {string} [provisioningState] Provisioning state for the software * update configuration, which only appears in the response. - * @member {object} [error] detailes of provisioning error + * @member {object} [error] Details of provisioning error * @member {string} [error.code] Error code * @member {string} [error.message] Error message indicating why the operation * failed. - * @member {date} [creationTime] Creation time of theresource, which only + * @member {date} [creationTime] Creation time of the resource, which only * appears in the response. - * @member {string} [createdBy] createdBy property, which only appears in the + * @member {string} [createdBy] CreatedBy property, which only appears in the * response. * @member {date} [lastModifiedTime] Last time resource was modified, which * only appears in the response. - * @member {string} [lastModifiedBy] lastModifiedBy property, which only + * @member {string} [lastModifiedBy] LastModifiedBy property, which only * appears in the response. + * @member {object} [tasks] Tasks information for the Software update + * configuration. + * @member {object} [tasks.preTask] Pre task properties. + * @member {object} [tasks.preTask.parameters] Gets or sets the parameters of + * the task. + * @member {string} [tasks.preTask.source] Gets or sets the name of the + * runbook. + * @member {object} [tasks.postTask] Post task properties. + * @member {object} [tasks.postTask.parameters] Gets or sets the parameters of + * the task. + * @member {string} [tasks.postTask.source] Gets or sets the name of the + * runbook. */ export interface SoftwareUpdateConfiguration extends BaseResource { readonly name?: string; @@ -1802,6 +1848,7 @@ export interface SoftwareUpdateConfiguration extends BaseResource { readonly createdBy?: string; readonly lastModifiedTime?: Date; readonly lastModifiedBy?: string; + tasks?: SoftwareUpdateConfigurationTasks; } /** @@ -1888,6 +1935,42 @@ export interface UpdateConfigurationNavigation { readonly name?: string; } +/** + * @class + * Initializes a new instance of the SoftareUpdateConfigurationRunTaskProperties class. + * @constructor + * Task properties of the software update configuration. + * + * @member {string} [status] The status of the task. + * @member {string} [source] The name of the source of the task. + * @member {string} [jobId] The job id of the task. + */ +export interface SoftareUpdateConfigurationRunTaskProperties { + status?: string; + source?: string; + jobId?: string; +} + +/** + * @class + * Initializes a new instance of the SoftareUpdateConfigurationRunTasks class. + * @constructor + * Software update configuration run tasks model. + * + * @member {object} [preTask] Pre task properties. + * @member {string} [preTask.status] The status of the task. + * @member {string} [preTask.source] The name of the source of the task. + * @member {string} [preTask.jobId] The job id of the task. + * @member {object} [postTask] Post task properties. + * @member {string} [postTask.status] The status of the task. + * @member {string} [postTask.source] The name of the source of the task. + * @member {string} [postTask.jobId] The job id of the task. + */ +export interface SoftareUpdateConfigurationRunTasks { + preTask?: SoftareUpdateConfigurationRunTaskProperties; + postTask?: SoftareUpdateConfigurationRunTaskProperties; +} + /** * @class * Initializes a new instance of the SoftwareUpdateConfigurationRun class. @@ -1901,24 +1984,34 @@ export interface UpdateConfigurationNavigation { * @member {string} [softwareUpdateConfiguration.name] Name of the software * update configuration triggered the software update configuration run * @member {string} [status] Status of the software update configuration run. - * @member {string} [configuredDuration] configured duration for the software + * @member {string} [configuredDuration] Configured duration for the software * update configuration run. * @member {string} [osType] Operating system target of the software update * configuration triggered this run - * @member {date} [startTime] Etart time of the software update configuration + * @member {date} [startTime] Start time of the software update configuration * run. * @member {date} [endTime] End time of the software update configuration run. * @member {number} [computerCount] Number of computers in the software update * configuration run. * @member {number} [failedCount] Number of computers with failed status. - * @member {date} [creationTime] Creation time of theresource, which only + * @member {date} [creationTime] Creation time of the resource, which only * appears in the response. - * @member {string} [createdBy] createdBy property, which only appears in the + * @member {string} [createdBy] CreatedBy property, which only appears in the * response. * @member {date} [lastModifiedTime] Last time resource was modified, which * only appears in the response. - * @member {string} [lastModifiedBy] lastModifiedBy property, which only + * @member {string} [lastModifiedBy] LastModifiedBy property, which only * appears in the response. + * @member {object} [tasks] Software update configuration tasks triggered in + * this run + * @member {object} [tasks.preTask] Pre task properties. + * @member {string} [tasks.preTask.status] The status of the task. + * @member {string} [tasks.preTask.source] The name of the source of the task. + * @member {string} [tasks.preTask.jobId] The job id of the task. + * @member {object} [tasks.postTask] Post task properties. + * @member {string} [tasks.postTask.status] The status of the task. + * @member {string} [tasks.postTask.source] The name of the source of the task. + * @member {string} [tasks.postTask.jobId] The job id of the task. */ export interface SoftwareUpdateConfigurationRun { readonly name?: string; @@ -1935,6 +2028,7 @@ export interface SoftwareUpdateConfigurationRun { readonly createdBy?: string; readonly lastModifiedTime?: Date; readonly lastModifiedBy?: string; + tasks?: SoftareUpdateConfigurationRunTasks; } /** @@ -1999,7 +2093,7 @@ export interface JobNavigation { * machine run * @member {string} [job.id] Id of the job associated with the software update * configuration run - * @member {date} [creationTime] Creation time of theresource, which only + * @member {date} [creationTime] Creation time of the resource, which only * appears in the response. * @member {string} [createdBy] createdBy property, which only appears in the * response. @@ -2007,6 +2101,10 @@ export interface JobNavigation { * only appears in the response. * @member {string} [lastModifiedBy] lastModifiedBy property, which only * appears in the response. + * @member {object} [error] Details of provisioning error + * @member {string} [error.code] Error code + * @member {string} [error.message] Error message indicating why the operation + * failed. */ export interface SoftwareUpdateConfigurationMachineRun { readonly name?: string; @@ -2026,6 +2124,7 @@ export interface SoftwareUpdateConfigurationMachineRun { readonly createdBy?: string; readonly lastModifiedTime?: Date; readonly lastModifiedBy?: string; + error?: ErrorResponse; } /** @@ -2176,7 +2275,7 @@ export interface SourceControlCreateOrUpdateParameters { * @member {date} [startTime] The start time of the job. * @member {date} [endTime] The end time of the job. * @member {string} [syncType] The sync type. Possible values include: - * 'IncrementalSync', 'FullSync' + * 'PartialSync', 'FullSync' */ export interface SourceControlSyncJob { readonly name?: string; @@ -2217,8 +2316,8 @@ export interface SourceControlSyncJobCreateParameters { * @member {date} [startTime] The start time of the job. * @member {date} [endTime] The end time of the job. * @member {string} [syncType] The sync type. Possible values include: - * 'IncrementalSync', 'FullSync' - * @member {string} [exception] The exceptions that occured while running the + * 'PartialSync', 'FullSync' + * @member {string} [exception] The exceptions that occurred while running the * sync job. */ export interface SourceControlSyncJobById { @@ -2592,7 +2691,7 @@ export interface AgentRegistrationKeys { * @class * Initializes a new instance of the AgentRegistration class. * @constructor - * Definition of the agent registration infomration type. + * Definition of the agent registration information type. * * @member {string} [dscMetaConfiguration] Gets or sets the dsc meta * configuration. @@ -2635,8 +2734,8 @@ export interface DscNodeExtensionHandlerAssociationProperty { * node. * @member {string} [ip] Gets or sets the ip of the node. * @member {string} [accountId] Gets or sets the account id of the node. - * @member {string} [dscNodeName] Gets or sets the name of the dsc - * nodeconfiguration. + * @member {string} [dscNodeName] Gets or sets the name of the dsc node + * configuration. * @member {string} [status] Gets or sets the status of the node. * @member {string} [nodeId] Gets or sets the node id. * @member {string} [etag] Gets or sets the etag of the resource. @@ -2675,7 +2774,7 @@ export interface AgentRegistrationRegenerateKeyParameter { * @class * Initializes a new instance of the DscNodeUpdateParametersProperties class. * @constructor - * @member {string} [name] Gets or sets the name of the dsc nodeconfiguration. + * @member {string} [name] Gets or sets the name of the dsc node configuration. */ export interface DscNodeUpdateParametersProperties { name?: string; @@ -2689,8 +2788,8 @@ export interface DscNodeUpdateParametersProperties { * * @member {string} [nodeId] Gets or sets the id of the dsc node. * @member {object} [properties] - * @member {string} [properties.name] Gets or sets the name of the dsc - * nodeconfiguration. + * @member {string} [properties.name] Gets or sets the name of the dsc node + * configuration. */ export interface DscNodeUpdateParameters { nodeId?: string; @@ -2793,7 +2892,7 @@ export interface DscCompilationJobCreateParameters { * @member {string} [configuration.name] Gets or sets the name of the Dsc * configuration. * @member {string} [source] Source of node configuration. - * @member {number} [nodeCount] Number of nodes with this nodeconfiguration + * @member {number} [nodeCount] Number of nodes with this node configuration * assigned * @member {boolean} [incrementNodeConfigurationBuild] If a new build version * of NodeConfiguration is required. @@ -2889,7 +2988,7 @@ export interface NodeCounts { * * @member {string} [type] Gets or sets the type of the parameter. * @member {boolean} [isMandatory] Gets or sets a Boolean value to indicate - * whether the parameter is madatory or not. + * whether the parameter is mandatory or not. * @member {number} [position] Get or sets the position of the parameter. * @member {string} [defaultValue] Gets or sets the default value of parameter. */ @@ -3101,7 +3200,7 @@ export interface RunbookUpdateParameters { * @class * Initializes a new instance of the RunbookDraftUndoEditResult class. * @constructor - * The response model for the undoedit runbook operation. + * The response model for the undo edit runbook operation. * * @member {string} [statusCode] Possible values include: 'Continue', * 'SwitchingProtocols', 'OK', 'Created', 'Accepted', @@ -3180,7 +3279,7 @@ export interface TestJob { * @class * Initializes a new instance of the RunbookCreateOrUpdateDraftProperties class. * @constructor - * The parameters supplied to the create or update dratft runbook properties. + * The parameters supplied to the create or update draft runbook properties. * * @member {boolean} [logVerbose] Gets or sets verbose log option. * @member {boolean} [logProgress] Gets or sets progress log option. diff --git a/lib/services/automationManagement/lib/models/index.js b/lib/services/automationManagement/lib/models/index.js index 48360780e6..68b867e395 100644 --- a/lib/services/automationManagement/lib/models/index.js +++ b/lib/services/automationManagement/lib/models/index.js @@ -93,11 +93,15 @@ exports.AzureQueryProperties = require('./azureQueryProperties'); exports.NonAzureQueryProperties = require('./nonAzureQueryProperties'); exports.TargetProperties = require('./targetProperties'); exports.UpdateConfiguration = require('./updateConfiguration'); +exports.TaskProperties = require('./taskProperties'); +exports.SoftwareUpdateConfigurationTasks = require('./softwareUpdateConfigurationTasks'); exports.SoftwareUpdateConfiguration = require('./softwareUpdateConfiguration'); exports.CollectionItemUpdateConfiguration = require('./collectionItemUpdateConfiguration'); exports.SoftwareUpdateConfigurationCollectionItem = require('./softwareUpdateConfigurationCollectionItem'); exports.SoftwareUpdateConfigurationListResult = require('./softwareUpdateConfigurationListResult'); exports.UpdateConfigurationNavigation = require('./updateConfigurationNavigation'); +exports.SoftareUpdateConfigurationRunTaskProperties = require('./softareUpdateConfigurationRunTaskProperties'); +exports.SoftareUpdateConfigurationRunTasks = require('./softareUpdateConfigurationRunTasks'); exports.SoftwareUpdateConfigurationRun = require('./softwareUpdateConfigurationRun'); exports.SoftwareUpdateConfigurationRunListResult = require('./softwareUpdateConfigurationRunListResult'); exports.JobNavigation = require('./jobNavigation'); diff --git a/lib/services/automationManagement/lib/models/runAsCredentialAssociationProperty.js b/lib/services/automationManagement/lib/models/runAsCredentialAssociationProperty.js index f1ffdce024..e680c29cda 100644 --- a/lib/services/automationManagement/lib/models/runAsCredentialAssociationProperty.js +++ b/lib/services/automationManagement/lib/models/runAsCredentialAssociationProperty.js @@ -11,7 +11,7 @@ 'use strict'; /** - * Definition of runas credential to use for hybrid worker. + * Definition of RunAs credential to use for hybrid worker. * */ class RunAsCredentialAssociationProperty { diff --git a/lib/services/automationManagement/lib/models/runbookCreateOrUpdateDraftProperties.js b/lib/services/automationManagement/lib/models/runbookCreateOrUpdateDraftProperties.js index 0b3023bf7a..36128742da 100644 --- a/lib/services/automationManagement/lib/models/runbookCreateOrUpdateDraftProperties.js +++ b/lib/services/automationManagement/lib/models/runbookCreateOrUpdateDraftProperties.js @@ -11,7 +11,7 @@ 'use strict'; /** - * The parameters supplied to the create or update dratft runbook properties. + * The parameters supplied to the create or update draft runbook properties. * */ class RunbookCreateOrUpdateDraftProperties { diff --git a/lib/services/automationManagement/lib/models/runbookDraftUndoEditResult.js b/lib/services/automationManagement/lib/models/runbookDraftUndoEditResult.js index ab43491b03..9404b8ad1f 100644 --- a/lib/services/automationManagement/lib/models/runbookDraftUndoEditResult.js +++ b/lib/services/automationManagement/lib/models/runbookDraftUndoEditResult.js @@ -11,7 +11,7 @@ 'use strict'; /** - * The response model for the undoedit runbook operation. + * The response model for the undo edit runbook operation. * */ class RunbookDraftUndoEditResult { diff --git a/lib/services/automationManagement/lib/models/runbookParameter.js b/lib/services/automationManagement/lib/models/runbookParameter.js index 8ff078647b..b39f8c1516 100644 --- a/lib/services/automationManagement/lib/models/runbookParameter.js +++ b/lib/services/automationManagement/lib/models/runbookParameter.js @@ -19,7 +19,7 @@ class RunbookParameter { * Create a RunbookParameter. * @member {string} [type] Gets or sets the type of the parameter. * @member {boolean} [isMandatory] Gets or sets a Boolean value to indicate - * whether the parameter is madatory or not. + * whether the parameter is mandatory or not. * @member {number} [position] Get or sets the position of the parameter. * @member {string} [defaultValue] Gets or sets the default value of * parameter. diff --git a/lib/services/automationManagement/lib/models/softwareUpdateConfiguration.js b/lib/services/automationManagement/lib/models/softwareUpdateConfiguration.js index 84bec63ae7..da5cfce0f0 100644 --- a/lib/services/automationManagement/lib/models/softwareUpdateConfiguration.js +++ b/lib/services/automationManagement/lib/models/softwareUpdateConfiguration.js @@ -104,18 +104,30 @@ class SoftwareUpdateConfiguration extends models['BaseResource'] { * @member {string} [scheduleInfo.description] Gets or sets the description. * @member {string} [provisioningState] Provisioning state for the software * update configuration, which only appears in the response. - * @member {object} [error] detailes of provisioning error + * @member {object} [error] Details of provisioning error * @member {string} [error.code] Error code * @member {string} [error.message] Error message indicating why the * operation failed. - * @member {date} [creationTime] Creation time of theresource, which only + * @member {date} [creationTime] Creation time of the resource, which only * appears in the response. - * @member {string} [createdBy] createdBy property, which only appears in the + * @member {string} [createdBy] CreatedBy property, which only appears in the * response. * @member {date} [lastModifiedTime] Last time resource was modified, which * only appears in the response. - * @member {string} [lastModifiedBy] lastModifiedBy property, which only + * @member {string} [lastModifiedBy] LastModifiedBy property, which only * appears in the response. + * @member {object} [tasks] Tasks information for the Software update + * configuration. + * @member {object} [tasks.preTask] Pre task properties. + * @member {object} [tasks.preTask.parameters] Gets or sets the parameters of + * the task. + * @member {string} [tasks.preTask.source] Gets or sets the name of the + * runbook. + * @member {object} [tasks.postTask] Post task properties. + * @member {object} [tasks.postTask.parameters] Gets or sets the parameters + * of the task. + * @member {string} [tasks.postTask.source] Gets or sets the name of the + * runbook. */ constructor() { super(); @@ -224,6 +236,14 @@ class SoftwareUpdateConfiguration extends models['BaseResource'] { type: { name: 'String' } + }, + tasks: { + required: false, + serializedName: 'properties.tasks', + type: { + name: 'Composite', + className: 'SoftwareUpdateConfigurationTasks' + } } } } diff --git a/lib/services/automationManagement/lib/models/softwareUpdateConfigurationMachineRun.js b/lib/services/automationManagement/lib/models/softwareUpdateConfigurationMachineRun.js index 487ab39571..9bebd85d51 100644 --- a/lib/services/automationManagement/lib/models/softwareUpdateConfigurationMachineRun.js +++ b/lib/services/automationManagement/lib/models/softwareUpdateConfigurationMachineRun.js @@ -45,7 +45,7 @@ class SoftwareUpdateConfigurationMachineRun { * configuration machine run * @member {string} [job.id] Id of the job associated with the software * update configuration run - * @member {date} [creationTime] Creation time of theresource, which only + * @member {date} [creationTime] Creation time of the resource, which only * appears in the response. * @member {string} [createdBy] createdBy property, which only appears in the * response. @@ -53,6 +53,10 @@ class SoftwareUpdateConfigurationMachineRun { * only appears in the response. * @member {string} [lastModifiedBy] lastModifiedBy property, which only * appears in the response. + * @member {object} [error] Details of provisioning error + * @member {string} [error.code] Error code + * @member {string} [error.message] Error message indicating why the + * operation failed. */ constructor() { } @@ -210,6 +214,14 @@ class SoftwareUpdateConfigurationMachineRun { type: { name: 'String' } + }, + error: { + required: false, + serializedName: 'properties.error', + type: { + name: 'Composite', + className: 'ErrorResponse' + } } } } diff --git a/lib/services/automationManagement/lib/models/softwareUpdateConfigurationRun.js b/lib/services/automationManagement/lib/models/softwareUpdateConfigurationRun.js index f3a93db89d..c2313b0803 100644 --- a/lib/services/automationManagement/lib/models/softwareUpdateConfigurationRun.js +++ b/lib/services/automationManagement/lib/models/softwareUpdateConfigurationRun.js @@ -24,25 +24,37 @@ class SoftwareUpdateConfigurationRun { * @member {string} [softwareUpdateConfiguration.name] Name of the software * update configuration triggered the software update configuration run * @member {string} [status] Status of the software update configuration run. - * @member {string} [configuredDuration] configured duration for the software + * @member {string} [configuredDuration] Configured duration for the software * update configuration run. * @member {string} [osType] Operating system target of the software update * configuration triggered this run - * @member {date} [startTime] Etart time of the software update configuration + * @member {date} [startTime] Start time of the software update configuration * run. * @member {date} [endTime] End time of the software update configuration * run. * @member {number} [computerCount] Number of computers in the software * update configuration run. * @member {number} [failedCount] Number of computers with failed status. - * @member {date} [creationTime] Creation time of theresource, which only + * @member {date} [creationTime] Creation time of the resource, which only * appears in the response. - * @member {string} [createdBy] createdBy property, which only appears in the + * @member {string} [createdBy] CreatedBy property, which only appears in the * response. * @member {date} [lastModifiedTime] Last time resource was modified, which * only appears in the response. - * @member {string} [lastModifiedBy] lastModifiedBy property, which only + * @member {string} [lastModifiedBy] LastModifiedBy property, which only * appears in the response. + * @member {object} [tasks] Software update configuration tasks triggered in + * this run + * @member {object} [tasks.preTask] Pre task properties. + * @member {string} [tasks.preTask.status] The status of the task. + * @member {string} [tasks.preTask.source] The name of the source of the + * task. + * @member {string} [tasks.preTask.jobId] The job id of the task. + * @member {object} [tasks.postTask] Post task properties. + * @member {string} [tasks.postTask.status] The status of the task. + * @member {string} [tasks.postTask.source] The name of the source of the + * task. + * @member {string} [tasks.postTask.jobId] The job id of the task. */ constructor() { } @@ -176,6 +188,14 @@ class SoftwareUpdateConfigurationRun { type: { name: 'String' } + }, + tasks: { + required: false, + serializedName: 'properties.tasks', + type: { + name: 'Composite', + className: 'SoftareUpdateConfigurationRunTasks' + } } } } diff --git a/lib/services/automationManagement/lib/models/sourceControlSyncJob.js b/lib/services/automationManagement/lib/models/sourceControlSyncJob.js index 56bd2433a4..1804c497a0 100644 --- a/lib/services/automationManagement/lib/models/sourceControlSyncJob.js +++ b/lib/services/automationManagement/lib/models/sourceControlSyncJob.js @@ -27,7 +27,7 @@ class SourceControlSyncJob { * @member {date} [startTime] The start time of the job. * @member {date} [endTime] The end time of the job. * @member {string} [syncType] The sync type. Possible values include: - * 'IncrementalSync', 'FullSync' + * 'PartialSync', 'FullSync' */ constructor() { } diff --git a/lib/services/automationManagement/lib/models/sourceControlSyncJobById.js b/lib/services/automationManagement/lib/models/sourceControlSyncJobById.js index 7bae89431e..ef9aa707d1 100644 --- a/lib/services/automationManagement/lib/models/sourceControlSyncJobById.js +++ b/lib/services/automationManagement/lib/models/sourceControlSyncJobById.js @@ -25,9 +25,9 @@ class SourceControlSyncJobById { * @member {date} [startTime] The start time of the job. * @member {date} [endTime] The end time of the job. * @member {string} [syncType] The sync type. Possible values include: - * 'IncrementalSync', 'FullSync' - * @member {string} [exception] The exceptions that occured while running the - * sync job. + * 'PartialSync', 'FullSync' + * @member {string} [exception] The exceptions that occurred while running + * the sync job. */ constructor() { } diff --git a/lib/services/automationManagement/lib/models/updateConfiguration.js b/lib/services/automationManagement/lib/models/updateConfiguration.js index 89ddb17de1..1f245bf7a4 100644 --- a/lib/services/automationManagement/lib/models/updateConfiguration.js +++ b/lib/services/automationManagement/lib/models/updateConfiguration.js @@ -11,7 +11,7 @@ 'use strict'; /** - * Update specifc properties of the software update configuration. + * Update specific properties of the software update configuration. * */ class UpdateConfiguration { diff --git a/lib/services/automationManagement/lib/models/variable.js b/lib/services/automationManagement/lib/models/variable.js index 02610dc34d..ab200b2676 100644 --- a/lib/services/automationManagement/lib/models/variable.js +++ b/lib/services/automationManagement/lib/models/variable.js @@ -13,7 +13,7 @@ const models = require('./index'); /** - * Definition of the varible. + * Definition of the variable. * * @extends models['ProxyResource'] */ diff --git a/lib/services/automationManagement/lib/operations/connectionTypeOperations.js b/lib/services/automationManagement/lib/operations/connectionTypeOperations.js index 33fa0617b0..48c6b2cfa2 100644 --- a/lib/services/automationManagement/lib/operations/connectionTypeOperations.js +++ b/lib/services/automationManagement/lib/operations/connectionTypeOperations.js @@ -15,13 +15,13 @@ const msRestAzure = require('ms-rest-azure'); const WebResource = msRest.WebResource; /** - * Delete the connectiontype. + * Delete the connection type. * * @param {string} resourceGroupName Name of an Azure Resource group. * * @param {string} automationAccountName The name of the automation account. * - * @param {string} connectionTypeName The name of connectiontype. + * @param {string} connectionTypeName The name of connection type. * * @param {object} [options] Optional Parameters. * @@ -161,13 +161,13 @@ function _deleteMethod(resourceGroupName, automationAccountName, connectionTypeN } /** - * Retrieve the connectiontype identified by connectiontype name. + * Retrieve the connection type identified by connection type name. * * @param {string} resourceGroupName Name of an Azure Resource group. * * @param {string} automationAccountName The name of the automation account. * - * @param {string} connectionTypeName The name of connectiontype. + * @param {string} connectionTypeName The name of connection type. * * @param {object} [options] Optional Parameters. * @@ -325,17 +325,17 @@ function _get(resourceGroupName, automationAccountName, connectionTypeName, opti } /** - * Create a connectiontype. + * Create a connection type. * * @param {string} resourceGroupName Name of an Azure Resource group. * * @param {string} automationAccountName The name of the automation account. * * @param {string} connectionTypeName The parameters supplied to the create or - * update connectiontype operation. + * update connection type operation. * * @param {object} parameters The parameters supplied to the create or update - * connectiontype operation. + * connection type operation. * * @param {string} parameters.name Gets or sets the name of the connection * type. @@ -536,7 +536,7 @@ function _createOrUpdate(resourceGroupName, automationAccountName, connectionTyp } /** - * Retrieve a list of connectiontypes. + * Retrieve a list of connection types. * * @param {string} resourceGroupName Name of an Azure Resource group. * @@ -695,7 +695,7 @@ function _listByAutomationAccount(resourceGroupName, automationAccountName, opti } /** - * Retrieve a list of connectiontypes. + * Retrieve a list of connection types. * * @param {string} nextPageLink The NextLink from the previous successful call * to List operation. @@ -839,13 +839,13 @@ class ConnectionTypeOperations { } /** - * Delete the connectiontype. + * Delete the connection type. * * @param {string} resourceGroupName Name of an Azure Resource group. * * @param {string} automationAccountName The name of the automation account. * - * @param {string} connectionTypeName The name of connectiontype. + * @param {string} connectionTypeName The name of connection type. * * @param {object} [options] Optional Parameters. * @@ -873,13 +873,13 @@ class ConnectionTypeOperations { } /** - * Delete the connectiontype. + * Delete the connection type. * * @param {string} resourceGroupName Name of an Azure Resource group. * * @param {string} automationAccountName The name of the automation account. * - * @param {string} connectionTypeName The name of connectiontype. + * @param {string} connectionTypeName The name of connection type. * * @param {object} [options] Optional Parameters. * @@ -928,13 +928,13 @@ class ConnectionTypeOperations { } /** - * Retrieve the connectiontype identified by connectiontype name. + * Retrieve the connection type identified by connection type name. * * @param {string} resourceGroupName Name of an Azure Resource group. * * @param {string} automationAccountName The name of the automation account. * - * @param {string} connectionTypeName The name of connectiontype. + * @param {string} connectionTypeName The name of connection type. * * @param {object} [options] Optional Parameters. * @@ -962,13 +962,13 @@ class ConnectionTypeOperations { } /** - * Retrieve the connectiontype identified by connectiontype name. + * Retrieve the connection type identified by connection type name. * * @param {string} resourceGroupName Name of an Azure Resource group. * * @param {string} automationAccountName The name of the automation account. * - * @param {string} connectionTypeName The name of connectiontype. + * @param {string} connectionTypeName The name of connection type. * * @param {object} [options] Optional Parameters. * @@ -1018,17 +1018,17 @@ class ConnectionTypeOperations { } /** - * Create a connectiontype. + * Create a connection type. * * @param {string} resourceGroupName Name of an Azure Resource group. * * @param {string} automationAccountName The name of the automation account. * * @param {string} connectionTypeName The parameters supplied to the create or - * update connectiontype operation. + * update connection type operation. * * @param {object} parameters The parameters supplied to the create or update - * connectiontype operation. + * connection type operation. * * @param {string} parameters.name Gets or sets the name of the connection * type. @@ -1065,17 +1065,17 @@ class ConnectionTypeOperations { } /** - * Create a connectiontype. + * Create a connection type. * * @param {string} resourceGroupName Name of an Azure Resource group. * * @param {string} automationAccountName The name of the automation account. * * @param {string} connectionTypeName The parameters supplied to the create or - * update connectiontype operation. + * update connection type operation. * * @param {object} parameters The parameters supplied to the create or update - * connectiontype operation. + * connection type operation. * * @param {string} parameters.name Gets or sets the name of the connection * type. @@ -1134,7 +1134,7 @@ class ConnectionTypeOperations { } /** - * Retrieve a list of connectiontypes. + * Retrieve a list of connection types. * * @param {string} resourceGroupName Name of an Azure Resource group. * @@ -1166,7 +1166,7 @@ class ConnectionTypeOperations { } /** - * Retrieve a list of connectiontypes. + * Retrieve a list of connection types. * * @param {string} resourceGroupName Name of an Azure Resource group. * @@ -1221,7 +1221,7 @@ class ConnectionTypeOperations { } /** - * Retrieve a list of connectiontypes. + * Retrieve a list of connection types. * * @param {string} nextPageLink The NextLink from the previous successful call * to List operation. @@ -1252,7 +1252,7 @@ class ConnectionTypeOperations { } /** - * Retrieve a list of connectiontypes. + * Retrieve a list of connection types. * * @param {string} nextPageLink The NextLink from the previous successful call * to List operation. diff --git a/lib/services/automationManagement/lib/operations/dscNodeOperations.js b/lib/services/automationManagement/lib/operations/dscNodeOperations.js index ed3b22b190..1d39daf1eb 100644 --- a/lib/services/automationManagement/lib/operations/dscNodeOperations.js +++ b/lib/services/automationManagement/lib/operations/dscNodeOperations.js @@ -360,7 +360,7 @@ function _get(resourceGroupName, automationAccountName, nodeId, options, callbac * @param {object} [dscNodeUpdateParameters.properties] * * @param {string} [dscNodeUpdateParameters.properties.name] Gets or sets the - * name of the dsc nodeconfiguration. + * name of the dsc node configuration. * * @param {object} [options] Optional Parameters. * @@ -1069,7 +1069,7 @@ class DscNodeOperations { * @param {object} [dscNodeUpdateParameters.properties] * * @param {string} [dscNodeUpdateParameters.properties.name] Gets or sets the - * name of the dsc nodeconfiguration. + * name of the dsc node configuration. * * @param {object} [options] Optional Parameters. * @@ -1114,7 +1114,7 @@ class DscNodeOperations { * @param {object} [dscNodeUpdateParameters.properties] * * @param {string} [dscNodeUpdateParameters.properties.name] Gets or sets the - * name of the dsc nodeconfiguration. + * name of the dsc node configuration. * * @param {object} [options] Optional Parameters. * diff --git a/lib/services/automationManagement/lib/operations/index.d.ts b/lib/services/automationManagement/lib/operations/index.d.ts index e919050701..9c5c977292 100644 --- a/lib/services/automationManagement/lib/operations/index.d.ts +++ b/lib/services/automationManagement/lib/operations/index.d.ts @@ -1714,13 +1714,13 @@ export interface ConnectionTypeOperations { /** - * Delete the connectiontype. + * Delete the connection type. * * @param {string} resourceGroupName Name of an Azure Resource group. * * @param {string} automationAccountName The name of the automation account. * - * @param {string} connectionTypeName The name of connectiontype. + * @param {string} connectionTypeName The name of connection type. * * @param {object} [options] Optional Parameters. * @@ -1736,13 +1736,13 @@ export interface ConnectionTypeOperations { deleteMethodWithHttpOperationResponse(resourceGroupName: string, automationAccountName: string, connectionTypeName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; /** - * Delete the connectiontype. + * Delete the connection type. * * @param {string} resourceGroupName Name of an Azure Resource group. * * @param {string} automationAccountName The name of the automation account. * - * @param {string} connectionTypeName The name of connectiontype. + * @param {string} connectionTypeName The name of connection type. * * @param {object} [options] Optional Parameters. * @@ -1776,13 +1776,13 @@ export interface ConnectionTypeOperations { /** - * Retrieve the connectiontype identified by connectiontype name. + * Retrieve the connection type identified by connection type name. * * @param {string} resourceGroupName Name of an Azure Resource group. * * @param {string} automationAccountName The name of the automation account. * - * @param {string} connectionTypeName The name of connectiontype. + * @param {string} connectionTypeName The name of connection type. * * @param {object} [options] Optional Parameters. * @@ -1798,13 +1798,13 @@ export interface ConnectionTypeOperations { getWithHttpOperationResponse(resourceGroupName: string, automationAccountName: string, connectionTypeName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; /** - * Retrieve the connectiontype identified by connectiontype name. + * Retrieve the connection type identified by connection type name. * * @param {string} resourceGroupName Name of an Azure Resource group. * * @param {string} automationAccountName The name of the automation account. * - * @param {string} connectionTypeName The name of connectiontype. + * @param {string} connectionTypeName The name of connection type. * * @param {object} [options] Optional Parameters. * @@ -1839,17 +1839,17 @@ export interface ConnectionTypeOperations { /** - * Create a connectiontype. + * Create a connection type. * * @param {string} resourceGroupName Name of an Azure Resource group. * * @param {string} automationAccountName The name of the automation account. * * @param {string} connectionTypeName The parameters supplied to the create or - * update connectiontype operation. + * update connection type operation. * * @param {object} parameters The parameters supplied to the create or update - * connectiontype operation. + * connection type operation. * * @param {string} parameters.name Gets or sets the name of the connection * type. @@ -1874,17 +1874,17 @@ export interface ConnectionTypeOperations { createOrUpdateWithHttpOperationResponse(resourceGroupName: string, automationAccountName: string, connectionTypeName: string, parameters: models.ConnectionTypeCreateOrUpdateParameters, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; /** - * Create a connectiontype. + * Create a connection type. * * @param {string} resourceGroupName Name of an Azure Resource group. * * @param {string} automationAccountName The name of the automation account. * * @param {string} connectionTypeName The parameters supplied to the create or - * update connectiontype operation. + * update connection type operation. * * @param {object} parameters The parameters supplied to the create or update - * connectiontype operation. + * connection type operation. * * @param {string} parameters.name Gets or sets the name of the connection * type. @@ -1928,7 +1928,7 @@ export interface ConnectionTypeOperations { /** - * Retrieve a list of connectiontypes. + * Retrieve a list of connection types. * * @param {string} resourceGroupName Name of an Azure Resource group. * @@ -1948,7 +1948,7 @@ export interface ConnectionTypeOperations { listByAutomationAccountWithHttpOperationResponse(resourceGroupName: string, automationAccountName: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; /** - * Retrieve a list of connectiontypes. + * Retrieve a list of connection types. * * @param {string} resourceGroupName Name of an Azure Resource group. * @@ -1988,7 +1988,7 @@ export interface ConnectionTypeOperations { /** - * Retrieve a list of connectiontypes. + * Retrieve a list of connection types. * * @param {string} nextPageLink The NextLink from the previous successful call * to List operation. @@ -2007,7 +2007,7 @@ export interface ConnectionTypeOperations { listByAutomationAccountNextWithHttpOperationResponse(nextPageLink: string, options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; /** - * Retrieve a list of connectiontypes. + * Retrieve a list of connection types. * * @param {string} nextPageLink The NextLink from the previous successful call * to List operation. @@ -6866,13 +6866,26 @@ export interface SoftwareUpdateConfigurations { * @param {string} [parameters.scheduleInfo.description] Gets or sets the * description. * - * @param {object} [parameters.error] detailes of provisioning error + * @param {object} [parameters.error] Details of provisioning error * * @param {string} [parameters.error.code] Error code * * @param {string} [parameters.error.message] Error message indicating why the * operation failed. * + * @param {object} [parameters.tasks] Tasks information for the Software update + * configuration. + * + * @param {object} [parameters.tasks.preTask] Pre task properties. + * + * @param {object} [parameters.tasks.postTask] Post task properties. + * + * @param {object} [parameters.tasks.postTask.parameters] Gets or sets the + * parameters of the task. + * + * @param {string} [parameters.tasks.postTask.source] Gets or sets the name of + * the runbook. + * * @param {object} [options] Optional Parameters. * * @param {string} [options.clientRequestId] Identifies this specific client @@ -7018,13 +7031,26 @@ export interface SoftwareUpdateConfigurations { * @param {string} [parameters.scheduleInfo.description] Gets or sets the * description. * - * @param {object} [parameters.error] detailes of provisioning error + * @param {object} [parameters.error] Details of provisioning error * * @param {string} [parameters.error.code] Error code * * @param {string} [parameters.error.message] Error message indicating why the * operation failed. * + * @param {object} [parameters.tasks] Tasks information for the Software update + * configuration. + * + * @param {object} [parameters.tasks.preTask] Pre task properties. + * + * @param {object} [parameters.tasks.postTask] Post task properties. + * + * @param {object} [parameters.tasks.postTask.parameters] Gets or sets the + * parameters of the task. + * + * @param {string} [parameters.tasks.postTask.source] Gets or sets the name of + * the runbook. + * * @param {object} [options] Optional Parameters. * * @param {string} [options.clientRequestId] Identifies this specific client @@ -7370,7 +7396,7 @@ export interface SoftwareUpdateConfigurationRuns { * can use the following filters: 'properties/osType', 'properties/status', * 'properties/startTime', and 'properties/softwareUpdateConfiguration/name' * - * @param {string} [options.skip] number of entries you skip before returning + * @param {string} [options.skip] Number of entries you skip before returning * results * * @param {string} [options.top] Maximum number of entries returned in the @@ -7403,7 +7429,7 @@ export interface SoftwareUpdateConfigurationRuns { * can use the following filters: 'properties/osType', 'properties/status', * 'properties/startTime', and 'properties/softwareUpdateConfiguration/name' * - * @param {string} [options.skip] number of entries you skip before returning + * @param {string} [options.skip] Number of entries you skip before returning * results * * @param {string} [options.top] Maximum number of entries returned in the @@ -9766,7 +9792,7 @@ export interface DscNodeOperations { * @param {object} [dscNodeUpdateParameters.properties] * * @param {string} [dscNodeUpdateParameters.properties.name] Gets or sets the - * name of the dsc nodeconfiguration. + * name of the dsc node configuration. * * @param {object} [options] Optional Parameters. * @@ -9799,7 +9825,7 @@ export interface DscNodeOperations { * @param {object} [dscNodeUpdateParameters.properties] * * @param {string} [dscNodeUpdateParameters.properties.name] Gets or sets the - * name of the dsc nodeconfiguration. + * name of the dsc node configuration. * * @param {object} [options] Optional Parameters. * diff --git a/lib/services/automationManagement/lib/operations/softwareUpdateConfigurationRuns.js b/lib/services/automationManagement/lib/operations/softwareUpdateConfigurationRuns.js index ae6f3084d5..3d53b77bd5 100644 --- a/lib/services/automationManagement/lib/operations/softwareUpdateConfigurationRuns.js +++ b/lib/services/automationManagement/lib/operations/softwareUpdateConfigurationRuns.js @@ -206,7 +206,7 @@ function _getById(resourceGroupName, automationAccountName, softwareUpdateConfig * can use the following filters: 'properties/osType', 'properties/status', * 'properties/startTime', and 'properties/softwareUpdateConfiguration/name' * - * @param {string} [options.skip] number of entries you skip before returning + * @param {string} [options.skip] Number of entries you skip before returning * results * * @param {string} [options.top] Maximum number of entries returned in the @@ -517,7 +517,7 @@ class SoftwareUpdateConfigurationRuns { * can use the following filters: 'properties/osType', 'properties/status', * 'properties/startTime', and 'properties/softwareUpdateConfiguration/name' * - * @param {string} [options.skip] number of entries you skip before returning + * @param {string} [options.skip] Number of entries you skip before returning * results * * @param {string} [options.top] Maximum number of entries returned in the @@ -562,7 +562,7 @@ class SoftwareUpdateConfigurationRuns { * can use the following filters: 'properties/osType', 'properties/status', * 'properties/startTime', and 'properties/softwareUpdateConfiguration/name' * - * @param {string} [options.skip] number of entries you skip before returning + * @param {string} [options.skip] Number of entries you skip before returning * results * * @param {string} [options.top] Maximum number of entries returned in the diff --git a/lib/services/automationManagement/lib/operations/softwareUpdateConfigurations.js b/lib/services/automationManagement/lib/operations/softwareUpdateConfigurations.js index cc7135a990..aea88cd091 100644 --- a/lib/services/automationManagement/lib/operations/softwareUpdateConfigurations.js +++ b/lib/services/automationManagement/lib/operations/softwareUpdateConfigurations.js @@ -143,13 +143,26 @@ const WebResource = msRest.WebResource; * @param {string} [parameters.scheduleInfo.description] Gets or sets the * description. * - * @param {object} [parameters.error] detailes of provisioning error + * @param {object} [parameters.error] Details of provisioning error * * @param {string} [parameters.error.code] Error code * * @param {string} [parameters.error.message] Error message indicating why the * operation failed. * + * @param {object} [parameters.tasks] Tasks information for the Software update + * configuration. + * + * @param {object} [parameters.tasks.preTask] Pre task properties. + * + * @param {object} [parameters.tasks.postTask] Post task properties. + * + * @param {object} [parameters.tasks.postTask.parameters] Gets or sets the + * parameters of the task. + * + * @param {string} [parameters.tasks.postTask.source] Gets or sets the name of + * the runbook. + * * @param {object} [options] Optional Parameters. * * @param {string} [options.clientRequestId] Identifies this specific client @@ -1004,13 +1017,26 @@ class SoftwareUpdateConfigurations { * @param {string} [parameters.scheduleInfo.description] Gets or sets the * description. * - * @param {object} [parameters.error] detailes of provisioning error + * @param {object} [parameters.error] Details of provisioning error * * @param {string} [parameters.error.code] Error code * * @param {string} [parameters.error.message] Error message indicating why the * operation failed. * + * @param {object} [parameters.tasks] Tasks information for the Software update + * configuration. + * + * @param {object} [parameters.tasks.preTask] Pre task properties. + * + * @param {object} [parameters.tasks.postTask] Post task properties. + * + * @param {object} [parameters.tasks.postTask.parameters] Gets or sets the + * parameters of the task. + * + * @param {string} [parameters.tasks.postTask.source] Gets or sets the name of + * the runbook. + * * @param {object} [options] Optional Parameters. * * @param {string} [options.clientRequestId] Identifies this specific client @@ -1168,13 +1194,26 @@ class SoftwareUpdateConfigurations { * @param {string} [parameters.scheduleInfo.description] Gets or sets the * description. * - * @param {object} [parameters.error] detailes of provisioning error + * @param {object} [parameters.error] Details of provisioning error * * @param {string} [parameters.error.code] Error code * * @param {string} [parameters.error.message] Error message indicating why the * operation failed. * + * @param {object} [parameters.tasks] Tasks information for the Software update + * configuration. + * + * @param {object} [parameters.tasks.preTask] Pre task properties. + * + * @param {object} [parameters.tasks.postTask] Post task properties. + * + * @param {object} [parameters.tasks.postTask.parameters] Gets or sets the + * parameters of the task. + * + * @param {string} [parameters.tasks.postTask.source] Gets or sets the name of + * the runbook. + * * @param {object} [options] Optional Parameters. * * @param {string} [options.clientRequestId] Identifies this specific client