CmdID / az / az cloud-service
az cloud-service reimage
Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles. Azure CLI extensions reference
3 options Its page in the Azure CLI extensions reference
Options
--cloud-service-name, --name, -nName of the cloud service.--resource-group, -gName of resource group.--role-instancesList of cloud service role instance names.