Skip to content

add AdditionalProperties in VirtualMachineScaleSetVmProperties #50933

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

Merged

Conversation

ArcturusZhang
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 Copilot AI review requested due to automatic review settings June 27, 2025 07:58
@github-actions github-actions bot added the Mgmt This issue is related to a management package. label Jun 27, 2025
Copy link
Contributor

@Copilot 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 introduces support for additional properties in the VirtualMachineScaleSetVmProperties model, enabling the SDK to send and receive private/internal properties as defined by the service. Key changes include:

  • Updates to the autorest configuration to enable additional properties on VirtualMachineScaleSetVMProperties.
  • Modifications to the VirtualMachineScaleSetVmData and related factory methods to include the new AdditionalProperties.
  • Version bump and changelog updates reflecting the production release.

Reviewed Changes

Copilot reviewed 7 out of 14 changed files in this pull request and generated no comments.

Show a summary per file
File Description
sdk/compute/Azure.ResourceManager.Compute/src/autorest.md Added directives to enable additional properties on VirtualMachineScaleSetVM and VirtualMachineScaleSetVMProperties.
sdk/compute/Azure.ResourceManager.Compute/src/Customize/VirtualMachineScaleSetVmData.cs Updated data model properties to support the new AdditionalProperties functionality.
sdk/compute/Azure.ResourceManager.Compute/src/Customize/ArmComputeModelFactory.cs Added overloads for the new AdditionalProperties parameter in factory methods.
sdk/compute/Azure.ResourceManager.Compute.csproj Updated version from beta to final.
sdk/compute/Azure.ResourceManager.Compute/api/* Updated API definitions and model classes to include AdditionalProperties.
sdk/compute/Azure.ResourceManager.Compute/CHANGELOG.md Updated changelog entries with new features and breaking changes.
Comments suppressed due to low confidence (1)

sdk/compute/Azure.ResourceManager.Compute/src/autorest.md:428

  • There is a naming inconsistency between the autorest directive ('VirtualMachineScaleSetVMProperties') and the SDK class name ('VirtualMachineScaleSetVmProperties'). Consider reviewing this naming to ensure it is intentional and consistent.
      $.VirtualMachineScaleSetVMProperties.additionalProperties = true;

Copy link

API Change Check

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

Azure.ResourceManager.Compute

@ArcturusZhang ArcturusZhang merged commit b9f6f87 into Azure:main Jul 1, 2025
17 checks passed
@ArcturusZhang ArcturusZhang deleted the enable-additionalproperties-for-vmssvm branch July 1, 2025 02:46
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.

2 participants