Raph
Raph

Reputation: 384

Set Azure Websites AlwaysOn with Azure CLI

For Visual Studio Team Services continuous integration, I would like to disable "Always On", release, then enable it. (because NewRelic need to disable AlwaysOn when publishing, it use specific dll)

Can we set AlwaysOn with Azure CLI ? I didn't find it in the docs

Upvotes: 2

Views: 838

Answers (1)

4c74356b41
4c74356b41

Reputation: 72171

azure webapp config set RGName WebAppName --alwayson true

source: azure webapp config --help

Update 8/28/2018:

The syntax has changed. Now it's

az webapp config set --name mywebapp --resource-group myresourcegroup --always-on true

See https://learn.microsoft.com/en-us/cli/azure/webapp/config?view=azure-cli-latest#az-webapp-config-set

Upvotes: 2

Related Questions