-
Notifications
You must be signed in to change notification settings - Fork 5.1k
MPG migration - impactreporting #54306
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
MPG migration - impactreporting #54306
Conversation
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 ImpactReporting SDK to use the new Management Plane Generator (MPG). The migration updates the generator configuration and regenerates all SDK code with the new generator version.
Key Changes:
- Updated the generator configuration to use the new
azure-typespec-http-client-csharp-mgmt-emitter-package.json - Updated the spec commit reference from
0adbc7c8b375ab44b413bf71c9c9eabc383c5720toe7837338dc24a6fc1582d43c7721957c0eb9701b - Regenerated all SDK code with modernized patterns including improved serialization, updated documentation formatting, and refined code structure
Reviewed changes
Copilot reviewed 2 out of 110 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tsp-location.yaml | Updated generator configuration to use new MPG emitter package and updated spec commit |
| Sample_ImpactConnectorCollection.cs | Updated test sample to include additional parameters in ImpactConnectorProperties constructor |
| WorkloadImpactResource.cs | Modernized resource class with updated serialization patterns, diagnostic scopes, and method signatures |
| WorkloadImpactResource.Serialization.cs | Updated serialization implementation with improved pattern consistency |
| WorkloadImpactData.cs | Simplified data model with cleaner field tracking and updated documentation |
| WorkloadImpactData.Serialization.cs | Modernized serialization with helper methods and improved deserialization |
| WorkloadImpactCollection.cs | Updated collection class with new diagnostic patterns and request handling |
| RestOperations/* | Simplified REST operation classes removing redundant methods and improving structure |
| Models/* | Updated all model classes with consistent serialization patterns and improved documentation |
| ProviderConstants.cs | File removed as part of generator migration |
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
f05234b to
8e626ae
Compare
83d6298 to
678a065
Compare
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.