Skip to content

Conversation

@mzhongl524
Copy link
Member

@mzhongl524 mzhongl524 commented Jan 9, 2026

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)

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 Mgmt This issue is related to a management package. Quantum labels Jan 9, 2026
@github-actions
Copy link

github-actions bot commented Jan 9, 2026

API Change Check

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

Azure.ResourceManager.Quantum

@mzhongl524 mzhongl524 marked this pull request as ready for review January 26, 2026 08:57
Copilot AI review requested due to automatic review settings January 26, 2026 08:57
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 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

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MPG migration - quantum

1 participant