azure-xplat-cli icon indicating copy to clipboard operation
azure-xplat-cli copied to clipboard

webapp start/stop/restart doesn't work with slot option

Open using-system opened this issue 8 years ago • 1 comments

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:

  1. 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).

using-system avatar Dec 20 '16 09:12 using-system

@LukaszStem - Can you take a look at this issue?

amarzavery avatar Dec 20 '16 19:12 amarzavery