az webapp config appsettings

Configure web app settings.

Commands

az webapp config appsettings delete Delete web app settings.
az webapp config appsettings list Get the details of a web app's settings.
az webapp config appsettings set Set a web app's settings.

az webapp config appsettings delete

Delete web app settings.

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

Required Parameters

--setting-names

Space-separated appsettings names.

Optional Parameters

--ids

One or more resource IDs (space-delimited). If provided, no other 'Resource Id' arguments should be specified.

--name -n

Name of the webapp. 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=<name>.

--slot -s

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

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az webapp config appsettings list

Get the details of a web app's settings.

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

Required Parameters

--name -n

Name of the webapp. 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=<name>.

Optional Parameters

--slot -s

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

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az webapp config appsettings set

Set a web app's settings.

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

Examples

Set the default NodeJS version to 6.9.1 for a web app.

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

Optional Parameters

--ids

One or more resource IDs (space-delimited). If provided, no other 'Resource Id' arguments should be specified.

--name -n

Name of the webapp. 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=<name>.

--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 =.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.