-
Notifications
You must be signed in to change notification settings - Fork 284
virtualMachineScaleSets resource type #355
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
base: main
Are you sure you want to change the base?
Conversation
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"
|
@mbiver : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change. |
|
Learn Build status updates of commit f6b7ffd: ✅ Validation status: passed
For more details, please refer to the build report. |
|
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, adding a #label:"aq-pr-triaged" |
There was a problem hiding this 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-typeparameter value fromvirtualMachinestovirtualMachineScaleSetsin the VMSS maintenance assignment example
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
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. |
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"