![]() ![]() ![]() The command may take a few minutes to complete. You can retrieve a list of allowable regions for your Azure account by running the az account list-locations command. You can optionally include the argument -location where is an available Azure region.If you don't provide one, then a name will be automatically generated. You can optionally specify a name with the argument -name.The -logs flag configures default logging required to enable viewing the log stream immediately after launching the webapp.For a full list of App Service plans, view the App Service pricing page. This example uses the B1 (Basic) service plan, which will incur a small cost in your Azure subscription. The -sku parameter defines the size (CPU, memory) and cost of the app service plan. ![]() To list all available runtimes, use the command az webapp list-runtimes -os linux -output table. The -runtime parameter specifies what version of Python your app is running.az webapp up -runtime PYTHON:3.9 -sku B1 -logs az loginĬreate the webapp and other resources, then deploy your code to Azure using az webapp up. If necessary, login to Azure using az login. Azure CLI commands can be run on a computer with the Azure CLI installed.Īzure CLI has a command az webapp up that will create the necessary resources and deploy your application in a single step. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
May 2023
Categories |