From 0360d9153401c02f7516b45db6fcb0a6f9783b7e Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 27 Dec 2018 00:52:48 +0000 Subject: [PATCH 1/2] Generated from 5c9b5836b2067fd623c49b79bd15ff36d4d8aebb Swagger change for Update configuration dynamic group Saved Search Query --- .../automationAccountOperationsMappers.ts | 3 +- .../models/certificateOperationsMappers.ts | 3 +- .../lib/models/connectionOperationsMappers.ts | 3 +- .../lib/models/credentialOperationsMappers.ts | 3 +- .../dscCompilationJobOperationsMappers.ts | 3 +- .../dscConfigurationOperationsMappers.ts | 3 +- .../dscNodeConfigurationOperationsMappers.ts | 3 +- .../lib/models/dscNodeOperationsMappers.ts | 3 +- .../@azure/arm-automation/lib/models/index.ts | 176 ++++++------------ .../lib/models/jobOperationsMappers.ts | 3 +- .../arm-automation/lib/models/mappers.ts | 162 ++++------------ .../lib/models/moduleOperationsMappers.ts | 3 +- .../lib/models/python2PackageMappers.ts | 3 +- .../lib/models/runbookOperationsMappers.ts | 3 +- .../lib/models/scheduleOperationsMappers.ts | 3 +- .../softwareUpdateConfigurationRunsMappers.ts | 2 - .../softwareUpdateConfigurationsMappers.ts | 3 +- .../models/sourceControlOperationsMappers.ts | 3 +- .../lib/models/variableOperationsMappers.ts | 3 +- .../lib/models/watcherOperationsMappers.ts | 3 +- .../lib/models/webhookOperationsMappers.ts | 3 +- .../operations/connectionTypeOperations.ts | 34 ++-- 22 files changed, 126 insertions(+), 302 deletions(-) diff --git a/packages/@azure/arm-automation/lib/models/automationAccountOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/automationAccountOperationsMappers.ts index 072d068c0d81..16a115bdc7f8 100644 --- a/packages/@azure/arm-automation/lib/models/automationAccountOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/automationAccountOperationsMappers.ts @@ -44,9 +44,8 @@ export { TargetProperties, AzureQueryProperties, TagSettingsProperties, + NonAzureQueryProperties, ScheduleProperties, - SoftwareUpdateConfigurationTasks, - TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/certificateOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/certificateOperationsMappers.ts index 18d1e9f6f3bd..cbbb815cf76d 100644 --- a/packages/@azure/arm-automation/lib/models/certificateOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/certificateOperationsMappers.ts @@ -42,9 +42,8 @@ export { TargetProperties, AzureQueryProperties, TagSettingsProperties, + NonAzureQueryProperties, ScheduleProperties, - SoftwareUpdateConfigurationTasks, - TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/connectionOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/connectionOperationsMappers.ts index 31e4834dd1f4..12791839938c 100644 --- a/packages/@azure/arm-automation/lib/models/connectionOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/connectionOperationsMappers.ts @@ -42,9 +42,8 @@ export { TargetProperties, AzureQueryProperties, TagSettingsProperties, + NonAzureQueryProperties, ScheduleProperties, - SoftwareUpdateConfigurationTasks, - TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/credentialOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/credentialOperationsMappers.ts index 2973f0dcaa40..b08d39136689 100644 --- a/packages/@azure/arm-automation/lib/models/credentialOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/credentialOperationsMappers.ts @@ -43,9 +43,8 @@ export { TargetProperties, AzureQueryProperties, TagSettingsProperties, + NonAzureQueryProperties, ScheduleProperties, - SoftwareUpdateConfigurationTasks, - TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/dscCompilationJobOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/dscCompilationJobOperationsMappers.ts index 92251becb527..5d970c7650ed 100644 --- a/packages/@azure/arm-automation/lib/models/dscCompilationJobOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/dscCompilationJobOperationsMappers.ts @@ -44,9 +44,8 @@ export { TargetProperties, AzureQueryProperties, TagSettingsProperties, + NonAzureQueryProperties, ScheduleProperties, - SoftwareUpdateConfigurationTasks, - TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/dscConfigurationOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/dscConfigurationOperationsMappers.ts index e142779f7cbe..ac5ad2abb150 100644 --- a/packages/@azure/arm-automation/lib/models/dscConfigurationOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/dscConfigurationOperationsMappers.ts @@ -45,9 +45,8 @@ export { TargetProperties, AzureQueryProperties, TagSettingsProperties, + NonAzureQueryProperties, ScheduleProperties, - SoftwareUpdateConfigurationTasks, - TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/dscNodeConfigurationOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/dscNodeConfigurationOperationsMappers.ts index 7559b5fb9b02..0550d8e5e184 100644 --- a/packages/@azure/arm-automation/lib/models/dscNodeConfigurationOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/dscNodeConfigurationOperationsMappers.ts @@ -43,9 +43,8 @@ export { TargetProperties, AzureQueryProperties, TagSettingsProperties, + NonAzureQueryProperties, ScheduleProperties, - SoftwareUpdateConfigurationTasks, - TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/dscNodeOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/dscNodeOperationsMappers.ts index 2d3724b4b957..232812e66f8e 100644 --- a/packages/@azure/arm-automation/lib/models/dscNodeOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/dscNodeOperationsMappers.ts @@ -44,9 +44,8 @@ export { TargetProperties, AzureQueryProperties, TagSettingsProperties, + NonAzureQueryProperties, ScheduleProperties, - SoftwareUpdateConfigurationTasks, - TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/index.ts b/packages/@azure/arm-automation/lib/models/index.ts index 1d30449cf09f..fa0c64df7c7e 100644 --- a/packages/@azure/arm-automation/lib/models/index.ts +++ b/packages/@azure/arm-automation/lib/models/index.ts @@ -821,7 +821,7 @@ export interface DscConfigurationParameter { type?: string; /** * @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. */ isMandatory?: boolean; /** @@ -982,7 +982,7 @@ export interface DscConfigurationUpdateParameters { /** * @interface * An interface representing RunAsCredentialAssociationProperty. - * Definition of RunAs credential to use for hybrid worker. + * Definition of runas credential to use for hybrid worker. * */ export interface RunAsCredentialAssociationProperty { @@ -1811,7 +1811,7 @@ export interface VariableCreateOrUpdateParameters { /** * @interface * An interface representing Variable. - * Definition of the variable. + * Definition of the varible. * * @extends ProxyResource */ @@ -2166,15 +2166,33 @@ export interface AzureQueryProperties { */ scope?: string[]; /** - * @member {string[]} [locations] List of locations to scope the query to. + * @member {string[]} [location] List of locations to scope the query to. */ - locations?: string[]; + location?: string[]; /** * @member {TagSettingsProperties} [tagSettings] Tag settings for the VM. */ tagSettings?: TagSettingsProperties; } +/** + * @interface + * An interface representing NonAzureQueryProperties. + * Non Azure query for the update configuration. + * + */ +export interface NonAzureQueryProperties { + /** + * @member {string} [functionAlias] Log Analytics Saved Search name. + */ + functionAlias?: string; + /** + * @member {string} [workspaceId] Workspace Id for Log Analytics in which the + * saved Search is resided. + */ + workspaceId?: string; +} + /** * @interface * An interface representing TargetProperties. @@ -2187,12 +2205,17 @@ export interface TargetProperties { * the software update configuration. */ azureQueries?: AzureQueryProperties[]; + /** + * @member {NonAzureQueryProperties[]} [nonAzureQueries] List of non Azure + * queries in the software update configuration. + */ + nonAzureQueries?: NonAzureQueryProperties[]; } /** * @interface * An interface representing UpdateConfiguration. - * Update specific properties of the software update configuration. + * Update specifc properties of the software update configuration. * */ export interface UpdateConfiguration { @@ -2233,41 +2256,6 @@ export interface UpdateConfiguration { targets?: TargetProperties; } -/** - * @interface - * An interface representing TaskProperties. - * Task properties of the software update configuration. - * - */ -export interface TaskProperties { - /** - * @member {{ [propertyName: string]: string }} [parameters] Gets or sets the - * parameters of the task. - */ - parameters?: { [propertyName: string]: string }; - /** - * @member {string} [source] Gets or sets the name of the runbook. - */ - source?: string; -} - -/** - * @interface - * An interface representing SoftwareUpdateConfigurationTasks. - * Task properties of the software update configuration. - * - */ -export interface SoftwareUpdateConfigurationTasks { - /** - * @member {TaskProperties} [preTask] Pre task properties. - */ - preTask?: TaskProperties; - /** - * @member {TaskProperties} [postTask] Post task properties. - */ - postTask?: TaskProperties; -} - /** * @interface * An interface representing SoftwareUpdateConfiguration. @@ -2312,18 +2300,18 @@ export interface SoftwareUpdateConfiguration extends BaseResource { */ readonly provisioningState?: string; /** - * @member {ErrorResponse} [error] Details of provisioning error + * @member {ErrorResponse} [error] detailes of provisioning error */ error?: ErrorResponse; /** - * @member {Date} [creationTime] Creation time of the resource, which only + * @member {Date} [creationTime] Creation time of theresource, which only * appears in the response. * **NOTE: This property will not be serialized. It can only be populated by * the server.** */ readonly creationTime?: Date; /** - * @member {string} [createdBy] CreatedBy property, which only appears in the + * @member {string} [createdBy] createdBy property, which only appears in the * response. * **NOTE: This property will not be serialized. It can only be populated by * the server.** @@ -2337,17 +2325,12 @@ export interface SoftwareUpdateConfiguration extends BaseResource { */ readonly lastModifiedTime?: Date; /** - * @member {string} [lastModifiedBy] LastModifiedBy property, which only + * @member {string} [lastModifiedBy] lastModifiedBy property, which only * appears in the response. * **NOTE: This property will not be serialized. It can only be populated by * the server.** */ readonly lastModifiedBy?: string; - /** - * @member {SoftwareUpdateConfigurationTasks} [tasks] Tasks information for - * the Software update configuration. - */ - tasks?: SoftwareUpdateConfigurationTasks; } /** @@ -2462,46 +2445,6 @@ export interface UpdateConfigurationNavigation { readonly name?: string; } -/** - * @interface - * An interface representing SoftareUpdateConfigurationRunTaskProperties. - * Task properties of the software update configuration. - * - */ -export interface SoftareUpdateConfigurationRunTaskProperties { - /** - * @member {string} [status] The status of the task. - */ - status?: string; - /** - * @member {string} [source] The name of the source of the task. - */ - source?: string; - /** - * @member {string} [jobId] The job id of the task. - */ - jobId?: string; -} - -/** - * @interface - * An interface representing SoftareUpdateConfigurationRunTasks. - * Software update configuration run tasks model. - * - */ -export interface SoftareUpdateConfigurationRunTasks { - /** - * @member {SoftareUpdateConfigurationRunTaskProperties} [preTask] Pre task - * properties. - */ - preTask?: SoftareUpdateConfigurationRunTaskProperties; - /** - * @member {SoftareUpdateConfigurationRunTaskProperties} [postTask] Post task - * properties. - */ - postTask?: SoftareUpdateConfigurationRunTaskProperties; -} - /** * @interface * An interface representing SoftwareUpdateConfigurationRun. @@ -2533,7 +2476,7 @@ export interface SoftwareUpdateConfigurationRun { */ readonly status?: string; /** - * @member {string} [configuredDuration] Configured duration for the software + * @member {string} [configuredDuration] configured duration for the software * update configuration run. * **NOTE: This property will not be serialized. It can only be populated by * the server.** @@ -2547,7 +2490,7 @@ export interface SoftwareUpdateConfigurationRun { */ readonly osType?: string; /** - * @member {Date} [startTime] Start time of the software update configuration + * @member {Date} [startTime] Etart time of the software update configuration * run. * **NOTE: This property will not be serialized. It can only be populated by * the server.** @@ -2574,14 +2517,14 @@ export interface SoftwareUpdateConfigurationRun { */ readonly failedCount?: number; /** - * @member {Date} [creationTime] Creation time of the resource, which only + * @member {Date} [creationTime] Creation time of theresource, which only * appears in the response. * **NOTE: This property will not be serialized. It can only be populated by * the server.** */ readonly creationTime?: Date; /** - * @member {string} [createdBy] CreatedBy property, which only appears in the + * @member {string} [createdBy] createdBy property, which only appears in the * response. * **NOTE: This property will not be serialized. It can only be populated by * the server.** @@ -2595,17 +2538,12 @@ export interface SoftwareUpdateConfigurationRun { */ readonly lastModifiedTime?: Date; /** - * @member {string} [lastModifiedBy] LastModifiedBy property, which only + * @member {string} [lastModifiedBy] lastModifiedBy property, which only * appears in the response. * **NOTE: This property will not be serialized. It can only be populated by * the server.** */ readonly lastModifiedBy?: string; - /** - * @member {SoftareUpdateConfigurationRunTasks} [tasks] Software update - * configuration tasks triggered in this run - */ - tasks?: SoftareUpdateConfigurationRunTasks; } /** @@ -2735,7 +2673,7 @@ export interface SoftwareUpdateConfigurationMachineRun { */ job?: JobNavigation; /** - * @member {Date} [creationTime] Creation time of the resource, which only + * @member {Date} [creationTime] Creation time of theresource, which only * appears in the response. * **NOTE: This property will not be serialized. It can only be populated by * the server.** @@ -2762,10 +2700,6 @@ export interface SoftwareUpdateConfigurationMachineRun { * the server.** */ readonly lastModifiedBy?: string; - /** - * @member {ErrorResponse} [error] Details of provisioning error - */ - error?: ErrorResponse; } /** @@ -2996,7 +2930,7 @@ export interface SourceControlSyncJob { readonly endTime?: Date; /** * @member {SyncType} [syncType] The sync type. Possible values include: - * 'PartialSync', 'FullSync' + * 'IncrementalSync', 'FullSync' */ syncType?: SyncType; } @@ -3055,12 +2989,12 @@ export interface SourceControlSyncJobById { readonly endTime?: Date; /** * @member {SyncType} [syncType] The sync type. Possible values include: - * 'PartialSync', 'FullSync' + * 'IncrementalSync', 'FullSync' */ syncType?: SyncType; /** - * @member {string} [exception] The exceptions that occurred while running - * the sync job. + * @member {string} [exception] The exceptions that occured while running the + * sync job. */ exception?: string; } @@ -3611,7 +3545,7 @@ export interface AgentRegistrationKeys { /** * @interface * An interface representing AgentRegistration. - * Definition of the agent registration information type. + * Definition of the agent registration infomration type. * */ export interface AgentRegistration { @@ -3679,8 +3613,8 @@ export interface DscNode extends ProxyResource { */ accountId?: string; /** - * @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. */ dscNodeName?: string; /** @@ -3728,8 +3662,8 @@ export interface AgentRegistrationRegenerateKeyParameter { */ export interface 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. */ name?: string; } @@ -3919,7 +3853,7 @@ export interface DscNodeConfiguration extends ProxyResource { */ source?: string; /** - * @member {number} [nodeCount] Number of nodes with this node configuration + * @member {number} [nodeCount] Number of nodes with this nodeconfiguration * assigned */ nodeCount?: number; @@ -4022,7 +3956,7 @@ export interface RunbookParameter { type?: string; /** * @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. */ isMandatory?: boolean; /** @@ -4250,7 +4184,7 @@ export interface RunbookUpdateParameters { /** * @interface * An interface representing RunbookDraftUndoEditResult. - * The response model for the undo edit runbook operation. + * The response model for the undoedit runbook operation. * */ export interface RunbookDraftUndoEditResult { @@ -4359,7 +4293,7 @@ export interface TestJob { /** * @interface * An interface representing RunbookCreateOrUpdateDraftProperties. - * The parameters supplied to the create or update draft runbook properties. + * The parameters supplied to the create or update dratft runbook properties. * */ export interface RunbookCreateOrUpdateDraftProperties { @@ -4648,7 +4582,7 @@ export interface SoftwareUpdateConfigurationRunsListOptionalParams extends msRes */ filter?: string; /** - * @member {string} [skip] Number of entries you skip before returning + * @member {string} [skip] number of entries you skip before returning * results */ skip?: string; @@ -5613,11 +5547,11 @@ export type ProvisioningState = 'Completed' | 'Failed' | 'Running'; /** * Defines values for SyncType. - * Possible values include: 'PartialSync', 'FullSync' + * Possible values include: 'IncrementalSync', 'FullSync' * @readonly * @enum {string} */ -export type SyncType = 'PartialSync' | 'FullSync'; +export type SyncType = 'IncrementalSync' | 'FullSync'; /** * Defines values for StreamType. diff --git a/packages/@azure/arm-automation/lib/models/jobOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/jobOperationsMappers.ts index 4a462fcf66a5..94cbbd9121da 100644 --- a/packages/@azure/arm-automation/lib/models/jobOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/jobOperationsMappers.ts @@ -44,9 +44,8 @@ export { TargetProperties, AzureQueryProperties, TagSettingsProperties, + NonAzureQueryProperties, ScheduleProperties, - SoftwareUpdateConfigurationTasks, - TaskProperties, SourceControl, DscNode, DscNodeExtensionHandlerAssociationProperty, diff --git a/packages/@azure/arm-automation/lib/models/mappers.ts b/packages/@azure/arm-automation/lib/models/mappers.ts index 8d2ae4f2efcd..0ceeeff53df7 100644 --- a/packages/@azure/arm-automation/lib/models/mappers.ts +++ b/packages/@azure/arm-automation/lib/models/mappers.ts @@ -2988,8 +2988,8 @@ export const AzureQueryProperties: msRest.CompositeMapper = { } } }, - locations: { - serializedName: "locations", + location: { + serializedName: "location", type: { name: "Sequence", element: { @@ -3010,6 +3010,28 @@ export const AzureQueryProperties: msRest.CompositeMapper = { } }; +export const NonAzureQueryProperties: msRest.CompositeMapper = { + serializedName: "NonAzureQueryProperties", + type: { + name: "Composite", + className: "NonAzureQueryProperties", + modelProperties: { + functionAlias: { + serializedName: "functionAlias", + type: { + name: "String" + } + }, + workspaceId: { + serializedName: "workspaceId", + type: { + name: "String" + } + } + } + } +}; + export const TargetProperties: msRest.CompositeMapper = { serializedName: "TargetProperties", type: { @@ -3027,6 +3049,18 @@ export const TargetProperties: msRest.CompositeMapper = { } } } + }, + nonAzureQueries: { + serializedName: "nonAzureQueries", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "NonAzureQueryProperties" + } + } + } } } } @@ -3102,57 +3136,6 @@ export const UpdateConfiguration: msRest.CompositeMapper = { } }; -export const TaskProperties: msRest.CompositeMapper = { - serializedName: "taskProperties", - type: { - name: "Composite", - className: "TaskProperties", - modelProperties: { - parameters: { - serializedName: "parameters", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, - source: { - serializedName: "source", - type: { - name: "String" - } - } - } - } -}; - -export const SoftwareUpdateConfigurationTasks: msRest.CompositeMapper = { - serializedName: "softwareUpdateConfigurationTasks", - type: { - name: "Composite", - className: "SoftwareUpdateConfigurationTasks", - modelProperties: { - preTask: { - serializedName: "preTask", - type: { - name: "Composite", - className: "TaskProperties" - } - }, - postTask: { - serializedName: "postTask", - type: { - name: "Composite", - className: "TaskProperties" - } - } - } - } -}; - export const SoftwareUpdateConfiguration: msRest.CompositeMapper = { serializedName: "softwareUpdateConfiguration", type: { @@ -3239,13 +3222,6 @@ export const SoftwareUpdateConfiguration: msRest.CompositeMapper = { type: { name: "String" } - }, - tasks: { - serializedName: "properties.tasks", - type: { - name: "Composite", - className: "SoftwareUpdateConfigurationTasks" - } } } } @@ -3391,58 +3367,6 @@ export const UpdateConfigurationNavigation: msRest.CompositeMapper = { } }; -export const SoftareUpdateConfigurationRunTaskProperties: msRest.CompositeMapper = { - serializedName: "softareUpdateConfigurationRunTaskProperties", - type: { - name: "Composite", - className: "SoftareUpdateConfigurationRunTaskProperties", - modelProperties: { - status: { - serializedName: "status", - type: { - name: "String" - } - }, - source: { - serializedName: "source", - type: { - name: "String" - } - }, - jobId: { - serializedName: "jobId", - type: { - name: "String" - } - } - } - } -}; - -export const SoftareUpdateConfigurationRunTasks: msRest.CompositeMapper = { - serializedName: "softareUpdateConfigurationRunTasks", - type: { - name: "Composite", - className: "SoftareUpdateConfigurationRunTasks", - modelProperties: { - preTask: { - serializedName: "preTask", - type: { - name: "Composite", - className: "SoftareUpdateConfigurationRunTaskProperties" - } - }, - postTask: { - serializedName: "postTask", - type: { - name: "Composite", - className: "SoftareUpdateConfigurationRunTaskProperties" - } - } - } - } -}; - export const SoftwareUpdateConfigurationRun: msRest.CompositeMapper = { serializedName: "softwareUpdateConfigurationRun", type: { @@ -3550,13 +3474,6 @@ export const SoftwareUpdateConfigurationRun: msRest.CompositeMapper = { type: { name: "String" } - }, - tasks: { - serializedName: "properties.tasks", - type: { - name: "Composite", - className: "SoftareUpdateConfigurationRunTasks" - } } } } @@ -3735,13 +3652,6 @@ export const SoftwareUpdateConfigurationMachineRun: msRest.CompositeMapper = { type: { name: "String" } - }, - error: { - serializedName: "properties.error", - type: { - name: "Composite", - className: "ErrorResponse" - } } } } diff --git a/packages/@azure/arm-automation/lib/models/moduleOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/moduleOperationsMappers.ts index 330e203beb95..8ade49fc1bfa 100644 --- a/packages/@azure/arm-automation/lib/models/moduleOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/moduleOperationsMappers.ts @@ -44,9 +44,8 @@ export { TargetProperties, AzureQueryProperties, TagSettingsProperties, + NonAzureQueryProperties, ScheduleProperties, - SoftwareUpdateConfigurationTasks, - TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/python2PackageMappers.ts b/packages/@azure/arm-automation/lib/models/python2PackageMappers.ts index e9d3f45f08aa..ab0eba53604f 100644 --- a/packages/@azure/arm-automation/lib/models/python2PackageMappers.ts +++ b/packages/@azure/arm-automation/lib/models/python2PackageMappers.ts @@ -44,9 +44,8 @@ export { TargetProperties, AzureQueryProperties, TagSettingsProperties, + NonAzureQueryProperties, ScheduleProperties, - SoftwareUpdateConfigurationTasks, - TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/runbookOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/runbookOperationsMappers.ts index b1cacfef0343..406947c98cdb 100644 --- a/packages/@azure/arm-automation/lib/models/runbookOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/runbookOperationsMappers.ts @@ -49,9 +49,8 @@ export { TargetProperties, AzureQueryProperties, TagSettingsProperties, + NonAzureQueryProperties, ScheduleProperties, - SoftwareUpdateConfigurationTasks, - TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/scheduleOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/scheduleOperationsMappers.ts index b4cdf77d7461..f5e1fa5f2d8f 100644 --- a/packages/@azure/arm-automation/lib/models/scheduleOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/scheduleOperationsMappers.ts @@ -42,9 +42,8 @@ export { TargetProperties, AzureQueryProperties, TagSettingsProperties, + NonAzureQueryProperties, ScheduleProperties, - SoftwareUpdateConfigurationTasks, - TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationRunsMappers.ts b/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationRunsMappers.ts index e6ddca73be95..1b85b7b90a43 100644 --- a/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationRunsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationRunsMappers.ts @@ -11,8 +11,6 @@ export { SoftwareUpdateConfigurationRun, UpdateConfigurationNavigation, - SoftareUpdateConfigurationRunTasks, - SoftareUpdateConfigurationRunTaskProperties, ErrorResponse, SoftwareUpdateConfigurationRunListResult } from "../models/mappers"; diff --git a/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationsMappers.ts b/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationsMappers.ts index 5ceae51ce72d..787d2ef3157b 100644 --- a/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationsMappers.ts @@ -17,12 +17,11 @@ export { TargetProperties, AzureQueryProperties, TagSettingsProperties, + NonAzureQueryProperties, ScheduleProperties, AdvancedSchedule, AdvancedScheduleMonthlyOccurrence, ErrorResponse, - SoftwareUpdateConfigurationTasks, - TaskProperties, SoftwareUpdateConfigurationListResult, SoftwareUpdateConfigurationCollectionItem, CollectionItemUpdateConfiguration, diff --git a/packages/@azure/arm-automation/lib/models/sourceControlOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/sourceControlOperationsMappers.ts index e5ccd3148729..451073c97b69 100644 --- a/packages/@azure/arm-automation/lib/models/sourceControlOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/sourceControlOperationsMappers.ts @@ -44,9 +44,8 @@ export { TargetProperties, AzureQueryProperties, TagSettingsProperties, + NonAzureQueryProperties, ScheduleProperties, - SoftwareUpdateConfigurationTasks, - TaskProperties, Job, JobCollectionItem, DscNode, diff --git a/packages/@azure/arm-automation/lib/models/variableOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/variableOperationsMappers.ts index 3211e3c01907..21fac5fe4feb 100644 --- a/packages/@azure/arm-automation/lib/models/variableOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/variableOperationsMappers.ts @@ -42,9 +42,8 @@ export { TargetProperties, AzureQueryProperties, TagSettingsProperties, + NonAzureQueryProperties, ScheduleProperties, - SoftwareUpdateConfigurationTasks, - TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/watcherOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/watcherOperationsMappers.ts index c3ec4b5fefe8..ce5aa1616c3b 100644 --- a/packages/@azure/arm-automation/lib/models/watcherOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/watcherOperationsMappers.ts @@ -43,9 +43,8 @@ export { TargetProperties, AzureQueryProperties, TagSettingsProperties, + NonAzureQueryProperties, ScheduleProperties, - SoftwareUpdateConfigurationTasks, - TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/webhookOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/webhookOperationsMappers.ts index ab8d1864807d..dc348b2afee5 100644 --- a/packages/@azure/arm-automation/lib/models/webhookOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/webhookOperationsMappers.ts @@ -42,9 +42,8 @@ export { TargetProperties, AzureQueryProperties, TagSettingsProperties, + NonAzureQueryProperties, ScheduleProperties, - SoftwareUpdateConfigurationTasks, - TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/operations/connectionTypeOperations.ts b/packages/@azure/arm-automation/lib/operations/connectionTypeOperations.ts index a501ff3758a1..1f59684314ab 100644 --- a/packages/@azure/arm-automation/lib/operations/connectionTypeOperations.ts +++ b/packages/@azure/arm-automation/lib/operations/connectionTypeOperations.ts @@ -27,10 +27,10 @@ export class ConnectionTypeOperations { } /** - * Delete the connection type. + * Delete the connectiontype. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param connectionTypeName The name of connection type. + * @param connectionTypeName The name of connectiontype. * @param [options] The optional parameters * @returns Promise */ @@ -38,14 +38,14 @@ export class ConnectionTypeOperations { /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param connectionTypeName The name of connection type. + * @param connectionTypeName The name of connectiontype. * @param callback The callback */ deleteMethod(resourceGroupName: string, automationAccountName: string, connectionTypeName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param connectionTypeName The name of connection type. + * @param connectionTypeName The name of connectiontype. * @param options The optional parameters * @param callback The callback */ @@ -63,10 +63,10 @@ export class ConnectionTypeOperations { } /** - * Retrieve the connection type identified by connection type name. + * Retrieve the connectiontype identified by connectiontype name. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param connectionTypeName The name of connection type. + * @param connectionTypeName The name of connectiontype. * @param [options] The optional parameters * @returns Promise */ @@ -74,14 +74,14 @@ export class ConnectionTypeOperations { /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param connectionTypeName The name of connection type. + * @param connectionTypeName The name of connectiontype. * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, connectionTypeName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param connectionTypeName The name of connection type. + * @param connectionTypeName The name of connectiontype. * @param options The optional parameters * @param callback The callback */ @@ -99,12 +99,12 @@ export class ConnectionTypeOperations { } /** - * Create a connection type. + * Create a connectiontype. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param connectionTypeName The parameters supplied to the create or update connection type + * @param connectionTypeName The parameters supplied to the create or update connectiontype * operation. - * @param parameters The parameters supplied to the create or update connection type operation. + * @param parameters The parameters supplied to the create or update connectiontype operation. * @param [options] The optional parameters * @returns Promise */ @@ -112,18 +112,18 @@ export class ConnectionTypeOperations { /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param connectionTypeName The parameters supplied to the create or update connection type + * @param connectionTypeName The parameters supplied to the create or update connectiontype * operation. - * @param parameters The parameters supplied to the create or update connection type operation. + * @param parameters The parameters supplied to the create or update connectiontype operation. * @param callback The callback */ createOrUpdate(resourceGroupName: string, automationAccountName: string, connectionTypeName: string, parameters: Models.ConnectionTypeCreateOrUpdateParameters, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param connectionTypeName The parameters supplied to the create or update connection type + * @param connectionTypeName The parameters supplied to the create or update connectiontype * operation. - * @param parameters The parameters supplied to the create or update connection type operation. + * @param parameters The parameters supplied to the create or update connectiontype operation. * @param options The optional parameters * @param callback The callback */ @@ -142,7 +142,7 @@ export class ConnectionTypeOperations { } /** - * Retrieve a list of connection types. + * Retrieve a list of connectiontypes. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param [options] The optional parameters @@ -174,7 +174,7 @@ export class ConnectionTypeOperations { } /** - * Retrieve a list of connection types. + * Retrieve a list of connectiontypes. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise From 41da443268c69c6dcadcc08b2f35835f5d4a1a96 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 27 Dec 2018 01:08:59 +0000 Subject: [PATCH 2/2] Generated from f3813d89e619417184a43e8a56ab00452f8ee204 Merge branch 'master' into SavedSearchSwagger --- .../automationAccountOperationsMappers.ts | 2 + .../models/certificateOperationsMappers.ts | 2 + .../lib/models/connectionOperationsMappers.ts | 2 + .../lib/models/credentialOperationsMappers.ts | 2 + .../dscCompilationJobOperationsMappers.ts | 2 + .../dscConfigurationOperationsMappers.ts | 2 + .../dscNodeConfigurationOperationsMappers.ts | 2 + .../lib/models/dscNodeOperationsMappers.ts | 2 + .../@azure/arm-automation/lib/models/index.ts | 153 ++++++++++++++---- .../lib/models/jobOperationsMappers.ts | 2 + .../arm-automation/lib/models/mappers.ts | 128 ++++++++++++++- .../lib/models/moduleOperationsMappers.ts | 2 + .../lib/models/python2PackageMappers.ts | 2 + .../lib/models/runbookOperationsMappers.ts | 2 + .../lib/models/scheduleOperationsMappers.ts | 2 + .../softwareUpdateConfigurationRunsMappers.ts | 2 + .../softwareUpdateConfigurationsMappers.ts | 2 + .../models/sourceControlOperationsMappers.ts | 2 + .../lib/models/variableOperationsMappers.ts | 2 + .../lib/models/watcherOperationsMappers.ts | 2 + .../lib/models/webhookOperationsMappers.ts | 2 + .../operations/connectionTypeOperations.ts | 34 ++-- 22 files changed, 302 insertions(+), 51 deletions(-) diff --git a/packages/@azure/arm-automation/lib/models/automationAccountOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/automationAccountOperationsMappers.ts index 16a115bdc7f8..8b631fb1cc8a 100644 --- a/packages/@azure/arm-automation/lib/models/automationAccountOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/automationAccountOperationsMappers.ts @@ -46,6 +46,8 @@ export { TagSettingsProperties, NonAzureQueryProperties, ScheduleProperties, + SoftwareUpdateConfigurationTasks, + TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/certificateOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/certificateOperationsMappers.ts index cbbb815cf76d..5249e01c23c8 100644 --- a/packages/@azure/arm-automation/lib/models/certificateOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/certificateOperationsMappers.ts @@ -44,6 +44,8 @@ export { TagSettingsProperties, NonAzureQueryProperties, ScheduleProperties, + SoftwareUpdateConfigurationTasks, + TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/connectionOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/connectionOperationsMappers.ts index 12791839938c..31e6a2f28963 100644 --- a/packages/@azure/arm-automation/lib/models/connectionOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/connectionOperationsMappers.ts @@ -44,6 +44,8 @@ export { TagSettingsProperties, NonAzureQueryProperties, ScheduleProperties, + SoftwareUpdateConfigurationTasks, + TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/credentialOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/credentialOperationsMappers.ts index b08d39136689..0d9b952dac75 100644 --- a/packages/@azure/arm-automation/lib/models/credentialOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/credentialOperationsMappers.ts @@ -45,6 +45,8 @@ export { TagSettingsProperties, NonAzureQueryProperties, ScheduleProperties, + SoftwareUpdateConfigurationTasks, + TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/dscCompilationJobOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/dscCompilationJobOperationsMappers.ts index 5d970c7650ed..ddb089b9965b 100644 --- a/packages/@azure/arm-automation/lib/models/dscCompilationJobOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/dscCompilationJobOperationsMappers.ts @@ -46,6 +46,8 @@ export { TagSettingsProperties, NonAzureQueryProperties, ScheduleProperties, + SoftwareUpdateConfigurationTasks, + TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/dscConfigurationOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/dscConfigurationOperationsMappers.ts index ac5ad2abb150..7ab93c7d313d 100644 --- a/packages/@azure/arm-automation/lib/models/dscConfigurationOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/dscConfigurationOperationsMappers.ts @@ -47,6 +47,8 @@ export { TagSettingsProperties, NonAzureQueryProperties, ScheduleProperties, + SoftwareUpdateConfigurationTasks, + TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/dscNodeConfigurationOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/dscNodeConfigurationOperationsMappers.ts index 0550d8e5e184..76ed982ca440 100644 --- a/packages/@azure/arm-automation/lib/models/dscNodeConfigurationOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/dscNodeConfigurationOperationsMappers.ts @@ -45,6 +45,8 @@ export { TagSettingsProperties, NonAzureQueryProperties, ScheduleProperties, + SoftwareUpdateConfigurationTasks, + TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/dscNodeOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/dscNodeOperationsMappers.ts index 232812e66f8e..34620d2f4191 100644 --- a/packages/@azure/arm-automation/lib/models/dscNodeOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/dscNodeOperationsMappers.ts @@ -46,6 +46,8 @@ export { TagSettingsProperties, NonAzureQueryProperties, ScheduleProperties, + SoftwareUpdateConfigurationTasks, + TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/index.ts b/packages/@azure/arm-automation/lib/models/index.ts index fa0c64df7c7e..82b5ac37fd92 100644 --- a/packages/@azure/arm-automation/lib/models/index.ts +++ b/packages/@azure/arm-automation/lib/models/index.ts @@ -821,7 +821,7 @@ export interface DscConfigurationParameter { type?: string; /** * @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. */ isMandatory?: boolean; /** @@ -982,7 +982,7 @@ export interface DscConfigurationUpdateParameters { /** * @interface * An interface representing RunAsCredentialAssociationProperty. - * Definition of runas credential to use for hybrid worker. + * Definition of RunAs credential to use for hybrid worker. * */ export interface RunAsCredentialAssociationProperty { @@ -1811,7 +1811,7 @@ export interface VariableCreateOrUpdateParameters { /** * @interface * An interface representing Variable. - * Definition of the varible. + * Definition of the variable. * * @extends ProxyResource */ @@ -2166,9 +2166,9 @@ export interface AzureQueryProperties { */ scope?: string[]; /** - * @member {string[]} [location] List of locations to scope the query to. + * @member {string[]} [locations] List of locations to scope the query to. */ - location?: string[]; + locations?: string[]; /** * @member {TagSettingsProperties} [tagSettings] Tag settings for the VM. */ @@ -2215,7 +2215,7 @@ export interface TargetProperties { /** * @interface * An interface representing UpdateConfiguration. - * Update specifc properties of the software update configuration. + * Update specific properties of the software update configuration. * */ export interface UpdateConfiguration { @@ -2256,6 +2256,41 @@ export interface UpdateConfiguration { targets?: TargetProperties; } +/** + * @interface + * An interface representing TaskProperties. + * Task properties of the software update configuration. + * + */ +export interface TaskProperties { + /** + * @member {{ [propertyName: string]: string }} [parameters] Gets or sets the + * parameters of the task. + */ + parameters?: { [propertyName: string]: string }; + /** + * @member {string} [source] Gets or sets the name of the runbook. + */ + source?: string; +} + +/** + * @interface + * An interface representing SoftwareUpdateConfigurationTasks. + * Task properties of the software update configuration. + * + */ +export interface SoftwareUpdateConfigurationTasks { + /** + * @member {TaskProperties} [preTask] Pre task properties. + */ + preTask?: TaskProperties; + /** + * @member {TaskProperties} [postTask] Post task properties. + */ + postTask?: TaskProperties; +} + /** * @interface * An interface representing SoftwareUpdateConfiguration. @@ -2300,18 +2335,18 @@ export interface SoftwareUpdateConfiguration extends BaseResource { */ readonly provisioningState?: string; /** - * @member {ErrorResponse} [error] detailes of provisioning error + * @member {ErrorResponse} [error] Details of provisioning error */ error?: ErrorResponse; /** - * @member {Date} [creationTime] Creation time of theresource, which only + * @member {Date} [creationTime] Creation time of the resource, which only * appears in the response. * **NOTE: This property will not be serialized. It can only be populated by * the server.** */ readonly creationTime?: Date; /** - * @member {string} [createdBy] createdBy property, which only appears in the + * @member {string} [createdBy] CreatedBy property, which only appears in the * response. * **NOTE: This property will not be serialized. It can only be populated by * the server.** @@ -2325,12 +2360,17 @@ export interface SoftwareUpdateConfiguration extends BaseResource { */ readonly lastModifiedTime?: Date; /** - * @member {string} [lastModifiedBy] lastModifiedBy property, which only + * @member {string} [lastModifiedBy] LastModifiedBy property, which only * appears in the response. * **NOTE: This property will not be serialized. It can only be populated by * the server.** */ readonly lastModifiedBy?: string; + /** + * @member {SoftwareUpdateConfigurationTasks} [tasks] Tasks information for + * the Software update configuration. + */ + tasks?: SoftwareUpdateConfigurationTasks; } /** @@ -2445,6 +2485,46 @@ export interface UpdateConfigurationNavigation { readonly name?: string; } +/** + * @interface + * An interface representing SoftareUpdateConfigurationRunTaskProperties. + * Task properties of the software update configuration. + * + */ +export interface SoftareUpdateConfigurationRunTaskProperties { + /** + * @member {string} [status] The status of the task. + */ + status?: string; + /** + * @member {string} [source] The name of the source of the task. + */ + source?: string; + /** + * @member {string} [jobId] The job id of the task. + */ + jobId?: string; +} + +/** + * @interface + * An interface representing SoftareUpdateConfigurationRunTasks. + * Software update configuration run tasks model. + * + */ +export interface SoftareUpdateConfigurationRunTasks { + /** + * @member {SoftareUpdateConfigurationRunTaskProperties} [preTask] Pre task + * properties. + */ + preTask?: SoftareUpdateConfigurationRunTaskProperties; + /** + * @member {SoftareUpdateConfigurationRunTaskProperties} [postTask] Post task + * properties. + */ + postTask?: SoftareUpdateConfigurationRunTaskProperties; +} + /** * @interface * An interface representing SoftwareUpdateConfigurationRun. @@ -2476,7 +2556,7 @@ export interface SoftwareUpdateConfigurationRun { */ readonly status?: string; /** - * @member {string} [configuredDuration] configured duration for the software + * @member {string} [configuredDuration] Configured duration for the software * update configuration run. * **NOTE: This property will not be serialized. It can only be populated by * the server.** @@ -2490,7 +2570,7 @@ export interface SoftwareUpdateConfigurationRun { */ readonly osType?: string; /** - * @member {Date} [startTime] Etart time of the software update configuration + * @member {Date} [startTime] Start time of the software update configuration * run. * **NOTE: This property will not be serialized. It can only be populated by * the server.** @@ -2517,14 +2597,14 @@ export interface SoftwareUpdateConfigurationRun { */ readonly failedCount?: number; /** - * @member {Date} [creationTime] Creation time of theresource, which only + * @member {Date} [creationTime] Creation time of the resource, which only * appears in the response. * **NOTE: This property will not be serialized. It can only be populated by * the server.** */ readonly creationTime?: Date; /** - * @member {string} [createdBy] createdBy property, which only appears in the + * @member {string} [createdBy] CreatedBy property, which only appears in the * response. * **NOTE: This property will not be serialized. It can only be populated by * the server.** @@ -2538,12 +2618,17 @@ export interface SoftwareUpdateConfigurationRun { */ readonly lastModifiedTime?: Date; /** - * @member {string} [lastModifiedBy] lastModifiedBy property, which only + * @member {string} [lastModifiedBy] LastModifiedBy property, which only * appears in the response. * **NOTE: This property will not be serialized. It can only be populated by * the server.** */ readonly lastModifiedBy?: string; + /** + * @member {SoftareUpdateConfigurationRunTasks} [tasks] Software update + * configuration tasks triggered in this run + */ + tasks?: SoftareUpdateConfigurationRunTasks; } /** @@ -2673,7 +2758,7 @@ export interface SoftwareUpdateConfigurationMachineRun { */ job?: JobNavigation; /** - * @member {Date} [creationTime] Creation time of theresource, which only + * @member {Date} [creationTime] Creation time of the resource, which only * appears in the response. * **NOTE: This property will not be serialized. It can only be populated by * the server.** @@ -2700,6 +2785,10 @@ export interface SoftwareUpdateConfigurationMachineRun { * the server.** */ readonly lastModifiedBy?: string; + /** + * @member {ErrorResponse} [error] Details of provisioning error + */ + error?: ErrorResponse; } /** @@ -2930,7 +3019,7 @@ export interface SourceControlSyncJob { readonly endTime?: Date; /** * @member {SyncType} [syncType] The sync type. Possible values include: - * 'IncrementalSync', 'FullSync' + * 'PartialSync', 'FullSync' */ syncType?: SyncType; } @@ -2989,12 +3078,12 @@ export interface SourceControlSyncJobById { readonly endTime?: Date; /** * @member {SyncType} [syncType] The sync type. Possible values include: - * 'IncrementalSync', 'FullSync' + * 'PartialSync', 'FullSync' */ syncType?: SyncType; /** - * @member {string} [exception] The exceptions that occured while running the - * sync job. + * @member {string} [exception] The exceptions that occurred while running + * the sync job. */ exception?: string; } @@ -3545,7 +3634,7 @@ export interface AgentRegistrationKeys { /** * @interface * An interface representing AgentRegistration. - * Definition of the agent registration infomration type. + * Definition of the agent registration information type. * */ export interface AgentRegistration { @@ -3613,8 +3702,8 @@ export interface DscNode extends ProxyResource { */ accountId?: string; /** - * @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. */ dscNodeName?: string; /** @@ -3662,8 +3751,8 @@ export interface AgentRegistrationRegenerateKeyParameter { */ export interface 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. */ name?: string; } @@ -3853,7 +3942,7 @@ export interface DscNodeConfiguration extends ProxyResource { */ source?: string; /** - * @member {number} [nodeCount] Number of nodes with this nodeconfiguration + * @member {number} [nodeCount] Number of nodes with this node configuration * assigned */ nodeCount?: number; @@ -3956,7 +4045,7 @@ export interface RunbookParameter { type?: string; /** * @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. */ isMandatory?: boolean; /** @@ -4184,7 +4273,7 @@ export interface RunbookUpdateParameters { /** * @interface * An interface representing RunbookDraftUndoEditResult. - * The response model for the undoedit runbook operation. + * The response model for the undo edit runbook operation. * */ export interface RunbookDraftUndoEditResult { @@ -4293,7 +4382,7 @@ export interface TestJob { /** * @interface * An interface representing RunbookCreateOrUpdateDraftProperties. - * The parameters supplied to the create or update dratft runbook properties. + * The parameters supplied to the create or update draft runbook properties. * */ export interface RunbookCreateOrUpdateDraftProperties { @@ -4582,7 +4671,7 @@ export interface SoftwareUpdateConfigurationRunsListOptionalParams extends msRes */ filter?: string; /** - * @member {string} [skip] number of entries you skip before returning + * @member {string} [skip] Number of entries you skip before returning * results */ skip?: string; @@ -5547,11 +5636,11 @@ export type ProvisioningState = 'Completed' | 'Failed' | 'Running'; /** * Defines values for SyncType. - * Possible values include: 'IncrementalSync', 'FullSync' + * Possible values include: 'PartialSync', 'FullSync' * @readonly * @enum {string} */ -export type SyncType = 'IncrementalSync' | 'FullSync'; +export type SyncType = 'PartialSync' | 'FullSync'; /** * Defines values for StreamType. diff --git a/packages/@azure/arm-automation/lib/models/jobOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/jobOperationsMappers.ts index 94cbbd9121da..403e0cdf91bb 100644 --- a/packages/@azure/arm-automation/lib/models/jobOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/jobOperationsMappers.ts @@ -46,6 +46,8 @@ export { TagSettingsProperties, NonAzureQueryProperties, ScheduleProperties, + SoftwareUpdateConfigurationTasks, + TaskProperties, SourceControl, DscNode, DscNodeExtensionHandlerAssociationProperty, diff --git a/packages/@azure/arm-automation/lib/models/mappers.ts b/packages/@azure/arm-automation/lib/models/mappers.ts index 0ceeeff53df7..665223cbde3e 100644 --- a/packages/@azure/arm-automation/lib/models/mappers.ts +++ b/packages/@azure/arm-automation/lib/models/mappers.ts @@ -2988,8 +2988,8 @@ export const AzureQueryProperties: msRest.CompositeMapper = { } } }, - location: { - serializedName: "location", + locations: { + serializedName: "locations", type: { name: "Sequence", element: { @@ -3136,6 +3136,57 @@ export const UpdateConfiguration: msRest.CompositeMapper = { } }; +export const TaskProperties: msRest.CompositeMapper = { + serializedName: "taskProperties", + type: { + name: "Composite", + className: "TaskProperties", + modelProperties: { + parameters: { + serializedName: "parameters", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + source: { + serializedName: "source", + type: { + name: "String" + } + } + } + } +}; + +export const SoftwareUpdateConfigurationTasks: msRest.CompositeMapper = { + serializedName: "softwareUpdateConfigurationTasks", + type: { + name: "Composite", + className: "SoftwareUpdateConfigurationTasks", + modelProperties: { + preTask: { + serializedName: "preTask", + type: { + name: "Composite", + className: "TaskProperties" + } + }, + postTask: { + serializedName: "postTask", + type: { + name: "Composite", + className: "TaskProperties" + } + } + } + } +}; + export const SoftwareUpdateConfiguration: msRest.CompositeMapper = { serializedName: "softwareUpdateConfiguration", type: { @@ -3222,6 +3273,13 @@ export const SoftwareUpdateConfiguration: msRest.CompositeMapper = { type: { name: "String" } + }, + tasks: { + serializedName: "properties.tasks", + type: { + name: "Composite", + className: "SoftwareUpdateConfigurationTasks" + } } } } @@ -3367,6 +3425,58 @@ export const UpdateConfigurationNavigation: msRest.CompositeMapper = { } }; +export const SoftareUpdateConfigurationRunTaskProperties: msRest.CompositeMapper = { + serializedName: "softareUpdateConfigurationRunTaskProperties", + type: { + name: "Composite", + className: "SoftareUpdateConfigurationRunTaskProperties", + modelProperties: { + status: { + serializedName: "status", + type: { + name: "String" + } + }, + source: { + serializedName: "source", + type: { + name: "String" + } + }, + jobId: { + serializedName: "jobId", + type: { + name: "String" + } + } + } + } +}; + +export const SoftareUpdateConfigurationRunTasks: msRest.CompositeMapper = { + serializedName: "softareUpdateConfigurationRunTasks", + type: { + name: "Composite", + className: "SoftareUpdateConfigurationRunTasks", + modelProperties: { + preTask: { + serializedName: "preTask", + type: { + name: "Composite", + className: "SoftareUpdateConfigurationRunTaskProperties" + } + }, + postTask: { + serializedName: "postTask", + type: { + name: "Composite", + className: "SoftareUpdateConfigurationRunTaskProperties" + } + } + } + } +}; + export const SoftwareUpdateConfigurationRun: msRest.CompositeMapper = { serializedName: "softwareUpdateConfigurationRun", type: { @@ -3474,6 +3584,13 @@ export const SoftwareUpdateConfigurationRun: msRest.CompositeMapper = { type: { name: "String" } + }, + tasks: { + serializedName: "properties.tasks", + type: { + name: "Composite", + className: "SoftareUpdateConfigurationRunTasks" + } } } } @@ -3652,6 +3769,13 @@ export const SoftwareUpdateConfigurationMachineRun: msRest.CompositeMapper = { type: { name: "String" } + }, + error: { + serializedName: "properties.error", + type: { + name: "Composite", + className: "ErrorResponse" + } } } } diff --git a/packages/@azure/arm-automation/lib/models/moduleOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/moduleOperationsMappers.ts index 8ade49fc1bfa..99dcf2de4fb5 100644 --- a/packages/@azure/arm-automation/lib/models/moduleOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/moduleOperationsMappers.ts @@ -46,6 +46,8 @@ export { TagSettingsProperties, NonAzureQueryProperties, ScheduleProperties, + SoftwareUpdateConfigurationTasks, + TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/python2PackageMappers.ts b/packages/@azure/arm-automation/lib/models/python2PackageMappers.ts index ab0eba53604f..409a2de11b14 100644 --- a/packages/@azure/arm-automation/lib/models/python2PackageMappers.ts +++ b/packages/@azure/arm-automation/lib/models/python2PackageMappers.ts @@ -46,6 +46,8 @@ export { TagSettingsProperties, NonAzureQueryProperties, ScheduleProperties, + SoftwareUpdateConfigurationTasks, + TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/runbookOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/runbookOperationsMappers.ts index 406947c98cdb..c715fe16d7c5 100644 --- a/packages/@azure/arm-automation/lib/models/runbookOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/runbookOperationsMappers.ts @@ -51,6 +51,8 @@ export { TagSettingsProperties, NonAzureQueryProperties, ScheduleProperties, + SoftwareUpdateConfigurationTasks, + TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/scheduleOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/scheduleOperationsMappers.ts index f5e1fa5f2d8f..5f152c0d4d6a 100644 --- a/packages/@azure/arm-automation/lib/models/scheduleOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/scheduleOperationsMappers.ts @@ -44,6 +44,8 @@ export { TagSettingsProperties, NonAzureQueryProperties, ScheduleProperties, + SoftwareUpdateConfigurationTasks, + TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationRunsMappers.ts b/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationRunsMappers.ts index 1b85b7b90a43..e6ddca73be95 100644 --- a/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationRunsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationRunsMappers.ts @@ -11,6 +11,8 @@ export { SoftwareUpdateConfigurationRun, UpdateConfigurationNavigation, + SoftareUpdateConfigurationRunTasks, + SoftareUpdateConfigurationRunTaskProperties, ErrorResponse, SoftwareUpdateConfigurationRunListResult } from "../models/mappers"; diff --git a/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationsMappers.ts b/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationsMappers.ts index 787d2ef3157b..04629365f166 100644 --- a/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/softwareUpdateConfigurationsMappers.ts @@ -22,6 +22,8 @@ export { AdvancedSchedule, AdvancedScheduleMonthlyOccurrence, ErrorResponse, + SoftwareUpdateConfigurationTasks, + TaskProperties, SoftwareUpdateConfigurationListResult, SoftwareUpdateConfigurationCollectionItem, CollectionItemUpdateConfiguration, diff --git a/packages/@azure/arm-automation/lib/models/sourceControlOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/sourceControlOperationsMappers.ts index 451073c97b69..a6129859dda9 100644 --- a/packages/@azure/arm-automation/lib/models/sourceControlOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/sourceControlOperationsMappers.ts @@ -46,6 +46,8 @@ export { TagSettingsProperties, NonAzureQueryProperties, ScheduleProperties, + SoftwareUpdateConfigurationTasks, + TaskProperties, Job, JobCollectionItem, DscNode, diff --git a/packages/@azure/arm-automation/lib/models/variableOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/variableOperationsMappers.ts index 21fac5fe4feb..4fd44e78c5d8 100644 --- a/packages/@azure/arm-automation/lib/models/variableOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/variableOperationsMappers.ts @@ -44,6 +44,8 @@ export { TagSettingsProperties, NonAzureQueryProperties, ScheduleProperties, + SoftwareUpdateConfigurationTasks, + TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/watcherOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/watcherOperationsMappers.ts index ce5aa1616c3b..404573d4bb25 100644 --- a/packages/@azure/arm-automation/lib/models/watcherOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/watcherOperationsMappers.ts @@ -45,6 +45,8 @@ export { TagSettingsProperties, NonAzureQueryProperties, ScheduleProperties, + SoftwareUpdateConfigurationTasks, + TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/models/webhookOperationsMappers.ts b/packages/@azure/arm-automation/lib/models/webhookOperationsMappers.ts index dc348b2afee5..7b8bce19791f 100644 --- a/packages/@azure/arm-automation/lib/models/webhookOperationsMappers.ts +++ b/packages/@azure/arm-automation/lib/models/webhookOperationsMappers.ts @@ -44,6 +44,8 @@ export { TagSettingsProperties, NonAzureQueryProperties, ScheduleProperties, + SoftwareUpdateConfigurationTasks, + TaskProperties, SourceControl, Job, JobCollectionItem, diff --git a/packages/@azure/arm-automation/lib/operations/connectionTypeOperations.ts b/packages/@azure/arm-automation/lib/operations/connectionTypeOperations.ts index 1f59684314ab..a501ff3758a1 100644 --- a/packages/@azure/arm-automation/lib/operations/connectionTypeOperations.ts +++ b/packages/@azure/arm-automation/lib/operations/connectionTypeOperations.ts @@ -27,10 +27,10 @@ export class ConnectionTypeOperations { } /** - * Delete the connectiontype. + * Delete the connection type. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param connectionTypeName The name of connectiontype. + * @param connectionTypeName The name of connection type. * @param [options] The optional parameters * @returns Promise */ @@ -38,14 +38,14 @@ export class ConnectionTypeOperations { /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param connectionTypeName The name of connectiontype. + * @param connectionTypeName The name of connection type. * @param callback The callback */ deleteMethod(resourceGroupName: string, automationAccountName: string, connectionTypeName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param connectionTypeName The name of connectiontype. + * @param connectionTypeName The name of connection type. * @param options The optional parameters * @param callback The callback */ @@ -63,10 +63,10 @@ export class ConnectionTypeOperations { } /** - * Retrieve the connectiontype identified by connectiontype name. + * Retrieve the connection type identified by connection type name. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param connectionTypeName The name of connectiontype. + * @param connectionTypeName The name of connection type. * @param [options] The optional parameters * @returns Promise */ @@ -74,14 +74,14 @@ export class ConnectionTypeOperations { /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param connectionTypeName The name of connectiontype. + * @param connectionTypeName The name of connection type. * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, connectionTypeName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param connectionTypeName The name of connectiontype. + * @param connectionTypeName The name of connection type. * @param options The optional parameters * @param callback The callback */ @@ -99,12 +99,12 @@ export class ConnectionTypeOperations { } /** - * Create a connectiontype. + * Create a connection type. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param connectionTypeName The parameters supplied to the create or update connectiontype + * @param connectionTypeName The parameters supplied to the create or update connection type * operation. - * @param parameters The parameters supplied to the create or update connectiontype operation. + * @param parameters The parameters supplied to the create or update connection type operation. * @param [options] The optional parameters * @returns Promise */ @@ -112,18 +112,18 @@ export class ConnectionTypeOperations { /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param connectionTypeName The parameters supplied to the create or update connectiontype + * @param connectionTypeName The parameters supplied to the create or update connection type * operation. - * @param parameters The parameters supplied to the create or update connectiontype operation. + * @param parameters The parameters supplied to the create or update connection type operation. * @param callback The callback */ createOrUpdate(resourceGroupName: string, automationAccountName: string, connectionTypeName: string, parameters: Models.ConnectionTypeCreateOrUpdateParameters, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. - * @param connectionTypeName The parameters supplied to the create or update connectiontype + * @param connectionTypeName The parameters supplied to the create or update connection type * operation. - * @param parameters The parameters supplied to the create or update connectiontype operation. + * @param parameters The parameters supplied to the create or update connection type operation. * @param options The optional parameters * @param callback The callback */ @@ -142,7 +142,7 @@ export class ConnectionTypeOperations { } /** - * Retrieve a list of connectiontypes. + * Retrieve a list of connection types. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param [options] The optional parameters @@ -174,7 +174,7 @@ export class ConnectionTypeOperations { } /** - * Retrieve a list of connectiontypes. + * Retrieve a list of connection types. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise