I have created one scalset in azure with custom vm image and now I want to change image refernce of that vm to new one. How we can do this?
CodePudding user response:
Below powershell command will help you in updating the VM
Update-AzVmss -ResourceGroupName "myResourceGroup" -VMScaleSetName "myScaleSet" -ImageReferenceVersion 16.04.201801090
and here is the link for complete documentation about VMSS Scale set