azure-app-service

SKILL.md

Azure App Service

Manage web apps and API apps.

List web apps

az webapp list --query '[].{Name:name,ResourceGroup:resourceGroup,State:state,URL:defaultHostName}' -o table

Show app details

az webapp show --name my-app --resource-group my-rg | jq '{name, state, defaultHostName, httpsOnly, kind}'

View logs

az webapp log tail --name my-app --resource-group my-rg &

Start / stop / restart

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

List app settings

az webapp config appsettings list --name my-app --resource-group my-rg | jq '.[] | {name, value}'

Set app settings

az webapp config appsettings set --name my-app --resource-group my-rg \
  --settings "KEY=value" | jq '.[].{name, value}'

Deploy from zip

az webapp deploy --name my-app --resource-group my-rg --src-path /tmp/app.zip --type zip

List deployment slots

az webapp deployment slot list --name my-app --resource-group my-rg --query '[].{Name:name,State:state}' -o table

Swap slots

az webapp deployment slot swap --name my-app --resource-group my-rg --slot staging --target-slot production

Notes

  • Use deployment slots for zero-downtime deployments.
  • Confirm before swapping slots, stopping, or modifying configuration.
Weekly Installs
2
First Seen
12 days ago
Installed on
opencode2
gemini-cli2
claude-code2
github-copilot2
codex2
kimi-cli2