az webapp config

Configure a web app.

Commands

az webapp config appsettings Configure web app settings.
az webapp config appsettings delete
az webapp config appsettings list
az webapp config appsettings set Create or update web app settings.
az webapp config backup
az webapp config backup create Create a backup of a web app.
az webapp config backup list List all backups of a web app.
az webapp config backup restore Restore a web app from a backup.
az webapp config backup show Show the backup schedule of a web app.
az webapp config backup update Configure a new backup schedule.
az webapp config connection-string Configure web app connection strings.
az webapp config connection-string delete Delete connection strings.
az webapp config connection-string list
az webapp config connection-string set Create or update connection strings.
az webapp config container Configure container specific settings.
az webapp config container delete Delete container settings.
az webapp config container set Create or update container settings.
az webapp config container show Show container settings.
az webapp config hostname Configure hostnames.
az webapp config hostname add Bind a hostname (custom domain) to a web app.
az webapp config hostname delete Unbind a hostname (custom domain) from a web app.
az webapp config hostname get-external-ip Get the ip address to configure your DNS settings for A records.
az webapp config hostname list List all hostname bindings.
az webapp config set Create or update web app configurations.
az webapp config show Show web app configurations.
az webapp config ssl Configure SSL certificates.
az webapp config ssl bind Bind an SSL certificate to a web app.
az webapp config ssl delete Delete an SSL certificate from a web app.
az webapp config ssl list List SSL certificates within a resource group.
az webapp config ssl unbind Unbind an SSL certificate from a web app.
az webapp config ssl upload Upload an SSL certificate to a web app.

az webapp config set

Create or update web app configurations.

az webapp config set --name
--resource-group
[--always-on {false, true}]
[--auto-heal-enabled {false, true}]
[--java-container]
[--java-container-version]
[--java-version]
[--linux-fx-version]
[--net-framework-version]
[--php-version]
[--python-version]
[--remote-debugging-enabled {false, true}]
[--slot]
[--startup-file]
[--use-32bit-worker-process {false, true}]
[--web-sockets-enabled {false, true}]

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

--always-on

Ensure webapp gets loaded all the time, rather unloaded after been idle. Recommended when you have continuous web jobs running.

accepted values: false, true
--auto-heal-enabled

Enable or disable auto heal.

accepted values: false, true
--java-container

The java container, e.g., Tomcat, Jetty.

--java-container-version

The version of the java container, e.g., '8.0.23' for Tomcat.

--java-version

The version used to run your web app if using Java, e.g., '1.7' for Java 7, '1.8' for Java 8.

--linux-fx-version

The runtime stack used for your linux-based webapp, e.g., "RUBY|2.3", "NODE|6.6", "PHP|5.6", "DOTNETCORE|1.1.0". See https://aka.ms/linux-stacks for more info.

--net-framework-version

The version used to run your web app if using .NET Framework, e.g., 'v4.0' for .NET 4.6 and 'v3.0' for .NET 3.5.

--php-version

The version used to run your web app if using PHP, e.g., 5.5, 5.6, 7.0.

--python-version

The version used to run your web app if using Python, e.g., 2.7, 3.4.

--remote-debugging-enabled

Enable or disable remote debugging.

accepted values: false, true
--slot -s

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

--startup-file

The startup file for linux hosted web apps, e.g. 'process.json' for Node.js web.

--use-32bit-worker-process

Use 32 bits worker process or not.

accepted values: false, true
--web-sockets-enabled

Enable or disable web sockets.

accepted values: false, true

az webapp config show

Show web app configurations.

az webapp config show --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.