You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -183,7 +184,7 @@ To create a Container Apps environment and a container app as the target Java ap
183
184
184
185
1. Create a Container Apps environment by using the following command:
185
186
186
-
# [Azure CLI](#tab/azurecli)
187
+
# [Bash](#tab/bash)
187
188
188
189
```azurecli
189
190
az containerapp env create \
@@ -193,7 +194,7 @@ To create a Container Apps environment and a container app as the target Java ap
193
194
--query "properties.provisioningState"
194
195
```
195
196
196
-
# [Azure PowerShell](#tab/azurepowershell)
197
+
# [PowerShell](#tab/powershell)
197
198
198
199
```azurepowershell
199
200
az containerapp env create `
@@ -209,19 +210,19 @@ To create a Container Apps environment and a container app as the target Java ap
209
210
210
211
1. Create a container app for further configuration by using the following command:
211
212
212
-
# [Azure CLI](#tab/azurecli)
213
+
# [Bash](#tab/bash)
213
214
214
-
```bash
215
+
```azurecli
215
216
az containerapp create \
216
217
--name $CONTAINER_APP_NAME \
217
218
--environment $ENVIRONMENT_NAME \
218
219
--resource-group $RESOURCE_GROUP \
219
220
--query "properties.provisioningState"
220
221
```
221
222
222
-
# [Azure PowerShell](#tab/azurepowershell)
223
+
# [PowerShell](#tab/powershell)
223
224
224
-
```powershell
225
+
```azurepowershell
225
226
az containerapp create `
226
227
--name $CONTAINER_APP_NAME`
227
228
--environment $ENVIRONMENT_NAME`
@@ -239,19 +240,19 @@ Use the following steps to configure your init container with secrets, environme
239
240
240
241
1. Write the current configuration of the running Container App to an **app.yaml** file in the current directory, by using the following command:
241
242
242
-
# [Azure CLI](#tab/azurecli)
243
+
# [Bash](#tab/bash)
243
244
244
-
```bash
245
+
```azurecli
245
246
az containerapp show \
246
247
--resource-group $RESOURCE_GROUP \
247
248
--name $CONTAINER_APP_NAME \
248
249
--output yaml \
249
250
> app.yaml
250
251
```
251
252
252
-
# [Azure PowerShell](#tab/azurepowershell)
253
+
# [PowerShell](#tab/powershell)
253
254
254
-
```powershell
255
+
```azurepowershell
255
256
az containerapp show `
256
257
--resource-group $RESOURCE_GROUP`
257
258
--name $CONTAINER_APP_NAME`
@@ -321,7 +322,7 @@ Use the following steps to configure your init container with secrets, environme
321
322
322
323
1. Update the container app with the modified **app.yaml** file by using the following command:
323
324
324
-
# [Azure CLI](#tab/azurecli)
325
+
# [Bash](#tab/bash)
325
326
326
327
```azurecli
327
328
az containerapp update \
@@ -331,7 +332,7 @@ Use the following steps to configure your init container with secrets, environme
331
332
--query "properties.provisioningState"
332
333
```
333
334
334
-
# [Azure PowerShell](#tab/azurepowershell)
335
+
# [PowerShell](#tab/powershell)
335
336
336
337
```azurepowershell
337
338
az containerapp update `
@@ -349,14 +350,14 @@ Use the following steps to configure your init container with secrets, environme
349
350
350
351
The resources you created in this tutorial contribute to your Azure bill. If you don't need them long term, use the following command to remove the resource group and its resources:
0 commit comments