Last post Apr 22, 2020 07:56 AM by PatriceSc
Apr 21, 2020 11:45 AM|robby32|LINK
I have a web app hosted on Azure
I have created a deployment slot and want to be able to restart the web app in the deployment slot .
I am using the following
az webapp stop --name "TestWebApp" --resource-group "testgroup" -slot ?? <--- where can i get that value from . I have tried putting in TestWebApp/deploy but that gives an error ?
I assume starting it would be
az webapp start --name "TestWebApp" --resource-group "testgroup" -slot ??
Apr 22, 2020 07:56 AM|PatriceSc|LINK
And the slot name is not just "deploy" rather than "TestWeApp/deploy" ? If the later make sure to include the double quotes.
Also as always the error message is supposed to tell you what is wrong and it would be better to take advantage of it rather than trying to guess.
Edit: ah also I see -slot rather than --slot