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
The properties and rules of the IP Prefix resource are:
35
36
36
-
- resource-group: The name of the resource group where you want to create the IP Prefix resource.
37
+
- `resource-group`: The name of the resource group where you want to create the IP Prefix resource.
37
38
38
-
- name: The name of the IP Prefix resource.
39
+
- `name`: The name of the IP Prefix resource.
39
40
40
-
- location: The Azure region where you want to create the IP Prefix resource.
41
+
- `location`: The Azure region where you want to create the IP Prefix resource.
41
42
42
-
- ip-prefix-rules: The list of rules that define the match criteria and action for the IP Prefix resource. Each rule has the following properties:
43
+
- `ip-prefix-rules`: The list of rules that define the match criteria and action for the IP Prefix resource. Each rule has the following properties:
43
44
44
45
45
-
- action: The action to take when the condition is met. It can be either Permit or Deny. Permit means to allow the route, and Deny means to reject the route.
46
+
- `action`: The action to take when the condition is met. It can be either Permit or Deny. Permit means to allow the route, and Deny means to reject the route.
46
47
47
-
- condition: The condition to compare the network prefix of the route with the network prefix of the rule. It can be one of the following values:
48
+
- `condition`: The condition to compare the network prefix of the route with the network prefix of the rule. It can be one of the following values:
48
49
49
-
- EqualTo: The condition is true when the network prefix of the route is equal to the network prefix of the rule.
50
+
- `EqualTo`: The condition is true when the network prefix of the route is equal to the network prefix of the rule.
50
51
51
-
- NotEqualTo: The condition is true when the network prefix of the route is not equal to the network prefix of the rule.
52
+
- `NotEqualTo`: The condition is true when the network prefix of the route isn't equal to the network prefix of the rule.
52
53
53
-
- GreaterThanOrEqualTo: The condition is true when the network prefix of the route is greater than or equal to the network prefix of the rule. This means that the route has a longer or equal prefix length than the rule.
54
+
- `GreaterThanOrEqualTo`: The condition is true when the network prefix of the route is greater than or equal to the network prefix of the rule.
54
55
55
56
56
-
- networkPrefix: The network segment to match. It is specified as an IP address and a prefix length, such as 10.10.10.0/28 or 2001:db8::/64.
57
+
- `networkPrefix`: The network segment to match. It's specified as an IP address and a prefix length, such as 10.10.10.0/28 or 2001:db8::/64.
57
58
58
-
- sequenceNumber: The order of evaluation of the rule, from lowest to highest. The rule with the lowest sequence number is evaluated first, and the rule with the highest sequence number is evaluated last. If a rule matches the route, the evaluation stops and the action of the rule is executed. If no rule matches the route, the default action is Deny.
59
+
- `sequenceNumber`: The order of evaluation of the rule, from lowest to highest. The rule with the lowest sequence number is evaluated first, and the rule with the highest sequence number is evaluated last. If a rule matches the route, the evaluation stops and the action of the rule is executed. If no rule matches the route, the default action is Deny.
59
60
60
61
61
-
2. Create the IP Prefix resource using the azcli command. You can use the same command as in the previous step, or modify it as per your requirements.
62
+
1. Create the IP Prefix resource using the azcli command. You can use the same command as in the previous step, or modify it as per your requirements.
0 commit comments