Every time the update command runs, deletes the last Scale Rule, Custom type, a cron job and a memory utilization percentage set
The update command executes and it overlays the previous update, since the Azure Container App is already created. I want to update it after creation, with two or more scale rules (using just one script). How can I add that scale rules (two Custom types, one for Cron job and another one for memory utilization)?
How can I add them to the previously created Azure Container App, exists another kind of solution to add scale rules without using the update command (Azure CLI or Az Modules, other solutions)?
Or, if adding more than one scale rule after the Azure Container App, is creating it simply not possible?
For example, if I run this command again to add another scale rule it will overlay the previous one. How to fix this, if possible?
az containerapp update -n $name -g $rg --scale-rule-name $ruleName --scale-rule-type $customRuleType --scale-rule-metadata start=$start end=$end timezone=$timezone desiredReplicas=$desiredReplicas


