From 6fd9ba871a21c289f2cd7e0251325f4279789dbd Mon Sep 17 00:00:00 2001 From: Vinay Mundada Date: Wed, 11 May 2022 00:34:41 +0530 Subject: [PATCH] Making rule priority a required field --- .../stable/2021-08-01/applicationGateway.json | 3 +++ .../stable/2021-08-01/examples/ApplicationGatewayCreate.json | 4 ++++ .../stable/2021-08-01/examples/ApplicationGatewayList.json | 1 + .../stable/2021-08-01/examples/ApplicationGatewayListAll.json | 1 + .../2021-08-01/examples/ApplicationGatewayUpdateTags.json | 1 + 5 files changed, 10 insertions(+) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/applicationGateway.json index aa1577051e72..219690e28663 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/applicationGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/applicationGateway.json @@ -2396,6 +2396,9 @@ "description": "The provisioning state of the request routing rule resource." } }, + "required": [ + "priority" + ], "description": "Properties of request routing rule of the application gateway." }, "ApplicationGatewayRequestRoutingRule": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ApplicationGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ApplicationGatewayCreate.json index 898ec8fbd9cb..d1228f9a2ae2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ApplicationGatewayCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ApplicationGatewayCreate.json @@ -559,6 +559,7 @@ "properties": { "provisioningState": "Succeeded", "ruleType": "Basic", + "priority": 10, "httpListener": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl" }, @@ -582,6 +583,7 @@ "properties": { "provisioningState": "Succeeded", "ruleType": "PathBasedRouting", + "priority": 20, "httpListener": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener" }, @@ -900,6 +902,7 @@ "properties": { "provisioningState": "Succeeded", "ruleType": "Basic", + "priority": 10, "httpListener": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl" }, @@ -922,6 +925,7 @@ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule", "properties": { "provisioningState": "Succeeded", + "priority": 20, "ruleType": "PathBasedRouting", "httpListener": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ApplicationGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ApplicationGatewayList.json index 6b5e65dae822..c3e22271da94 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ApplicationGatewayList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ApplicationGatewayList.json @@ -104,6 +104,7 @@ "name": "appgwrule", "properties": { "ruleType": "Basic", + "priority": 10, "httpListener": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl" }, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ApplicationGatewayListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ApplicationGatewayListAll.json index 883a39cc0383..037ed645e766 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ApplicationGatewayListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ApplicationGatewayListAll.json @@ -103,6 +103,7 @@ "name": "appgwrule", "properties": { "ruleType": "Basic", + "priority": 10, "httpListener": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl" }, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ApplicationGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ApplicationGatewayUpdateTags.json index 9474ab6182a2..b0221b299798 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ApplicationGatewayUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/examples/ApplicationGatewayUpdateTags.json @@ -127,6 +127,7 @@ "properties": { "provisioningState": "Succeeded", "ruleType": "Basic", + "priority": 10, "httpListener": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1" },