{Compute} Add resiliency view command and argument
Related command
az vmss get-resiliency-view --instance instance_id
az vmss list-instances --resiliency-view
Description
Resolve https://github.com/Azure/azure-cli/issues/32361
Testing Guide
To make sure list-instances will show instances within the vmss with their resiliency status.
az vmss list-instances --resiliency-view
To make sure resiliency status is being shown for target instance.
az vmss get-resiliency-view --instance instance_id
History Notes
[Compute] az vmss list-instances: Add new argument --resiliency-view to show resiliency status of each instance
[Compute] az vmss get-resiliency-view: Add new command to show resiliency status of each instance
This checklist is used to make sure that common guidelines for a pull request are followed.
-
[ ] The PR title and description has followed the guideline in Submitting Pull Requests.
-
[ ] I adhere to the Command Guidelines.
-
[ ] I adhere to the Error Handling Guidelines.
️✔️AzureCLI-FullTest
️✔️acr
️✔️latest
️✔️3.12
️✔️3.13
️✔️acs
️✔️latest
️✔️3.12
️✔️3.13
️✔️advisor
️✔️latest
️✔️3.12
️✔️3.13
️✔️ams
️✔️latest
️✔️3.12
️✔️3.13
️✔️apim
️✔️latest
️✔️3.12
️✔️3.13
️✔️appconfig
️✔️latest
️✔️3.12
️✔️3.13
️✔️appservice
️✔️latest
️✔️3.12
️✔️3.13
️✔️aro
️✔️latest
️✔️3.12
️✔️3.13
️✔️backup
️✔️latest
️✔️3.12
️✔️3.13
️✔️batch
️✔️latest
️✔️3.12
️✔️3.13
️✔️batchai
️✔️latest
️✔️3.12
️✔️3.13
️✔️billing
️✔️latest
️✔️3.12
️✔️3.13
️✔️botservice
️✔️latest
️✔️3.12
️✔️3.13
️✔️cdn
️✔️latest
️✔️3.12
️✔️3.13
️✔️cloud
️✔️latest
️✔️3.12
️✔️3.13
️✔️cognitiveservices
️✔️latest
️✔️3.12
️✔️3.13
️✔️compute_recommender
️✔️latest
️✔️3.12
️✔️3.13
️✔️computefleet
️✔️latest
️✔️3.12
️✔️3.13
️✔️config
️✔️latest
️✔️3.12
️✔️3.13
️✔️configure
️✔️latest
️✔️3.12
️✔️3.13
️✔️consumption
️✔️latest
️✔️3.12
️✔️3.13
️✔️container
️✔️latest
️✔️3.12
️✔️3.13
️✔️containerapp
️✔️latest
️✔️3.12
️✔️3.13
️✔️core
️✔️latest
️✔️3.12
️✔️3.13
️✔️cosmosdb
️✔️latest
️✔️3.12
️✔️3.13
️✔️databoxedge
️✔️latest
️✔️3.12
️✔️3.13
️✔️dls
️✔️latest
️✔️3.12
️✔️3.13
️✔️dms
️✔️latest
️✔️3.12
️✔️3.13
️✔️eventgrid
️✔️latest
️✔️3.12
️✔️3.13
️✔️eventhubs
️✔️latest
️✔️3.12
️✔️3.13
️✔️feedback
️✔️latest
️✔️3.12
️✔️3.13
️✔️find
️✔️latest
️✔️3.12
️✔️3.13
️✔️hdinsight
️✔️latest
️✔️3.12
️✔️3.13
️✔️identity
️✔️latest
️✔️3.12
️✔️3.13
️✔️iot
️✔️latest
️✔️3.12
️✔️3.13
️✔️keyvault
️✔️latest
️✔️3.12
️✔️3.13
️✔️lab
️✔️latest
️✔️3.12
️✔️3.13
️✔️managedservices
️✔️latest
️✔️3.12
️✔️3.13
️✔️maps
️✔️latest
️✔️3.12
️✔️3.13
️✔️marketplaceordering
️✔️latest
️✔️3.12
️✔️3.13
️✔️monitor
️✔️latest
️✔️3.12
️✔️3.13
️✔️mysql
️✔️latest
️✔️3.12
️✔️3.13
️✔️netappfiles
️✔️latest
️✔️3.12
️✔️3.13
️✔️network
️✔️latest
️✔️3.12
️✔️3.13
️✔️policyinsights
️✔️latest
️✔️3.12
️✔️3.13
️✔️privatedns
️✔️latest
️✔️3.12
️✔️3.13
️✔️profile
️✔️latest
️✔️3.12
️✔️3.13
️✔️rdbms
️✔️latest
️✔️3.12
️✔️3.13
️✔️redis
️✔️latest
️✔️3.12
️✔️3.13
️✔️relay
️✔️latest
️✔️3.12
️✔️3.13
️✔️resource
️✔️latest
️✔️3.12
️✔️3.13
️✔️role
️✔️latest
️✔️3.12
️✔️3.13
️✔️search
️✔️latest
️✔️3.12
️✔️3.13
️✔️security
️✔️latest
️✔️3.12
️✔️3.13
️✔️servicebus
️✔️latest
️✔️3.12
️✔️3.13
️✔️serviceconnector
️✔️latest
️✔️3.12
️✔️3.13
️✔️servicefabric
️✔️latest
️✔️3.12
️✔️3.13
️✔️signalr
️✔️latest
️✔️3.12
️✔️3.13
️✔️sql
️✔️latest
️✔️3.12
️✔️3.13
️✔️sqlvm
️✔️latest
️✔️3.12
️✔️3.13
️✔️storage
️✔️latest
️✔️3.12
️✔️3.13
️✔️synapse
️✔️latest
️✔️3.12
️✔️3.13
️✔️telemetry
️✔️latest
️✔️3.12
️✔️3.13
️✔️util
️✔️latest
️✔️3.12
️✔️3.13
️✔️vm
️✔️latest
️✔️3.12
️✔️3.13
⚠️AzureCLI-BreakingChangeTest
⚠️vm
rule cmd_name rule_message suggest_message ⚠️ 1001 - CmdAdd vmss get-resiliency-view cmd vmss get-resiliency-viewadded⚠️ 1006 - ParaAdd vmss list-instances cmd vmss list-instancesadded parameterresiliency_view⚠️ 1009 - ParaPropRemove vmss list-instances cmd vmss list-instancesupdate parameterexpand: removed propertyaaz_type=string⚠️ 1009 - ParaPropRemove vmss list-instances cmd vmss list-instancesupdate parameterexpand: removed propertytype=string⚠️ 1009 - ParaPropRemove vmss list-instances cmd vmss list-instancesupdate parameterfilter: removed propertyaaz_type=string⚠️ 1009 - ParaPropRemove vmss list-instances cmd vmss list-instancesupdate parameterfilter: removed propertytype=string⚠️ 1009 - ParaPropRemove vmss list-instances cmd vmss list-instancesupdate parameterpagination_limit: removed propertyaaz_type=int⚠️ 1009 - ParaPropRemove vmss list-instances cmd vmss list-instancesupdate parameterpagination_token: removed propertyaaz_type=string⚠️ 1009 - ParaPropRemove vmss list-instances cmd vmss list-instancesupdate parameterpagination_token: removed propertytype=string⚠️ 1009 - ParaPropRemove vmss list-instances cmd vmss list-instancesupdate parameterresource_group: removed propertyaaz_type=string⚠️ 1009 - ParaPropRemove vmss list-instances cmd vmss list-instancesupdate parameterresource_group: removed propertytype=string⚠️ 1010 - ParaPropUpdate vmss list-instances cmd vmss list-instancesupdate parameterresource_group: updated propertynamefromresource_grouptoresource_group_name⚠️ 1009 - ParaPropRemove vmss list-instances cmd vmss list-instancesupdate parameterselect: removed propertyaaz_type=string⚠️ 1009 - ParaPropRemove vmss list-instances cmd vmss list-instancesupdate parameterselect: removed propertytype=string⚠️ 1008 - ParaPropAdd vmss list-instances cmd vmss list-instancesupdate parametervirtual_machine_scale_set_name: added propertyid_part=virtual_machine_scale_set_name⚠️ 1009 - ParaPropRemove vmss list-instances cmd vmss list-instancesupdate parametervirtual_machine_scale_set_name: removed propertyaaz_type=string⚠️ 1009 - ParaPropRemove vmss list-instances cmd vmss list-instancesupdate parametervirtual_machine_scale_set_name: removed propertytype=string
Thank you for your contribution! We will review the pull request and get back to you soon.
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR.
Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). After that please run the following commands to enable git hooks:
pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
please refer to the error of breaking-change detector:
since you have changed the implementation logic from aaz inheritance to wrapper, you need to make sure this change won't introduce any breaking change. to do that, you'll need to manually define the parameters in the file https://github.com/Azure/azure-cli/blob/e39ecb40ce04c8341051edcd038ee53b20798a3d/src/azure-cli/azure/cli/command_modules/vm/_params.py, based on the build arguments schema in aaz file: https://github.com/Azure/azure-cli/blob/e39ecb40ce04c8341051edcd038ee53b20798a3d/src/azure-cli/azure/cli/command_modules/vm/aaz/latest/vmss/_list_instances.py#L39
/azp run
Azure Pipelines successfully started running 3 pipeline(s).