CmdID / az / az cloud-service / az cloud-service role-instance
az cloud-service role-instance rebuild
The Rebuild Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. Azure CLI extensions reference
3 options Its page in the Azure CLI extensions reference
Options
--cloud-service-nameCloud service name.--resource-group, -gName of resource group.--role-instance-nameName of the role instance.