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

Siegfried Heintze 1,906 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 App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,197 questions
0 comments No comments
{count} votes

Accepted answer
  1. Grmacjon-MSFT 18,806 Reputation points
    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 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Luke Murray 11,246 Reputation points 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

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.