1

I want to update size of vmss from Standard_F16s_v2 to Standard_F32s_v2 I usually do it from Ui

enter image description here

but for some requirement I have to do it from a script so I tried to follow the documentation

https://learn.microsoft.com/en-us/cli/azure/vmss?view=azure-cli-latest

and tried to run this command

az vmss update --name MyScaleSet --resource-group MyResourceGroup --vm-sku Standard_F32s_v2

but it is not working shows error UnrecognizedArgumentError: unrecognized arguments: --vm-sku Standard_F32s_v2

Komal Nagada
  • 89
  • 1
  • 5

1 Answers1

1

The issue was with a previous version of az CLI which was resolved by upgrading it to version 2.30.0.

Test Scenario :

enter image description here

enter image description here

Ansuman Bal
  • 9,705
  • 2
  • 10
  • 27