Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR automation/resource-manager] Swagger change for Update configuration dynamic group Saved Search Query #880

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export {
TargetProperties,
AzureQueryProperties,
TagSettingsProperties,
NonAzureQueryProperties,
ScheduleProperties,
SoftwareUpdateConfigurationTasks,
TaskProperties,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export {
TargetProperties,
AzureQueryProperties,
TagSettingsProperties,
NonAzureQueryProperties,
ScheduleProperties,
SoftwareUpdateConfigurationTasks,
TaskProperties,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export {
TargetProperties,
AzureQueryProperties,
TagSettingsProperties,
NonAzureQueryProperties,
ScheduleProperties,
SoftwareUpdateConfigurationTasks,
TaskProperties,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export {
TargetProperties,
AzureQueryProperties,
TagSettingsProperties,
NonAzureQueryProperties,
ScheduleProperties,
SoftwareUpdateConfigurationTasks,
TaskProperties,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export {
TargetProperties,
AzureQueryProperties,
TagSettingsProperties,
NonAzureQueryProperties,
ScheduleProperties,
SoftwareUpdateConfigurationTasks,
TaskProperties,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export {
TargetProperties,
AzureQueryProperties,
TagSettingsProperties,
NonAzureQueryProperties,
ScheduleProperties,
SoftwareUpdateConfigurationTasks,
TaskProperties,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export {
TargetProperties,
AzureQueryProperties,
TagSettingsProperties,
NonAzureQueryProperties,
ScheduleProperties,
SoftwareUpdateConfigurationTasks,
TaskProperties,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export {
TargetProperties,
AzureQueryProperties,
TagSettingsProperties,
NonAzureQueryProperties,
ScheduleProperties,
SoftwareUpdateConfigurationTasks,
TaskProperties,
Expand Down
23 changes: 23 additions & 0 deletions packages/@azure/arm-automation/lib/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2175,6 +2175,24 @@ export interface AzureQueryProperties {
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.
Expand All @@ -2187,6 +2205,11 @@ export interface TargetProperties {
* the software update configuration.
*/
azureQueries?: AzureQueryProperties[];
/**
* @member {NonAzureQueryProperties[]} [nonAzureQueries] List of non Azure
* queries in the software update configuration.
*/
nonAzureQueries?: NonAzureQueryProperties[];
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export {
TargetProperties,
AzureQueryProperties,
TagSettingsProperties,
NonAzureQueryProperties,
ScheduleProperties,
SoftwareUpdateConfigurationTasks,
TaskProperties,
Expand Down
34 changes: 34 additions & 0 deletions packages/@azure/arm-automation/lib/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand All @@ -3027,6 +3049,18 @@ export const TargetProperties: msRest.CompositeMapper = {
}
}
}
},
nonAzureQueries: {
serializedName: "nonAzureQueries",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "NonAzureQueryProperties"
}
}
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export {
TargetProperties,
AzureQueryProperties,
TagSettingsProperties,
NonAzureQueryProperties,
ScheduleProperties,
SoftwareUpdateConfigurationTasks,
TaskProperties,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export {
TargetProperties,
AzureQueryProperties,
TagSettingsProperties,
NonAzureQueryProperties,
ScheduleProperties,
SoftwareUpdateConfigurationTasks,
TaskProperties,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export {
TargetProperties,
AzureQueryProperties,
TagSettingsProperties,
NonAzureQueryProperties,
ScheduleProperties,
SoftwareUpdateConfigurationTasks,
TaskProperties,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export {
TargetProperties,
AzureQueryProperties,
TagSettingsProperties,
NonAzureQueryProperties,
ScheduleProperties,
SoftwareUpdateConfigurationTasks,
TaskProperties,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export {
TargetProperties,
AzureQueryProperties,
TagSettingsProperties,
NonAzureQueryProperties,
ScheduleProperties,
AdvancedSchedule,
AdvancedScheduleMonthlyOccurrence,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export {
TargetProperties,
AzureQueryProperties,
TagSettingsProperties,
NonAzureQueryProperties,
ScheduleProperties,
SoftwareUpdateConfigurationTasks,
TaskProperties,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export {
TargetProperties,
AzureQueryProperties,
TagSettingsProperties,
NonAzureQueryProperties,
ScheduleProperties,
SoftwareUpdateConfigurationTasks,
TaskProperties,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export {
TargetProperties,
AzureQueryProperties,
TagSettingsProperties,
NonAzureQueryProperties,
ScheduleProperties,
SoftwareUpdateConfigurationTasks,
TaskProperties,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export {
TargetProperties,
AzureQueryProperties,
TagSettingsProperties,
NonAzureQueryProperties,
ScheduleProperties,
SoftwareUpdateConfigurationTasks,
TaskProperties,
Expand Down