Skip to content

Commit b6cfe05

Browse files
vinaymundada27Vinay Mundada
and
Vinay Mundada
authored
Making rule priority a required field (#19007)
Co-authored-by: Vinay Mundada <[email protected]>
1 parent 4285c2a commit b6cfe05

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/applicationGateway.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2396,6 +2396,9 @@
23962396
"description": "The provisioning state of the request routing rule resource."
23972397
}
23982398
},
2399+
"required": [
2400+
"priority"
2401+
],
23992402
"description": "Properties of request routing rule of the application gateway."
24002403
},
24012404
"ApplicationGatewayRequestRoutingRule": {

specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ApplicationGatewayCreate.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,7 @@
559559
"properties": {
560560
"provisioningState": "Succeeded",
561561
"ruleType": "Basic",
562+
"priority": 10,
562563
"httpListener": {
563564
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl"
564565
},
@@ -582,6 +583,7 @@
582583
"properties": {
583584
"provisioningState": "Succeeded",
584585
"ruleType": "PathBasedRouting",
586+
"priority": 20,
585587
"httpListener": {
586588
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener"
587589
},
@@ -900,6 +902,7 @@
900902
"properties": {
901903
"provisioningState": "Succeeded",
902904
"ruleType": "Basic",
905+
"priority": 10,
903906
"httpListener": {
904907
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl"
905908
},
@@ -922,6 +925,7 @@
922925
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule",
923926
"properties": {
924927
"provisioningState": "Succeeded",
928+
"priority": 20,
925929
"ruleType": "PathBasedRouting",
926930
"httpListener": {
927931
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener"

specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ApplicationGatewayList.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@
104104
"name": "appgwrule",
105105
"properties": {
106106
"ruleType": "Basic",
107+
"priority": 10,
107108
"httpListener": {
108109
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl"
109110
},

specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ApplicationGatewayListAll.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@
103103
"name": "appgwrule",
104104
"properties": {
105105
"ruleType": "Basic",
106+
"priority": 10,
106107
"httpListener": {
107108
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl"
108109
},

specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ApplicationGatewayUpdateTags.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@
127127
"properties": {
128128
"provisioningState": "Succeeded",
129129
"ruleType": "Basic",
130+
"priority": 10,
130131
"httpListener": {
131132
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1"
132133
},

0 commit comments

Comments
 (0)