对于 Visual Studio Team Services 持续集成,我想禁用“Always On”,释放,然后启用它。 (因为NewRelic发布时需要禁用AlwaysOn,所以使用特定的dll)
我们可以使用 Azure CLI 设置 AlwaysOn 吗?我在文档中没有找到它
最佳答案
azure webapp config set RGName WebAppName --alwayson true
来源: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
关于azure - 使用 Azure CLI 设置 Azure 网站 AlwaysOn,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40928966/