[PS] Migrate DnsResolver module to autorest v4#28695
Conversation
| Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status. |
|
To the author of the pull request, |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
There was a problem hiding this comment.
Pull request overview
This pull request migrates the DnsResolver module from AutoRest v3 to AutoRest v4, introducing new features available in the updated code generator. The changes primarily involve regenerated help documentation, breaking change exception tracking, and minor namespace updates.
Changes:
- Upgraded help documentation with new parameter sets and corrected SYNOPSIS descriptions across all cmdlets
- Added breaking change exceptions CSV file to track API compatibility issues introduced by the migration
- Updated module manifest dependencies and metadata
- Modified namespace references from
Api20230701Previewto simplified model namespaces
Reviewed changes
Copilot reviewed 188 out of 188 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/DnsResolver/DnsResolver/ChangeLog.md | Added entry documenting AutoRest v4 upgrade |
| src/DnsResolver/DnsResolver/Az.DnsResolver.psd1 | Updated Az.Accounts dependency, generation date, and formatting |
| tools/StaticAnalysis/Exceptions/Az.DnsResolver/BreakingChangeIssues.csv | New file tracking 82 breaking changes from AutoRest migration |
| src/DnsResolver/DnsResolver/help/*.md | Updated SYNOPSIS from "Creates/Updates" to "Create/Update" and added new parameter sets |
| src/DnsResolver/DnsResolver.Autorest/docs/*.md | Similar help updates with parameter set additions |
| src/DnsResolver/DnsResolver.sln | Updated project GUID |
| src/DnsResolver/DnsResolver.Autorest/generate-info.json | Updated generation ID |
| src/DnsResolver/DnsResolver.Autorest/custom/csharp/*.cs | Updated namespace from Api20230701Preview to simplified Models |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
Thanks @JoyerJin, I am on the private resolver team and will re-record the tests for the PR |
|
As mentioned in email, I have added the re-recorded tests in #29285 The PR above must also be released in the same version as this as we were previously using a preview branch and main is missing these changes |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
Please also wait on breaking change annoucement merge: #29308 |
Description
Preannouncement PR:
Mandatory Checklist
Please choose the target release of Azure PowerShell. (⚠️ Target release is a different concept from API readiness. Please click below links for details.)
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.mdand reviewed the following information:ChangeLog.mdfile(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.## Upcoming Releaseheader in the past tense.ChangeLog.mdif no new release is required, such as fixing test case only.