Skip to content

[ComputeSchedule] Verify that the new code generator generates SDK code from TSP#54243

Merged
ArthurMa1978 merged 13 commits intoAzure:mainfrom
mzhongl524:pr-compute-schedule-from-tsp
Jan 4, 2026
Merged

[ComputeSchedule] Verify that the new code generator generates SDK code from TSP#54243
ArthurMa1978 merged 13 commits intoAzure:mainfrom
mzhongl524:pr-compute-schedule-from-tsp

Conversation

@mzhongl524
Copy link
Member

@mzhongl524 mzhongl524 commented Dec 2, 2025

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.

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

github-actions bot commented Dec 16, 2025

API Change Check

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

Azure.ResourceManager.ComputeSchedule

@RodgeFu RodgeFu marked this pull request as ready for review January 4, 2026 04:32
Copilot AI review requested due to automatic review settings January 4, 2026 04:32
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 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 ArthurMa1978 merged commit b8e58b8 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 - computeschedule

4 participants