Azure / Azure/azure-cli-extensions
cmdlets hosts in cluseter as they appear in the portal.
- Dominant language
- Python
- Stars
- 454
- Forks
- 1.7k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 64
Description
### Describe the bug
Looking to list the hosts on all cluster using azure-cli, cmdlets can not list hosts as they appear in the portal.
The goal here is to identify any discrepancies between what is shown in vCenter versus what is displayed in the portal/AzCLI, demonstrating that this is a scale operation.
This situation arises if Maintenance event adds a host to the SDDC during the vSphere 8 Upgrade .
### Related command
https://learn.microsoft.com/en-us/cli/azure/vmware/vm?view=azure-cli-latest#az-vmware-vm-list
### Errors
az vmware vm list --resource-group group1 --private-cloud cloud1 --cluster-name cluster1
### Issue script & Debug output
no output list hosts
### Expected behavior
have host cound with the parent cluster show in output
### Environment Summary
azure-cli 2.30.0
core 2.30.0
telemetry 1.0.6
Extensions:
interactive 0.4.4
Python location '/usr/local/bin/python3'
Extensions directory '/home/user/.azure/cliextensions'
Python (Linux) 3.8.10 (default, May 3 2021, 08:55:58)
[GCC 9.3.0]
Legal docs and information: aka.ms/AzureCliLegal
### Additional context
this will enable automation preventing false alerts
Contributor guide
Assessment
This issue has not been assessed yet.