DnsResolver Module TSP Migration - #29972
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 53a680b3-e007-4d4d-9fd2-448f9dd96b4f
|
Azure Pipelines: Successfully started running 1 pipeline(s). There may be pipelines that require an authorized user to comment /azp run to run. |
There was a problem hiding this comment.
Pull request overview
Migrates the DnsResolver module’s AutoRest pipeline toward a TypeSpec (TSP) / @azure-tools/typespec-powershell configuration by adding TypeSpec config/location files and regenerating related module artifacts (manifest, solution references, and generated metadata/docs).
Changes:
- Added TypeSpec configuration files (
tspconfig.yaml,tsp-location.yaml) for DnsResolver generation inputs and emitter options. - Regenerated/updated module packaging artifacts (module manifest metadata, solution project GUID wiring, generate-info, docs metadata).
- Updated module changelog with an “Upcoming Release” entry and cleaned up the AutoRest README content.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| src/DnsResolver/DnsResolver/ChangeLog.md | Adds an “Upcoming Release” note about the migration/regeneration. |
| src/DnsResolver/DnsResolver/Az.DnsResolver.psd1 | Regenerated module manifest (metadata, Az.Accounts dependency version, formatting). |
| src/DnsResolver/DnsResolver.sln | Updates the solution’s Az.DnsResolver project GUID wiring. |
| src/DnsResolver/DnsResolver.Autorest/tspconfig.yaml | Introduces TypeSpec emitter configuration and directives for cmdlet shaping and announcements. |
| src/DnsResolver/DnsResolver.Autorest/tsp-location.yaml | Pins the REST API specs repo + commit and the directory location for generation. |
| src/DnsResolver/DnsResolver.Autorest/README.md | Removes legacy/duplicate generated AutoRest README sections. |
| src/DnsResolver/DnsResolver.Autorest/Properties/AssemblyInfo.cs | Updates assembly metadata (title/version) as part of regeneration. |
| src/DnsResolver/DnsResolver.Autorest/generate-info.json | Updates generation identifier. |
| src/DnsResolver/DnsResolver.Autorest/docs/Az.DnsResolver.md | Updates generated help metadata (module GUID). |
| ## Upcoming Release | ||
| * Internal code generation updated. No user-facing changes in this release. |
| emitter-output-dir: "{output-dir}/{service-dir}/DnsResolver/DnsResolver.Autorest" | ||
| clear-output-folder: true | ||
| azure: true | ||
| module-version: 0.2.9 |
| subject: DnsForwardingRuleset|ForwardingRule|DnsResolverDomainList|InboundEndpoint|PolicyDnsSecurityRule | ||
| set: | ||
| preview-announcement: | ||
| preview-message: "*****************************************************************************************\\r\\n* This cmdlet will undergo a breaking change in Az v16.0.0, to be released in May 2026. *\\r\\n* At least one change applies to this cmdlet. *\\r\\n* See all possible breaking changes at https://go.microsoft.com/fwlink/?linkid=2333486 *\\r\\n**************************************************************************************************" |
| @@ -0,0 +1,3 @@ | |||
| directory: specification\dnsresolver\resource-manager\Microsoft.Network\DnsResolver | |||
|
Automated sensitive-information remediation ran on this pull request.
If a credential was exposed, rotate or revoke it immediately. Detected values are never copied into this comment. ✅ Keep the redaction · ❌ Dispute the redaction GitHub only supports a fixed reaction set, so 👍 represents ✅ and 👎 represents ❌. The bot-created reactions are only poll choices. Posted by agent-assist (autonomous bug-fix pipeline). |
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
Co-authored-by: Copilot <[REDACTED:email_address]>
Description
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.