Skip to content

DnsResolver Module TSP Migration - #29972

Draft
JiaSeng-v wants to merge 1 commit into
Azure:mainfrom
JiaSeng-v:jiaseng/main/typespec-DnsResolver
Draft

DnsResolver Module TSP Migration#29972
JiaSeng-v wants to merge 1 commit into
Azure:mainfrom
JiaSeng-v:jiaseng/main/typespec-DnsResolver

Conversation

@JiaSeng-v

@JiaSeng-v JiaSeng-v commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Co-authored-by: Copilot <[REDACTED:email_address]>

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

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 53a680b3-e007-4d4d-9fd2-448f9dd96b4f
Copilot AI lite review requested due to automatic review settings August 7, 2026 06:42
@JiaSeng-v JiaSeng-v added the TypeSpec Module generated from TypeSpec label Aug 7, 2026
@azure-pipelines

Copy link
Copy Markdown
Contributor
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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).

Comment on lines 20 to +21
## 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
@azure-client-tools-agent

Copy link
Copy Markdown

Automated sensitive-information remediation ran on this pull request.

  • Detected categories: email address
  • Replaced with typed [REDACTED:category] placeholders in: PR description
  • Could not edit: file changes on a fork branch
  • Comment/review owners notified because Agent Assist cannot edit another user's text: none

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).

@azure-client-tools-agent azure-client-tools-agent Bot added the azure-client-tools-agent Pull request commented on or reviewed by Azure Client Tools Agent label Aug 7, 2026
@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Contributor
Azure Pipelines:
Successfully started running 3 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

azure-client-tools-agent Pull request commented on or reviewed by Azure Client Tools Agent TypeSpec Module generated from TypeSpec

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants