MPG migration SDK - AppConfiguration#55448
Open
mzhongl524 wants to merge 12 commits intoAzure:mainfrom
Open
Conversation
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
live1206
reviewed
Feb 13, 2026
Member
live1206
left a comment
There was a problem hiding this comment.
we can just remove the autorest.md file
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request migrates the Azure.ResourceManager.AppConfiguration SDK from the legacy Autorest-based generator to the new TypeSpec-based Management Plane Generator (MPG). The migration updates the API version from 2024-05-01 to 2025-06-01-preview and regenerates the entire SDK codebase using the new generator, resulting in significant structural changes while maintaining backward compatibility where possible.
Changes:
- Adds TypeSpec configuration (tsp-location.yaml) and metadata.json for the new generator
- Regenerates all model, operation, and internal utility classes with new patterns (e.g.,
_additionalBinaryDataPropertiesinstead of_serializedAdditionalRawData) - Updates test code to reflect API changes (e.g.,
PrivateEndpointIdproperty accessor) - Adds custom compatibility code to maintain backward compatibility for breaking changes
Reviewed changes
Copilot reviewed 12 out of 182 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tsp-location.yaml | New TypeSpec configuration file specifying API spec location and generator settings |
| metadata.json | Tracks the new API version (2025-06-01-preview) |
| autorest.md.bak | Backup of old Autorest configuration for reference |
| RestOperations/*.cs | Regenerated protocol layer with new generator patterns |
| Models/*.cs | Updated model classes with new serialization patterns and flattened property accessors |
| Internal/*.cs | New/updated internal utilities for the MPG generator (e.g., RawRequestUriBuilderExtensions, CollectionResults) |
| LongRunningOperation/*.cs | Updated operation sources to use JsonDocument instead of ModelReaderWriter |
| CollectionResults/*.cs | New collection result classes for pagination handling |
| Custom/*.cs | Custom code to maintain backward compatibility (e.g., AppConfigurationStoreData constructor, SnapshotType property) |
| Tests/*.cs | Updated test to use new property accessor (PrivateEndpointId) |
| Azure.ResourceManager.AppConfiguration.csproj | Removed old Autorest dependency |
3 tasks
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: #54711
Spec PR: Azure/azure-rest-api-specs#40111
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.