Where is documentation for Creating AutoScaler Rules with Powershell for Azure App Service Web apps?

Siegfried Heintze 1,306 Reputation points
2023-01-11T18:58:05.62+00:00

Here is the powershell documentation for creating VM scale sets and rules for the autoscaler:

[https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/tutorial-autoscale-powershell#create-a-scale-set

Where is the powershell counterpart of this documentation for Azure App Service Web Apps that would allow me use powershell to create rules for scalling up and down my web apps?

I found the references for doing this in the portal but I cannot find the powershell documentation.

I would also like the link for the Azure CLI documentation on WebApp autoscaling rules.

Thanks

Siegfried

Azure Web Apps
Azure Web Apps
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,320 questions
No comments
{count} votes

Accepted answer
  1. Grmacjon-MSFT 8,756 Reputation points Microsoft Employee
    2023-01-12T04:18:07.25+00:00

    Hi Siegfried Heintze,

    Here are some helpful azure documentations for creating autoscaling rules for your WebApp using Azure CLI:

    Hope that helps. Let us know if you have further questions

    best,

    Grace


1 additional answer

Sort by: Most helpful
  1. lukemurraynz 2,926 Reputation points Microsoft MVP
    2023-01-11T19:08:25.3566667+00:00

    I believe its:

    Set-AzAppServicePlan -Name $appServicePlanName -ResourceGroupName $resourceGroupName -Tier "Standard"  -NumberofWorkers 1 -WorkerSize "Small"
    

    https://learn.microsoft.com/azure/app-service/scripts/powershell-scale-manual