HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

az webapp — Manage Web Applications hosted in Azure Cloud Services. Part of `azure-cli` (also known as `az`). Mo

Submitted by: @import:tldr-pages··
0
Viewed 0 times
hostedaz webappcommandazureapplicationsclimanageweb

Problem

How to use the az webapp command: Manage Web Applications hosted in Azure Cloud Services. Part of azure-cli (also known as az). More information: <https://learn.microsoft.com/cli/azure/webapp>.

Solution

az webapp — Manage Web Applications hosted in Azure Cloud Services. Part of azure-cli (also known as az). More information: <https://learn.microsoft.com/cli/azure/webapp>.

List available runtimes for a web application:
az webapp list-runtimes {{[-os|--os-type]}} {{windows|linux}}


Create a web application:
az webapp up {{[-n|--name]}} {{name}} {{[-l|--location]}} {{location}} {{[-r|--runtime]}} {{runtime}}


List all web applications:
az webapp list


Delete a specific web application:
az webapp delete {{[-n|--name]}} {{name}} {{[-g|--resource-group]}} {{resource_group}}

Code Snippets

List available runtimes for a web application

az webapp list-runtimes {{[-os|--os-type]}} {{windows|linux}}

Create a web application

az webapp up {{[-n|--name]}} {{name}} {{[-l|--location]}} {{location}} {{[-r|--runtime]}} {{runtime}}

List all web applications

az webapp list

Delete a specific web application

az webapp delete {{[-n|--name]}} {{name}} {{[-g|--resource-group]}} {{resource_group}}

Context

tldr-pages: common/az webapp

Revisions (0)

No revisions yet.