Here are some helpful azure documentations for creating autoscaling rules for your WebApp using Azure CLI:
- https://learn.microsoft.com/en-us/cli/azure/monitor/autoscale/rule?view=azure-cli-latest (shows & explains how to create rules using CLI)
- https://learn.microsoft.com/en-us/cli/azure/monitor/autoscale?view=azure-cli-latest#az-monitor-autoscale-create
- [https://learn.microsoft.com/en-us/azure/spring-apps/how-to-setup-autoscale
- https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-processing-rules?tabs=azure-cli
Hope that helps. Let us know if you have further questions
best,
Grace