Skip to content

Conversation

@JoyerJin
Copy link
Contributor

@JoyerJin JoyerJin commented Jun 25, 2025

Description

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • Update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

@azure-client-tools-bot-prd
Copy link

Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

@JoyerJin JoyerJin changed the title [PS] migrate ActivityLogAlert module to autorest v4 [PS] migrate ActivityLogAlert in Monitor module to autorest v4 Jul 17, 2025
@JoyerJin JoyerJin marked this pull request as ready for review August 6, 2025 07:04
Copilot AI review requested due to automatic review settings August 6, 2025 07:04
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR migrates the ActivityLogAlert module in Azure PowerShell Monitor to AutoRest v4, updating the code generation tooling and introducing new features while maintaining backward compatibility through breaking change exceptions.

  • Upgraded AutoRest version from 3.x to 4.x for improved code generation
  • Added new JSON-based parameter sets for cmdlets (JsonFilePath and JsonString)
  • Introduced breaking change exceptions for type compatibility between array and List types

Reviewed Changes

Copilot reviewed 29 out of 29 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tools/StaticAnalysis/Exceptions/Az.Monitor/BreakingChangeIssues.csv Added breaking change exceptions for type changes from arrays to generic Lists
src/Monitor/Monitor/help/*.md Updated help documentation with new parameter sets and corrected namespace references
src/Monitor/Monitor/ChangeLog.md Added changelog entry referencing AutoRest v4 new features
src/Monitor/Monitor/Az.Monitor.psd1 Updated generation date and corrected MetricData assembly reference
src/Monitor/Monitor.sln Reorganized project references and updated GUIDs
src/Monitor/ActivityLogAlert.Autorest/test/* Updated test environment and utilities for new ActionGroup creation pattern
src/Monitor/ActivityLogAlert.Autorest/README.md Simplified configuration by removing v3.x extensions and breaking change directives
src/Monitor/ActivityLogAlert.Autorest/custom/*.ps1 Updated cmdlets to support new parameter sets and corrected type references

@isra-fel isra-fel added the autorest v4 migration pr migrating module from generated by autorest.powershell v3 to v4 label Oct 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autorest v4 migration pr migrating module from generated by autorest.powershell v3 to v4

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants