Manage Azure App Service web apps, deployments, and configuration.
Manage web apps and API apps.
az webapp list --query '[].{Name:name,ResourceGroup:resourceGroup,State:state,URL:defaultHostName}' -o table
az webapp show --name my-app --resource-group my-rg | jq '{name, state, defaultHostName, httpsOnly, kind}'
az webapp log tail --name my-app --resource-group my-rg &
az webapp start --name my-app --resource-group my-rg
az webapp stop --name my-app --resource-group my-rg
az webapp restart --name my-app --resource-group my-rg
az webapp config appsettings list --name my-app --resource-group my-rg | jq '.[] | {name, value}'
az webapp config appsettings set --name my-app --resource-group my-rg \
--settings "KEY=value" | jq '.[].{name, value}'
az webapp deploy --name my-app --resource-group my-rg --src-path /tmp/app.zip --type zip
az webapp deployment slot list --name my-app --resource-group my-rg --query '[].{Name:name,State:state}' -o table
az webapp deployment slot swap --name my-app --resource-group my-rg --slot staging --target-slot production