diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/CheckFrontdoorNameAvailability.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/CheckFrontdoorNameAvailability.json index 9973137c0746..c31c69662a92 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/CheckFrontdoorNameAvailability.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/CheckFrontdoorNameAvailability.json @@ -2,8 +2,8 @@ "parameters": { "api-version": "2018-08-01", "checkFrontDoorNameAvailabilityInput": { - "name": "sampleName", - "type": "Microsoft.Network/FrontDoors" + "name": "sampleName", + "type": "Microsoft.Network/frontDoors" } }, "responses": { @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/CheckFrontdoorNameAvailabilityWithSubscription.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/CheckFrontdoorNameAvailabilityWithSubscription.json index 103b5a68ee66..0bc5227c0b57 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/CheckFrontdoorNameAvailabilityWithSubscription.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/CheckFrontdoorNameAvailabilityWithSubscription.json @@ -3,8 +3,8 @@ "api-version": "2018-08-01", "subscriptionId": "subid", "checkFrontDoorNameAvailabilityInput": { - "name": "sampleName", - "type": "Microsoft.Network/FrontDoors/frontendEndpoints" + "name": "sampleName", + "type": "Microsoft.Network/frontDoors/frontendEndpoints" } }, "responses": { @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorBackendPoolCreate.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorBackendPoolCreate.json index 3abdb902482f..d2d82a8e2c84 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorBackendPoolCreate.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorBackendPoolCreate.json @@ -162,4 +162,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorBackendPoolDelete.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorBackendPoolDelete.json index 8b5f44e395ba..ced2c1f2fbb3 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorBackendPoolDelete.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorBackendPoolDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorBackendPoolGet.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorBackendPoolGet.json index 79e15f71c0ae..91513ea6d51e 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorBackendPoolGet.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorBackendPoolGet.json @@ -48,4 +48,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorBackendPoolList.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorBackendPoolList.json index 2f426ab29ada..e82b2c6d3ccd 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorBackendPoolList.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorBackendPoolList.json @@ -51,4 +51,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorCreate.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorCreate.json index 8b1edc0c95b0..52fd15f6d072 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorCreate.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorCreate.json @@ -495,4 +495,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorDelete.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorDelete.json index 6e9961c0e028..7c6aaf9e71de 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorDelete.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorDelete.json @@ -9,4 +9,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorDisableHttps.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorDisableHttps.json index 1d3f83034e90..0d3bcbc3ef16 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorDisableHttps.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorDisableHttps.json @@ -10,4 +10,4 @@ "200": {}, "202": {} } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorEnableHttps.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorEnableHttps.json index 55b8fca5dbff..50e27385e54d 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorEnableHttps.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorEnableHttps.json @@ -21,4 +21,4 @@ "200": {}, "202": {} } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorFrontendEndpointCreate.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorFrontendEndpointCreate.json index 94ce8a80fd6f..a626eb36e28b 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorFrontendEndpointCreate.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorFrontendEndpointCreate.json @@ -61,4 +61,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorFrontendEndpointDelete.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorFrontendEndpointDelete.json index 7031bd344045..0d53808bd7b9 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorFrontendEndpointDelete.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorFrontendEndpointDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorFrontendEndpointGet.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorFrontendEndpointGet.json index 3123998c99f9..639af204b791 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorFrontendEndpointGet.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorFrontendEndpointGet.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorFrontendEndpointList.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorFrontendEndpointList.json index 27d02aa8d281..3bcca282e1f6 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorFrontendEndpointList.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorFrontendEndpointList.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorGet.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorGet.json index 87c6c30a6625..47b3b863f081 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorGet.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorGet.json @@ -133,4 +133,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorHealthProbeSettingsCreate.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorHealthProbeSettingsCreate.json index 0ec68f16caa3..5e19e0e56c84 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorHealthProbeSettingsCreate.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorHealthProbeSettingsCreate.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorHealthProbeSettingsDelete.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorHealthProbeSettingsDelete.json index 7446d89fe880..dd3a8387302c 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorHealthProbeSettingsDelete.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorHealthProbeSettingsDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorHealthProbeSettingsGet.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorHealthProbeSettingsGet.json index a7fa09954a24..0565d45fbd96 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorHealthProbeSettingsGet.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorHealthProbeSettingsGet.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorHealthProbeSettingsList.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorHealthProbeSettingsList.json index ba9c0c3c37be..a53ae2ee6a08 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorHealthProbeSettingsList.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorHealthProbeSettingsList.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorList.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorList.json index a7cc41d1ac36..900a70a4b48b 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorList.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorList.json @@ -136,4 +136,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorListAll.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorListAll.json index 79272b3dcd5c..7c8eb5d191a8 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorListAll.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorListAll.json @@ -135,4 +135,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorLoadBalancingSettingsCreate.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorLoadBalancingSettingsCreate.json index 53e73303a122..0672dc3e089f 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorLoadBalancingSettingsCreate.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorLoadBalancingSettingsCreate.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorLoadBalancingSettingsDelete.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorLoadBalancingSettingsDelete.json index 924b66a7fa90..dc4eaf438387 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorLoadBalancingSettingsDelete.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorLoadBalancingSettingsDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorLoadBalancingSettingsGet.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorLoadBalancingSettingsGet.json index e2cf444e945f..fa5beb6c0550 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorLoadBalancingSettingsGet.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorLoadBalancingSettingsGet.json @@ -18,4 +18,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorLoadBalancingSettingsList.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorLoadBalancingSettingsList.json index 849653c5d422..66132f79a9ef 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorLoadBalancingSettingsList.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorLoadBalancingSettingsList.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorOperationsList.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorOperationsList.json index d6458ecf0c4d..54026828e485 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorOperationsList.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorOperationsList.json @@ -5,9 +5,8 @@ "responses": { "200": { "body": { - "value": [ - ] - } + "value": [] + } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorPurgeContent.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorPurgeContent.json index 42c1dc249316..36d5f49d0361 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorPurgeContent.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorPurgeContent.json @@ -15,4 +15,4 @@ "200": {}, "202": {} } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorRoutingRuleCreate.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorRoutingRuleCreate.json index 28dd17dd3aba..f4be0e8b838f 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorRoutingRuleCreate.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorRoutingRuleCreate.json @@ -115,4 +115,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorRoutingRuleDelete.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorRoutingRuleDelete.json index c8821d30d2de..a41a70ba3edc 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorRoutingRuleDelete.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorRoutingRuleDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorRoutingRuleGet.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorRoutingRuleGet.json index a934c896885a..7aa03573c3e7 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorRoutingRuleGet.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorRoutingRuleGet.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorRoutingRuleList.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorRoutingRuleList.json index fc965eae8562..e7d8654ed957 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorRoutingRuleList.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorRoutingRuleList.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorValidateCustomDomain.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorValidateCustomDomain.json index 58458eb87b23..c259db11518e 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorValidateCustomDomain.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/FrontdoorValidateCustomDomain.json @@ -5,7 +5,7 @@ "resourceGroupName": "rg1", "frontDoorName": "frontDoor1", "customDomainProperties": { - "hostname": "www.someDomain.com" + "hostName": "www.someDomain.com" } }, "responses": { @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/WafListPolicies.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/WafListPolicies.json index 7574369b813a..ed53f3c05d68 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/WafListPolicies.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/WafListPolicies.json @@ -1,106 +1,106 @@ { - "parameters": { - "api-version": "2018-08-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Policy1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/Policy1", - "type": "Microsoft.Network/frontdoorwebapplicationfirewallpolicies", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "location": "WestUs", - "properties": { - "resourceState": "Enabled", - "provisioningState": "Succeeded", - "policySettings": { - "enabledState": "Enabled", - "mode": "Prevention" - }, - "customRules": { - "rules": [ - { - "name": "Rule1", - "priority": 1, - "ruleType": "RateLimitRule", - "rateLimitDurationInMinutes": 0, - "rateLimitThreshold": 1000, - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "IPMatch", - "negateCondition": false, - "matchValue": [ - "192.168.1.0/24", - "10.0.0.0/24" - ] - } - ], - "action": "Block", - "transforms": [] - }, - { - "name": "Rule2", - "priority": 2, - "ruleType": "MatchRule", - "rateLimitDurationInMinutes": 0, - "rateLimitThreshold": 0, - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "GeoMatch", - "negateCondition": false, - "matchValue": [ - "CH" - ] - }, - { - "matchVariable": "RequestHeader", - "selector": "UserAgent", - "operator": "Contains", - "negateCondition": false, - "matchValue": [ - "Windows" - ] - } - ], - "action": "Block", - "transforms": [] - } - ] - }, - "managedRules": { - "ruleSets": [ - { - "priority": 1, - "version": 0, - "ruleSetType": "AzureManagedRuleSet", - "ruleGroupOverrides": [ - { - "ruleGroupOverride": "SqlInjection", - "action": "Block" - }, - { - "ruleGroupOverride": "XSS", - "action": "Log" - } - ] - } - ] - } - } - } + "parameters": { + "api-version": "2018-08-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Policy1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/Policy1", + "type": "Microsoft.Network/frontdoorwebapplicationfirewallpolicies", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "location": "WestUs", + "properties": { + "resourceState": "Enabled", + "provisioningState": "Succeeded", + "policySettings": { + "enabledState": "Enabled", + "mode": "Prevention" + }, + "customRules": { + "rules": [ + { + "name": "Rule1", + "priority": 1, + "ruleType": "RateLimitRule", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 1000, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "IPMatch", + "negateCondition": false, + "matchValue": [ + "192.168.1.0/24", + "10.0.0.0/24" + ] + } + ], + "action": "Block", + "transforms": [] + }, + { + "name": "Rule2", + "priority": 2, + "ruleType": "MatchRule", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 0, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "GeoMatch", + "negateCondition": false, + "matchValue": [ + "CH" + ] + }, + { + "matchVariable": "RequestHeader", + "selector": "UserAgent", + "operator": "Contains", + "negateCondition": false, + "matchValue": [ + "Windows" + ] + } + ], + "action": "Block", + "transforms": [] + } ] + }, + "managedRules": { + "ruleSets": [ + { + "priority": 1, + "version": 0, + "ruleSetType": "AzureManagedRuleSet", + "ruleGroupOverrides": [ + { + "ruleGroupOverride": "SqlInjection", + "action": "Block" + }, + { + "ruleGroupOverride": "XSS", + "action": "Log" + } + ] + } + ] + } } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/WafPolicyCreateOrUpdate.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/WafPolicyCreateOrUpdate.json index 6c237ced8cef..69435ee20d6b 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/WafPolicyCreateOrUpdate.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/WafPolicyCreateOrUpdate.json @@ -259,4 +259,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/WafPolicyDelete.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/WafPolicyDelete.json index c008a5ee70ec..5fcad1cb6f15 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/WafPolicyDelete.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/WafPolicyDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "api-version": "2018-08-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "policyName": "Policy1" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "api-version": "2018-08-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "policyName": "Policy1" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/WafPolicyGet.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/WafPolicyGet.json index bc8c0bd0ccbd..8f493516de15 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/WafPolicyGet.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/examples/WafPolicyGet.json @@ -1,103 +1,103 @@ { - "parameters": { - "api-version": "2018-08-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "policyName": "Policy1" - }, - "responses": { - "200": { - "body": { - "name": "Policy1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/Policy1", - "type": "Microsoft.Network/frontdoorwebapplicationfirewallpolicies", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "location": "WestUs", - "properties": { - "resourceState": "Enabled", - "provisioningState": "Succeeded", - "policySettings": { - "enabledState": "Enabled", - "mode": "Prevention" - }, - "customRules": { - "rules": [ - { - "name": "Rule1", - "priority": 1, - "ruleType": "RateLimitRule", - "rateLimitDurationInMinutes": 0, - "rateLimitThreshold": 1000, - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "IPMatch", - "negateCondition": false, - "matchValue": [ - "192.168.1.0/24", - "10.0.0.0/24" - ] - } - ], - "action": "Block", - "transforms": [] - }, - { - "name": "Rule2", - "priority": 2, - "ruleType": "MatchRule", - "rateLimitDurationInMinutes": 0, - "rateLimitThreshold": 0, - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "GeoMatch", - "negateCondition": false, - "matchValue": [ - "CH" - ] - }, - { - "matchVariable": "RequestHeader", - "selector": "UserAgent", - "operator": "Contains", - "negateCondition": false, - "matchValue": [ - "Windows" - ] - } - ], - "action": "Block", - "transforms": [] - } - ] - }, - "managedRules": { - "ruleSets": [ - { - "priority": 1, - "version": 0, - "ruleSetType": "AzureManagedRuleSet", - "ruleGroupOverrides": [ - { - "ruleGroupOverride": "SqlInjection", - "action": "Block" - }, - { - "ruleGroupOverride": "XSS", - "action": "Log" - } - ] - } - ] - } - } - } + "parameters": { + "api-version": "2018-08-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "policyName": "Policy1" + }, + "responses": { + "200": { + "body": { + "name": "Policy1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/Policy1", + "type": "Microsoft.Network/frontdoorwebapplicationfirewallpolicies", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "location": "WestUs", + "properties": { + "resourceState": "Enabled", + "provisioningState": "Succeeded", + "policySettings": { + "enabledState": "Enabled", + "mode": "Prevention" + }, + "customRules": { + "rules": [ + { + "name": "Rule1", + "priority": 1, + "ruleType": "RateLimitRule", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 1000, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "IPMatch", + "negateCondition": false, + "matchValue": [ + "192.168.1.0/24", + "10.0.0.0/24" + ] + } + ], + "action": "Block", + "transforms": [] + }, + { + "name": "Rule2", + "priority": 2, + "ruleType": "MatchRule", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 0, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "GeoMatch", + "negateCondition": false, + "matchValue": [ + "CH" + ] + }, + { + "matchVariable": "RequestHeader", + "selector": "UserAgent", + "operator": "Contains", + "negateCondition": false, + "matchValue": [ + "Windows" + ] + } + ], + "action": "Block", + "transforms": [] + } + ] + }, + "managedRules": { + "ruleSets": [ + { + "priority": 1, + "version": 0, + "ruleSetType": "AzureManagedRuleSet", + "ruleGroupOverrides": [ + { + "ruleGroupOverride": "SqlInjection", + "action": "Block" + }, + { + "ruleGroupOverride": "XSS", + "action": "Log" + } + ] + } + ] + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/frontdoor.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/frontdoor.json index d648d66065da..24fce6268e84 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/frontdoor.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/frontdoor.json @@ -2550,4 +2550,4 @@ "description": "Name of the Frontend endpoint which is unique within the Front Door." } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/network.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/network.json index 5a1f99c4b769..fae4970303db 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/network.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/network.json @@ -35,8 +35,7 @@ } } }, - "paths": { - }, + "paths": {}, "definitions": { "ErrorDetails": { "properties": { diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/webapplicationfirewall.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/webapplicationfirewall.json index fddfed6456e2..af549a1368d2 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/webapplicationfirewall.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2018-08-01-preview/webapplicationfirewall.json @@ -238,7 +238,7 @@ "Delete protection policy": { "$ref": "./examples/WafPolicyDelete.json" } - }, + }, "x-ms-long-running-operation": true } } @@ -323,7 +323,7 @@ "description": "Defines contents of a web application firewall global configuration", "properties": { "enabledState": { - "description": "describes if the policy is in enabled state or disabled state", + "description": "describes if the policy is in enabled state or disabled state", "type": "string", "enum": [ "Disabled", @@ -332,7 +332,7 @@ "x-ms-enum": { "name": "enabledState", "modelAsString": true - } + } }, "mode": { "description": "Describes if it is in detection mode or prevention mode at policy level", @@ -362,12 +362,12 @@ }, "CustomRule": { "description": "Defines contents of a web application rule", - "required": [ - "priority", - "ruleType", - "matchConditions", - "action" - ], + "required": [ + "priority", + "ruleType", + "matchConditions", + "action" + ], "properties": { "name": { "type": "string", @@ -378,11 +378,11 @@ "type": "string", "readOnly": true, "description": "Gets a unique read-only string that changes whenever the resource is updated." - }, + }, "priority": { "description": "Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value", "type": "integer" - }, + }, "ruleType": { "description": "Describes type of rule", "type": "string", @@ -451,9 +451,9 @@ }, "MatchCondition": { "description": "Define match conditions", - "required": [ - "matchVariable", - "operator", + "required": [ + "matchVariable", + "operator", "matchValue" ], "properties": { @@ -571,7 +571,7 @@ "required": [ "ruleGroupOverride", "action" - ], + ], "properties": { "ruleGroupOverride": { "description": "Describes override rule group", diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2019-03-01-preview/examples/WafListManagedRuleSets.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2019-03-01-preview/examples/WafListManagedRuleSets.json index 3bb9163ba338..60d72d77413e 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2019-03-01-preview/examples/WafListManagedRuleSets.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2019-03-01-preview/examples/WafListManagedRuleSets.json @@ -1,50 +1,50 @@ { - "parameters": { - "api-version": "2019-03-01", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ + "parameters": { + "api-version": "2019-03-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "DefaultRuleSet_1.0", + "id": "/subscriptions/subid/providers/Microsoft.Network/FrontDoorWebApplicationFirewallManagedRuleSets", + "type": "Microsoft.Network/frontdoorwebapplicationfirewallmanagedrulesets", + "properties": { + "provisioningState": "Succeeded", + "ruleSetType": "DefaultRuleSet", + "ruleSetVersion": "preview-1.0", + "ruleGroups": [ + { + "ruleGroupName": "Group1", + "description": "Description for rule group 1.", + "rules": [ { - "name": "DefaultRuleSet_1.0", - "id": "/subscriptions/subid/providers/Microsoft.Network/FrontDoorWebApplicationFirewallManagedRuleSets", - "type": "Microsoft.Network/frontdoorwebapplicationfirewallmanagedrulesets", - "properties": { - "provisioningState": "Succeeded", - "ruleSetType": "DefaultRuleSet", - "ruleSetVersion": "preview-1.0", - "ruleGroups": [ - { - "ruleGroupName": "Group1", - "description": "Description for rule group 1.", - "rules": [ - { - "ruleId": "GROUP1-0001", - "description": "Generic managed web application firewall rule." - }, - { - "ruleId": "GROUP1-0002", - "description": "Generic managed web application firewall rule." - } - ] - }, - { - "ruleGroupName": "Group2", - "description": "Description for rule group 2.", - "rules": [ - { - "ruleId": "GROUP2-0001", - "description": "Generic managed web application firewall rule." - } - ] - } - ] - } + "ruleId": "GROUP1-0001", + "description": "Generic managed web application firewall rule." + }, + { + "ruleId": "GROUP1-0002", + "description": "Generic managed web application firewall rule." + } + ] + }, + { + "ruleGroupName": "Group2", + "description": "Description for rule group 2.", + "rules": [ + { + "ruleId": "GROUP2-0001", + "description": "Generic managed web application firewall rule." } - ] + ] + } + ] } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2019-03-01-preview/examples/WafListPolicies.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2019-03-01-preview/examples/WafListPolicies.json index 38069740de9b..0e2877efbe51 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2019-03-01-preview/examples/WafListPolicies.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2019-03-01-preview/examples/WafListPolicies.json @@ -1,123 +1,123 @@ { - "parameters": { - "api-version": "2019-03-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Policy1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/Policy1", - "type": "Microsoft.Network/frontdoorwebapplicationfirewallpolicies", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "location": "WestUs", - "properties": { - "resourceState": "Enabled", - "provisioningState": "Succeeded", - "policySettings": { - "enabledState": "Enabled", - "mode": "Prevention", - "redirectUrl": "http://www.bing.com", - "customBlockResponseStatusCode": 499, - "customBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" - }, - "customRules": { - "rules": [ - { - "name": "Rule1", - "priority": 1, - "enabledState": "Enabled", - "ruleType": "RateLimitRule", - "rateLimitDurationInMinutes": 0, - "rateLimitThreshold": 1000, - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "IPMatch", - "negateCondition": false, - "matchValue": [ - "192.168.1.0/24", - "10.0.0.0/24" - ], - "transforms": [] - } - ], - "action": "Block" - }, - { - "name": "Rule2", - "priority": 2, - "enabledState": "Enabled", - "ruleType": "MatchRule", - "rateLimitDurationInMinutes": 0, - "rateLimitThreshold": 0, - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "GeoMatch", - "negateCondition": false, - "matchValue": [ - "CH" - ] - }, - { - "matchVariable": "RequestHeader", - "selector": "UserAgent", - "operator": "Contains", - "negateCondition": false, - "matchValue": [ - "windows" - ], - "transforms": [ - "Lowercase" - ] - } - ], - "action": "Block" - } - ] - }, - "managedRules": { - "managedRuleSets": [ - { - "ruleSetType": "DefaultRuleSet", - "ruleSetVersion": "preview-1.0", - "ruleGroupOverrides": [ - { - "ruleGroupName": "Group1", - "rules": [ - { - "ruleId": "GROUP1-0001", - "enabledState": "Enabled", - "action": "Redirect" - }, - { - "ruleId": "GROUP1-0002", - "enabledState": "Disabled" - } - ] - } - ] - } - ] - }, - "frontendEndpointLinks": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontdoors/fd1/frontendendpoints/fd1-azurefd-net" - } - ] - } - } + "parameters": { + "api-version": "2019-03-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Policy1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/Policy1", + "type": "Microsoft.Network/frontdoorwebapplicationfirewallpolicies", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "location": "WestUs", + "properties": { + "resourceState": "Enabled", + "provisioningState": "Succeeded", + "policySettings": { + "enabledState": "Enabled", + "mode": "Prevention", + "redirectUrl": "http://www.bing.com", + "customBlockResponseStatusCode": 499, + "customBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" + }, + "customRules": { + "rules": [ + { + "name": "Rule1", + "priority": 1, + "enabledState": "Enabled", + "ruleType": "RateLimitRule", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 1000, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "IPMatch", + "negateCondition": false, + "matchValue": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "transforms": [] + } + ], + "action": "Block" + }, + { + "name": "Rule2", + "priority": 2, + "enabledState": "Enabled", + "ruleType": "MatchRule", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 0, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "GeoMatch", + "negateCondition": false, + "matchValue": [ + "CH" + ] + }, + { + "matchVariable": "RequestHeader", + "selector": "UserAgent", + "operator": "Contains", + "negateCondition": false, + "matchValue": [ + "windows" + ], + "transforms": [ + "Lowercase" + ] + } + ], + "action": "Block" + } ] + }, + "managedRules": { + "managedRuleSets": [ + { + "ruleSetType": "DefaultRuleSet", + "ruleSetVersion": "preview-1.0", + "ruleGroupOverrides": [ + { + "ruleGroupName": "Group1", + "rules": [ + { + "ruleId": "GROUP1-0001", + "enabledState": "Enabled", + "action": "Redirect" + }, + { + "ruleId": "GROUP1-0002", + "enabledState": "Disabled" + } + ] + } + ] + } + ] + }, + "frontendEndpointLinks": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontdoors/fd1/frontendendpoints/fd1-azurefd-net" + } + ] } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2019-03-01-preview/examples/WafPolicyCreateOrUpdate.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2019-03-01-preview/examples/WafPolicyCreateOrUpdate.json index 6098c68b058f..96078fd78ba7 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2019-03-01-preview/examples/WafPolicyCreateOrUpdate.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2019-03-01-preview/examples/WafPolicyCreateOrUpdate.json @@ -1,407 +1,407 @@ { + "parameters": { + "api-version": "2019-03-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "policyName": "Policy1", "parameters": { - "api-version": "2019-03-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "policyName": "Policy1", - "parameters": { - "properties": { - "policySettings": { - "redirectUrl": "http://www.bing.com", - "customBlockResponseStatusCode": 499, - "customBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" - }, - "customRules": { - "rules": [ - { - "name": "Rule1", - "priority": 1, - "ruleType": "RateLimitRule", - "rateLimitThreshold": 1000, - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "operator": "IPMatch", - "matchValue": [ - "192.168.1.0/24", - "10.0.0.0/24" - ] - } - ], - "action": "Block" - }, - { - "name": "Rule2", - "priority": 2, - "ruleType": "MatchRule", - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "operator": "GeoMatch", - "matchValue": [ - "CH" - ] - }, - { - "matchVariable": "RequestHeader", - "operator": "Contains", - "selector": "UserAgent", - "matchValue": [ - "windows" - ], - "transforms": [ - "Lowercase" - ] - } - ], - "action": "Block" - } - ] - }, - "managedRules": { - "managedRuleSets": [ - { - "ruleSetType": "DefaultRuleSet", - "ruleSetVersion": "preview-1.0", - "ruleGroupOverrides": [ - { - "ruleGroupName": "Group1", - "rules": [ - { - "ruleId": "GROUP1-0001", - "enabledState": "Enabled", - "action": "Redirect" - }, - { - "ruleId": "GROUP1-0002" - } - ] - } - ] - } - ] + "properties": { + "policySettings": { + "redirectUrl": "http://www.bing.com", + "customBlockResponseStatusCode": 499, + "customBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" + }, + "customRules": { + "rules": [ + { + "name": "Rule1", + "priority": 1, + "ruleType": "RateLimitRule", + "rateLimitThreshold": 1000, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "operator": "IPMatch", + "matchValue": [ + "192.168.1.0/24", + "10.0.0.0/24" + ] } - } - } - }, - "responses": { - "200": { - "body": { - "name": "Policy1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/Policy1", - "type": "Microsoft.Network/frontdoorwebapplicationfirewallpolicies", - "tags": { - "key1": "value1", - "key2": "value2" + ], + "action": "Block" + }, + { + "name": "Rule2", + "priority": 2, + "ruleType": "MatchRule", + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "operator": "GeoMatch", + "matchValue": [ + "CH" + ] }, - "location": "WestUs", - "properties": { - "resourceState": "Enabled", - "provisioningState": "Succeeded", - "policySettings": { - "enabledState": "Enabled", - "mode": "Prevention", - "redirectUrl": "http://www.bing.com", - "customBlockResponseStatusCode": 499, - "customBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" - }, - "customRules": { - "rules": [ - { - "name": "Rule1", - "priority": 1, - "enabledState": "Enabled", - "ruleType": "RateLimitRule", - "rateLimitDurationInMinutes": 0, - "rateLimitThreshold": 1000, - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "IPMatch", - "negateCondition": false, - "matchValue": [ - "192.168.1.0/24", - "10.0.0.0/24" - ], - "transforms": [] - } - ], - "action": "Block" - }, - { - "name": "Rule2", - "priority": 2, - "enabledState": "Enabled", - "ruleType": "MatchRule", - "rateLimitDurationInMinutes": 0, - "rateLimitThreshold": 0, - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "GeoMatch", - "negateCondition": false, - "matchValue": [ - "CH" - ] - }, - { - "matchVariable": "RequestHeader", - "selector": "UserAgent", - "operator": "Contains", - "negateCondition": false, - "matchValue": [ - "windows" - ], - "transforms": [ - "Lowercase" - ] - } - ], - "action": "Block" - } - ] - }, - "managedRules": { - "managedRuleSets": [ - { - "ruleSetType": "DefaultRuleSet", - "ruleSetVersion": "preview-1.0", - "ruleGroupOverrides": [ - { - "ruleGroupName": "Group1", - "rules": [ - { - "ruleId": "GROUP1-0001", - "enabledState": "Enabled", - "action": "Redirect" - }, - { - "ruleId": "GROUP1-0002", - "enabledState": "Disabled" - } - ] - } - ] - } - ] - }, - "frontendEndpointLinks": [] + { + "matchVariable": "RequestHeader", + "operator": "Contains", + "selector": "UserAgent", + "matchValue": [ + "windows" + ], + "transforms": [ + "Lowercase" + ] } + ], + "action": "Block" } + ] }, - "201": { - "body": { - "name": "Policy1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/Policy1", - "type": "Microsoft.Network/frontdoorwebapplicationfirewallpolicies", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "location": "WestUs", - "properties": { - "resourceState": "Enabled", - "provisioningState": "Succeeded", - "policySettings": { - "enabledState": "Enabled", - "mode": "Prevention", - "redirectUrl": "http://www.bing.com", - "customBlockResponseStatusCode": 499, - "customBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" + "managedRules": { + "managedRuleSets": [ + { + "ruleSetType": "DefaultRuleSet", + "ruleSetVersion": "preview-1.0", + "ruleGroupOverrides": [ + { + "ruleGroupName": "Group1", + "rules": [ + { + "ruleId": "GROUP1-0001", + "enabledState": "Enabled", + "action": "Redirect" }, - "customRules": { - "rules": [ - { - "name": "Rule1", - "priority": 1, - "enabledState": "Enabled", - "ruleType": "RateLimitRule", - "rateLimitDurationInMinutes": 0, - "rateLimitThreshold": 1000, - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "IPMatch", - "negateCondition": false, - "matchValue": [ - "192.168.1.0/24", - "10.0.0.0/24" - ], - "transforms": [] - } - ], - "action": "Block" - }, - { - "name": "Rule2", - "priority": 2, - "enabledState": "Enabled", - "ruleType": "MatchRule", - "rateLimitDurationInMinutes": 0, - "rateLimitThreshold": 0, - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "GeoMatch", - "negateCondition": false, - "matchValue": [ - "CH" - ] - }, - { - "matchVariable": "RequestHeader", - "selector": "UserAgent", - "operator": "Contains", - "negateCondition": false, - "matchValue": [ - "windows" - ], - "transforms": [ - "Lowercase" - ] - } - ], - "action": "Block" - } - ] - }, - "managedRules": { - "managedRuleSets": [ - { - "ruleSetType": "DefaultRuleSet", - "ruleSetVersion": "preview-1.0", - "ruleGroupOverrides": [ - { - "ruleGroupName": "Group1", - "rules": [ - { - "ruleId": "GROUP1-0001", - "enabledState": "Enabled", - "action": "Redirect" - }, - { - "ruleId": "GROUP1-0002", - "enabledState": "Disabled" - } - ] - } - ] - } - ] - }, - "frontendEndpointLinks": [] + { + "ruleId": "GROUP1-0002" + } + ] } + ] } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "Policy1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/Policy1", + "type": "Microsoft.Network/frontdoorwebapplicationfirewallpolicies", + "tags": { + "key1": "value1", + "key2": "value2" }, - "202": { - "body": { - "name": "Policy1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/Policy1", - "type": "Microsoft.Network/frontdoorwebapplicationfirewallpolicies", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "location": "WestUs", - "properties": { - "resourceState": "Enabled", - "provisioningState": "Succeeded", - "policySettings": { + "location": "WestUs", + "properties": { + "resourceState": "Enabled", + "provisioningState": "Succeeded", + "policySettings": { + "enabledState": "Enabled", + "mode": "Prevention", + "redirectUrl": "http://www.bing.com", + "customBlockResponseStatusCode": 499, + "customBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" + }, + "customRules": { + "rules": [ + { + "name": "Rule1", + "priority": 1, + "enabledState": "Enabled", + "ruleType": "RateLimitRule", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 1000, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "IPMatch", + "negateCondition": false, + "matchValue": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "transforms": [] + } + ], + "action": "Block" + }, + { + "name": "Rule2", + "priority": 2, + "enabledState": "Enabled", + "ruleType": "MatchRule", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 0, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "GeoMatch", + "negateCondition": false, + "matchValue": [ + "CH" + ] + }, + { + "matchVariable": "RequestHeader", + "selector": "UserAgent", + "operator": "Contains", + "negateCondition": false, + "matchValue": [ + "windows" + ], + "transforms": [ + "Lowercase" + ] + } + ], + "action": "Block" + } + ] + }, + "managedRules": { + "managedRuleSets": [ + { + "ruleSetType": "DefaultRuleSet", + "ruleSetVersion": "preview-1.0", + "ruleGroupOverrides": [ + { + "ruleGroupName": "Group1", + "rules": [ + { + "ruleId": "GROUP1-0001", "enabledState": "Enabled", - "mode": "Prevention", - "redirectUrl": "http://www.bing.com", - "customBlockResponseStatusCode": 499, - "customBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" - }, - "customRules": { - "rules": [ - { - "name": "Rule1", - "priority": 1, - "enabledState": "Enabled", - "ruleType": "RateLimitRule", - "rateLimitDurationInMinutes": 0, - "rateLimitThreshold": 1000, - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "IPMatch", - "negateCondition": false, - "matchValue": [ - "192.168.1.0/24", - "10.0.0.0/24" - ], - "transforms": [] - } - ], - "action": "Block" - }, - { - "name": "Rule2", - "priority": 2, - "enabledState": "Enabled", - "ruleType": "MatchRule", - "rateLimitDurationInMinutes": 0, - "rateLimitThreshold": 0, - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "GeoMatch", - "negateCondition": false, - "matchValue": [ - "CH" - ] - }, - { - "matchVariable": "RequestHeader", - "selector": "UserAgent", - "operator": "Contains", - "negateCondition": false, - "matchValue": [ - "windows" - ], - "transforms": [ - "Lowercase" - ] - } - ], - "action": "Block" - } - ] - }, - "managedRules": { - "managedRuleSets": [ - { - "ruleSetType": "DefaultRuleSet", - "ruleSetVersion": "preview-1.0", - "ruleGroupOverrides": [ - { - "ruleGroupName": "Group1", - "rules": [ - { - "ruleId": "GROUP1-0001", - "enabledState": "Enabled", - "action": "Redirect" - }, - { - "ruleId": "GROUP1-0002", - "enabledState": "Disabled" - } - ] - } - ] - } - ] - }, - "frontendEndpointLinks": [] - } - } + "action": "Redirect" + }, + { + "ruleId": "GROUP1-0002", + "enabledState": "Disabled" + } + ] + } + ] + } + ] + }, + "frontendEndpointLinks": [] + } + } + }, + "201": { + "body": { + "name": "Policy1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/Policy1", + "type": "Microsoft.Network/frontdoorwebapplicationfirewallpolicies", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "location": "WestUs", + "properties": { + "resourceState": "Enabled", + "provisioningState": "Succeeded", + "policySettings": { + "enabledState": "Enabled", + "mode": "Prevention", + "redirectUrl": "http://www.bing.com", + "customBlockResponseStatusCode": 499, + "customBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" + }, + "customRules": { + "rules": [ + { + "name": "Rule1", + "priority": 1, + "enabledState": "Enabled", + "ruleType": "RateLimitRule", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 1000, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "IPMatch", + "negateCondition": false, + "matchValue": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "transforms": [] + } + ], + "action": "Block" + }, + { + "name": "Rule2", + "priority": 2, + "enabledState": "Enabled", + "ruleType": "MatchRule", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 0, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "GeoMatch", + "negateCondition": false, + "matchValue": [ + "CH" + ] + }, + { + "matchVariable": "RequestHeader", + "selector": "UserAgent", + "operator": "Contains", + "negateCondition": false, + "matchValue": [ + "windows" + ], + "transforms": [ + "Lowercase" + ] + } + ], + "action": "Block" + } + ] + }, + "managedRules": { + "managedRuleSets": [ + { + "ruleSetType": "DefaultRuleSet", + "ruleSetVersion": "preview-1.0", + "ruleGroupOverrides": [ + { + "ruleGroupName": "Group1", + "rules": [ + { + "ruleId": "GROUP1-0001", + "enabledState": "Enabled", + "action": "Redirect" + }, + { + "ruleId": "GROUP1-0002", + "enabledState": "Disabled" + } + ] + } + ] + } + ] + }, + "frontendEndpointLinks": [] + } + } + }, + "202": { + "body": { + "name": "Policy1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/Policy1", + "type": "Microsoft.Network/frontdoorwebapplicationfirewallpolicies", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "location": "WestUs", + "properties": { + "resourceState": "Enabled", + "provisioningState": "Succeeded", + "policySettings": { + "enabledState": "Enabled", + "mode": "Prevention", + "redirectUrl": "http://www.bing.com", + "customBlockResponseStatusCode": 499, + "customBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" + }, + "customRules": { + "rules": [ + { + "name": "Rule1", + "priority": 1, + "enabledState": "Enabled", + "ruleType": "RateLimitRule", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 1000, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "IPMatch", + "negateCondition": false, + "matchValue": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "transforms": [] + } + ], + "action": "Block" + }, + { + "name": "Rule2", + "priority": 2, + "enabledState": "Enabled", + "ruleType": "MatchRule", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 0, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "GeoMatch", + "negateCondition": false, + "matchValue": [ + "CH" + ] + }, + { + "matchVariable": "RequestHeader", + "selector": "UserAgent", + "operator": "Contains", + "negateCondition": false, + "matchValue": [ + "windows" + ], + "transforms": [ + "Lowercase" + ] + } + ], + "action": "Block" + } + ] + }, + "managedRules": { + "managedRuleSets": [ + { + "ruleSetType": "DefaultRuleSet", + "ruleSetVersion": "preview-1.0", + "ruleGroupOverrides": [ + { + "ruleGroupName": "Group1", + "rules": [ + { + "ruleId": "GROUP1-0001", + "enabledState": "Enabled", + "action": "Redirect" + }, + { + "ruleId": "GROUP1-0002", + "enabledState": "Disabled" + } + ] + } + ] + } + ] + }, + "frontendEndpointLinks": [] } + } } -} \ No newline at end of file + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2019-03-01-preview/examples/WafPolicyDelete.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2019-03-01-preview/examples/WafPolicyDelete.json index b368ca069348..4fbb7ae0ceb3 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2019-03-01-preview/examples/WafPolicyDelete.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2019-03-01-preview/examples/WafPolicyDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "api-version": "2019-03-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "policyName": "Policy1" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "api-version": "2019-03-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "policyName": "Policy1" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2019-03-01-preview/examples/WafPolicyGet.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2019-03-01-preview/examples/WafPolicyGet.json index 9f6dfb331127..24b935cab0f3 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2019-03-01-preview/examples/WafPolicyGet.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2019-03-01-preview/examples/WafPolicyGet.json @@ -1,120 +1,120 @@ { - "parameters": { - "api-version": "2019-03-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "policyName": "Policy1" - }, - "responses": { - "200": { - "body": { - "name": "Policy1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/Policy1", - "type": "Microsoft.Network/frontdoorwebapplicationfirewallpolicies", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "location": "WestUs", - "properties": { - "resourceState": "Enabled", - "provisioningState": "Succeeded", - "policySettings": { + "parameters": { + "api-version": "2019-03-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "policyName": "Policy1" + }, + "responses": { + "200": { + "body": { + "name": "Policy1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/Policy1", + "type": "Microsoft.Network/frontdoorwebapplicationfirewallpolicies", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "location": "WestUs", + "properties": { + "resourceState": "Enabled", + "provisioningState": "Succeeded", + "policySettings": { + "enabledState": "Enabled", + "mode": "Prevention", + "redirectUrl": "http://www.bing.com", + "customBlockResponseStatusCode": 499, + "customBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" + }, + "customRules": { + "rules": [ + { + "name": "Rule1", + "priority": 1, + "enabledState": "Enabled", + "ruleType": "RateLimitRule", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 1000, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "IPMatch", + "negateCondition": false, + "matchValue": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "transforms": [] + } + ], + "action": "Block" + }, + { + "name": "Rule2", + "priority": 2, + "enabledState": "Enabled", + "ruleType": "MatchRule", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 0, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "GeoMatch", + "negateCondition": false, + "matchValue": [ + "CH" + ] + }, + { + "matchVariable": "RequestHeader", + "selector": "UserAgent", + "operator": "Contains", + "negateCondition": false, + "matchValue": [ + "windows" + ], + "transforms": [ + "Lowercase" + ] + } + ], + "action": "Block" + } + ] + }, + "managedRules": { + "managedRuleSets": [ + { + "ruleSetType": "DefaultRuleSet", + "ruleSetVersion": "preview-1.0", + "ruleGroupOverrides": [ + { + "ruleGroupName": "Group1", + "rules": [ + { + "ruleId": "GROUP1-0001", "enabledState": "Enabled", - "mode": "Prevention", - "redirectUrl": "http://www.bing.com", - "customBlockResponseStatusCode": 499, - "customBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==" - }, - "customRules": { - "rules": [ - { - "name": "Rule1", - "priority": 1, - "enabledState": "Enabled", - "ruleType": "RateLimitRule", - "rateLimitDurationInMinutes": 0, - "rateLimitThreshold": 1000, - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "IPMatch", - "negateCondition": false, - "matchValue": [ - "192.168.1.0/24", - "10.0.0.0/24" - ], - "transforms": [] - } - ], - "action": "Block" - }, - { - "name": "Rule2", - "priority": 2, - "enabledState": "Enabled", - "ruleType": "MatchRule", - "rateLimitDurationInMinutes": 0, - "rateLimitThreshold": 0, - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "GeoMatch", - "negateCondition": false, - "matchValue": [ - "CH" - ] - }, - { - "matchVariable": "RequestHeader", - "selector": "UserAgent", - "operator": "Contains", - "negateCondition": false, - "matchValue": [ - "windows" - ], - "transforms": [ - "Lowercase" - ] - } - ], - "action": "Block" - } - ] - }, - "managedRules": { - "managedRuleSets": [ - { - "ruleSetType": "DefaultRuleSet", - "ruleSetVersion": "preview-1.0", - "ruleGroupOverrides": [ - { - "ruleGroupName": "Group1", - "rules": [ - { - "ruleId": "GROUP1-0001", - "enabledState": "Enabled", - "action": "Redirect" - }, - { - "ruleId": "GROUP1-0002", - "enabledState": "Disabled" - } - ] - } - ] - } - ] - }, - "frontendEndpointLinks": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontdoors/fd1/frontendendpoints/fd1-azurefd-net" - } + "action": "Redirect" + }, + { + "ruleId": "GROUP1-0002", + "enabledState": "Disabled" + } ] - } + } + ] + } + ] + }, + "frontendEndpointLinks": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontdoors/fd1/frontendendpoints/fd1-azurefd-net" } + ] } + } } -} \ No newline at end of file + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2019-03-01-preview/network.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2019-03-01-preview/network.json index 5a1f99c4b769..fae4970303db 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2019-03-01-preview/network.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2019-03-01-preview/network.json @@ -35,8 +35,7 @@ } } }, - "paths": { - }, + "paths": {}, "definitions": { "ErrorDetails": { "properties": { diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2019-03-01-preview/webapplicationfirewall.json b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2019-03-01-preview/webapplicationfirewall.json index 47e3b40bfb04..e9c9f54283a8 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/preview/2019-03-01-preview/webapplicationfirewall.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/preview/2019-03-01-preview/webapplicationfirewall.json @@ -792,4 +792,4 @@ "description": "Name of the Resource group within the Azure subscription." } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckFrontdoorNameAvailability.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckFrontdoorNameAvailability.json index 21e09b08c423..8bc2e94cc5fe 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckFrontdoorNameAvailability.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckFrontdoorNameAvailability.json @@ -2,8 +2,8 @@ "parameters": { "api-version": "2019-04-01", "checkFrontDoorNameAvailabilityInput": { - "name": "sampleName", - "type": "Microsoft.Network/FrontDoors" + "name": "sampleName", + "type": "Microsoft.Network/frontDoors" } }, "responses": { @@ -15,4 +15,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckFrontdoorNameAvailabilityWithSubscription.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckFrontdoorNameAvailabilityWithSubscription.json index adbe040d4a37..d5a96bccb999 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckFrontdoorNameAvailabilityWithSubscription.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckFrontdoorNameAvailabilityWithSubscription.json @@ -3,8 +3,8 @@ "api-version": "2019-04-01", "subscriptionId": "subid", "checkFrontDoorNameAvailabilityInput": { - "name": "sampleName", - "type": "Microsoft.Network/FrontDoors/frontendEndpoints" + "name": "sampleName", + "type": "Microsoft.Network/frontDoors/frontendEndpoints" } }, "responses": { @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorBackendPoolCreate.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorBackendPoolCreate.json index 846153f78e60..93303270995f 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorBackendPoolCreate.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorBackendPoolCreate.json @@ -162,4 +162,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorBackendPoolDelete.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorBackendPoolDelete.json index 76c305b43f69..79d530103d3e 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorBackendPoolDelete.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorBackendPoolDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorBackendPoolGet.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorBackendPoolGet.json index fac8125e0963..5e97dd1dc0fa 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorBackendPoolGet.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorBackendPoolGet.json @@ -48,4 +48,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorBackendPoolList.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorBackendPoolList.json index b1012d984694..4c4f8c7f9198 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorBackendPoolList.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorBackendPoolList.json @@ -51,4 +51,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorCreate.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorCreate.json index 7f9cccd7cf42..673f222fabaa 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorCreate.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorCreate.json @@ -35,7 +35,7 @@ "backendPool": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1" } - }, + }, "enabledState": "Enabled" } } @@ -154,7 +154,7 @@ ], "routeConfiguration": { "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration", - "customForwardingPath": "", + "customForwardingPath": "", "forwardingProtocol": "MatchRequest", "backendPool": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1" @@ -286,7 +286,7 @@ ], "routeConfiguration": { "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration", - "customForwardingPath": "", + "customForwardingPath": "", "forwardingProtocol": "MatchRequest", "backendPool": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1" @@ -418,7 +418,7 @@ ], "routeConfiguration": { "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration", - "customForwardingPath": "", + "customForwardingPath": "", "forwardingProtocol": "MatchRequest", "backendPool": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1" @@ -519,4 +519,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorDelete.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorDelete.json index 1e693963248d..e05226d105c7 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorDelete.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorDelete.json @@ -9,4 +9,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorDisableHttps.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorDisableHttps.json index 94538649af94..bf818ea51b60 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorDisableHttps.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorDisableHttps.json @@ -10,4 +10,4 @@ "200": {}, "202": {} } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorEnableHttps.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorEnableHttps.json index 4be4b5414415..07c50d5c4ecf 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorEnableHttps.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorEnableHttps.json @@ -21,4 +21,4 @@ "200": {}, "202": {} } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorFrontendEndpointCreate.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorFrontendEndpointCreate.json index d456a0f31ff5..6158e9e561c3 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorFrontendEndpointCreate.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorFrontendEndpointCreate.json @@ -61,4 +61,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorFrontendEndpointDelete.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorFrontendEndpointDelete.json index 1f756766e0f0..5ddc5cbc1912 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorFrontendEndpointDelete.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorFrontendEndpointDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorFrontendEndpointGet.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorFrontendEndpointGet.json index 36650e6ca90d..6cd413d9dc55 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorFrontendEndpointGet.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorFrontendEndpointGet.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorFrontendEndpointList.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorFrontendEndpointList.json index f5f1b01cd882..a03e2cac2767 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorFrontendEndpointList.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorFrontendEndpointList.json @@ -25,4 +25,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorGet.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorGet.json index 156f68f3f595..535538c548b1 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorGet.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorGet.json @@ -38,7 +38,7 @@ ], "routeConfiguration": { "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration", - "customForwardingPath": "", + "customForwardingPath": "", "forwardingProtocol": "MatchRequest", "backendPool": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1" @@ -139,4 +139,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorHealthProbeSettingsCreate.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorHealthProbeSettingsCreate.json index 489952945b86..2083b3089821 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorHealthProbeSettingsCreate.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorHealthProbeSettingsCreate.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorHealthProbeSettingsDelete.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorHealthProbeSettingsDelete.json index 459ab6cfc915..a9069fed69b2 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorHealthProbeSettingsDelete.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorHealthProbeSettingsDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorHealthProbeSettingsGet.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorHealthProbeSettingsGet.json index bc77ace716ea..3a0665b88f7e 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorHealthProbeSettingsGet.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorHealthProbeSettingsGet.json @@ -19,4 +19,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorHealthProbeSettingsList.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorHealthProbeSettingsList.json index 961b5b317335..0c9ba2834c14 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorHealthProbeSettingsList.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorHealthProbeSettingsList.json @@ -22,4 +22,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorList.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorList.json index c119df2a1954..d6b9e3662d62 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorList.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorList.json @@ -39,7 +39,7 @@ ], "routeConfiguration": { "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration", - "customForwardingPath": "", + "customForwardingPath": "", "forwardingProtocol": "MatchRequest", "backendPool": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1" @@ -142,4 +142,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorListAll.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorListAll.json index 282dbefdcb07..92ea4c7becdb 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorListAll.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorListAll.json @@ -37,8 +37,8 @@ "/*" ], "routeConfiguration": { - "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration", - "customForwardingPath": "", + "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration", + "customForwardingPath": "", "forwardingProtocol": "MatchRequest", "backendPool": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1" @@ -141,4 +141,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorLoadBalancingSettingsCreate.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorLoadBalancingSettingsCreate.json index 37cd632f59a6..d68b33a23c65 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorLoadBalancingSettingsCreate.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorLoadBalancingSettingsCreate.json @@ -45,4 +45,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorLoadBalancingSettingsDelete.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorLoadBalancingSettingsDelete.json index dcfc6122c8d0..4fdd5d17f3e1 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorLoadBalancingSettingsDelete.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorLoadBalancingSettingsDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorLoadBalancingSettingsGet.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorLoadBalancingSettingsGet.json index 86c6f85b4ed9..2b52503356d0 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorLoadBalancingSettingsGet.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorLoadBalancingSettingsGet.json @@ -18,4 +18,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorLoadBalancingSettingsList.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorLoadBalancingSettingsList.json index 013b7d3a40b7..b92e9899765f 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorLoadBalancingSettingsList.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorLoadBalancingSettingsList.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorOperationsList.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorOperationsList.json index d6458ecf0c4d..54026828e485 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorOperationsList.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorOperationsList.json @@ -5,9 +5,8 @@ "responses": { "200": { "body": { - "value": [ - ] - } + "value": [] + } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorPurgeContent.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorPurgeContent.json index 4f18cbc7fa48..91c5fb456bdb 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorPurgeContent.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorPurgeContent.json @@ -15,4 +15,4 @@ "200": {}, "202": {} } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorRedirectRoutingRuleCreate.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorRedirectRoutingRuleCreate.json index cde8d24accb1..d5658076cfcb 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorRedirectRoutingRuleCreate.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorRedirectRoutingRuleCreate.json @@ -133,4 +133,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorRedirectRoutingRuleGet.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorRedirectRoutingRuleGet.json index d89563204397..9c9f860fad08 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorRedirectRoutingRuleGet.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorRedirectRoutingRuleGet.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorRoutingRuleCreate.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorRoutingRuleCreate.json index 058fe92172a6..341b65586fe5 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorRoutingRuleCreate.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorRoutingRuleCreate.json @@ -24,9 +24,9 @@ ], "routeConfiguration": { "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration", - "backendPool": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1" - } + "backendPool": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1" + } }, "enabledState": "Enabled" } @@ -59,7 +59,7 @@ "backendPool": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1" } - }, + }, "enabledState": "Enabled" } } @@ -127,4 +127,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorRoutingRuleDelete.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorRoutingRuleDelete.json index dd7161cff35d..c5a162a7c3a9 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorRoutingRuleDelete.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorRoutingRuleDelete.json @@ -10,4 +10,4 @@ "202": {}, "204": {} } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorRoutingRuleGet.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorRoutingRuleGet.json index 4225edefbfb3..4fa744467fe3 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorRoutingRuleGet.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorRoutingRuleGet.json @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorRoutingRuleList.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorRoutingRuleList.json index 5debf983695d..89c08d8cb486 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorRoutingRuleList.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorRoutingRuleList.json @@ -32,7 +32,7 @@ "customForwardingPath": "", "forwardingProtocol": "MatchRequest", "backendPool": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1" } }, "enabledState": "Enabled" @@ -72,4 +72,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorValidateCustomDomain.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorValidateCustomDomain.json index ab06550a43e7..b6a51336599e 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorValidateCustomDomain.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/FrontdoorValidateCustomDomain.json @@ -5,7 +5,7 @@ "resourceGroupName": "rg1", "frontDoorName": "frontDoor1", "customDomainProperties": { - "hostname": "www.someDomain.com" + "hostName": "www.someDomain.com" } }, "responses": { @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafListPolicies.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafListPolicies.json index 7574369b813a..ed53f3c05d68 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafListPolicies.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafListPolicies.json @@ -1,106 +1,106 @@ { - "parameters": { - "api-version": "2018-08-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Policy1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/Policy1", - "type": "Microsoft.Network/frontdoorwebapplicationfirewallpolicies", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "location": "WestUs", - "properties": { - "resourceState": "Enabled", - "provisioningState": "Succeeded", - "policySettings": { - "enabledState": "Enabled", - "mode": "Prevention" - }, - "customRules": { - "rules": [ - { - "name": "Rule1", - "priority": 1, - "ruleType": "RateLimitRule", - "rateLimitDurationInMinutes": 0, - "rateLimitThreshold": 1000, - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "IPMatch", - "negateCondition": false, - "matchValue": [ - "192.168.1.0/24", - "10.0.0.0/24" - ] - } - ], - "action": "Block", - "transforms": [] - }, - { - "name": "Rule2", - "priority": 2, - "ruleType": "MatchRule", - "rateLimitDurationInMinutes": 0, - "rateLimitThreshold": 0, - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "GeoMatch", - "negateCondition": false, - "matchValue": [ - "CH" - ] - }, - { - "matchVariable": "RequestHeader", - "selector": "UserAgent", - "operator": "Contains", - "negateCondition": false, - "matchValue": [ - "Windows" - ] - } - ], - "action": "Block", - "transforms": [] - } - ] - }, - "managedRules": { - "ruleSets": [ - { - "priority": 1, - "version": 0, - "ruleSetType": "AzureManagedRuleSet", - "ruleGroupOverrides": [ - { - "ruleGroupOverride": "SqlInjection", - "action": "Block" - }, - { - "ruleGroupOverride": "XSS", - "action": "Log" - } - ] - } - ] - } - } - } + "parameters": { + "api-version": "2018-08-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Policy1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/Policy1", + "type": "Microsoft.Network/frontdoorwebapplicationfirewallpolicies", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "location": "WestUs", + "properties": { + "resourceState": "Enabled", + "provisioningState": "Succeeded", + "policySettings": { + "enabledState": "Enabled", + "mode": "Prevention" + }, + "customRules": { + "rules": [ + { + "name": "Rule1", + "priority": 1, + "ruleType": "RateLimitRule", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 1000, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "IPMatch", + "negateCondition": false, + "matchValue": [ + "192.168.1.0/24", + "10.0.0.0/24" + ] + } + ], + "action": "Block", + "transforms": [] + }, + { + "name": "Rule2", + "priority": 2, + "ruleType": "MatchRule", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 0, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "GeoMatch", + "negateCondition": false, + "matchValue": [ + "CH" + ] + }, + { + "matchVariable": "RequestHeader", + "selector": "UserAgent", + "operator": "Contains", + "negateCondition": false, + "matchValue": [ + "Windows" + ] + } + ], + "action": "Block", + "transforms": [] + } ] + }, + "managedRules": { + "ruleSets": [ + { + "priority": 1, + "version": 0, + "ruleSetType": "AzureManagedRuleSet", + "ruleGroupOverrides": [ + { + "ruleGroupOverride": "SqlInjection", + "action": "Block" + }, + { + "ruleGroupOverride": "XSS", + "action": "Log" + } + ] + } + ] + } } - } + } + ] + } } -} \ No newline at end of file + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafPolicyCreateOrUpdate.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafPolicyCreateOrUpdate.json index bda48507b49e..69435ee20d6b 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafPolicyCreateOrUpdate.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafPolicyCreateOrUpdate.json @@ -1,262 +1,262 @@ { + "parameters": { + "api-version": "2018-08-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "policyName": "Policy1", "parameters": { - "api-version": "2018-08-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "policyName": "Policy1", - "parameters": { - "properties": { - "customRules": { - "rules": [ - { - "name": "Rule1", - "priority": 1, - "ruleType": "RateLimitRule", - "rateLimitThreshold": 1000, - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "operator": "IPMatch", - "matchValue": [ - "192.168.1.0/24", - "10.0.0.0/24" - ] - } - ], - "action": "Block" - }, - { - "name": "Rule2", - "priority": 2, - "ruleType": "MatchRule", - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "operator": "GeoMatch", - "matchValue": [ - "CH" - ] - }, - { - "matchVariable": "RequestHeader", - "operator": "Contains", - "selector": "UserAgent", - "matchValue": [ - "Windows" - ] - } - ], - "action": "Block" - } - ] - }, - "managedRules": { - "ruleSets": [ - { - "ruleSetType": "AzureManagedRuleSet", - "priority": 1, - "ruleGroupOverrides": [ - { - "ruleGroupOverride": "SqlInjection", - "action": "Block" - }, - { - "ruleGroupOverride": "XSS", - "action": "Log" - } - ] - } - ] + "properties": { + "customRules": { + "rules": [ + { + "name": "Rule1", + "priority": 1, + "ruleType": "RateLimitRule", + "rateLimitThreshold": 1000, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "operator": "IPMatch", + "matchValue": [ + "192.168.1.0/24", + "10.0.0.0/24" + ] } - } - } - }, - "responses": { - "200": { - "body": { - "name": "Policy1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/Policy1", - "type": "Microsoft.Network/frontdoorwebapplicationfirewallpolicies", - "tags": { - "key1": "value1", - "key2": "value2" + ], + "action": "Block" + }, + { + "name": "Rule2", + "priority": 2, + "ruleType": "MatchRule", + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "operator": "GeoMatch", + "matchValue": [ + "CH" + ] }, - "location": "WestUs", - "properties": { - "resourceState": "Enabled", - "provisioningState": "Succeeded", - "policySettings": { - "enabledState": "Enabled", - "mode": "Prevention" - }, - "customRules": { - "rules": [ - { - "name": "Rule1", - "priority": 1, - "ruleType": "RateLimitRule", - "rateLimitDurationInMinutes": 0, - "rateLimitThreshold": 1000, - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "IPMatch", - "negateCondition": false, - "matchValue": [ - "192.168.1.0/24", - "10.0.0.0/24" - ] - } - ], - "action": "Block", - "transforms": [] - }, - { - "name": "Rule2", - "priority": 2, - "ruleType": "MatchRule", - "rateLimitDurationInMinutes": 0, - "rateLimitThreshold": 0, - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "GeoMatch", - "negateCondition": false, - "matchValue": [ - "CH" - ] - }, - { - "matchVariable": "RequestHeader", - "selector": "UserAgent", - "operator": "Contains", - "negateCondition": false, - "matchValue": [ - "Windows" - ] - } - ], - "action": "Block", - "transforms": [] - } - ] - }, - "managedRules": { - "ruleSets": [ - { - "priority": 1, - "version": 0, - "ruleSetType": "AzureManagedRuleSet", - "ruleGroupOverrides": [ - { - "ruleGroupOverride": "SqlInjection", - "action": "Block" - }, - { - "ruleGroupOverride": "XSS", - "action": "Log" - } - ] - } - ] - } + { + "matchVariable": "RequestHeader", + "operator": "Contains", + "selector": "UserAgent", + "matchValue": [ + "Windows" + ] } + ], + "action": "Block" } + ] }, - "201": { - "body": { - "name": "Policy1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/Policy1", - "type": "Microsoft.Network/frontdoorwebapplicationfirewallpolicies", - "tags": { - "key1": "value1", - "key2": "value2" + "managedRules": { + "ruleSets": [ + { + "ruleSetType": "AzureManagedRuleSet", + "priority": 1, + "ruleGroupOverrides": [ + { + "ruleGroupOverride": "SqlInjection", + "action": "Block" }, - "location": "WestUs", - "properties": { - "resourceState": "Enabled", - "provisioningState": "Succeeded", - "policySettings": { - "enabledState": "Enabled", - "mode": "Prevention" - }, - "customRules": { - "rules": [ - { - "name": "Rule1", - "priority": 1, - "ruleType": "RateLimitRule", - "rateLimitDurationInMinutes": 0, - "rateLimitThreshold": 1000, - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "IPMatch", - "negateCondition": false, - "matchValue": [ - "192.168.1.0/24", - "10.0.0.0/24" - ] - } - ], - "action": "Block", - "transforms": [] - }, - { - "name": "Rule2", - "priority": 2, - "ruleType": "MatchRule", - "rateLimitDurationInMinutes": 0, - "rateLimitThreshold": 0, - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "GeoMatch", - "negateCondition": false, - "matchValue": [ - "CH" - ] - }, - { - "matchVariable": "RequestHeader", - "selector": "UserAgent", - "operator": "Contains", - "negateCondition": false, - "matchValue": [ - "Windows" - ] - } - ], - "action": "Block", - "transforms": [] - } - ] - }, - "managedRules": { - "ruleSets": [ - { - "priority": 1, - "version": 0, - "ruleSetType": "AzureManagedRuleSet", - "ruleGroupOverrides": [ - { - "ruleGroupOverride": "SqlInjection", - "action": "Block" - }, - { - "ruleGroupOverride": "XSS", - "action": "Log" - } - ] - } - ] - } + { + "ruleGroupOverride": "XSS", + "action": "Log" } + ] } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "Policy1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/Policy1", + "type": "Microsoft.Network/frontdoorwebapplicationfirewallpolicies", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "location": "WestUs", + "properties": { + "resourceState": "Enabled", + "provisioningState": "Succeeded", + "policySettings": { + "enabledState": "Enabled", + "mode": "Prevention" + }, + "customRules": { + "rules": [ + { + "name": "Rule1", + "priority": 1, + "ruleType": "RateLimitRule", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 1000, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "IPMatch", + "negateCondition": false, + "matchValue": [ + "192.168.1.0/24", + "10.0.0.0/24" + ] + } + ], + "action": "Block", + "transforms": [] + }, + { + "name": "Rule2", + "priority": 2, + "ruleType": "MatchRule", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 0, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "GeoMatch", + "negateCondition": false, + "matchValue": [ + "CH" + ] + }, + { + "matchVariable": "RequestHeader", + "selector": "UserAgent", + "operator": "Contains", + "negateCondition": false, + "matchValue": [ + "Windows" + ] + } + ], + "action": "Block", + "transforms": [] + } + ] + }, + "managedRules": { + "ruleSets": [ + { + "priority": 1, + "version": 0, + "ruleSetType": "AzureManagedRuleSet", + "ruleGroupOverrides": [ + { + "ruleGroupOverride": "SqlInjection", + "action": "Block" + }, + { + "ruleGroupOverride": "XSS", + "action": "Log" + } + ] + } + ] + } + } + } + }, + "201": { + "body": { + "name": "Policy1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/Policy1", + "type": "Microsoft.Network/frontdoorwebapplicationfirewallpolicies", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "location": "WestUs", + "properties": { + "resourceState": "Enabled", + "provisioningState": "Succeeded", + "policySettings": { + "enabledState": "Enabled", + "mode": "Prevention" + }, + "customRules": { + "rules": [ + { + "name": "Rule1", + "priority": 1, + "ruleType": "RateLimitRule", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 1000, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "IPMatch", + "negateCondition": false, + "matchValue": [ + "192.168.1.0/24", + "10.0.0.0/24" + ] + } + ], + "action": "Block", + "transforms": [] + }, + { + "name": "Rule2", + "priority": 2, + "ruleType": "MatchRule", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 0, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "GeoMatch", + "negateCondition": false, + "matchValue": [ + "CH" + ] + }, + { + "matchVariable": "RequestHeader", + "selector": "UserAgent", + "operator": "Contains", + "negateCondition": false, + "matchValue": [ + "Windows" + ] + } + ], + "action": "Block", + "transforms": [] + } + ] + }, + "managedRules": { + "ruleSets": [ + { + "priority": 1, + "version": 0, + "ruleSetType": "AzureManagedRuleSet", + "ruleGroupOverrides": [ + { + "ruleGroupOverride": "SqlInjection", + "action": "Block" + }, + { + "ruleGroupOverride": "XSS", + "action": "Log" + } + ] + } + ] + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafPolicyDelete.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafPolicyDelete.json index c008a5ee70ec..5fcad1cb6f15 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafPolicyDelete.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafPolicyDelete.json @@ -1,13 +1,13 @@ { - "parameters": { - "api-version": "2018-08-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "policyName": "Policy1" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} \ No newline at end of file + "parameters": { + "api-version": "2018-08-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "policyName": "Policy1" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafPolicyGet.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafPolicyGet.json index bc8c0bd0ccbd..8f493516de15 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafPolicyGet.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/examples/WafPolicyGet.json @@ -1,103 +1,103 @@ { - "parameters": { - "api-version": "2018-08-01", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "policyName": "Policy1" - }, - "responses": { - "200": { - "body": { - "name": "Policy1", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/Policy1", - "type": "Microsoft.Network/frontdoorwebapplicationfirewallpolicies", - "tags": { - "key1": "value1", - "key2": "value2" - }, - "location": "WestUs", - "properties": { - "resourceState": "Enabled", - "provisioningState": "Succeeded", - "policySettings": { - "enabledState": "Enabled", - "mode": "Prevention" - }, - "customRules": { - "rules": [ - { - "name": "Rule1", - "priority": 1, - "ruleType": "RateLimitRule", - "rateLimitDurationInMinutes": 0, - "rateLimitThreshold": 1000, - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "IPMatch", - "negateCondition": false, - "matchValue": [ - "192.168.1.0/24", - "10.0.0.0/24" - ] - } - ], - "action": "Block", - "transforms": [] - }, - { - "name": "Rule2", - "priority": 2, - "ruleType": "MatchRule", - "rateLimitDurationInMinutes": 0, - "rateLimitThreshold": 0, - "matchConditions": [ - { - "matchVariable": "RemoteAddr", - "selector": null, - "operator": "GeoMatch", - "negateCondition": false, - "matchValue": [ - "CH" - ] - }, - { - "matchVariable": "RequestHeader", - "selector": "UserAgent", - "operator": "Contains", - "negateCondition": false, - "matchValue": [ - "Windows" - ] - } - ], - "action": "Block", - "transforms": [] - } - ] - }, - "managedRules": { - "ruleSets": [ - { - "priority": 1, - "version": 0, - "ruleSetType": "AzureManagedRuleSet", - "ruleGroupOverrides": [ - { - "ruleGroupOverride": "SqlInjection", - "action": "Block" - }, - { - "ruleGroupOverride": "XSS", - "action": "Log" - } - ] - } - ] - } - } - } + "parameters": { + "api-version": "2018-08-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "policyName": "Policy1" + }, + "responses": { + "200": { + "body": { + "name": "Policy1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/Policy1", + "type": "Microsoft.Network/frontdoorwebapplicationfirewallpolicies", + "tags": { + "key1": "value1", + "key2": "value2" + }, + "location": "WestUs", + "properties": { + "resourceState": "Enabled", + "provisioningState": "Succeeded", + "policySettings": { + "enabledState": "Enabled", + "mode": "Prevention" + }, + "customRules": { + "rules": [ + { + "name": "Rule1", + "priority": 1, + "ruleType": "RateLimitRule", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 1000, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "IPMatch", + "negateCondition": false, + "matchValue": [ + "192.168.1.0/24", + "10.0.0.0/24" + ] + } + ], + "action": "Block", + "transforms": [] + }, + { + "name": "Rule2", + "priority": 2, + "ruleType": "MatchRule", + "rateLimitDurationInMinutes": 0, + "rateLimitThreshold": 0, + "matchConditions": [ + { + "matchVariable": "RemoteAddr", + "selector": null, + "operator": "GeoMatch", + "negateCondition": false, + "matchValue": [ + "CH" + ] + }, + { + "matchVariable": "RequestHeader", + "selector": "UserAgent", + "operator": "Contains", + "negateCondition": false, + "matchValue": [ + "Windows" + ] + } + ], + "action": "Block", + "transforms": [] + } + ] + }, + "managedRules": { + "ruleSets": [ + { + "priority": 1, + "version": 0, + "ruleSetType": "AzureManagedRuleSet", + "ruleGroupOverrides": [ + { + "ruleGroupOverride": "SqlInjection", + "action": "Block" + }, + { + "ruleGroupOverride": "XSS", + "action": "Log" + } + ] + } + ] + } } + } } -} \ No newline at end of file + } +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/frontdoor.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/frontdoor.json index 97b7885e3277..d9ad9116ee54 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/frontdoor.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/frontdoor.json @@ -1804,7 +1804,7 @@ "discriminator": "@odata.type", "description": "Base class for all types of Route.", "properties": { - "@odata.type": { + "@odata.type": { "type": "string" } }, @@ -2431,7 +2431,7 @@ }, "BackendPoolsSettings": { "description": "Settings that apply to all backend pools.", - "type":"object", + "type": "object", "properties": { "enforceCertificateNameCheck": { "description": "Whether to enforce certificate name check on HTTPS requests to all backend pools. No effect on non-HTTPS requests.", @@ -2660,4 +2660,4 @@ "description": "Name of the Frontend endpoint which is unique within the Front Door." } } -} \ No newline at end of file +} diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/network.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/network.json index 5a1f99c4b769..fae4970303db 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/network.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/network.json @@ -35,8 +35,7 @@ } } }, - "paths": { - }, + "paths": {}, "definitions": { "ErrorDetails": { "properties": { diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/webapplicationfirewall.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/webapplicationfirewall.json index fddfed6456e2..af549a1368d2 100644 --- a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/webapplicationfirewall.json +++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-04-01/webapplicationfirewall.json @@ -238,7 +238,7 @@ "Delete protection policy": { "$ref": "./examples/WafPolicyDelete.json" } - }, + }, "x-ms-long-running-operation": true } } @@ -323,7 +323,7 @@ "description": "Defines contents of a web application firewall global configuration", "properties": { "enabledState": { - "description": "describes if the policy is in enabled state or disabled state", + "description": "describes if the policy is in enabled state or disabled state", "type": "string", "enum": [ "Disabled", @@ -332,7 +332,7 @@ "x-ms-enum": { "name": "enabledState", "modelAsString": true - } + } }, "mode": { "description": "Describes if it is in detection mode or prevention mode at policy level", @@ -362,12 +362,12 @@ }, "CustomRule": { "description": "Defines contents of a web application rule", - "required": [ - "priority", - "ruleType", - "matchConditions", - "action" - ], + "required": [ + "priority", + "ruleType", + "matchConditions", + "action" + ], "properties": { "name": { "type": "string", @@ -378,11 +378,11 @@ "type": "string", "readOnly": true, "description": "Gets a unique read-only string that changes whenever the resource is updated." - }, + }, "priority": { "description": "Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value", "type": "integer" - }, + }, "ruleType": { "description": "Describes type of rule", "type": "string", @@ -451,9 +451,9 @@ }, "MatchCondition": { "description": "Define match conditions", - "required": [ - "matchVariable", - "operator", + "required": [ + "matchVariable", + "operator", "matchValue" ], "properties": { @@ -571,7 +571,7 @@ "required": [ "ruleGroupOverride", "action" - ], + ], "properties": { "ruleGroupOverride": { "description": "Describes override rule group",