Skip to content

Commit c1e8a56

Browse files
authored
Merge pull request #178825 from cebundy/powershell-changes
Merge pull request #178780 from isamorris/patch-5
2 parents be59841 + 364cbb7 commit c1e8a56

File tree

7 files changed

+30
-30
lines changed

7 files changed

+30
-30
lines changed

articles/container-apps/background-processing.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ az login
8383

8484
# [PowerShell](#tab/powershell)
8585

86-
```powershell
86+
```azurecli
8787
az login
8888
```
8989

@@ -99,7 +99,7 @@ az upgrade
9999

100100
# [PowerShell](#tab/powershell)
101101

102-
```powershell
102+
```azurecli
103103
az upgrade
104104
```
105105

@@ -116,7 +116,7 @@ az extension add \
116116

117117
# [PowerShell](#tab/powershell)
118118

119-
```powershell
119+
```azurecli
120120
az extension add `
121121
--source https://workerappscliextension.blob.core.windows.net/azure-cli-extension/containerapp-0.2.0-py2.py3-none-any.whl
122122
```
@@ -133,7 +133,7 @@ az provider register --namespace Microsoft.Web
133133

134134
# [PowerShell](#tab/powershell)
135135

136-
```powershell
136+
```azurecli
137137
az provider register --namespace Microsoft.Web
138138
```
139139

@@ -151,7 +151,7 @@ az group create \
151151

152152
# [PowerShell](#tab/powershell)
153153

154-
```powershell
154+
```azurecli
155155
az group create `
156156
--name $RESOURCE_GROUP `
157157
--location $LOCATION
@@ -179,7 +179,7 @@ az monitor log-analytics workspace create \
179179

180180
# [PowerShell](#tab/powershell)
181181

182-
```powershell
182+
```azurecli
183183
az monitor log-analytics workspace create `
184184
--resource-group $RESOURCE_GROUP `
185185
--workspace-name $LOG_ANALYTICS_WORKSPACE
@@ -226,7 +226,7 @@ az containerapp env create \
226226

227227
# [PowerShell](#tab/powershell)
228228

229-
```powershell
229+
```azurecli
230230
az containerapp env create `
231231
--name $CONTAINERAPPS_ENVIRONMENT `
232232
--resource-group $RESOURCE_GROUP `
@@ -254,7 +254,7 @@ az storage account create \
254254

255255
# [PowerShell](#tab/powershell)
256256

257-
```powershell
257+
```azurecli
258258
az storage account create `
259259
--name $STORAGE_ACCOUNT `
260260
--resource-group $RESOURCE_GROUP `
@@ -294,7 +294,7 @@ az storage queue create \
294294

295295
# [PowerShell](#tab/powershell)
296296

297-
```powershell
297+
```azurecli
298298
az storage queue create `
299299
--name "myqueue" `
300300
--account-name $STORAGE_ACCOUNT `
@@ -316,7 +316,7 @@ az storage message put \
316316

317317
# [PowerShell](#tab/powershell)
318318

319-
```powershell
319+
```azurecli
320320
az storage message put `
321321
--content "Hello Queue Reader App" `
322322
--queue-name "myqueue" `
@@ -423,7 +423,7 @@ az deployment group create --resource-group "$RESOURCE_GROUP" \
423423

424424
# [PowerShell](#tab/powershell)
425425

426-
```powershell
426+
```azurecli
427427
az deployment group create --resource-group "$RESOURCE_GROUP" `
428428
--template-file ./queue.json `
429429
--parameters `
@@ -480,7 +480,7 @@ az group delete \
480480

481481
# [PowerShell](#tab/powershell)
482482

483-
```powershell
483+
```azurecli
484484
az group delete `
485485
--resource-group $RESOURCE_GROUP
486486
```

articles/container-apps/get-started.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ az login
3232

3333
# [PowerShell](#tab/powershell)
3434

35-
```powershell
35+
```azurecli
3636
az login
3737
```
3838

@@ -49,7 +49,7 @@ az extension add \
4949

5050
# [PowerShell](#tab/powershell)
5151

52-
```powershell
52+
```azurecli
5353
az extension add `
5454
--source https://workerappscliextension.blob.core.windows.net/azure-cli-extension/containerapp-0.2.0-py2.py3-none-any.whl
5555
```
@@ -66,7 +66,7 @@ az provider register --namespace Microsoft.Web
6666

6767
# [PowerShell](#tab/powershell)
6868

69-
```powershell
69+
```azurecli
7070
az provider register --namespace Microsoft.Web
7171
```
7272

@@ -106,7 +106,7 @@ az group create \
106106

107107
# [PowerShell](#tab/powershell)
108108

109-
```powershell
109+
```azurecli
110110
az group create `
111111
--name $RESOURCE_GROUP `
112112
--location "$LOCATION"
@@ -134,7 +134,7 @@ az monitor log-analytics workspace create \
134134

135135
# [PowerShell](#tab/powershell)
136136

137-
```powershell
137+
```azurecli
138138
az monitor log-analytics workspace create `
139139
--resource-group $RESOURCE_GROUP `
140140
--workspace-name $LOG_ANALYTICS_WORKSPACE
@@ -185,7 +185,7 @@ az containerapp env create \
185185

186186
# [PowerShell](#tab/powershell)
187187

188-
```powershell
188+
```azurecli
189189
az containerapp env create `
190190
--name $CONTAINERAPPS_ENVIRONMENT `
191191
--resource-group $RESOURCE_GROUP `
@@ -215,7 +215,7 @@ az containerapp create \
215215

216216
# [PowerShell](#tab/powershell)
217217

218-
```powershell
218+
```azurecli
219219
az containerapp create `
220220
--name my-container-app `
221221
--resource-group $RESOURCE_GROUP `
@@ -247,7 +247,7 @@ az group delete \
247247

248248
# [PowerShell](#tab/powershell)
249249

250-
```powershell
250+
```azurecli
251251
az group delete `
252252
--name $RESOURCE_GROUP
253253
```

articles/container-apps/microservices-dapr-azure-resource-manager.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ az provider register --namespace Microsoft.Web
140140

141141
# [PowerShell](#tab/powershell)
142142

143-
```powershell
143+
```azurecli
144144
az provider register --namespace Microsoft.Web
145145
```
146146

articles/container-apps/microservices-dapr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ az provider register --namespace Microsoft.Web
140140

141141
# [PowerShell](#tab/powershell)
142142

143-
```powershell
143+
```azurecli
144144
az provider register --namespace Microsoft.Web
145145
```
146146

articles/container-apps/monitor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ az monitor log-analytics query \
7979

8080
# [PowerShell](#tab/powershell)
8181

82-
```powershell
82+
```azurecli
8383
az monitor log-analytics query `
8484
--workspace $LOG_ANALYTICS_WORKSPACE_CLIENT_ID `
8585
--analytics-query "ContainerAppConsoleLogs_CL | where ContainerAppName_s == 'my-container-app' | project ContainerAppName_s, Log_s, TimeGenerated | take 3" `

articles/container-apps/revisions-manage.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ az containerapp revision list \
2929

3030
# [PowerShell](#tab/powershell)
3131

32-
```powershell
32+
```azurecli
3333
az containerapp revision list `
3434
--name <APPLICATION_NAME> `
3535
--resource-group <RESOURCE_GROUP_NAME> `
@@ -55,7 +55,7 @@ az containerapp revision show \
5555

5656
# [PowerShell](#tab/powershell)
5757

58-
```powershell
58+
```azurecli
5959
az containerapp revision show `
6060
--name <REVISION_NAME> `
6161
--app <CONTAINER_APP_NAME> `
@@ -81,7 +81,7 @@ az containerapp update \
8181

8282
# [PowerShell](#tab/powershell)
8383

84-
```powershell
84+
```azurecli
8585
az containerapp update `
8686
--name <APPLICATION_NAME> `
8787
--resource-group <RESOURCE_GROUP_NAME> `
@@ -133,7 +133,7 @@ az containerapp revision deactivate \
133133

134134
# [PowerShell](#tab/powershell)
135135

136-
```powershell
136+
```azurecli
137137
az containerapp revision deactivate `
138138
--name <REVISION_NAME> `
139139
--app <CONTAINER_APP_NAME> `
@@ -159,7 +159,7 @@ az containerapp revision restart \
159159

160160
# [PowerShell](#tab/powershell)
161161

162-
```powershell
162+
```azurecli
163163
az containerapp revision restart `
164164
--name <REVISION_NAME> `
165165
--app <APPLICATION_NAME> `

articles/container-apps/secure-app.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Secrets are defined using the `--secrets` parameter.
7878
- The parameter accepts a comma-delimited set of name/value pairs.
7979
- Each pair is delimited by an equals sign (`=`).
8080

81-
```powershell
81+
```azurecli
8282
az containerapp create `
8383
--resource-group "my-resource-group" `
8484
--name queuereader `
@@ -129,7 +129,7 @@ Here, the environment variable named `connection-string` gets its value from the
129129

130130
In this example, you create an application with a secret that's referenced in an environment variable using the Azure CLI.
131131

132-
```powershell
132+
```azurecli
133133
az containerapp create `
134134
--resource-group "my-resource-group" `
135135
--name myQueueApp `

0 commit comments

Comments
 (0)