Complete the code to create a new Azure Function App using Azure CLI.
az functionapp create --resource-group myResourceGroup --consumption-plan-location westus --runtime python --name [1] --storage-account mystorageaccountThe --name parameter specifies the name of the Function App to create. Here, myFunctionApp is the correct name.
Complete the code to specify the runtime stack for the Function App.
az functionapp create --resource-group myResourceGroup --consumption-plan-location westus --runtime [1] --name myFunctionApp --storage-account mystorageaccountThe --runtime option sets the runtime stack. Here, python is used to create a Python Function App.
Fix the error in the command to create a Function App with a consumption plan location.
az functionapp create --resource-group myResourceGroup --consumption-plan-location [1] --runtime python --name myFunctionApp --storage-account mystorageaccountThe --consumption-plan-location requires a valid Azure region like eastus2. Other options are incorrect because they are resource names, not locations.
Fill both blanks to create a Function App with a specified runtime and storage account.
az functionapp create --resource-group myResourceGroup --consumption-plan-location westus --runtime [1] --name myFunctionApp --storage-account [2]
The --runtime should be set to python for a Python Function App, and --storage-account should be the name of the storage account, here mystorageaccount.
Fill all three blanks to create a Function App with a resource group, runtime, and storage account.
az functionapp create --resource-group [1] --consumption-plan-location eastus --runtime [2] --name myFunctionApp --storage-account [3]
The --resource-group is myResourceGroup, --runtime is python, and --storage-account is mystorageaccount. These are required to create the Function App correctly.