You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/event-grid/configure-firewall.md
+16-1Lines changed: 16 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,20 @@ This section shows you how to use the Azure portal to create inbound IP firewall
34
34
## Use Azure CLI
35
35
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**.
36
36
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
+
37
51
### Enable or disable public network access
38
52
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.
39
53
@@ -102,7 +116,8 @@ az eventgrid topic create \
102
116
--name $topicName \
103
117
--location $location \
104
118
--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
106
121
```
107
122
108
123
### Update an existing topic to add inbound IP rules
Copy file name to clipboardExpand all lines: articles/event-grid/configure-private-endpoints.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -151,6 +151,21 @@ az network private-endpoint delete --resource-group <RESOURECE GROUP NAME> --nam
151
151
> [!NOTE]
152
152
> The steps shown in this section are for topics. You can use similar steps to create private endpoints for **domains**.
153
153
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
+
154
169
### Create a private endpoint
155
170
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:
Copy file name to clipboardExpand all lines: articles/event-grid/update-tier.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,19 @@ You can **upgrade** from the basic tier to the premium tier on the **Networking*
52
52
53
53
## Use Azure CLI
54
54
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:
0 commit comments