az webapp config appsettings

Configure web app settings.

Commands

az webapp config appsettings delete
az webapp config appsettings list
az webapp config appsettings set Create or update web app settings.

az webapp config appsettings delete

az webapp config appsettings delete --name
--resource-group
--setting-names
[--slot]

Required Parameters

--name -n

Name of the web. You can configure the default using 'az configure --defaults web='.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

--setting-names

Space separated appsettings names.

Optional Parameters

--slot -s

The name of the slot. Default to the productions slot if not specified.

az webapp config appsettings list

az webapp config appsettings list --name
--resource-group
[--slot]

Required Parameters

--name -n

Name of the web. You can configure the default using 'az configure --defaults web='.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

Optional Parameters

--slot -s

The name of the slot. Default to the productions slot if not specified.

az webapp config appsettings set

Create or update web app settings.

az webapp config appsettings set --name
--resource-group
[--settings]
[--slot]
[--slot-settings]

Examples

Set the default node version for a specified web app.

az webapp config appsettings set -g MyResourceGroup -n MyUniqueApp --settings WEBSITE_NODE_DEFAULT_VERSION=6.9.1

Required Parameters

--name -n

Name of the web. You can configure the default using 'az configure --defaults web='.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

Optional Parameters

--settings

Space separated appsettings in a format of =.

--slot -s

The name of the slot. Default to the productions slot if not specified.

--slot-settings

Space separated slot appsettings in a format of =.