Skip to content

Conversation

@mbiver
Copy link
Contributor

@mbiver mbiver commented Oct 21, 2025

In the section:

https://github.com/MicrosoftDocs/azure-compute-docs/blob/main/articles/virtual-machines/maintenance-configurations-cli.md#virtual-machine-scale-sets-2

When calling "az maintenance assignment list" against a VMSS, shouldn't --resource-type be "virtualMachineScaleSets" not "virtualMachines" as seen in the example:

https://learn.microsoft.com/en-us/cli/azure/maintenance/assignment?view=azure-cli-latest#az-maintenance-assignment-list-examples

az maintenance assignment list --provider-name "Microsoft.Compute" --resource-group "examplerg" --resource-name "smdtest1" --resource-type "virtualMachineScaleSets"

In the section:  

https://github.com/MicrosoftDocs/azure-compute-docs/blob/main/articles/virtual-machines/maintenance-configurations-cli.md#virtual-machine-scale-sets-2  

When calling "az maintenance assignment list" against a VMSS, shouldn't --resource-type be "virtualMachineScaleSets" not "virtualMachines" as seen in the example:  

https://learn.microsoft.com/en-us/cli/azure/maintenance/assignment?view=azure-cli-latest#az-maintenance-assignment-list-examples  

az maintenance assignment list --provider-name "Microsoft.Compute" --resource-group "examplerg" --resource-name "smdtest1" --resource-type "virtualMachineScaleSets"
@prmerger-automator
Copy link
Contributor

@mbiver : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit f6b7ffd:

✅ Validation status: passed

File Status Preview URL Details
articles/virtual-machines/maintenance-configurations-cli.md ✅Succeeded

For more details, please refer to the build report.

@ttorble
Copy link
Contributor

ttorble commented Oct 22, 2025

@ju-shim

Can you review the proposed changes?

IMPORTANT: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@prmerger-automator prmerger-automator bot added the aq-pr-triaged C+L Pull Request Review Team label label Oct 22, 2025
@ttorble ttorble requested a review from Copilot October 22, 2025 15:32
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 corrects the resource type parameter in an Azure CLI command example for listing maintenance assignments on Virtual Machine Scale Sets. The command was incorrectly using "virtualMachines" as the resource type when querying a VMSS resource, when it should use "virtualMachineScaleSets".

Key Changes:

  • Updated the --resource-type parameter value from virtualMachines to virtualMachineScaleSets in the VMSS maintenance assignment example

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@github-actions
Copy link

github-actions bot commented Nov 5, 2025

This pull request has been inactive for at least 14 days. If you are finished with your changes, don't forget to sign off. See the contributor guide for instructions.
Get Help
Docs Support Teams Channel
Resolve Merge Conflict

@github-actions github-actions bot added the inactive This PR is inactive for more than 14 days label Nov 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants