-
Notifications
You must be signed in to change notification settings - Fork 5.1k
MPG migration - Quantum #54927
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
MPG migration - Quantum #54927
Conversation
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
…zure-sdk-for-net into pr-quantum-from-tsp
There was a problem hiding this 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 Quantum SDK from the old Autorest-based code generator to the new TypeSpec-based Management Plane Generator (MPG). The migration updates the SDK to use TypeSpec definitions from the azure-rest-api-specs repository and regenerates all code with the new generator.
Changes:
- Migrated from Autorest to TypeSpec-based code generation with new emitter configuration
- Updated API version from 2023-11-13-preview to 2025-12-15-preview
- Restructured data models with properties wrapped in nested objects and serialization pattern changes
- Added new models for Suite Offers, MOBO configuration, and quota allocations
Reviewed changes
Copilot reviewed 5 out of 113 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tsp-location.yaml | Configuration file specifying TypeSpec source location and commit |
| cspell.yaml | Spell check configuration for Quantum-specific terms |
| autorest.md.bak | Backup of old Autorest configuration file |
| metadata.json | API version updated to 2025-12-15-preview |
| QuantumWorkspaceData.cs | Major restructuring - properties moved to nested WorkspaceResourceProperties |
| Sample files | Updated to reflect new API structure with Properties wrapper |
| Models/* | Serialization field renamed from _serializedAdditionalRawData to _additionalBinaryDataProperties |
| Internal/* | New utility classes for TypeSpec generator support |
| RestOperations/* | New SuiteOffersRestOperations added |
| Collections/* | New collection result classes for pageable operations |
| LongRunningOperation/* | Updated LRO handling for new generator patterns |
Fixed: #54766
Spec PR: Azure/azure-rest-api-specs#39552
Use the new code generator to generate SDK code from TSP.
Known issues: (the SDK has never been GA, so maybe this isn't a issue)
markAsPageabledecorator typespec-azure#3650Contributing 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.