[Reference feedback]: az vm list-sizes --ids parameter does not work
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
### Type of issue
Code doesn't work
### Reference command name
az vm list-sizes --ids {vmId}
### Feedback
The documentation has --ids as an optional parameter for 'az vm list-sizes' but when it's used it returns the following error.
(NoRegisteredProviderFound) No registered resource provider found for location 'TsetVM' and API version '2022-11-01' for type 'locations/vmSizes'. The supported api-versions are '2015-05-01-preview, 2015-06-15, 2016-03-30, 2016-04-30-preview, 2016-08-30, 2017-03-30, 2017-12-01, 2018-04-01, 2018-06-01, 2018-10-01, 2019-03-01, 2019-07-01, 2019-12-01, 2020-06-01, 2020-12-01, 2021-03-01, 2021-04-01, 2021-07-01, 2021-11-01, 2022-03-01, 2022-08-01, 2022-11-01, 2023-03-01, 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01'. The supported locations are 'eastus, eastus2, westus, centralus, northcentralus, southcentralus, northeurope, westeurope, eastasia, southeastasia, japaneast, japanwest, australiaeast, australiasoutheast, australiacentral, brazilsouth, southindia, centralindia, westindia, canadacentral, canadaeast, westus2, westcentralus, uksouth, ukwest, koreacentral, koreasouth, francecentral, southafricanorth, uaenorth, switzerlandnorth, germanywestcentral, norwayeast, jioindiawest, westus3, swedencentral, qatarcentral, polandcentral, italynorth, israelcentral, spaincentral, mexicocentral, newzealandnorth'.
Code: NoRegisteredProviderFound
### Page URL
https://learn.microsoft.com/en-us/cli/azure/vm?view=azure-cli-latest#az-vm-list-sizes
### Content source URL
https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/latest/docs-ref-autogen/vm.yml
### Author
@dbradish-microsoft
### Document Id
3f79be78-ce75-ad31-304b-bad7d475ec9e
Contributor guide
Assessment
This issue has not been assessed yet.