Skip to content

Commit 4f61553

Browse files
committed
more files
1 parent 250396f commit 4f61553

9 files changed

+53
-57
lines changed

articles/event-grid/how-to-filter-events.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ These examples create a custom topic. They subscribe to the custom topic and fil
189189

190190
For Azure CLI, use:
191191

192-
```azurecli-interactive
192+
```azurecli
193193
topicName=<your-topic-name>
194194
endpointURL=<endpoint-URL>
195195
@@ -210,7 +210,7 @@ Notice that an [expiration date](concepts.md#event-subscription-expiration) is s
210210

211211
For PowerShell, use:
212212

213-
```azurepowershell-interactive
213+
```powershell
214214
$topicName = <your-topic-name>
215215
$endpointURL = <endpoint-URL>
216216
@@ -236,7 +236,7 @@ To test the filter, send an event with the color field set to green. Because gre
236236

237237
For Azure CLI, use:
238238

239-
```azurecli-interactive
239+
```azurecli
240240
topicEndpoint=$(az eventgrid topic show --name $topicName -g gridResourceGroup --query "endpoint" --output tsv)
241241
key=$(az eventgrid topic key list --name $topicName -g gridResourceGroup --query "key1" --output tsv)
242242
@@ -247,7 +247,7 @@ curl -X POST -H "aeg-sas-key: $key" -d "$event" $topicEndpoint
247247

248248
For PowerShell, use:
249249

250-
```azurepowershell-interactive
250+
```powershell
251251
$endpoint = (Get-AzEventGridTopic -ResourceGroupName gridResourceGroup -Name $topicName).Endpoint
252252
$keys = Get-AzEventGridTopicKey -ResourceGroupName gridResourceGroup -Name $topicName
253253
@@ -275,14 +275,14 @@ To test a scenario where the event isn't sent, send an event with the color fiel
275275

276276
For Azure CLI, use:
277277

278-
```azurecli-interactive
278+
```azurecli
279279
event='[ {"id": "'"$RANDOM"'", "eventType": "recordInserted", "subject": "myapp/vehicles/cars", "eventTime": "'`date +%Y-%m-%dT%H:%M:%S%z`'", "data":{ "model": "SUV", "color": "yellow"},"dataVersion": "1.0"} ]'
280280
281281
curl -X POST -H "aeg-sas-key: $key" -d "$event" $topicEndpoint
282282
```
283283
For PowerShell, use:
284284

285-
```azurepowershell-interactive
285+
```powershell
286286
$htbody = @{
287287
id= $eventID
288288
eventType="recordInserted"

articles/event-grid/resize-images-on-storage-blob-upload-event.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,18 @@ You must have completed the previous Blob storage tutorial: [Upload image data i
5353

5454
[!INCLUDE [quickstarts-free-trial-note](../../includes/quickstarts-free-trial-note.md)]
5555

56-
If you've not previously registered the Event Grid resource provider in your subscription, make sure it's registered.
57-
58-
```azurecli-interactive
59-
az provider register --namespace Microsoft.EventGrid
60-
```
61-
6256
[!INCLUDE [cloud-shell-try-it.md](../../includes/cloud-shell-try-it.md)]
6357

6458
If you choose to install and use the CLI locally, this tutorial requires the Azure CLI version 2.0.14 or later. Run `az --version` to find the version. If you need to install or upgrade, see [Install Azure CLI]( /cli/azure/install-azure-cli).
6559

6660
If you are not using Cloud Shell, you must first sign in using `az login`.
6761

62+
If you've not previously registered the Event Grid resource provider in your subscription, make sure it's registered.
63+
64+
```azurecli-interactive
65+
az provider register --namespace Microsoft.EventGrid
66+
```
67+
6868
## Create an Azure Storage account
6969

7070
Azure Functions requires a general storage account. In addition to the Blob storage account you created in the previous tutorial, create a separate general storage account in the resource group by using the [az storage account create](/cli/azure/storage/account) command. Storage account names must be between 3 and 24 characters in length and may contain numbers and lowercase letters only.

articles/event-hubs/event-hubs-resource-manager-namespace-event-hub-enable-capture.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -411,17 +411,13 @@ New-AzResourceGroupDeployment -ResourceGroupName \<resource-group-name\> -Templa
411411
Azure Blob Storage as destination:
412412

413413
```azurecli
414-
azure config mode arm
415-
416-
azure group deployment create \<my-resource-group\> \<my-deployment-name\> --template-uri [https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/201-eventhubs-create-namespace-and-enable-capture/azuredeploy.json][]
414+
az group deployment create \<my-resource-group\> \<my-deployment-name\> --template-uri [https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/201-eventhubs-create-namespace-and-enable-capture/azuredeploy.json][]
417415
```
418416

419417
Azure Data Lake Store as destination:
420418

421419
```azurecli
422-
azure config mode arm
423-
424-
azure group deployment create \<my-resource-group\> \<my-deployment-name\> --template-uri [https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/201-eventhubs-create-namespace-and-enable-capture-for-adls/azuredeploy.json][]
420+
az group deployment create \<my-resource-group\> \<my-deployment-name\> --template-uri [https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/201-eventhubs-create-namespace-and-enable-capture-for-adls/azuredeploy.json][]
425421
```
426422

427423
## Next steps

articles/expressroute/about-public-peering.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ Set-AzExpressRouteCircuit -ExpressRouteCircuit $ckt
173173

174174
The response is similar to the following example:
175175

176-
```azurecli
176+
```output
177177
"allowClassicOperations": false,
178178
"authorizations": [],
179179
"circuitProvisioningState": "Enabled",
@@ -235,7 +235,7 @@ az network express-route peering show -g ExpressRouteResourceGroup --circuit-nam
235235

236236
The output is similar to the following example:
237237

238-
```azurecli
238+
```output
239239
{
240240
"azureAsn": 12076,
241241
"etag": "W/\"2e97be83-a684-4f29-bf3c-96191e270666\"",

articles/expressroute/expressroute-howto-expressroute-direct-cli.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ You can use Azure ExpressRoute Direct to connect directly to the Microsoft globa
4949

5050
**Example output**
5151

52-
```azurecli
52+
```output
5353
[
5454
{
5555
"address": "21715 Filigree Court, DC2, Building F, Ashburn, VA 20147",
@@ -116,7 +116,7 @@ You can use Azure ExpressRoute Direct to connect directly to the Microsoft globa
116116

117117
**Example output**
118118

119-
```azurecli
119+
```output
120120
{
121121
"address": "21715 Filigree Court, DC2, Building F, Ashburn, VA 20147",
122122
"availableBandwidths": [
@@ -154,7 +154,7 @@ You can use Azure ExpressRoute Direct to connect directly to the Microsoft globa
154154
155155
**Example output**
156156

157-
```azurecli
157+
```output
158158
{
159159
"allocationDate": "Wednesday, October 17, 2018",
160160
"bandwidthInGbps": 100,
@@ -222,7 +222,7 @@ Use this process to conduct a layer 1 test. Ensure that each cross-connection is
222222
```
223223
**Example output**
224224

225-
```azurecli
225+
```output
226226
{
227227
"allocationDate": "Wednesday, October 17, 2018",
228228
"bandwidthInGbps": 100,
@@ -295,7 +295,7 @@ Create a circuit on the ExpressRoute Direct resource:
295295

296296
**Example output**
297297

298-
```azurecli
298+
```output
299299
{
300300
"allowClassicOperations": false,
301301
"allowGlobalReach": false,

articles/expressroute/expressroute-howto-set-global-reach-cli.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ az network express-route peering connection create -g <ResourceGroupName> --circ
6565

6666
The CLI output looks like this:
6767

68-
```azurecli
68+
```output
6969
{
7070
"addressPrefix": "<__.__.__.__/29>",
7171
"authorizationKey": null,
@@ -101,7 +101,7 @@ If the two circuits aren't in the same Azure subscription, you need authorizatio
101101

102102
The CLI output looks like this:
103103

104-
```azurecli
104+
```output
105105
{
106106
"authorizationKey": "<authorizationKey>",
107107
"authorizationUseStatus": "Available",

articles/expressroute/howto-circuit-cli.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ This article describes how to create an Azure ExpressRoute circuit by using the
3535

3636
To begin your configuration, sign in to your Azure account. If you use the CloudShell "Try It", you are signed in automatically. Use the following examples to help you connect:
3737

38-
```azurecli
38+
```azurecli-interactive
3939
az login
4040
```
4141

@@ -61,7 +61,7 @@ az network express-route list-service-providers
6161

6262
The response is similar to the following example:
6363

64-
```azurecli
64+
```output
6565
[
6666
{
6767
"bandwidthsOffered": [
@@ -159,7 +159,7 @@ az network express-route list
159159

160160
Your service key is listed in the *ServiceKey* field of the response.
161161

162-
```azurecli
162+
```output
163163
"allowClassicOperations": false,
164164
"authorizations": [],
165165
"circuitProvisioningState": "Enabled",
@@ -200,21 +200,21 @@ az network express-route list -h
200200

201201
When you create a new ExpressRoute circuit, the circuit is in the following state:
202202

203-
```azurecli-interactive
203+
```output
204204
"serviceProviderProvisioningState": "NotProvisioned"
205205
"circuitProvisioningState": "Enabled"
206206
```
207207

208208
The circuit changes to the following state when the connectivity provider is in the process of enabling it for you:
209209

210-
```azurecli-interactive
210+
```output
211211
"serviceProviderProvisioningState": "Provisioning"
212212
"circuitProvisioningState": "Enabled"
213213
```
214214

215215
For you to be able to use an ExpressRoute circuit, it must be in the following state:
216216

217-
```azurecli-interactive
217+
```output
218218
"serviceProviderProvisioningState": "Provisioned"
219219
"circuitProvisioningState": "Enabled
220220
```
@@ -229,7 +229,7 @@ az network express-route show --resource-group ExpressRouteResourceGroup --name
229229

230230
The response is similar to the following example:
231231

232-
```azurecli
232+
```output
233233
"allowClassicOperations": false,
234234
"authorizations": [],
235235
"circuitProvisioningState": "Enabled",

articles/expressroute/howto-linkvnet-cli.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ az network express-route auth create --circuit-name MyCircuit -g ExpressRouteRes
8181

8282
The response contains the authorization key and status:
8383

84-
```azurecli
84+
```output
8585
"authorizationKey": "0a7f3020-541f-4b4b-844a-5fb43472e3d7",
8686
"authorizationUseStatus": "Available",
8787
"etag": "W/\"010353d4-8955-4984-807a-585c21a22ae0\"",
@@ -119,7 +119,7 @@ az network express-route auth delete --circuit-name MyCircuit -g ExpressRouteRes
119119

120120
The Circuit User needs the peer ID and an authorization key from the Circuit Owner. The authorization key is a GUID.
121121

122-
```azurecli
122+
```powershell
123123
Get-AzExpressRouteCircuit -Name "MyCircuit" -ResourceGroupName "MyRG"
124124
```
125125

0 commit comments

Comments
 (0)