azure-xplat-cli
azure-xplat-cli copied to clipboard
webapp start/stop/restart doesn't work with slot option
CLI Version: 0.2.5 OS Type: Win Installation via: Team Services release
Mode: ARM
Environment: AzureCloud
Description: webapp start/stop/restart doesn't work with options slot
Steps to reproduce:
- Run azure webapp restart --slot dev -n gof-api -vv -g ***
--> The command restart the main webapp and not the slot !
Log :
2016-12-20T08:53:46.3457790Z C:\a\r1\a>azure webapp restart --slot dev -n webapp_name -vv -g ***
2016-12-20T08:53:48.7086503Z [35msilly[39m: [36m [1murl[22m: [32m'https://management.azure.com/subscriptions/resourceGroups/****/providers/Microsoft.Web/sites/webapp_name/restart?api-version=2015-08-01'[36m,[39m ....
(no slot name in the web url management).
@LukaszStem - Can you take a look at this issue?