Skip to content

Conversation

@mzhongl524
Copy link
Member

spec pr: Azure/azure-rest-api-specs#38980.

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.

@github-actions github-actions bot added the Mgmt This issue is related to a management package. label Dec 4, 2025
@github-actions
Copy link

github-actions bot commented Dec 4, 2025

API Change Check

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

Azure.ResourceManager.Hci

@mzhongl524 mzhongl524 marked this pull request as ready for review December 4, 2025 08:42
Copilot AI review requested due to automatic review settings December 4, 2025 08:42
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 generates SDK code from Swagger specifications for the Azure Stack HCI service. The main purpose is to add backward compatibility methods to the ArmHciModelFactory class to support existing code while introducing new properties to the data models.

Key changes:

  • Removed unused namespace import (Azure.ResourceManager.Resources.Models)
  • Added multiple EditorBrowsable(EditorBrowsableState.Never) factory methods for backward compatibility when new properties are introduced to existing models
  • Each new factory method forwards calls to the current implementation with default values for newly added parameters

/// <param name="interfaceDescription"> Interface Description of NIC. </param>
/// <param name="componentId"> Component Id of NIC. </param>
/// <param name="driverVersion"> Driver Version of NIC. </param>
/// <param name="ipv4Address"> Subnet Mask of NIC. </param>
Copy link

Copilot AI Dec 4, 2025

Choose a reason for hiding this comment

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

The parameter documentation for ipv4Address incorrectly states 'Subnet Mask of NIC' when it should describe the IPv4 address. The subnet mask is correctly documented on line 472.

Suggested change
/// <param name="ipv4Address"> Subnet Mask of NIC. </param>
/// <param name="ipv4Address"> IPv4 address of NIC. </param>

Copilot uses AI. Check for mistakes.
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.

1 participant