Skip to content

Commit 0266f7b

Browse files
authored
Update how-to-create-user-defined-route-instance.md
1 parent b1e5256 commit 0266f7b

File tree

1 file changed

+2
-20
lines changed

1 file changed

+2
-20
lines changed

articles/spring-apps/how-to-create-user-defined-route-instance.md

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -209,30 +209,12 @@ The following example shows how to add rules to your firewall. For more informat
209209
az network firewall network-rule create \
210210
--resource-group $RG \
211211
--firewall-name $FWNAME \
212-
--collection-name 'asafwnr' -n 'apiudp' \
213-
--protocols 'UDP' \
214-
--source-addresses '*' \
215-
--destination-addresses "AzureCloud" \
216-
--destination-ports 1194 \
217-
--action allow \
218-
--priority 100
219-
az network firewall network-rule create \
220-
--resource-group $RG \
221-
--firewall-name $FWNAME \
222-
--collection-name 'asafwnr' -n 'springcloudtcp' \
212+
--collection-name 'asafwnr' \
213+
--name 'springcloudtcp' \
223214
--protocols 'TCP' \
224215
--source-addresses '*' \
225216
--destination-addresses "AzureCloud" \
226217
--destination-ports 443 445
227-
az network firewall network-rule create \
228-
--resource-group $RG \
229-
--firewall-name $FWNAME \
230-
--collection-name 'asafwnr' \
231-
--name 'time' \
232-
--protocols 'UDP' \
233-
--source-addresses '*' \
234-
--destination-fqdns 'ntp.ubuntu.com' \
235-
--destination-ports 123
236218
237219
# Add firewall application rules.
238220

0 commit comments

Comments
 (0)