Complete the code to create a container app environment in Azure.
az containerapp env create --name myEnv --resource-group myResourceGroup --location [1]The --location parameter specifies the Azure region where the container app environment will be created. 'eastus' is a valid Azure region.
Complete the code to deploy a container app with a specified image.
az containerapp create --name myApp --resource-group myResourceGroup --environment myEnv --image [1]The --image parameter specifies the container image to deploy. It must be a valid container image URL, such as one from a container registry.
Fix the error in the command to scale the container app to 3 replicas.
az containerapp scale --name myApp --resource-group myResourceGroup --min-replicas [1]The --min-replicas parameter sets the minimum number of container app instances. To scale to 3 replicas, use '3'.
Fill both blanks to configure environment variables for the container app.
az containerapp update --name myApp --resource-group myResourceGroup --set configuration.[1][0].name=ENV_VAR configuration.[2][0].value=production
The environment variables are set under configuration.environmentVariables in the container app settings.
Fill all three blanks to create a container app with ingress enabled on port 80 and replicas set to 2.
az containerapp create --name myApp --resource-group myResourceGroup --environment myEnv --image myImage --ingress [1] --target-port [2] --min-replicas [3]
To enable ingress, use 'enabled'. The target port is 80 for HTTP traffic. The minimum replicas set to 2 scales the app to two instances.