Skip to content

Conversation

@haiyuazhang
Copy link
Member

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.

Copilot AI review requested due to automatic review settings November 7, 2025 07:21
@github-actions github-actions bot added the Mgmt This issue is related to a management package. label Nov 7, 2025
@haiyuazhang haiyuazhang marked this pull request as draft November 7, 2025 07:23
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 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., IPAddressIpAddress), 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 RequestContext and RequestContent
  • 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

@haiyuazhang haiyuazhang force-pushed the haiyzhan/connectedcache branch from 06093f5 to 829befa Compare November 11, 2025 06:16
@github-actions
Copy link

github-actions bot commented Nov 11, 2025

API Change Check

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

Azure.ResourceManager.ConnectedCache

@haiyuazhang haiyuazhang marked this pull request as ready for review November 11, 2025 06:29
{
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; } }
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

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.

@haiyuazhang haiyuazhang force-pushed the haiyzhan/connectedcache branch from 0a20b46 to e75bf70 Compare November 12, 2025 22:36
@haiyuazhang haiyuazhang force-pushed the haiyzhan/connectedcache branch from e75bf70 to 769d8ca Compare November 13, 2025 06:14
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants