Skip to content

[Compute] az vm list-skus: Update --zone behavior, return all type skus now#13470

Merged
qwordy merged 1 commit intoAzure:devfrom
qwordy:13407
May 15, 2020
Merged

[Compute] az vm list-skus: Update --zone behavior, return all type skus now#13470
qwordy merged 1 commit intoAzure:devfrom
qwordy:13407

Conversation

@qwordy
Copy link
Member

@qwordy qwordy commented May 13, 2020

Description

#13407

az vm list-skus lists details for compute-related resource SKUs.
--zone parameter has a wrong behavior.

--zone -z
Show all vm size supporting availability zones.

Before:

> az vm list-skus -l uksouth -r hostGroups/hosts -z true -o table

After:

> az vm list-skus -l uksouth -r hostGroups/hosts -z true -o table
ResourceType      Locations    Name        Zones    Restrictions
----------------  -----------  ----------  -------  --------------
hostGroups/hosts  uksouth      DSv3-Type1  1,2,3    None
hostGroups/hosts  uksouth      ESv3-Type1  1,2,3    None
hostGroups/hosts  uksouth      DSv3-Type2  1,2,3    None
hostGroups/hosts  uksouth      ESv3-Type2  1,2,3    None
hostGroups/hosts  uksouth      FSv2-Type2  1,2,3    None

Testing Guide

az vm list-skus -l uksouth -r hostGroups/hosts -z true -o table

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.


This checklist is used to make sure that common guidelines for a pull request are followed.

@yungezz yungezz added the Compute az vm/vmss/image/disk/snapshot label May 13, 2020
@yungezz yungezz added this to the S169 - For Build milestone May 13, 2020
@yungezz
Copy link
Member

yungezz commented May 13, 2020

hi @arrownj could you pls have a look

Copy link
Contributor

@arrownj arrownj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@qwordy qwordy merged commit cb927d5 into Azure:dev May 15, 2020
derekbekoe added a commit to derekbekoe/azure-cli that referenced this pull request May 18, 2020
* 'dev' of https://github.com/Azure/azure-cli: (85 commits)
  {Monitor} az monitor autoscale profile show: bug fix (Azure#13515)
  [Monitor] az monitor diagnostic-settings create: support --export-to-specific-resource argument (Azure#13544)
  [aro]Add tests for generate_random_id function (Azure#13522)
  [ARO]Change CLIError to correct flag for --worker-vm-disk-size-gb (Azure#13439)
  [Packaging] Add Ubuntu Focal Package (Azure#13491)
  Update parse_zone_file.py (Azure#13377)
  {Release} Upgrade to Azure CLI 2.6.0 (Azure#13542)
  fix (Azure#13511)
  {Resource} Add example to tell how to pass array to --parameters (Azure#13510)
  [NetAppFiles] Anf 5207 Bugfix - add missing snapshot restore function (Azure#13481)
  {Network} az network nic create: Refine help message (Azure#13513)
  [Storage] az storage blob sync: Fix the incorrect error message when azcopy cannot find the installation location (Azure#9576)  (Azure#13104)
  Support --connect-string for az storage blob sync (Azure#13135)
  Modify the deprecate information for deployment operation (Azure#13390)
  [AppService] Onboard local context for app service (Azure#12984)
  {Monitor} az monitor metrics alert: refine severity explanation (Azure#13512)
  [IoT Hub] Support for 2020-03-01 API and Network Isolation commands (Azure#13467)
  [Compute] az vm list-skus: Update --zone behavior, return all type skus now (Azure#13470)
  Fix that cli doe not fail when user only specifies Windows password (Azure#13418)
  {ACR}: expose --expiration from token commands (Azure#13451)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Compute az vm/vmss/image/disk/snapshot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants