CmdID

CmdID / az / az functionapp / az functionapp scale / az functionapp scale config

az functionapp scale config set

Update an existing function app's scale configuration. Azure CLI reference

3 examples Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Set the function app's instance memory configuration.

az functionapp scale config set --name MyFunctionApp --resource-group MyResourceGroup --instance-memory 2048Identify
--namename of the function app.
--resource-groupName of resource group.
--instance-memoryThe instance memory size in MB.

Set the function app's maximum instance count configuration.

az functionapp scale config set --name MyFunctionApp --resource-group MyResourceGroup --maximum-instance-count 5Identify
--namename of the function app.
--resource-groupName of resource group.
--maximum-instance-countThe maximum number of instances.

Set the function app's trigger configuration.

az functionapp scale config set --name MyFunctionApp --resource-group MyResourceGroup --trigger-type http --trigger-settings perInstanceConcurrency=1Identify
--namename of the function app.
--resource-groupName of resource group.
--trigger-typeThe type of trigger.
--trigger-settingsspace-separated settings for the trigger type in the format <name>=<value>