-
Notifications
You must be signed in to change notification settings - Fork 5.1k
MPG migration - SecretsStoreExtension #54244
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 - SecretsStoreExtension #54244
Conversation
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
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 PR migrates the Azure.ResourceManager.SecretsStoreExtension SDK to use the new code generator from TypeSpec (TSP) instead of the legacy emitter. The changes are primarily generated code updates that reflect the new generator's patterns and conventions.
Key changes:
- Switch from legacy emitter to new TSP-based code generator (azure-typespec-http-client-csharp-mgmt-emitter)
- Update parameter names from
serializedAdditionalRawDatatoadditionalBinaryDataProperties - Change subscription ID type from
stringtoGuidin REST operations - Modernize code patterns (explicit types instead of
var, updated documentation format)
Reviewed changes
Copilot reviewed 4 out of 78 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tsp-location.yaml | Updates emitter package reference and commit hash for new generator |
| SecretSyncTests.cs | Updates parameter name in test to match new generator output |
| SecretSyncResource.cs | Regenerated with new patterns: Guid subscription IDs, updated REST client usage, explicit types |
| SecretSyncResource.Serialization.cs | Updated serialization patterns with new naming conventions |
| SecretSyncData.cs | Simplified constructors and updated property documentation |
| SecretSyncData.Serialization.cs | Modernized serialization with protected methods and explicit types |
| SecretSyncCollection.cs | Updated to use new REST client patterns and Guid subscription IDs |
| RestOperations/* | Simplified to method factories returning HttpMessage instead of full request/response handling |
| Models/* | Consistent updates to serialization patterns, documentation, and naming conventions |
| ProviderConstants.cs | Added XML documentation |
| Utf8JsonRequestContent.cs | Added XML documentation for public members |
sdk/secretsstoreextension/Azure.ResourceManager.SecretsStoreExtension/tsp-location.yaml
Outdated
Show resolved
Hide resolved
|
please remove autorest.csharp dependency Line 7 in fcefe5a
|
Fixed: #53897
TSP PR: Azure/azure-rest-api-specs#39024
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.