Skip to content

Commit 46fd61b

Browse files
committed
Minor fixes.
1 parent 4c32215 commit 46fd61b

File tree

3 files changed

+31
-17
lines changed

3 files changed

+31
-17
lines changed

articles/container-apps/get-started-existing-container-image.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ The example shown in this article demonstrates how to use a custom container ima
5151

5252
::: zone pivot="container-apps-private-registry"
5353

54-
# [Azure CLI](#tab/azure-cli)
54+
# [Bash](#tab/bash)
5555

5656
For details on how to provide values for any of these parameters to the `create` command, run `az containerapp create --help` or [visit the online reference](/cli/azure/containerapp#az-containerapp-create). To generate credentials for an Azure Container Registry, use [az acr credential show](/cli/azure/acr/credential#az-acr-credential-show).
5757

@@ -120,7 +120,7 @@ New-AzContainerApp @ContainerAppArgs
120120

121121
::: zone pivot="container-apps-public-registry"
122122

123-
# [Azure CLI](#tab/azure-cli)
123+
# [Bash](#tab/bash)
124124

125125
```azurecli-interactive
126126
az containerapp create \
@@ -166,7 +166,7 @@ To verify a successful deployment, you can query the Log Analytics workspace. Yo
166166

167167
Use the following commands to view console log messages.
168168

169-
# [Azure CLI](#tab/azure-cli)
169+
# [Bash](#tab/bash)
170170

171171
```azurecli-interactive
172172
LOG_ANALYTICS_WORKSPACE_CLIENT_ID=`az containerapp env show --name $CONTAINERAPPS_ENVIRONMENT --resource-group $RESOURCE_GROUP --query properties.appLogsConfiguration.logAnalyticsConfiguration.customerId --out tsv`
@@ -193,7 +193,7 @@ If you're not going to continue to use this application, run the following comma
193193
>[!CAUTION]
194194
> The following command deletes the specified resource group and all resources contained within it. If resources outside the scope of this quickstart exist in the specified resource group, they will also be deleted.
195195
196-
# [Azure CLI](#tab/azure-cli)
196+
# [Bash](#tab/bash)
197197

198198
```azurecli-interactive
199199
az group delete --name $RESOURCE_GROUP

articles/container-apps/get-started.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,26 @@ In this quickstart, you create and deploy your first container app using the `az
2525

2626
[!INCLUDE [container-apps-create-cli-steps.md](../../includes/container-apps-create-cli-steps.md)]
2727

28-
## Create a resource group
28+
## Create an Azure resource group
29+
30+
Create a resource group to organize the services related to your container app deployment.
31+
32+
# [Bash](#tab/bash)
33+
34+
```azurecli
35+
az group create \
36+
--name my-container-apps \
37+
--location centralus
38+
```
39+
40+
# [Azure PowerShell](#tab/azure-powershell)
2941

3042
```azurepowershell
31-
az group create --location centralus --resource-group my-container-apps
43+
New-AzResourceGroup -Location centralus -Name my-container-apps
3244
```
3345

46+
---
47+
3448
## Create and deploy the container app
3549

3650
Create and deploy your first container app with the `containerapp up` command. This command will:

articles/container-apps/microservices-dapr.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The following architecture diagram illustrates the components that make up this
5050

5151
With the environment deployed, the next step is to deploy an Azure Blob Storage account that is used by one of the microservices to store data. Before deploying the service, you need to choose a name for the storage account. Storage account names must be _unique within Azure_, from 3 to 24 characters in length and must contain numbers and lowercase letters only.
5252

53-
# [Azure CLI](#tab/azure-cli)
53+
# [Bash](#tab/bash)
5454

5555
```azurecli-interactive
5656
STORAGE_ACCOUNT_NAME="<storage account name>"
@@ -66,7 +66,7 @@ $StorageAcctName = '<storage account name>'
6666

6767
Use the following command to create the Azure Storage account.
6868

69-
# [Azure CLI](#tab/azure-cli)
69+
# [Bash](#tab/bash)
7070

7171
```azurecli-interactive
7272
az storage account create \
@@ -100,7 +100,7 @@ While Container Apps supports both user-assigned and system-assigned managed ide
100100

101101
1. Create a user-assigned identity.
102102

103-
# [Azure CLI](#tab/azure-cli)
103+
# [Bash](#tab/bash)
104104

105105
```azurecli-interactive
106106
az identity create --resource-group $RESOURCE_GROUP --name "nodeAppIdentity" --output json
@@ -119,7 +119,7 @@ New-AzUserAssignedIdentity -ResourceGroupName $ResourceGroupName -Name 'nodeAppI
119119

120120
Retrieve the `principalId` and `id` properties and store in variables.
121121

122-
# [Azure CLI](#tab/azure-cli)
122+
# [Bash](#tab/bash)
123123

124124
```azurecli-interactive
125125
PRINCIPAL_ID=$(az identity show -n "nodeAppIdentity" --resource-group $RESOURCE_GROUP --query principalId | tr -d \")
@@ -141,7 +141,7 @@ $ClientId = (Get-AzUserAssignedIdentity -ResourceGroupName $ResourceGroupName -N
141141

142142
Retrieve the subscription ID for your current subscription.
143143

144-
# [Azure CLI](#tab/azure-cli)
144+
# [Bash](#tab/bash)
145145

146146
```azurecli-interactive
147147
SUBSCRIPTION_ID=$(az account show --query id --output tsv)
@@ -155,7 +155,7 @@ $SubscriptionId=$(Get-AzContext).Subscription.id
155155

156156
---
157157

158-
# [Azure CLI](#tab/azure-cli)
158+
# [Bash](#tab/bash)
159159

160160
```azurecli-interactive
161161
az role assignment create --assignee $PRINCIPAL_ID \
@@ -198,7 +198,7 @@ To use this file, update the placeholders:
198198
199199
- Replace `<STORAGE_ACCOUNT_NAME>` with the value of the `STORAGE_ACCOUNT_NAME` variable you defined. To obtain its value, run the following command:
200200

201-
# [Azure CLI](#tab/azure-cli)
201+
# [Bash](#tab/bash)
202202

203203
```azurecli-interactive
204204
echo $STORAGE_ACCOUNT_NAME
@@ -245,7 +245,7 @@ New-AzContainerAppManagedEnvDapr @DaprArgs
245245

246246
## Deploy the service application (HTTP web server)
247247

248-
# [Azure CLI](#tab/azure-cli)
248+
# [Bash](#tab/bash)
249249

250250
```azurecli-interactive
251251
az containerapp create \
@@ -303,7 +303,7 @@ By default, the image is pulled from [Docker Hub](https://hub.docker.com/r/dapri
303303

304304
Run the following command to deploy the client container app.
305305

306-
# [Azure CLI](#tab/azure-cli)
306+
# [Bash](#tab/bash)
307307

308308
```azurecli-interactive
309309
az containerapp create \
@@ -371,7 +371,7 @@ Logs from container apps are stored in the `ContainerAppConsoleLogs_CL` custom t
371371

372372
Use the following CLI command to view logs using the command line.
373373

374-
# [Azure CLI](#tab/azure-cli)
374+
# [Bash](#tab/bash)
375375

376376
```azurecli-interactive
377377
LOG_ANALYTICS_WORKSPACE_CLIENT_ID=`az containerapp env show --name $CONTAINERAPPS_ENVIRONMENT --resource-group $RESOURCE_GROUP --query properties.appLogsConfiguration.logAnalyticsConfiguration.customerId --out tsv`
@@ -412,7 +412,7 @@ Congratulations! You've completed this tutorial. If you'd like to delete the res
412412
> [!CAUTION]
413413
> This command deletes the specified resource group and all resources contained within it. If resources outside the scope of this tutorial exist in the specified resource group, they will also be deleted.
414414
415-
# [Azure CLI](#tab/azure-cli)
415+
# [Bash](#tab/bash)
416416

417417
```azurecli-interactive
418418
az group delete --resource-group $RESOURCE_GROUP

0 commit comments

Comments
 (0)