Azure App Service Operations TaskSet

Icon 1 7 Troubleshooting Commands

Icon 2 Contributed by stewartshea

Icon 2 Codecollection: rw-cli-codecollection


Operational tasks for an Azure App Services, such as restarting, scaling or re-deploying.

Tasks:
  • Restart App Service `APP_SERVICE_NAME` in Resource Group `AZ_RESOURCE_GROUP`
  • Swap Deployment Slots for App Service `APP_SERVICE_NAME` in Resource Group `AZ_RESOURCE_GROUP`
  • Scale Up App Service `APP_SERVICE_NAME` in Resource Group `AZ_RESOURCE_GROUP`
  • Scale Down App Service `APP_SERVICE_NAME` in Resource Group `AZ_RESOURCE_GROUP`
  • Scale Out Instances for App Service `APP_SERVICE_NAME` in Resource Group `AZ_RESOURCE_GROUP` by SCALE_OUT_FACTORx
  • Scale In Instances for App Service `APP_SERVICE_NAME` in Resource Group `AZ_RESOURCE_GROUP` to 1/SCALE_IN_FACTOR
  • Redeploy App Service `APP_SERVICE_NAME` from Latest Source in Resource Group `AZ_RESOURCE_GROUP`