@@ -36,7 +36,7 @@ To sign in to Azure from the CLI, run the following command and follow the promp
36
36
37
37
# [ Bash] ( #tab/bash )
38
38
39
- ``` azurecli
39
+ ``` bash
40
40
az login
41
41
```
42
42
@@ -52,7 +52,7 @@ To ensure you're running the latest version of the CLI, run the upgrade command.
52
52
53
53
# [ Bash] ( #tab/bash )
54
54
55
- ``` azurecli
55
+ ``` bash
56
56
az upgrade
57
57
```
58
58
@@ -69,7 +69,7 @@ Next, install or update the Azure Container Apps extension for the CLI.
69
69
70
70
# [ Bash] ( #tab/bash )
71
71
72
- ``` azurecli
72
+ ``` bash
73
73
az extension add --name containerapp --upgrade --allow-preview true
74
74
```
75
75
@@ -85,7 +85,7 @@ Now that the current extension is installed, register the `Microsoft.App` and `M
85
85
86
86
# [ Bash] ( #tab/bash )
87
87
88
- ``` azurecli
88
+ ``` bash
89
89
az provider register --namespace Microsoft.App
90
90
az provider register --namespace Microsoft.OperationalInsights
91
91
```
@@ -107,7 +107,7 @@ Now that your CLI setup is complete, you can define the environment variables th
107
107
108
108
Define the following variables in your bash shell.
109
109
110
- ``` azurecli
110
+ ``` bash
111
111
export RESOURCE_GROUP=" album-containerapps"
112
112
export LOCATION=" canadacentral"
113
113
export ENVIRONMENT=" env-album-containerapps"
@@ -174,7 +174,7 @@ First, run the following command to create the resource group that will contain
174
174
175
175
# [ Bash] ( #tab/bash )
176
176
177
- ``` azurecli
177
+ ``` bash
178
178
az group create --name $RESOURCE_GROUP --location $LOCATION
179
179
```
180
180
@@ -200,7 +200,7 @@ In the following code example, the `.` (dot) tells `containerapp up` to run in t
200
200
201
201
# [ Bash] ( #tab/bash )
202
202
203
- ``` azurecli
203
+ ``` bash
204
204
az containerapp up \
205
205
--name $API_NAME \
206
206
--resource-group $RESOURCE_GROUP \
@@ -228,7 +228,7 @@ To open the web API service in a web browser, run the following command.
228
228
229
229
# [ Bash] ( #tab/bash )
230
230
231
- ``` azurecli
231
+ ``` bash
232
232
az containerapp browse --name $API_NAME --resource-group $RESOURCE_GROUP
233
233
```
234
234
@@ -257,7 +257,7 @@ If you're not going to continue on to the [Deploy a frontend](communicate-betwee
257
257
258
258
# [ Bash] ( #tab/bash )
259
259
260
- ``` azurecli
260
+ ``` bash
261
261
az group delete --name $RESOURCE_GROUP
262
262
```
263
263
0 commit comments