-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Using new management plain generator for service connectedcache #53761
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?
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 PR updates the generated code for the Azure.ResourceManager.ConnectedCache SDK, primarily transitioning to a newer code generation pattern. The changes include property naming corrections (e.g., IPAddress → IpAddress), REST operations refactoring with new API signatures, and updates to serialization patterns.
Key changes:
- Property naming fixes for consistency (IPAddress/BgpAsnToIPAddressMapping → IpAddress/BgpAsnToIpAddressMapping)
- REST operations classes refactored with simplified signatures using
RequestContextandRequestContent - Serialization infrastructure updated to newer patterns with
_additionalBinaryDataProperties
Reviewed Changes
Copilot reviewed 3 out of 137 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tsp-location.yaml | Added emitter package configuration path |
| Sample_IspCacheNodeCollection.cs | Updated property names from IPAddress to IpAddress |
| Sample_EnterpriseMccCacheNodeCollection.cs | Updated property names from IPAddress to IpAddress |
| IspCustomersRestOperations.cs | Refactored to simpler class with RequestContext-based methods |
| IspCacheNodesRestOperations.cs | Deleted (replaced by IspCacheNodesOperationsRestOperations.cs) |
| IspCacheNodesOperationsRestOperations.cs | New REST operations class with updated patterns |
| EnterpriseMccCustomersRestOperations.cs | Refactored to simpler class with RequestContext-based methods |
| EnterpriseMccCacheNodesRestOperations.cs | Deleted (replaced by EnterpriseMccCacheNodesOperationsRestOperations.cs) |
| EnterpriseMccCacheNodesOperationsRestOperations.cs | New REST operations class with updated patterns |
| ProviderConstants.cs | Changed to partial class and added XML documentation |
| MccCustomerProperty.cs/.Serialization.cs | Updated serialization infrastructure |
| MccCustomerEntity.cs/.Serialization.cs | Updated property names and serialization patterns |
| MccCustomerAdditionalProperties.cs/.Serialization.cs | Updated property names and serialization patterns |
| MccCacheNodeTlsCertificate*.cs | Updated to newer serialization patterns and TrackedResourceData base |
| MccCacheNodeProxyUriConfiguration.cs | Updated serialization field naming |
| MccCacheNodeProxyRequired.cs | Added operator overloads and improved documentation |
06093f5 to
829befa
Compare
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
| { | ||
| internal MccCacheNodeAutoUpdateHistoryProperties() { } | ||
| public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.ConnectedCache.Models.MccCacheNodeAutoUpdateInfo> AutoUpdateHistory { get { throw null; } } | ||
| public System.Collections.Generic.IList<Azure.ResourceManager.ConnectedCache.Models.MccCacheNodeAutoUpdateInfo> AutoUpdateHistory { get { throw null; } } |
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.
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.
in MTG, we only honor property's readonly, not the model's usage. If there is no breaking change, this is correct.
sdk/connectedcache/Azure.ResourceManager.ConnectedCache/src/Generated/IspCustomerCollection.cs
Outdated
Show resolved
Hide resolved
0a20b46 to
e75bf70
Compare
e75bf70 to
769d8ca
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.