Skip to content

[DisconnectedOperations] Verify that the new code generator generates SDK code from TSP#54253

Merged
ArthurMa1978 merged 8 commits intoAzure:mainfrom
mzhongl524:pr-disconnected-operations-from-tsp
Jan 4, 2026
Merged

[DisconnectedOperations] Verify that the new code generator generates SDK code from TSP#54253
ArthurMa1978 merged 8 commits intoAzure:mainfrom
mzhongl524:pr-disconnected-operations-from-tsp

Conversation

@mzhongl524
Copy link
Copy Markdown
Member

@mzhongl524 mzhongl524 commented Dec 2, 2025

Fixed: #53877
TSP PR: Azure/azure-rest-api-specs#39033

Use the new code generator to generate SDK code from TSP.

Contributing to the Azure SDK

Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.

For specific information about pull request etiquette and best practices, see this section.

@github-actions github-actions bot added the Mgmt This issue is related to a management package. label Dec 2, 2025
@github-actions
Copy link
Copy Markdown

github-actions bot commented Dec 2, 2025

API Change Check

APIView identified API level changes in this PR and created the following API reviews

Azure.ResourceManager.DisconnectedOperations

@RodgeFu RodgeFu marked this pull request as ready for review January 4, 2026 04:33
Copilot AI review requested due to automatic review settings January 4, 2026 04:33
Copy link
Copy Markdown
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 updates the DisconnectedOperations SDK to use the new Azure Management Generator (http-client-csharp-mgmt) for code generation from TypeSpec. The PR validates that the new generator successfully produces SDK code from TSP definitions.

Key Changes:

  • Updated the emitter package reference from legacy to the new Azure TypeSpec management generator
  • Regenerated all SDK code with the new generator, including models, REST operations, and samples
  • Updated commit reference to point to the latest API specifications

Reviewed changes

Copilot reviewed 6 out of 94 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tsp-location.yaml Updated emitter package path and commit reference for TSP-based generation
Sample files (7 new files) Auto-generated sample code demonstrating SDK usage patterns
Model files (30+ files) Regenerated model classes with updated serialization patterns and improved documentation
RestOperations files (3 files) Regenerated REST operation classes with new generator patterns (renamed classes, updated signatures)
ProviderConstants.cs Added XML documentation and partial modifier
LongRunningOperation files (2 files) Updated LRO handling with new generator conventions

@ArthurMa1978 ArthurMa1978 merged commit b40acfa into Azure:main Jan 4, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Mgmt This issue is related to a management package.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MPG migration - disconnectedoperations

4 participants