From 98ac761021342ef952276588ca98d44496dc2572 Mon Sep 17 00:00:00 2001 From: huangbaoqi0326 Date: Fri, 17 Oct 2025 15:58:09 +0000 Subject: [PATCH 1/3] Remove NonSensitivity --- .../stable/2025-01-01/applicationGateway.json | 17 +++++++++++++++-- .../2025-01-01/webapplicationfirewall.json | 17 +++++++++++++++-- 2 files changed, 30 insertions(+), 4 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2025-01-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2025-01-01/applicationGateway.json index 5b5f920cf541..747b15375be7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2025-01-01/applicationGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2025-01-01/applicationGateway.json @@ -3719,7 +3719,6 @@ "type": "string", "description": "The string representation of the web application firewall rule sensitivity.", "enum": [ - "None", "Low", "Medium", "High" @@ -3727,7 +3726,21 @@ "x-ms-enum": { "name": "ApplicationGatewayWafRuleSensitivityTypes", "modelAsString": true - } + }, + "values": [ + { + "value": "Low", + "description": "Low Sensitivity - triggers the rule by larger spikes in traffic" + }, + { + "value": "Medium", + "description": "Medium Sensitivity - triggers the rule by moderate spikes in traffic" + }, + { + "value": "High", + "description": "High Sensitivity - triggers the rule by smaller spikes in traffic" + } + ] }, "description": { "type": "string", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2025-01-01/webapplicationfirewall.json b/specification/network/resource-manager/Microsoft.Network/stable/2025-01-01/webapplicationfirewall.json index dd77acc60577..815138b279e7 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2025-01-01/webapplicationfirewall.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2025-01-01/webapplicationfirewall.json @@ -1093,7 +1093,6 @@ "description": "Defines the sensitivity for the rule.", "type": "string", "enum": [ - "None", "Low", "Medium", "High" @@ -1101,7 +1100,21 @@ "x-ms-enum": { "name": "SensitivityType", "modelAsString": true - } + }, + "values": [ + { + "value": "Low", + "description": "Low Sensitivity - triggers the rule by larger spikes in traffic" + }, + { + "value": "Medium", + "description": "Medium Sensitivity - triggers the rule by moderate spikes in traffic" + }, + { + "value": "High", + "description": "High Sensitivity - triggers the rule by smaller spikes in traffic" + } + ] }, "WebApplicationFirewallScrubbingRules": { "description": "Allow certain variables to be scrubbed on WAF logs", From 22a91d2d2a96049d575ca11f468dd07c736914a6 Mon Sep 17 00:00:00 2001 From: huangbaoqi0326 Date: Tue, 21 Oct 2025 17:55:31 +0000 Subject: [PATCH 2/3] make change in the right API folder --- .../stable/2025-01-01/applicationGateway.json | 17 ++--------------- .../2025-01-01/webapplicationfirewall.json | 17 ++--------------- .../stable/2025-03-01/applicationGateway.json | 1 - .../2025-03-01/webapplicationfirewall.json | 1 - 4 files changed, 4 insertions(+), 32 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2025-01-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2025-01-01/applicationGateway.json index 747b15375be7..5b5f920cf541 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2025-01-01/applicationGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2025-01-01/applicationGateway.json @@ -3719,6 +3719,7 @@ "type": "string", "description": "The string representation of the web application firewall rule sensitivity.", "enum": [ + "None", "Low", "Medium", "High" @@ -3726,21 +3727,7 @@ "x-ms-enum": { "name": "ApplicationGatewayWafRuleSensitivityTypes", "modelAsString": true - }, - "values": [ - { - "value": "Low", - "description": "Low Sensitivity - triggers the rule by larger spikes in traffic" - }, - { - "value": "Medium", - "description": "Medium Sensitivity - triggers the rule by moderate spikes in traffic" - }, - { - "value": "High", - "description": "High Sensitivity - triggers the rule by smaller spikes in traffic" - } - ] + } }, "description": { "type": "string", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2025-01-01/webapplicationfirewall.json b/specification/network/resource-manager/Microsoft.Network/stable/2025-01-01/webapplicationfirewall.json index 815138b279e7..dd77acc60577 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2025-01-01/webapplicationfirewall.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2025-01-01/webapplicationfirewall.json @@ -1093,6 +1093,7 @@ "description": "Defines the sensitivity for the rule.", "type": "string", "enum": [ + "None", "Low", "Medium", "High" @@ -1100,21 +1101,7 @@ "x-ms-enum": { "name": "SensitivityType", "modelAsString": true - }, - "values": [ - { - "value": "Low", - "description": "Low Sensitivity - triggers the rule by larger spikes in traffic" - }, - { - "value": "Medium", - "description": "Medium Sensitivity - triggers the rule by moderate spikes in traffic" - }, - { - "value": "High", - "description": "High Sensitivity - triggers the rule by smaller spikes in traffic" - } - ] + } }, "WebApplicationFirewallScrubbingRules": { "description": "Allow certain variables to be scrubbed on WAF logs", diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2025-03-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2025-03-01/applicationGateway.json index e7536af89173..f621cd1b39fb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2025-03-01/applicationGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2025-03-01/applicationGateway.json @@ -3719,7 +3719,6 @@ "type": "string", "description": "The string representation of the web application firewall rule sensitivity.", "enum": [ - "None", "Low", "Medium", "High" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2025-03-01/webapplicationfirewall.json b/specification/network/resource-manager/Microsoft.Network/stable/2025-03-01/webapplicationfirewall.json index 5d06de2074ba..8d6771d8b51d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2025-03-01/webapplicationfirewall.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2025-03-01/webapplicationfirewall.json @@ -1093,7 +1093,6 @@ "description": "Defines the sensitivity for the rule.", "type": "string", "enum": [ - "None", "Low", "Medium", "High" From f8d1bc024da9f30b44b73e63b5dd8d73d5ee69cc Mon Sep 17 00:00:00 2001 From: Judy Liu Date: Fri, 24 Oct 2025 10:30:47 +0800 Subject: [PATCH 3/3] add suppression --- specification/network/resource-manager/sdk-suppressions.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specification/network/resource-manager/sdk-suppressions.yaml b/specification/network/resource-manager/sdk-suppressions.yaml index 50aa4279b5b5..82bdf7d76d0b 100644 --- a/specification/network/resource-manager/sdk-suppressions.yaml +++ b/specification/network/resource-manager/sdk-suppressions.yaml @@ -10,6 +10,8 @@ suppressions: - Function `*ConnectionMonitorsClient.BeginQuery` has been removed - Function `*ConnectionMonitorsClient.BeginStart` has been removed - Type of `LoadBalancerHealthPerRulePerBackendAddress.NetworkInterfaceIPConfigurationID` has been changed from `*InterfaceIPConfiguration` to `*string` + - "`ApplicationGatewayWafRuleSensitivityTypesNone` from enum `ApplicationGatewayWafRuleSensitivityTypes` has been removed" + - "`SensitivityTypeNone` from enum `SensitivityType` has been removed" azure-sdk-for-js: - package: '@azure/arm-network' breaking-changes: