az vmss wait
Place the CLI in a waiting state until a condition is met. Azure CLI reference
3 options Its page in the Azure CLI reference
Options
--expandThe expand expression to apply on the operation.--instance-idWait on the VM instance with this ID.--vm-scale-set-name, --name, -nThe name of the VM scale set.