az functionapp config appsettings

Configure function app settings.

Commands

az functionapp config appsettings delete

Delete a function app's settings.

az functionapp config appsettings list

Show settings for a function app.

az functionapp config appsettings set

Update a function app's settings.

az functionapp config appsettings delete

Delete a function app's settings.

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

Examples

Delete a function app's settings. (autogenerated)

az functionapp config appsettings delete --name MyFunctionApp --resource-group MyResourceGroup --setting-names {setting-names}

Required Parameters

--setting-names

Space-separated app setting names.

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name -n

Name of the function app.

--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 functionapp config appsettings list

Show settings for a function app.

az functionapp config appsettings list --name
                                       --resource-group
                                       [--query-examples]
                                       [--slot]
                                       [--subscription]

Examples

Show settings for a function app. (autogenerated)

az functionapp config appsettings list --name MyWebapp --resource-group MyResourceGroup

Required Parameters

--name -n

Name of the function app.

--resource-group -g

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

Optional Parameters

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--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 functionapp config appsettings set

Update a function app's settings.

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

Examples

Update a function app's settings.

az functionapp config appsettings set --name MyFunctionApp --resource-group MyResourceGroup --settings "AzureWebJobsStorage=$storageConnectionString"

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--name -n

Name of the function app.

--resource-group -g

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

--settings

Space-separated app settings in a format of <name>=<value>.

--slot -s

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

--slot-settings

Space-separated slot app settings in a format of <name>=<value>.

--subscription

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