Skip to content

Commit 8949d4c

Browse files
docs(azure): add prose before consecutive az command blocks
Follow-up to the previous commit: adds explanatory sentences before code blocks that appeared consecutively within a section (e.g. show followed immediately by list, or delete followed by list to confirm). All 39 remaining bare code blocks across 19 articles now have prose.
1 parent d6554dd commit 8949d4c

19 files changed

Lines changed: 141 additions & 0 deletions

src/content/docs/azure/services/action-group.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ az monitor action-group show \
110110
}
111111
```
112112
113+
114+
Then list all action groups in the resource group to confirm it appears:
115+
113116
```bash
114117
az monitor action-group list \
115118
--resource-group rg-monit-demo
@@ -170,6 +173,9 @@ az monitor action-group delete \
170173
--resource-group rg-monit-demo
171174
```
172175
176+
177+
Then list all action groups to confirm the resource group is now empty:
178+
173179
```bash
174180
az monitor action-group list --resource-group rg-monit-demo
175181
```

src/content/docs/azure/services/api-management.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ az apim show --name my-apim --resource-group rg-apim-demo
105105
}
106106
```
107107
108+
109+
Then list all API Management services in the resource group:
110+
108111
```bash
109112
az apim list --resource-group rg-apim-demo
110113
```

src/content/docs/azure/services/application-insights.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,12 @@ az monitor app-insights component show \
105105
}
106106
```
107107
108+
109+
Then list all Application Insights components in the resource group:
110+
111+
112+
Then list all components to confirm the resource group is now empty:
113+
108114
```bash
109115
az monitor app-insights component list \
110116
--resource-group rg-insights-demo
@@ -166,6 +172,12 @@ az monitor app-insights component delete \
166172
--yes
167173
```
168174
175+
176+
Then list all Application Insights components in the resource group:
177+
178+
179+
Then list all components to confirm the resource group is now empty:
180+
169181
```bash
170182
az monitor app-insights component list \
171183
--resource-group rg-insights-demo

src/content/docs/azure/services/autoscale-setting.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,9 @@ az monitor autoscale show \
176176
}
177177
```
178178
179+
180+
Then list all autoscale settings in the resource group:
181+
179182
```bash
180183
az monitor autoscale list \
181184
--resource-group rg-autoscale-demo
@@ -202,6 +205,9 @@ az monitor autoscale delete \
202205
--resource-group rg-autoscale-demo
203206
```
204207
208+
209+
Then list all autoscale settings to confirm the resource group is now empty:
210+
205211
```bash
206212
az monitor autoscale list --resource-group rg-autoscale-demo
207213
```

src/content/docs/azure/services/bastion-host.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ az group create \
5858
}
5959
```
6060

61+
62+
Create a virtual network with a /16 address space to host the bastion subnet:
63+
6164
```bash
6265
az network vnet create \
6366
--name vnet-bastion-demo \
@@ -82,6 +85,9 @@ az network vnet create \
8285
}
8386
```
8487
88+
89+
Create the `AzureBastionSubnet` subnet, which is required by Azure Bastion:
90+
8591
```bash
8692
az network vnet subnet create \
8793
--name AzureBastionSubnet \
@@ -213,6 +219,9 @@ az network bastion show \
213219
}
214220
```
215221
222+
223+
Then list all Bastion instances in the resource group:
224+
216225
```bash
217226
az network bastion list \
218227
--resource-group rg-bastion-demo

src/content/docs/azure/services/cosmos-db.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,9 @@ az cosmosdb sql database list \
166166
]
167167
```
168168
169+
170+
Then list all containers in the database:
171+
169172
```bash
170173
az cosmosdb sql container list \
171174
--account-name mycosmosaccount \

src/content/docs/azure/services/data-collection-rules.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,9 @@ Save the following JSON to `my-dcr.json`:
116116
}
117117
```
118118
119+
120+
Create the data collection rule from the configuration file:
121+
119122
```bash
120123
az monitor data-collection rule create \
121124
--name my-dcr \
@@ -152,6 +155,9 @@ az monitor data-collection rule create \
152155
153156
List all data collection rules in the resource group:
154157
158+
159+
Then list all data collection rules to confirm the resource group is now empty:
160+
155161
```bash
156162
az monitor data-collection rule list --resource-group rg-dcr-demo
157163
```
@@ -204,6 +210,9 @@ az monitor data-collection rule delete \
204210
--resource-group rg-dcr-demo
205211
```
206212
213+
214+
Then list all data collection rules to confirm the resource group is now empty:
215+
207216
```bash
208217
az monitor data-collection rule list --resource-group rg-dcr-demo
209218
```

src/content/docs/azure/services/diagnostic-setting.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ az monitor diagnostic-settings create \
110110
111111
List all diagnostic settings attached to the target resource:
112112
113+
114+
Then list all diagnostic settings to confirm the setting was removed:
115+
113116
```bash
114117
az monitor diagnostic-settings list --resource "$RESOURCE_ID"
115118
```
@@ -185,6 +188,9 @@ az monitor diagnostic-settings delete \
185188
--resource "$RESOURCE_ID"
186189
```
187190
191+
192+
Then list all diagnostic settings to confirm the setting was removed:
193+
188194
```bash
189195
az monitor diagnostic-settings list --resource "$RESOURCE_ID"
190196
```

src/content/docs/azure/services/functions-app.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,9 @@ Name Location State ResourceGroup DefaultHostName
184184
my-func-app East US Running rg-func-demo my-func-app.azurewebsites.azure.localhost.localstack.cloud:4566 Default1pn
185185
```
186186
187+
188+
Then retrieve the full configuration of the function app:
189+
187190
```bash
188191
az functionapp show --name my-func-app --resource-group rg-func-demo
189192
```

src/content/docs/azure/services/log-analytics.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ az monitor log-analytics workspace get-shared-keys \
9898
9999
List all Log Analytics workspaces in the resource group:
100100
101+
102+
Then list all workspaces to confirm the resource group is now empty:
103+
101104
```bash
102105
az monitor log-analytics workspace list \
103106
--resource-group rg-laws-demo
@@ -168,6 +171,9 @@ az monitor log-analytics workspace delete \
168171
--yes
169172
```
170173
174+
175+
Then list all workspaces to confirm the resource group is now empty:
176+
171177
```bash
172178
az monitor log-analytics workspace list \
173179
--resource-group rg-laws-demo

0 commit comments

Comments
 (0)