Skip to content

Commit 6e01438

Browse files
Remove Geo for Rate Limiting Feature for Application Gateway Firewall Policy Settings (#23104)
* new * new * Update ChangeLog.md * Update BreakingChangeIssues.csv * mistake * Update BreakingChangeIssues.csv * Update ChangeLog.md * Update ChangeLog.md * Update BreakingChangeIssues.csv --------- Co-authored-by: Yabo Hu <[email protected]>
1 parent ff8af7b commit 6e01438

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/Network/Network/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
--->
2020

2121
## Upcoming Release
22+
* [Breaking Change] Removed `Geo` as a valid input for parameter `VariableName` in `NewAzureApplicationGatewayFirewallCustomRuleGroupByVariable`.
2223
* Added AllowBranchToBranchTraffic property to New-AzRouteServer
2324
* Added AllowBranchToBranchTraffic property to Get-AzRouteServer
2425
* Changed Update-AzRouteServer functionality to fix bugs

src/Network/Network/FirewallPolicy/FirewallCustomRule/GroupByUserSession/GroupByVariable/NewAzureApplicationGatewayFirewallCustomRuleGroupByVariableCommand.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
// ----------------------------------------------------------------------------------
1414

1515
using Microsoft.Azure.Commands.Network.Models;
16-
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;
1716
using System.Linq;
1817
using System.Management.Automation;
1918

@@ -22,12 +21,11 @@ namespace Microsoft.Azure.Commands.Network
2221
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "ApplicationGatewayFirewallCustomRuleGroupByVariable"), OutputType(typeof(PSApplicationGatewayFirewallCustomRuleGroupByVariable))]
2322
public class NewAzureApplicationGatewayFirewallCustomRuleGroupByVariableCommand : NetworkBaseCmdlet
2423
{
25-
[CmdletParameterBreakingChangeWithVersionAttribute("VariableName", "11.0.0", "7.0.0", ChangeDescription = "Geo would be invalid for parameter VariableName")]
2624
[Parameter(
2725
Mandatory = true,
2826
HelpMessage = "User Session clause variable.")]
2927
[ValidateNotNullOrEmpty]
30-
[ValidateSet("ClientAddr", "Geo", "GeoLocation", "None", IgnoreCase = true)]
28+
[ValidateSet("ClientAddr", "GeoLocation", "None", IgnoreCase = true)]
3129
public string VariableName { get; set; }
3230

3331
public override void ExecuteCmdlet()

src/Network/Network/help/New-AzApplicationGatewayFirewallCustomRuleGroupByVariable.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ User Session clause variable.
5353
Type: System.String
5454
Parameter Sets: (All)
5555
Aliases:
56-
Accepted values: ClientAddr, Geo, GeoLocation, None
56+
Accepted values: ClientAddr, GeoLocation, None
5757

5858
Required: True
5959
Position: Named
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
"Module","ClassName","Target","Severity","ProblemId","Description","Remediation"
22
"Az.Network","Microsoft.Azure.Commands.Network.UpdateAzureRmRouteServer","Update-AzRouteServer","0","2020","The cmdlet 'Update-AzRouteServer' no longer supports the type 'System.Management.Automation.SwitchParameter' for parameter 'AllowBranchToBranchTraffic'.","Change the type for parameter 'AllowBranchToBranchTraffic' back to 'System.Management.Automation.SwitchParameter'."
3-
"Az.Network","Microsoft.Azure.Commands.Network.UpdateAzureRmRouteServer","Update-AzRouteServer","0","1050","The parameter set '__AllParameterSets' for cmdlet 'Update-AzRouteServer' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'Update-AzRouteServer'."
3+
"Az.Network","Microsoft.Azure.Commands.Network.UpdateAzureRmRouteServer","Update-AzRouteServer","0","1050","The parameter set '__AllParameterSets' for cmdlet 'Update-AzRouteServer' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'Update-AzRouteServer'."
4+
"Az.Network","Microsoft.Azure.Commands.Network.NewAzureApplicationGatewayFirewallCustomRuleGroupByVariableCommand","New-AzApplicationGatewayFirewallCustomRuleGroupByVariable","0","2040","The validation set for parameter 'VariableName' for cmdlet 'New-AzApplicationGatewayFirewallCustomRuleGroupByVariable' no longer contains the value 'Geo'.","Add 'Geo' back to the validation set for 'VariableName'."

0 commit comments

Comments
 (0)