Azure / Azure/azure-cli

Customer feedback | az vm list-sizes | Command should be deprecated and customers instructed to use `az vm list-skus` instead

Open
#30,217 3 comments 0 reactions 2 assignees Claimed by @zhoxing-ms View on GitHub
act-observability-squad Auto-Assign Azure CLI Team Compute question
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Describe the bug

This GitHub issue is moved from UUF [330292](https://dev.azure.com/msft-skilling/Content/_workitems/edit/330292).

********************

### Link to autogenerated content
https://learn.microsoft.com/en-us/cli/azure/vm?view=azure-cli-latest#az-vm-list-sizes

### Engineering Request
Mark the `az vm list-sizes` command as deprecated. It is currently targeting a backend API that is deprecated. The command using the new API is `az vm list-skus`.

### Customer feedback
**Repo:**

azure-docs-cli

**Title:**
az vm | Microsoft Learn

**Verbatim:**
Please make "az vm list-sizes" command obsolete. It is currently targeting a backend API that is deprecated. Command using new API is "az vm list-skus"

**Verbatim Id:**
34c04d3a-7b90-ef11-ac21-6045bd022a79

**Live URL:**
https://learn.microsoft.com/en-us/cli/azure/vm

**GitHub URL:**
https://github.com/MicrosoftDocs/azure-docs-cli/blob/live/2020-09-01-hybrid/docs-ref-autogen/vm.yml

**UUF Triage App Feedback URL:**
https://aka.ms/UUFTriageApp?pageviewid=cc3aef02-cc1e-3550-bc2c-a95c647efdb6

### Related command

az vm list-sizes
az vm list-skus

### Errors

.

### Issue script & Debug output

.

### Expected behavior

.

### Environment Summary

Azure CLI 2.65.0

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.