[ComputeSchedule] Verify that the new code generator generates SDK code from TSP#54243
Merged
ArthurMa1978 merged 13 commits intoAzure:mainfrom Jan 4, 2026
Merged
Conversation
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request migrates the Azure ComputeSchedule SDK from the legacy code generator to the new Azure Management Generator based on TypeSpec (TSP). The changes verify that the new code generator successfully generates SDK code from TSP specifications.
Key changes:
- Updated the emitter package reference from legacy to the new management generator
- Updated the commit reference to use the latest TSP specification
- Regenerated all SDK code files using the new generator, resulting in code style and structure improvements
Reviewed changes
Copilot reviewed 3 out of 200 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 hash for new generator |
| Sample files | Added new auto-generated sample/test files for SDK operations |
| GlobalSuppressions.cs | Added suppressions for backward compatibility with model naming |
| ScheduledActionResource.cs | Regenerated with new generator patterns (cleaner API version handling, improved diagnostics) |
| ScheduledActionOccurrenceResource.cs | Regenerated with updated structure and error handling |
| Collection classes | Regenerated with improved pagination and existence checking logic |
| Data model classes | Regenerated with cleaner serialization patterns and property initialization |
| RestOperations | Simplified to protocol layer request builders |
| Models | Updated property initialization and serialization patterns |
ArthurMa1978
approved these changes
Jan 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixed: #53870
Tsp PR: Azure/azure-rest-api-specs#39022.
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.