Skip to content

Conversation

@audreyttt
Copy link
Member

Description

Adding new parameter as requested by this design: https://github.com/Azure/azure-powershell-cmdlet-review-pr/issues/1527

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • Update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

audreyttt and others added 7 commits November 20, 2025 13:23
Updated agent configuration to specify a PowerShell Pull Request Agent with detailed objectives and rules for modifying cmdlets.
Co-authored-by: audreyttt <225061541+audreyttt@users.noreply.github.com>
Co-authored-by: audreyttt <225061541+audreyttt@users.noreply.github.com>
Co-authored-by: audreyttt <225061541+audreyttt@users.noreply.github.com>
@azure-client-tools-bot-prd
Copy link

Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

Copilot finished reviewing on behalf of audreyttt November 25, 2025 20:12
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 adds a new -ResiliencyView parameter to the Get-AzVmssVM cmdlet to enable monitoring of the Resilient Delete feature for Virtual Machine Scale Set (VMSS) VMs. The parameter retrieves the ResilientVMDeletionStatus property, which indicates whether automatic delete retries are in progress, failed, or not started. This implementation aligns with the design proposal referenced in issue #1527.

Key changes:

  • Added -ResiliencyView switch parameter to retrieve resilient VM deletion status
  • Updated help documentation with new parameter description and usage example
  • Added test coverage for the new functionality
  • Fixed a spelling error in help documentation ("Species" → "Specifies")

Reviewed changes

Copilot reviewed 4 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/Compute/Compute/Generated/VirtualMachineScaleSetVM/VirtualMachineScaleSetVMGetMethod.cs Implements the ResiliencyView parameter, adds conditional logic to retrieve status using ResiliencyViewExpand enum value
src/Compute/Compute/Generated/Models/PSVirtualMachineScaleSetVM.cs Adds ResilientVMDeletionStatus string property to the model for storing the deletion status
src/Compute/Compute/help/Get-AzVmssVM.md Documents the new parameter with description and example, also fixes spelling error
src/Compute/Compute/ChangeLog.md Adds changelog entry describing the new feature for users
src/Compute/Compute.Test/ScenarioTests/VirtualMachineScaleSetTests.ps1 Adds PowerShell test function to verify ResiliencyView parameter works correctly
src/Compute/Compute.Test/ScenarioTests/VirtualMachineScaleSetTests.cs Adds C# test method to execute the PowerShell test

You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

@audreyttt audreyttt added this to the Az 15.1.0 (12/02/2025) milestone Nov 25, 2025
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@notyashhh notyashhh changed the base branch from main to release-2025-12-02 November 25, 2025 23:45
@notyashhh notyashhh self-assigned this Nov 25, 2025
@notyashhh notyashhh merged commit ea4b0ab into Azure:release-2025-12-02 Nov 26, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants