Azure / Azure/azure-cli

Need a cli command to show available skus in size list.

Open
#17,431 2 comments 0 reactions 1 assignee Claimed by @qwordy View on GitHub
act-observability-squad Compute feature-request
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

Need a cli command to show available skus in size list. I could not find a good way to do it only by az cli. So I made a workaround mixed with Bash shell. It will be great if I can do that in a single az cli command.
--------------------------------------------------------------
az vm list-skus -l westeurope --query '[].name' -o tsv >skuList.txt
az vm list-sizes -l westeurope -o table >sizeList.txt
sed -n '1,2p' sizeList.txt>combinedList.txt
grep -Fwf skuList.txt sizeList.txt >>combinedList.txt
--------------------------------------------------------------
![image](https://user-images.githubusercontent.com/11438099/112281037-9668eb80-8cc0-11eb-88d4-8176a59e7703.png)

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.