Skip to content

[PS] Migrate DnsResolver module to autorest v4#28695

Open
JoyerJin wants to merge 4 commits intomainfrom
joyer/dnsresolver-migrate-v4
Open

[PS] Migrate DnsResolver module to autorest v4#28695
JoyerJin wants to merge 4 commits intomainfrom
joyer/dnsresolver-migrate-v4

Conversation

@JoyerJin
Copy link
Contributor

@JoyerJin JoyerJin commented Oct 15, 2025

Description

Preannouncement PR:

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.

@Pan-Qi Pan-Qi added Contains Breaking Change This PR contains breaking change autorest v4 migration pr migrating module from generated by autorest.powershell v3 to v4 labels Jan 9, 2026
@github-actions
Copy link

github-actions bot commented Jan 9, 2026

To the author of the pull request,
This PR was labeled "Contains Breaking Change" because breaking changes have been detected by the static analysis pipeline.

  • According to our policy, breaking changes can only take place during major release and they must be preannounced.
  • Please follow our guide on the detailed steps.
  • Required: Please fill in the task below to facilitate our contact,you will receive notifications related to breaking changes.

@JiaSeng-v
Copy link
Contributor

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

Copilot AI review requested due to automatic review settings January 13, 2026 07:40
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 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 Api20230701Preview to 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

@isra-fel
Copy link
Member

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@JiaSeng-v JiaSeng-v marked this pull request as ready for review January 14, 2026 00:05
@isra-fel isra-fel added this to the Az 16.0.0 (TBD) milestone Jan 28, 2026
@jamesvoongms
Copy link
Member

Thanks @JoyerJin, I am on the private resolver team and will re-record the tests for the PR

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 Contains Breaking Change This PR contains breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants