Skip to content

Commit c72bd39

Browse files
committed
prereqs
1 parent 35b871b commit c72bd39

File tree

3 files changed

+44
-2
lines changed

3 files changed

+44
-2
lines changed

articles/event-grid/configure-firewall.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,20 @@ This section shows you how to use the Azure portal to create inbound IP firewall
3434
## Use Azure CLI
3535
This section shows you how to use Azure CLI commands to create topics with inbound IP rules. The steps shown in this section are for topics. You can use similar steps to create inbound IP rules for **domains**.
3636

37+
38+
### Prerequisites
39+
Update the Azure Event Grid extension for CLI by running the following command:
40+
41+
```azurecli-interactive
42+
az extension update -n eventgrid
43+
```
44+
45+
If the extension isn't installed, run the following command to install it:
46+
47+
```azurecli-interactive
48+
az extension add -n eventgrid
49+
```
50+
3751
### Enable or disable public network access
3852
By default, the public network access is enabled for topics and domains. You can also enable it explicitly or disable it. You can restrict traffic by configuring inbound IP firewall rules.
3953

@@ -102,7 +116,8 @@ az eventgrid topic create \
102116
--name $topicName \
103117
--location $location \
104118
--public-network-access enabled \
105-
--inbound-ip-rules <IP ADDR 1 or CIDR MASK 1> allow <IP ADDR 2 or CIDR MASK 2> allow
119+
--inbound-ip-rules <IP ADDR 1 or CIDR MASK 1> allow \
120+
--inbound-ip-rules <IP ADDR 2 or CIDR MASK 2> allow
106121
```
107122

108123
### Update an existing topic to add inbound IP rules

articles/event-grid/configure-private-endpoints.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,21 @@ az network private-endpoint delete --resource-group <RESOURECE GROUP NAME> --nam
151151
> [!NOTE]
152152
> The steps shown in this section are for topics. You can use similar steps to create private endpoints for **domains**.
153153
154+
155+
156+
### Prerequisites
157+
Update the Azure Event Grid extension for CLI by running the following command:
158+
159+
```azurecli-interactive
160+
az extension update -n eventgrid
161+
```
162+
163+
If the extension isn't installed, run the following command to install it:
164+
165+
```azurecli-interactive
166+
az extension add -n eventgrid
167+
```
168+
154169
### Create a private endpoint
155170
To create a private endpoint, use the [az network private-endpoint create](/cli/azure/network/private-endpoint?view=azure-cli-latest#az-network-private-endpoint-create) method as shown in the following example:
156171

articles/event-grid/update-tier.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,19 @@ You can **upgrade** from the basic tier to the premium tier on the **Networking*
5252

5353
## Use Azure CLI
5454
This section shows you how to use Azure CLI commands to change the pricing tier of a topic. To update pricing tier of a domain, use the `az eventgrid domain update` command in a similar fashion.
55-
55+
56+
### Prerequisites
57+
Update the Azure Event Grid extension for CLI by running the following command:
58+
59+
```azurecli-interactive
60+
az extension update -n eventgrid
61+
```
62+
63+
If the extension isn't installed, run the following command to install it:
64+
65+
```azurecli-interactive
66+
az extension add -n eventgrid
67+
```
5668

5769
### Upgrade a topic from basic to premium
5870

0 commit comments

Comments
 (0)